SAP CP_BD_DIRECT_INPUT_PLAN_EXT Function Module for NOTRANSL: Arbeitspläne über Direct Input plegen (externes Format)









CP_BD_DIRECT_INPUT_PLAN_EXT is a standard cp bd direct input plan ext 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: Arbeitspläne über Direct Input plegen (externes Format) 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 bd direct input plan ext FM, simply by entering the name CP_BD_DIRECT_INPUT_PLAN_EXT into the relevant SAP transaction such as SE37 or SE38.

Function Group: CPBD
Program Name: SAPLCPBD
Main Program: SAPLCPBD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CP_BD_DIRECT_INPUT_PLAN_EXT 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_BD_DIRECT_INPUT_PLAN_EXT'"NOTRANSL: Arbeitspläne über Direct Input plegen (externes Format)
EXPORTING
RC271_EX_IMP = "Group to process
* RC27M_EX_IMP = '' "
SAVE_DI_IMP = "Flags

IMPORTING
ERROR_DI_EXP = "Error status record
PLNNR_EXP = "Group

TABLES
PLKO_DI_EX_TAB = "Copy headers (ext. format)
KNOWL_ALLOC_DI_EX_TAB = "
* KNOWL_BASIC_OBJ_DI_EX_TAB = "
* KNOWL_BASIC_DI_EX_TAB = "
* KNOWL_NAMES_OBJ_DI_EX_TAB = "
* KNOWL_NAMES_DI_EX_TAB = "
* KNOWL_DOCUS_OBJ_DI_EX_TAB = "
* KNOWL_DOCUS_DI_EX_TAB = "
* KNOWL_SOURCE_OBJ_DI_EX_TAB = "
* KNOWL_SOURCE_DI_EX_TAB = "
OBJ_NULL_FIELD_TAB = "Fields not to be copied
MAPL_DI_EX_TAB = "Copy material allocation to task list (ext. format)
ERROR_PLAN_DI_TAB = "Table of error status records
ERROR_PLAN_TAB = "Table of error messages
PLPO_DI_EX_TAB = "Copy operations (ext. format)
PLFL_DI_EX_TAB = "Copy sequences (ext. format)
PLMZ_DI_EX_TAB = "Copy component allocation (ext. format)
PLFH_DI_EX_TAB = "Copy production resources/tools (ext. format)
TEXT_OBJ_DI_EX_TAB = "Copy text objects (ext. format)
TEXT_DI_TAB = "Copy text lines (ext. format)
KNOWL_ALLOC_OBJ_DI_EX_TAB = "
.



IMPORTING Parameters details for CP_BD_DIRECT_INPUT_PLAN_EXT

RC271_EX_IMP - Group to process

Data type: RC271_EX
Optional: No
Call by Reference: No ( called with pass by value option)

RC27M_EX_IMP -

Data type: RC27M_EX
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

SAVE_DI_IMP - Flags

Data type: SAVE_DI
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CP_BD_DIRECT_INPUT_PLAN_EXT

ERROR_DI_EXP - Error status record

Data type: ERROR_DI
Optional: No
Call by Reference: No ( called with pass by value option)

PLNNR_EXP - Group

Data type: PLNNR
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CP_BD_DIRECT_INPUT_PLAN_EXT

PLKO_DI_EX_TAB - Copy headers (ext. format)

Data type: PLKO_DI_EX
Optional: No
Call by Reference: No ( called with pass by value option)

KNOWL_ALLOC_DI_EX_TAB -

Data type: RCUOB2
Optional: No
Call by Reference: No ( called with pass by value option)

KNOWL_BASIC_OBJ_DI_EX_TAB -

Data type: RCUKB1_EX
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_BASIC_DI_EX_TAB -

Data type: RCUKB2
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_NAMES_OBJ_DI_EX_TAB -

Data type: RCUKBT1_EX
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_NAMES_DI_EX_TAB -

Data type: RCUKBT2
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_DOCUS_OBJ_DI_EX_TAB -

Data type: RCUKDO1_EX
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_DOCUS_DI_EX_TAB -

Data type: RCUKDOC2
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_SOURCE_OBJ_DI_EX_TAB -

Data type: RCUKN1_EX
Optional: Yes
Call by Reference: No ( called with pass by value option)

KNOWL_SOURCE_DI_EX_TAB -

Data type: RCUKN2
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJ_NULL_FIELD_TAB - Fields not to be copied

Data type: OBJ_NFIELD
Optional: No
Call by Reference: No ( called with pass by value option)

MAPL_DI_EX_TAB - Copy material allocation to task list (ext. format)

Data type: MAPL_DI_EX
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_PLAN_DI_TAB - Table of error status records

Data type: ERROR_DI
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_PLAN_TAB - Table of error messages

Data type: CMFMSG
Optional: No
Call by Reference: No ( called with pass by value option)

PLPO_DI_EX_TAB - Copy operations (ext. format)

Data type: PLPO_DI_EX
Optional: No
Call by Reference: No ( called with pass by value option)

PLFL_DI_EX_TAB - Copy sequences (ext. format)

Data type: PLFL_DI_EX
Optional: No
Call by Reference: No ( called with pass by value option)

PLMZ_DI_EX_TAB - Copy component allocation (ext. format)

Data type: PLMZ_DI_EX
Optional: No
Call by Reference: No ( called with pass by value option)

PLFH_DI_EX_TAB - Copy production resources/tools (ext. format)

Data type: PLFH_DI_EX
Optional: No
Call by Reference: No ( called with pass by value option)

TEXT_OBJ_DI_EX_TAB - Copy text objects (ext. format)

Data type: TXT_OBJ_EX
Optional: No
Call by Reference: No ( called with pass by value option)

