The way to bundle database changes together inside an SAP LUW is to create an update function module, You can create update function module via SE37 Transaction code. just like any normal function module, the only different is that update function module have a different processing type.

how-to-create-function-module

When you select update module processing type, you have several different processing options. you should choose the Start immed option because update module to be processed immediately by update task whenever the transaction is commited via COMMIT WORK.

We will create update function module called ZFM_TEST1 that adds NAME and Address record to ZTB_TEST table, As a rule you should avoid implementing a lot of program logic inside of update module, for example any validation logic should be outside update function module.

Another thing when you develop update function module, you can’t execute statement that may generate database commit for examples : COMMIT WORK, CALL TRANSACTION.

To invoke ZFM_TEST1 update function module, you must use the IN UPDATE TASK addition of the CALL FUNCTION statement. The code excerpt shown below.

When COMMIT WORK statement execute ZFM_TEST1 ansynchronously in update task, you can use the AND WAIT addition of COMMIT WORK statement to cause the current process to wait until the high priority update are finished.

how-to-create-update-function-module-1

Incoming search terms:

Comments

  1. Pingback: wireless time systems

  2. Pingback: social selling

  3. Pingback: wireless products

  4. Pingback: clocks for facilities

  5. Pingback: social media solutions

  6. Pingback: parenting programs

  7. Pingback: replacement parts for clocks

  8. Pingback: parenting life coach

  9. Pingback: social media marketing linkedin

  10. Pingback: successful social media campaigns

  11. Pingback: wireless clocks transmitter

  12. Pingback: Clock repair parts

  13. Pingback: Warming trends

  14. Pingback: best hands for clocks

  15. Pingback: public address transmitter software

  16. Pingback: PA systems

  17. Pingback: best parenting coach

  18. Pingback: teenage life coaching

  19. Pingback: USA Made clock movements

  20. Pingback: DIY clock dials repair

  21. Pingback: patio fire pit

  22. Pingback: parenting coaches

  23. Pingback: DIY clock dials repair

  24. Pingback: gas fire pits outdoor

  25. Pingback: time synchronazation clocks

  26. Pingback: clock kits

  27. Pingback: Montana Firepit

  28. Pingback: life coach for teens

  29. Pingback: sync warehouse clocks

  30. Pingback: Facility wireless clocks

  31. Pingback: auto sync clocks

  32. Pingback: how to build your own clock

  33. Pingback: clock parts manufacturing

  34. Pingback: fire pit ignition systems

  35. Pingback: clock motor suppliers

  36. Pingback: Montana Firepits

  37. Pingback: parenting programs

  38. Pingback: outdoor clocks for schools

  39. Pingback: clock repair videos

  40. Pingback: Crossfire burner

  41. Pingback: Facility wireless clocks

  42. Pingback: parenting books

  43. Pingback: get more info

  44. Pingback: plastic dial hand

  45. Pingback: best clock movements

  46. Pingback: how to build a backyard fire pit

Leave a Reply

Your email address will not be published. Required fields are marked *