SAP EXIT_SAPLCDPSUSER_008 Function Module for User Exit for Selection Function in the Planning Board









EXIT_SAPLCDPSUSER_008 is a standard exit saplcdpsuser 008 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Selection Function in the Planning Board 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 exit saplcdpsuser 008 FM, simply by entering the name EXIT_SAPLCDPSUSER_008 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XCDPSUSER
Program Name: SAPLXCDPSUSER
Main Program: SAPLXCDPSUSER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLCDPSUSER_008 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_SAPLCDPSUSER_008'"User Exit for Selection Function in the Planning Board
EXPORTING
I_SIMVERID = "GUID for Identifying Transactional Simulation Session
* I_CAPREQ_TAB = "Interface Table with Any GUIDs
* I_BLOCKID_TAB = "
I_SIMSESSID = "GUID for Identifying Transactional Simulation Session
* I_START = "Start Date/Time
* I_END = "End Date/Time
* I_ORDERS_TAB = "Table with Order GUIDs
* I_RESOURCES_TAB = "Table with Resources (Keys)
* I_PEGIDS_TAB = "Table of IDs for Planning Area
* I_PCMIDS_TAB = "Table with GUIDs of Production Campaigns
* I_OPER_TAB = "Table with Operation GUID

IMPORTING
E_ORDERS_TAB = "Table with Order GUIDs
E_RESOURCES_TAB = "Table with Resources (Keys)
E_PEGIDS_TAB = "Table of IDs for Planning Area
E_PCMIDS_TAB = "Table with GUIDs of Production Campaigns
E_OPER_TAB = "Table with operation GUID
E_CAPREQ_TAB = "Interface Table with Any GUIDs
E_BLOCKID_TAB = "
E_FIRST_DESELECT_ALL = "Deselect all Selected Objects First
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
CDPSUSER_BATCH_SELECTION User Exit for the Selection of the Planning Run
CDPSUSER_FDIS_ADD_FUNCTIONS Enhancement of Function Dispatcher
CDPSUSER_OBJECT_MARK User Exit for Selection Function in the Planning Board
CDPSUSER_PLANNING_TABLE User Exit for the Planning Board
CDPSUSER_PTF_COLUMN_HEAD Modification of Column Headings in the Planning Board
CDPSUSER_PTF_GET_BOX_ATTRIB User Exit for Determination of Form Type and Color Type in Planning Board
CDPSUSER_PTF_GET_NODE_ATTRIB User Exit for Determination of Graphical Representation in Planning Board
CDPSUSER_REPT_EXTEND Enhances Evaluations

IMPORTING Parameters details for EXIT_SAPLCDPSUSER_008

I_SIMVERID - GUID for Identifying Transactional Simulation Session

Data type: /SAPAPO/VRSIOID
Optional: No
Call by Reference: Yes

I_CAPREQ_TAB - Interface Table with Any GUIDs

Data type: /SAPAPO/CDPS_CAPREQ_KEY_TAB
Optional: Yes
Call by Reference: Yes

I_BLOCKID_TAB -

Data type: /SAPAPO/MC01_BLOCKID_TAB
Optional: Yes
Call by Reference: Yes

I_SIMSESSID - GUID for Identifying Transactional Simulation Session

Data type: /SAPAPO/OM_SIMSESSION
Optional: No
Call by Reference: Yes

I_START - Start Date/Time

Data type: /SAPAPO/STARTTI
Optional: Yes
Call by Reference: Yes

I_END - End Date/Time

Data type: /SAPAPO/ENDTI
Optional: Yes
Call by Reference: Yes

I_ORDERS_TAB - Table with Order GUIDs

Data type: /SAPAPO/OM_ORDERID_TAB
Optional: Yes
Call by Reference: Yes

I_RESOURCES_TAB - Table with Resources (Keys)

Data type: /SAPAPO/RESID_TAB
Optional: Yes
Call by Reference: Yes

I_PEGIDS_TAB - Table of IDs for Planning Area

Data type: /SAPAPO/PEGID_TAB
Optional: Yes
Call by Reference: Yes

I_PCMIDS_TAB - Table with GUIDs of Production Campaigns

Data type: /SAPAPO/OM_PCMID_TAB
Optional: Yes
Call by Reference: Yes

I_OPER_TAB - Table with Operation GUID

Data type: /SAPAPO/OPR_KEY_TAB
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for EXIT_SAPLCDPSUSER_008

E_ORDERS_TAB - Table with Order GUIDs