TEXT_DI_TAB - Copy text lines (ext. format)

Data type: TLINE
Optional: No
Call by Reference: No ( called with pass by value option)

KNOWL_ALLOC_OBJ_DI_EX_TAB -

Data type: RCUOB1_EX
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CP_BD_DIRECT_INPUT_PLAN_EXT 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_error_di_exp  TYPE ERROR_DI, "   
lv_rc271_ex_imp  TYPE RC271_EX, "   
lt_plko_di_ex_tab  TYPE STANDARD TABLE OF PLKO_DI_EX, "   
lt_knowl_alloc_di_ex_tab  TYPE STANDARD TABLE OF RCUOB2, "   
lt_knowl_basic_obj_di_ex_tab  TYPE STANDARD TABLE OF RCUKB1_EX, "   
lt_knowl_basic_di_ex_tab  TYPE STANDARD TABLE OF RCUKB2, "   
lt_knowl_names_obj_di_ex_tab  TYPE STANDARD TABLE OF RCUKBT1_EX, "   
lt_knowl_names_di_ex_tab  TYPE STANDARD TABLE OF RCUKBT2, "   
lt_knowl_docus_obj_di_ex_tab  TYPE STANDARD TABLE OF RCUKDO1_EX, "   
lt_knowl_docus_di_ex_tab  TYPE STANDARD TABLE OF RCUKDOC2, "   
lt_knowl_source_obj_di_ex_tab  TYPE STANDARD TABLE OF RCUKN1_EX, "   
lt_knowl_source_di_ex_tab  TYPE STANDARD TABLE OF RCUKN2, "   
lt_obj_null_field_tab  TYPE STANDARD TABLE OF OBJ_NFIELD, "   
lv_plnnr_exp  TYPE PLNNR, "   
lv_rc27m_ex_imp  TYPE RC27M_EX, "   ''
lt_mapl_di_ex_tab  TYPE STANDARD TABLE OF MAPL_DI_EX, "   
lt_error_plan_di_tab  TYPE STANDARD TABLE OF ERROR_DI, "   
lt_error_plan_tab  TYPE STANDARD TABLE OF CMFMSG, "   
lv_save_di_imp  TYPE SAVE_DI, "   
lt_plpo_di_ex_tab  TYPE STANDARD TABLE OF PLPO_DI_EX, "   
lt_plfl_di_ex_tab  TYPE STANDARD TABLE OF PLFL_DI_EX, "   
lt_plmz_di_ex_tab  TYPE STANDARD TABLE OF PLMZ_DI_EX, "   
lt_plfh_di_ex_tab  TYPE STANDARD TABLE OF PLFH_DI_EX, "   
lt_text_obj_di_ex_tab  TYPE STANDARD TABLE OF TXT_OBJ_EX, "   
lt_text_di_tab  TYPE STANDARD TABLE OF TLINE, "   
lt_knowl_alloc_obj_di_ex_tab  TYPE STANDARD TABLE OF RCUOB1_EX. "   

  CALL FUNCTION 'CP_BD_DIRECT_INPUT_PLAN_EXT'  "NOTRANSL: Arbeitspläne über Direct Input plegen (externes Format)
    EXPORTING
         RC271_EX_IMP = lv_rc271_ex_imp
         RC27M_EX_IMP = lv_rc27m_ex_imp
         SAVE_DI_IMP = lv_save_di_imp
    IMPORTING
         ERROR_DI_EXP = lv_error_di_exp
         PLNNR_EXP = lv_plnnr_exp
    TABLES
         PLKO_DI_EX_TAB = lt_plko_di_ex_tab
         KNOWL_ALLOC_DI_EX_TAB = lt_knowl_alloc_di_ex_tab
         KNOWL_BASIC_OBJ_DI_EX_TAB = lt_knowl_basic_obj_di_ex_tab
         KNOWL_BASIC_DI_EX_TAB = lt_knowl_basic_di_ex_tab
         KNOWL_NAMES_OBJ_DI_EX_TAB = lt_knowl_names_obj_di_ex_tab
         KNOWL_NAMES_DI_EX_TAB = lt_knowl_names_di_ex_tab
         KNOWL_DOCUS_OBJ_DI_EX_TAB = lt_knowl_docus_obj_di_ex_tab
         KNOWL_DOCUS_DI_EX_TAB = lt_knowl_docus_di_ex_tab
         KNOWL_SOURCE_OBJ_DI_EX_TAB = lt_knowl_source_obj_di_ex_tab
         KNOWL_SOURCE_DI_EX_TAB = lt_knowl_source_di_ex_tab
         OBJ_NULL_FIELD_TAB = lt_obj_null_field_tab
         MAPL_DI_EX_TAB = lt_mapl_di_ex_tab
         ERROR_PLAN_DI_TAB = lt_error_plan_di_tab
         ERROR_PLAN_TAB = lt_error_plan_tab
         PLPO_DI_EX_TAB = lt_plpo_di_ex_tab
         PLFL_DI_EX_TAB = lt_plfl_di_ex_tab
         PLMZ_DI_EX_TAB = lt_plmz_di_ex_tab
         PLFH_DI_EX_TAB = lt_plfh_di_ex_tab
         TEXT_OBJ_DI_EX_TAB = lt_text_obj_di_ex_tab
         TEXT_DI_TAB = lt_text_di_tab
         KNOWL_ALLOC_OBJ_DI_EX_TAB = lt_knowl_alloc_obj_di_ex_tab
. " CP_BD_DIRECT_INPUT_PLAN_EXT




ABAP code using 7.40 inline data declarations to call FM CP_BD_DIRECT_INPUT_PLAN_EXT

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_rc27m_ex_imp) = ''.
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!