EXIT_SAPLCPCM_001 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 EXIT_SAPLCPCM_001 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
XCF5
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_SAPLCPCM_001' "Inbound Processing of Production Campaigns
EXPORTING
is_ctrlparams = " cifctrlpar Control Parameters for Data Transfers
TABLES
it_pcmh = " smy_pcmh
it_pcmp = " smy_pcmp
it_pcmhx = " smy_pcmhx Checklist for Production Campaigns (Header)
it_pcmpx = " smy_pcmpx Checklist for Production Campaigns (Item)
it_pcmha = " smy_pcmha Append Structure for Production Campaigns (Header)
it_pcmpa = " smy_pcmpa Append Structure for Production Campaigns (Item)
extensionin = " cifbparex
return = " bapiret2
. " EXIT_SAPLCPCM_001
The ABAP code below is a full code listing to execute function module EXIT_SAPLCPCM_001 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).
| it_it_pcmh | TYPE STANDARD TABLE OF SMY_PCMH,"TABLES PARAM |
| wa_it_pcmh | LIKE LINE OF it_it_pcmh , |
| it_it_pcmp | TYPE STANDARD TABLE OF SMY_PCMP,"TABLES PARAM |
| wa_it_pcmp | LIKE LINE OF it_it_pcmp , |
| it_it_pcmhx | TYPE STANDARD TABLE OF SMY_PCMHX,"TABLES PARAM |
| wa_it_pcmhx | LIKE LINE OF it_it_pcmhx , |
| it_it_pcmpx | TYPE STANDARD TABLE OF SMY_PCMPX,"TABLES PARAM |
| wa_it_pcmpx | LIKE LINE OF it_it_pcmpx , |
| it_it_pcmha | TYPE STANDARD TABLE OF SMY_PCMHA,"TABLES PARAM |
| wa_it_pcmha | LIKE LINE OF it_it_pcmha , |
| it_it_pcmpa | TYPE STANDARD TABLE OF SMY_PCMPA,"TABLES PARAM |
| wa_it_pcmpa | LIKE LINE OF it_it_pcmpa , |
| it_extensionin | TYPE STANDARD TABLE OF CIFBPAREX,"TABLES PARAM |
| wa_extensionin | LIKE LINE OF it_extensionin , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
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_is_ctrlparams | TYPE CIFCTRLPAR , |
| it_it_pcmh | TYPE STANDARD TABLE OF SMY_PCMH , |
| wa_it_pcmh | LIKE LINE OF it_it_pcmh, |
| it_it_pcmp | TYPE STANDARD TABLE OF SMY_PCMP , |
| wa_it_pcmp | LIKE LINE OF it_it_pcmp, |
| it_it_pcmhx | TYPE STANDARD TABLE OF SMY_PCMHX , |
| wa_it_pcmhx | LIKE LINE OF it_it_pcmhx, |
| it_it_pcmpx | TYPE STANDARD TABLE OF SMY_PCMPX , |
| wa_it_pcmpx | LIKE LINE OF it_it_pcmpx, |
| it_it_pcmha | TYPE STANDARD TABLE OF SMY_PCMHA , |
| wa_it_pcmha | LIKE LINE OF it_it_pcmha, |
| it_it_pcmpa | TYPE STANDARD TABLE OF SMY_PCMPA , |
| wa_it_pcmpa | LIKE LINE OF it_it_pcmpa, |
| it_extensionin | TYPE STANDARD TABLE OF CIFBPAREX , |
| wa_extensionin | LIKE LINE OF it_extensionin, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
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 EXIT_SAPLCPCM_001 or its description.
EXIT_SAPLCPCM_001 - Inbound Processing of Production Campaigns EXIT_SAPLCPCL_TSK_003 - Customer authorization checks for material/routing assignment (EWB) EXIT_SAPLCPCL_TSK_002 - Customer units of measure test for reference to operation set (EWB) EXIT_SAPLCPCL_TSK_001 - Customer authorization check for the task list headers (EWB) EXIT_SAPLCPCL_001 - Customer authorization check for the operations (EWB) EXIT_SAPLCPAU_001 - Authorization check task lists