SAP L_WMPP_INTERFACE_FROM_PP Function Module for









L_WMPP_INTERFACE_FROM_PP is a standard l wmpp interface from pp 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 l wmpp interface from pp FM, simply by entering the name L_WMPP_INTERFACE_FROM_PP into the relevant SAP transaction such as SE37 or SE38.

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



Function L_WMPP_INTERFACE_FROM_PP 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 'L_WMPP_INTERFACE_FROM_PP'"
EXPORTING
* PREPA = ' ' "Request WM material staging
* KZTBV = ' ' "
* KZBMG = ' ' "
* AZFOR = CON_X "
* KZMNG = ' ' "
* TBDAT = ' ' "
* WADEL = ' ' "Consumption posting for PP orders through GI for delivery
* DELIV = ' ' "
* VIEW_ = ' ' "Show display screen
* CHNGE = ' ' "Call up change screen
* SIMUL = ' ' "Simulation run WM material staging
* FCALL = CON_X "Direct call
* INITT = ' ' "Initiation of WM fields
* VERBU = CON_X "
* SCALL = ' ' "
* DIRTA = ' ' "Automatic TO creation immediately after TR creation

IMPORTING
PROTO = "Log entries exist

TABLES
LRES = "WM reservation data
* TTBNUM = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLLCPP_001 Exit for WM/PP Interface (Automatic TR Generation)

IMPORTING Parameters details for L_WMPP_INTERFACE_FROM_PP

PREPA - Request WM material staging

Data type: RLCPP-PREPA
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

KZTBV -

Data type: RLCPP-KZTBV
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

KZBMG -

Data type: RLCPP-KZBMG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

AZFOR -

Data type: RL05S-AZFOR
Default: CON_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

KZMNG -

Data type: RLCPP-KZMNG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TBDAT -

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

WADEL - Consumption posting for PP orders through GI for delivery

Data type: RLCPP-WADEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DELIV -

Data type: RLCPP-PREPA
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

VIEW_ - Show display screen

Data type: RLCPP-VIEW_
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHNGE - Call up change screen

Data type: RLCPP-CHNGE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SIMUL - Simulation run WM material staging

Data type: RLCPP-SIMUL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FCALL - Direct call

Data type: RLCPP-DCALL
Default: CON_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

INITT - Initiation of WM fields

Data type: RLCPP-INITT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

VERBU -

Data type: RLCPP-VERBU
Default: CON_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

SCALL -

Data type: RLCPP-DCALL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DIRTA - Automatic TO creation immediately after TR creation

Data type: RLCPP-DIRTA
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for L_WMPP_INTERFACE_FROM_PP

PROTO - Log entries exist

Data type: RLCPP-PROTO
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for L_WMPP_INTERFACE_FROM_PP

LRES - WM reservation data

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

TTBNUM -

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

Copy and paste ABAP code example for L_WMPP_INTERFACE_FROM_PP 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:
lt_lres  TYPE STANDARD TABLE OF LRESB, "   
lv_prepa  TYPE RLCPP-PREPA, "   SPACE
lv_proto  TYPE RLCPP-PROTO, "   
lv_kztbv  TYPE RLCPP-KZTBV, "   SPACE
lv_kzbmg  TYPE RLCPP-KZBMG, "   SPACE
lv_azfor  TYPE RL05S-AZFOR, "   CON_X
lv_kzmng  TYPE RLCPP-KZMNG, "   SPACE
lv_tbdat  TYPE RLCP3, "   SPACE
lv_wadel  TYPE RLCPP-WADEL, "   SPACE
lv_deliv  TYPE RLCPP-PREPA, "   SPACE
lv_view_  TYPE RLCPP-VIEW_, "   SPACE
lt_ttbnum  TYPE STANDARD TABLE OF RLCP6, "   
lv_chnge  TYPE RLCPP-CHNGE, "   SPACE
lv_simul  TYPE RLCPP-SIMUL, "   SPACE
lv_fcall  TYPE RLCPP-DCALL, "   CON_X
lv_initt  TYPE RLCPP-INITT, "   SPACE
lv_verbu  TYPE RLCPP-VERBU, "   CON_X
lv_scall  TYPE RLCPP-DCALL, "   SPACE
lv_dirta  TYPE RLCPP-DIRTA. "   SPACE

  CALL FUNCTION 'L_WMPP_INTERFACE_FROM_PP'  "
    EXPORTING
         PREPA = lv_prepa
         KZTBV = lv_kztbv
         KZBMG = lv_kzbmg
         AZFOR = lv_azfor
         KZMNG = lv_kzmng
         TBDAT = lv_tbdat
         WADEL = lv_wadel
         DELIV = lv_deliv
         VIEW_ = lv_view_
         CHNGE = lv_chnge
         SIMUL = lv_simul
         FCALL = lv_fcall
         INITT = lv_initt
         VERBU = lv_verbu
         SCALL = lv_scall
         DIRTA = lv_dirta
    IMPORTING
         PROTO = lv_proto
    TABLES
         LRES = lt_lres
         TTBNUM = lt_ttbnum
. " L_WMPP_INTERFACE_FROM_PP




ABAP code using 7.40 inline data declarations to call FM L_WMPP_INTERFACE_FROM_PP

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 PREPA FROM RLCPP INTO @DATA(ld_prepa).
DATA(ld_prepa) = ' '.
 
"SELECT single PROTO FROM RLCPP INTO @DATA(ld_proto).
 
"SELECT single KZTBV FROM RLCPP INTO @DATA(ld_kztbv).
DATA(ld_kztbv) = ' '.
 
"SELECT single KZBMG FROM RLCPP INTO @DATA(ld_kzbmg).
DATA(ld_kzbmg) = ' '.
 
"SELECT single AZFOR FROM RL05S INTO @DATA(ld_azfor).
DATA(ld_azfor) = CON_X.
 
"SELECT single KZMNG FROM RLCPP INTO @DATA(ld_kzmng).
DATA(ld_kzmng) = ' '.
 
DATA(ld_tbdat) = ' '.
 
"SELECT single WADEL FROM RLCPP INTO @DATA(ld_wadel).
DATA(ld_wadel) = ' '.
 
"SELECT single PREPA FROM RLCPP INTO @DATA(ld_deliv).
DATA(ld_deliv) = ' '.
 
"SELECT single VIEW_ FROM RLCPP INTO @DATA(ld_view_).
DATA(ld_view_) = ' '.
 
 
"SELECT single CHNGE FROM RLCPP INTO @DATA(ld_chnge).
DATA(ld_chnge) = ' '.
 
"SELECT single SIMUL FROM RLCPP INTO @DATA(ld_simul).
DATA(ld_simul) = ' '.
 
"SELECT single DCALL FROM RLCPP INTO @DATA(ld_fcall).
DATA(ld_fcall) = CON_X.
 
"SELECT single INITT FROM RLCPP INTO @DATA(ld_initt).
DATA(ld_initt) = ' '.
 
"SELECT single VERBU FROM RLCPP INTO @DATA(ld_verbu).
DATA(ld_verbu) = CON_X.
 
"SELECT single DCALL FROM RLCPP INTO @DATA(ld_scall).
DATA(ld_scall) = ' '.
 
"SELECT single DIRTA FROM RLCPP INTO @DATA(ld_dirta).
DATA(ld_dirta) = ' '.
 


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!