DPCOMMON_LORD_LOAD 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 DPCOMMON_LORD_LOAD into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DP_COMMON_PRINT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'DPCOMMON_LORD_LOAD' "LORD load
EXPORTING
* iv_trvog = " trvog_va Transaction group
iv_trtyp = " trtyp Transaction type
* iv_vbeln = " vbeln_va Sales Document
* iv_vbeln_ref = " vbeln_va Sales Document
* it_posnr_ref = " tdt_posnr List of Item Numbers
* iv_auart = " auart Sales Document Type
* iv_vkorg = " vkorg Sales Organization
* iv_vtweg = " vtweg Distribution Channel
* iv_spart = " spart Division
* iv_kunag = " kunag Sold-to party
* is_head_comv = " tds_head_comv Lean Order - Header Data (Values)
* is_head_comx = " tds_head_comc Lean Order - Header Data (CHAR)
* it_item_comv = " tdt_item_comv Table Type for Structure TDS_ITEM_COMV
* it_item_comx = " tdt_item_comc Table Type for Structure TDS_ITEM_COMC
IMPORTING
ef_loaded = " flag General Flag
et_messages = " tdt_messages Table Type for Structure BAL_S_SHOW
es_error = " tds_error Lean Order: Error Information
. " DPCOMMON_LORD_LOAD
The ABAP code below is a full code listing to execute function module DPCOMMON_LORD_LOAD 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_ef_loaded | TYPE FLAG , |
| ld_et_messages | TYPE TDT_MESSAGES , |
| ld_es_error | TYPE TDS_ERROR . |
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_ef_loaded | TYPE FLAG , |
| ld_iv_trvog | TYPE TRVOG_VA , |
| ld_et_messages | TYPE TDT_MESSAGES , |
| ld_iv_trtyp | TYPE TRTYP , |
| ld_es_error | TYPE TDS_ERROR , |
| ld_iv_vbeln | TYPE VBELN_VA , |
| ld_iv_vbeln_ref | TYPE VBELN_VA , |
| ld_it_posnr_ref | TYPE TDT_POSNR , |
| ld_iv_auart | TYPE AUART , |
| ld_iv_vkorg | TYPE VKORG , |
| ld_iv_vtweg | TYPE VTWEG , |
| ld_iv_spart | TYPE SPART , |
| ld_iv_kunag | TYPE KUNAG , |
| ld_is_head_comv | TYPE TDS_HEAD_COMV , |
| ld_is_head_comx | TYPE TDS_HEAD_COMC , |
| ld_it_item_comv | TYPE TDT_ITEM_COMV , |
| ld_it_item_comx | TYPE TDT_ITEM_COMC . |
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 DPCOMMON_LORD_LOAD or its description.