SAP EXIT_SAPLSLL_LEG_CDPIR3_002 Function Module for
EXIT_SAPLSLL_LEG_CDPIR3_002 is a standard exit saplsll leg cdpir3 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for exit saplsll leg cdpir3 002 FM, simply by entering the name EXIT_SAPLSLL_LEG_CDPIR3_002 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XSLLLEGCDPIR3
Program Name: SAPLXSLLLEGCDPIR3
Main Program: SAPLXSLLLEGCDPIR3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLSLL_LEG_CDPIR3_002 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EXIT_SAPLSLL_LEG_CDPIR3_002'".
EXPORTING
IV_APPLICATION_LEVEL = "
* IS_SD0A_DOCUMENT_TYPE = "
* IS_SD0B_HEADER = "
* IS_SD0C_HEADER = "
* IV_SIMULATION_MODE = ' ' "
* IV_BUSINESS_OBJECT = ' ' "
* IS_MM0A_HEADER = "
* IV_MM0A_PROCESS_TYPE = "
* IS_MM0B_HEADER = "
* IS_MM0C_HEADER = "
* IT_MM0C_CONTROL = "
* IS_SD0A_HEADER = "
CHANGING
* CS_API6800 = "
TABLES
* IT_MM0A_PARTNER_INS = "
* IT_SD_PARTNER_OLD = "
* IT_SD_ITEM_STATUS_NEW = "
* IT_SD_PARTNER_ADDRESS = "
* IT_SD0A_ITEM_NEW = "
* IT_SD0A_ITEM_OLD = "
* IT_SD0A_SCHED_LINE_VB = "
* IT_SD0A_BUSINESS_DATA = "
* IT_SD0B_ITEM_NEW = "
* IT_SD0B_ITEM_OLD = "
* IT_SD0C_ITEM_NEW = "
* IT_MM0A_PARTNER_UPD = "
* IT_SD0C_ITEM_OLD = "
* IT_MM0A_PARTNER_DEL = "
* IT_MM0A_ITEM = "
* IT_MM0A_SCHED_LINE_UPD = "
* IT_MM0A_SCHED_LINE_VB = "
* IT_MM0B_ITEM_NEW = "
* IT_MM0C_ITEM = "
* IT_SD_PARTNER_NEW = "
IMPORTING Parameters details for EXIT_SAPLSLL_LEG_CDPIR3_002
IV_APPLICATION_LEVEL -
Data type: /SAPSLL/TLER3-APEVS_R3Optional: No
Call by Reference: No ( called with pass by value option)
IS_SD0A_DOCUMENT_TYPE -
Data type: TVAKOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_SD0B_HEADER -
Data type: LIKPOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_SD0C_HEADER -
Data type: VBRKOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SIMULATION_MODE -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_BUSINESS_OBJECT -
Data type: NAST-OBJTYPEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_MM0A_HEADER -
Data type: EKKOOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MM0A_PROCESS_TYPE -
Data type: T160-VORGAOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_MM0B_HEADER -
Data type: LIKPOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_MM0C_HEADER -
Data type: MKPFOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0C_CONTROL -
Data type: SLLR3_VM07M_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_SD0A_HEADER -
Data type: VBAKOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPLSLL_LEG_CDPIR3_002
CS_API6800 -
Data type: SLLR3_API6800_R3_SOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLSLL_LEG_CDPIR3_002
IT_MM0A_PARTNER_INS -
Data type: MMPAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD_PARTNER_OLD -
Data type: VBPAVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD_ITEM_STATUS_NEW -
Data type: VBUPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD_PARTNER_ADDRESS -
Data type: SADRVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0A_ITEM_NEW -
Data type: VBAPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0A_ITEM_OLD -
Data type: VBAPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0A_SCHED_LINE_VB -
Data type: VBEPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0A_BUSINESS_DATA -
Data type: VBKDVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0B_ITEM_NEW -
Data type: LIPSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0B_ITEM_OLD -
Data type: LIPSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0C_ITEM_NEW -
Data type: VBRPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0A_PARTNER_UPD -
Data type: MMPAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD0C_ITEM_OLD -
Data type: VBRPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0A_PARTNER_DEL -
Data type: MMPAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0A_ITEM -
Data type: BEKPOOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0A_SCHED_LINE_UPD -
Data type: BEKETOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0A_SCHED_LINE_VB -
Data type: UEKETOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0B_ITEM_NEW -
Data type: LIPSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MM0C_ITEM -
Data type: MSEGOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SD_PARTNER_NEW -
Data type: VBPAVBOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLSLL_LEG_CDPIR3_002 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_cs_api6800 | TYPE SLLR3_API6800_R3_S, " | |||
lt_it_mm0a_partner_ins | TYPE STANDARD TABLE OF MMPA, " | |||
lv_iv_application_level | TYPE /SAPSLL/TLER3-APEVS_R3, " | |||
lt_it_sd_partner_old | TYPE STANDARD TABLE OF VBPAVB, " | |||
lv_is_sd0a_document_type | TYPE TVAK, " | |||
lv_is_sd0b_header | TYPE LIKP, " | |||
lt_it_sd_item_status_new | TYPE STANDARD TABLE OF VBUPVB, " | |||
lv_is_sd0c_header | TYPE VBRK, " | |||
lt_it_sd_partner_address | TYPE STANDARD TABLE OF SADRVB, " | |||
lt_it_sd0a_item_new | TYPE STANDARD TABLE OF VBAPVB, " | |||
lt_it_sd0a_item_old | TYPE STANDARD TABLE OF VBAPVB, " | |||
lt_it_sd0a_sched_line_vb | TYPE STANDARD TABLE OF VBEPVB, " | |||
lt_it_sd0a_business_data | TYPE STANDARD TABLE OF VBKDVB, " | |||
lt_it_sd0b_item_new | TYPE STANDARD TABLE OF LIPSVB, " | |||
lt_it_sd0b_item_old | TYPE STANDARD TABLE OF LIPSVB, " | |||
lt_it_sd0c_item_new | TYPE STANDARD TABLE OF VBRPVB, " | |||
lv_iv_simulation_mode | TYPE C, " SPACE | |||
lt_it_mm0a_partner_upd | TYPE STANDARD TABLE OF MMPA, " | |||
lt_it_sd0c_item_old | TYPE STANDARD TABLE OF VBRPVB, " | |||
lv_iv_business_object | TYPE NAST-OBJTYPE, " SPACE | |||
lt_it_mm0a_partner_del | TYPE STANDARD TABLE OF MMPA, " | |||
lt_it_mm0a_item | TYPE STANDARD TABLE OF BEKPO, " | |||
lv_is_mm0a_header | TYPE EKKO, " | |||
lv_iv_mm0a_process_type | TYPE T160-VORGA, " | |||
lt_it_mm0a_sched_line_upd | TYPE STANDARD TABLE OF BEKET, " | |||
lv_is_mm0b_header | TYPE LIKP, " | |||
lt_it_mm0a_sched_line_vb | TYPE STANDARD TABLE OF UEKET, " | |||
lv_is_mm0c_header | TYPE MKPF, " | |||
lt_it_mm0b_item_new | TYPE STANDARD TABLE OF LIPSVB, " | |||
lt_it_mm0c_item | TYPE STANDARD TABLE OF MSEG, " | |||
lv_it_mm0c_control | TYPE SLLR3_VM07M_T, " | |||
lv_is_sd0a_header | TYPE VBAK, " | |||
lt_it_sd_partner_new | TYPE STANDARD TABLE OF VBPAVB. " |
  CALL FUNCTION 'EXIT_SAPLSLL_LEG_CDPIR3_002' " |
