EXIT_SAPMJ45A_003 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EXIT_SAPMJ45A_003 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
XJK1
Released Date:
28.03.1995
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_SAPMJ45A_003' "IS-M/SD: Propose Item Data on Creation
EXPORTING
cjkak = " jkak Order Header
cjkap = " jkap Order Item
cjkkd = " jkkd Business Data on Item
rjkag = " rjkag Sold-To Party Structure
rjkre = " rjkre Bill-To Party Structure
rjkrg = " rjkrg Payer Structure
rjkwe = " rjkwe Ship-To Party Structure
* cjkap_vg = " jkap Item Data on Previous Item
* cjkkd_vg = " jkkd Business Data on Previous Item
cjkaprenew = " jkaprenew IS-M/SD: Index for Renewal of Subscriptions
IMPORTING
jkap_out = " jkap New Item Data
jkkd_out = " jkkd New Business Data
zlsch_out = " rjkrg-zlsch New Payment Method
CHANGING
werbeart_out = " jkprom-werbeart Sales Source
werbeakt_out = " jkprom-werbeakt Sales Promotion
. " EXIT_SAPMJ45A_003
The ABAP code below is a full code listing to execute function module EXIT_SAPMJ45A_003 including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_jkap_out | TYPE JKAP , |
| ld_jkkd_out | TYPE JKKD , |
| ld_zlsch_out | TYPE RJKRG-ZLSCH . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_werbeart_out | TYPE JKPROM-WERBEART , |
| ld_jkap_out | TYPE JKAP , |
| ld_cjkak | TYPE JKAK , |
| ld_werbeakt_out | TYPE JKPROM-WERBEAKT , |
| ld_jkkd_out | TYPE JKKD , |
| ld_cjkap | TYPE JKAP , |
| ld_zlsch_out | TYPE RJKRG-ZLSCH , |
| ld_cjkkd | TYPE JKKD , |
| ld_rjkag | TYPE RJKAG , |
| ld_rjkre | TYPE RJKRE , |
| ld_rjkrg | TYPE RJKRG , |
| ld_rjkwe | TYPE RJKWE , |
| ld_cjkap_vg | TYPE JKAP , |
| ld_cjkkd_vg | TYPE JKKD , |
| ld_cjkaprenew | TYPE JKAPRENEW . |
You can use this function module to have the system propose item data
when creating new items.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EXIT_SAPMJ45A_003 or its description.
EXIT_SAPMJ45A_003 - IS-M/SD: Propose Item Data on Creation EXIT_SAPMJ45A_002 - IS-M/SD: Change Billing Data on Item EXIT_SAPMJ45A_001 - IS-M/SD: Determine Earliest Possible Termination Date EXIT_SAPMIWO0_021 - Default Values When Creating a Task EXIT_SAPMIWO0_020 - Customer Exit: Checks before Saving Notification EXIT_SAPMIWO0_019 - Default Values When Creating a Task