SAP CP_EXT_LST_CREATE_WITH_BUFFER Function Module for NOTRANSL: Zu einer Plangruppe Belegtabs u. Dialogtabelle aufbauen mit DB-P
CP_EXT_LST_CREATE_WITH_BUFFER is a standard cp ext lst create with buffer SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Zu einer Plangruppe Belegtabs u. Dialogtabelle aufbauen mit DB-P processing and below is the pattern details for this FM, 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 cp ext lst create with buffer FM, simply by entering the name CP_EXT_LST_CREATE_WITH_BUFFER into the relevant SAP transaction such as SE37 or SE38.
Function Group: CP97
Program Name: SAPLCP97
Main Program: SAPLCP97
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CP_EXT_LST_CREATE_WITH_BUFFER 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 'CP_EXT_LST_CREATE_WITH_BUFFER'"NOTRANSL: Zu einer Plangruppe Belegtabs u. Dialogtabelle aufbauen mit DB-P.
EXPORTING
* CUOBJ_IMP = ' ' "Internal object number for configuration
* FLG_REF_IMP = 'X' "Delete references to ref. operation sets
PLNAL_IMP = "Alternative task list
PLNNR_IMP = "Task list number
PLNTY_IMP = "Task list type
STTAG_IMP = "Key date
TCA11_IMP = "Object status field string
* ORDER_TYPE_CAPP_IMP = ' ' "Category of calling order (CAPP calculate)
TABLES
DIALOG_TAB = "Dialog table
EXCEPTIONS
PLAN_NOT_FOUND = 1
IMPORTING Parameters details for CP_EXT_LST_CREATE_WITH_BUFFER
CUOBJ_IMP - Internal object number for configuration
Data type: INOB-CUOBJDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_REF_IMP - Delete references to ref. operation sets
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PLNAL_IMP - Alternative task list
Data type: PLKO-PLNALOptional: No
Call by Reference: No ( called with pass by value option)
PLNNR_IMP - Task list number
Data type: PLKO-PLNNROptional: No
Call by Reference: No ( called with pass by value option)
PLNTY_IMP - Task list type
Data type: PLKO-PLNTYOptional: No
Call by Reference: No ( called with pass by value option)
STTAG_IMP - Key date
Data type: PLKO-DATUVOptional: No
Call by Reference: No ( called with pass by value option)
TCA11_IMP - Object status field string
Data type: TCA11Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_TYPE_CAPP_IMP - Category of calling order (CAPP calculate)
Data type: PLKO-FLG_CAPODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CP_EXT_LST_CREATE_WITH_BUFFER
DIALOG_TAB - Dialog table
Data type: RCLSTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PLAN_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CP_EXT_LST_CREATE_WITH_BUFFER 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_cuobj_imp | TYPE INOB-CUOBJ, " SPACE | |||
| lt_dialog_tab | TYPE STANDARD TABLE OF RCLST, " | |||
| lv_plan_not_found | TYPE RCLST, " | |||
| lv_flg_ref_imp | TYPE RCLST, " 'X' | |||
| lv_plnal_imp | TYPE PLKO-PLNAL, " | |||
| lv_plnnr_imp | TYPE PLKO-PLNNR, " | |||
| lv_plnty_imp | TYPE PLKO-PLNTY, " | |||
| lv_sttag_imp | TYPE PLKO-DATUV, " | |||
| lv_tca11_imp | TYPE TCA11, " | |||
| lv_order_type_capp_imp | TYPE PLKO-FLG_CAPO. " SPACE |
|   CALL FUNCTION 'CP_EXT_LST_CREATE_WITH_BUFFER' "NOTRANSL: Zu einer Plangruppe Belegtabs u. Dialogtabelle aufbauen mit DB-P |
| EXPORTING | ||
| CUOBJ_IMP | = lv_cuobj_imp | |
| FLG_REF_IMP | = lv_flg_ref_imp | |
| PLNAL_IMP | = lv_plnal_imp | |
| PLNNR_IMP | = lv_plnnr_imp | |
| PLNTY_IMP | = lv_plnty_imp | |
| STTAG_IMP | = lv_sttag_imp | |
| TCA11_IMP | = lv_tca11_imp | |
| ORDER_TYPE_CAPP_IMP | = lv_order_type_capp_imp | |
| TABLES | ||
| DIALOG_TAB | = lt_dialog_tab | |
| EXCEPTIONS | ||
| PLAN_NOT_FOUND = 1 | ||
| . " CP_EXT_LST_CREATE_WITH_BUFFER | ||
ABAP code using 7.40 inline data declarations to call FM CP_EXT_LST_CREATE_WITH_BUFFER
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 CUOBJ FROM INOB INTO @DATA(ld_cuobj_imp). | ||||
| DATA(ld_cuobj_imp) | = ' '. | |||
| DATA(ld_flg_ref_imp) | = 'X'. | |||
| "SELECT single PLNAL FROM PLKO INTO @DATA(ld_plnal_imp). | ||||
| "SELECT single PLNNR FROM PLKO INTO @DATA(ld_plnnr_imp). | ||||
| "SELECT single PLNTY FROM PLKO INTO @DATA(ld_plnty_imp). | ||||
| "SELECT single DATUV FROM PLKO INTO @DATA(ld_sttag_imp). | ||||
| "SELECT single FLG_CAPO FROM PLKO INTO @DATA(ld_order_type_capp_imp). | ||||
| DATA(ld_order_type_capp_imp) | = ' '. | |||
Search for further information about these or an SAP related objects