EXPORTING | ||
IV_APPLICATION_LEVEL | = lv_iv_application_level | |
IS_SD0A_DOCUMENT_TYPE | = lv_is_sd0a_document_type | |
IS_SD0B_HEADER | = lv_is_sd0b_header | |
IS_SD0C_HEADER | = lv_is_sd0c_header | |
IV_SIMULATION_MODE | = lv_iv_simulation_mode | |
IV_BUSINESS_OBJECT | = lv_iv_business_object | |
IS_MM0A_HEADER | = lv_is_mm0a_header | |
IV_MM0A_PROCESS_TYPE | = lv_iv_mm0a_process_type | |
IS_MM0B_HEADER | = lv_is_mm0b_header | |
IS_MM0C_HEADER | = lv_is_mm0c_header | |
IT_MM0C_CONTROL | = lv_it_mm0c_control | |
IS_SD0A_HEADER | = lv_is_sd0a_header | |
CHANGING | ||
CS_API6800 | = lv_cs_api6800 | |
TABLES | ||
IT_MM0A_PARTNER_INS | = lt_it_mm0a_partner_ins | |
IT_SD_PARTNER_OLD | = lt_it_sd_partner_old | |
IT_SD_ITEM_STATUS_NEW | = lt_it_sd_item_status_new | |
IT_SD_PARTNER_ADDRESS | = lt_it_sd_partner_address | |
IT_SD0A_ITEM_NEW | = lt_it_sd0a_item_new | |
IT_SD0A_ITEM_OLD | = lt_it_sd0a_item_old | |
IT_SD0A_SCHED_LINE_VB | = lt_it_sd0a_sched_line_vb | |
IT_SD0A_BUSINESS_DATA | = lt_it_sd0a_business_data | |
IT_SD0B_ITEM_NEW | = lt_it_sd0b_item_new | |
IT_SD0B_ITEM_OLD | = lt_it_sd0b_item_old | |
IT_SD0C_ITEM_NEW | = lt_it_sd0c_item_new | |
IT_MM0A_PARTNER_UPD | = lt_it_mm0a_partner_upd | |
IT_SD0C_ITEM_OLD | = lt_it_sd0c_item_old | |
IT_MM0A_PARTNER_DEL | = lt_it_mm0a_partner_del | |
IT_MM0A_ITEM | = lt_it_mm0a_item | |
IT_MM0A_SCHED_LINE_UPD | = lt_it_mm0a_sched_line_upd | |
IT_MM0A_SCHED_LINE_VB | = lt_it_mm0a_sched_line_vb | |
IT_MM0B_ITEM_NEW | = lt_it_mm0b_item_new | |
IT_MM0C_ITEM | = lt_it_mm0c_item | |
IT_SD_PARTNER_NEW | = lt_it_sd_partner_new | |
. " EXIT_SAPLSLL_LEG_CDPIR3_002 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLSLL_LEG_CDPIR3_002
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single APEVS_R3 FROM /SAPSLL/TLER3 INTO @DATA(ld_iv_application_level). | ||||
DATA(ld_iv_simulation_mode) | = ' '. | |||
"SELECT single OBJTYPE FROM NAST INTO @DATA(ld_iv_business_object). | ||||
DATA(ld_iv_business_object) | = ' '. | |||
"SELECT single VORGA FROM T160 INTO @DATA(ld_iv_mm0a_process_type). | ||||
Search for further information about these or an SAP related objects