Data type: /SAPAPO/OM_ORDERID_TAB
Optional: No
Call by Reference: Yes

E_RESOURCES_TAB - Table with Resources (Keys)

Data type: /SAPAPO/RESID_TAB
Optional: No
Call by Reference: Yes

E_PEGIDS_TAB - Table of IDs for Planning Area

Data type: /SAPAPO/PEGID_TAB
Optional: No
Call by Reference: Yes

E_PCMIDS_TAB - Table with GUIDs of Production Campaigns

Data type: /SAPAPO/OM_PCMID_TAB
Optional: No
Call by Reference: Yes

E_OPER_TAB - Table with operation GUID

Data type: /SAPAPO/OPR_KEY_TAB
Optional: No
Call by Reference: Yes

E_CAPREQ_TAB - Interface Table with Any GUIDs

Data type: /SAPAPO/CDPS_CAPREQ_KEY_TAB
Optional: No
Call by Reference: Yes

E_BLOCKID_TAB -

Data type: /SAPAPO/MC01_BLOCKID_TAB
Optional: No
Call by Reference: Yes

E_FIRST_DESELECT_ALL - Deselect all Selected Objects First

Data type: /SAPAPO/CDPS_BOOL
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLCDPSUSER_008 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_i_simverid  TYPE /SAPAPO/VRSIOID, "   
lv_e_orders_tab  TYPE /SAPAPO/OM_ORDERID_TAB, "   
lv_i_capreq_tab  TYPE /SAPAPO/CDPS_CAPREQ_KEY_TAB, "   
lv_i_blockid_tab  TYPE /SAPAPO/MC01_BLOCKID_TAB, "   
lv_i_simsessid  TYPE /SAPAPO/OM_SIMSESSION, "   
lv_e_resources_tab  TYPE /SAPAPO/RESID_TAB, "   
lv_i_start  TYPE /SAPAPO/STARTTI, "   
lv_e_pegids_tab  TYPE /SAPAPO/PEGID_TAB, "   
lv_i_end  TYPE /SAPAPO/ENDTI, "   
lv_e_pcmids_tab  TYPE /SAPAPO/OM_PCMID_TAB, "   
lv_e_oper_tab  TYPE /SAPAPO/OPR_KEY_TAB, "   
lv_i_orders_tab  TYPE /SAPAPO/OM_ORDERID_TAB, "   
lv_e_capreq_tab  TYPE /SAPAPO/CDPS_CAPREQ_KEY_TAB, "   
lv_i_resources_tab  TYPE /SAPAPO/RESID_TAB, "   
lv_i_pegids_tab  TYPE /SAPAPO/PEGID_TAB, "   
lv_e_blockid_tab  TYPE /SAPAPO/MC01_BLOCKID_TAB, "   
lv_i_pcmids_tab  TYPE /SAPAPO/OM_PCMID_TAB, "   
lv_e_first_deselect_all  TYPE /SAPAPO/CDPS_BOOL, "   
lv_i_oper_tab  TYPE /SAPAPO/OPR_KEY_TAB. "   

  CALL FUNCTION 'EXIT_SAPLCDPSUSER_008'  "User Exit for Selection Function in the Planning Board
    EXPORTING
         I_SIMVERID = lv_i_simverid
         I_CAPREQ_TAB = lv_i_capreq_tab
         I_BLOCKID_TAB = lv_i_blockid_tab
         I_SIMSESSID = lv_i_simsessid
         I_START = lv_i_start
         I_END = lv_i_end
         I_ORDERS_TAB = lv_i_orders_tab
         I_RESOURCES_TAB = lv_i_resources_tab
         I_PEGIDS_TAB = lv_i_pegids_tab
         I_PCMIDS_TAB = lv_i_pcmids_tab
         I_OPER_TAB = lv_i_oper_tab
    IMPORTING
         E_ORDERS_TAB = lv_e_orders_tab
         E_RESOURCES_TAB = lv_e_resources_tab
         E_PEGIDS_TAB = lv_e_pegids_tab
         E_PCMIDS_TAB = lv_e_pcmids_tab
         E_OPER_TAB = lv_e_oper_tab
         E_CAPREQ_TAB = lv_e_capreq_tab
         E_BLOCKID_TAB = lv_e_blockid_tab
         E_FIRST_DESELECT_ALL = lv_e_first_deselect_all
. " EXIT_SAPLCDPSUSER_008




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCDPSUSER_008

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!