SAP PIC10_REDUCE_RECEIPTS_SUS Function Module for NOTRANSL: PIC : Supersession reduction of receipts for F-Link









PIC10_REDUCE_RECEIPTS_SUS is a standard pic10 reduce receipts sus 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: PIC : Supersession reduction of receipts for F-Link 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 pic10 reduce receipts sus FM, simply by entering the name PIC10_REDUCE_RECEIPTS_SUS into the relevant SAP transaction such as SE37 or SE38.

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



Function PIC10_REDUCE_RECEIPTS_SUS 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 'PIC10_REDUCE_RECEIPTS_SUS'"NOTRANSL: PIC : Supersession reduction of receipts for F-Link
EXPORTING
IS_CM61M = "MRP control indicator -material level-
IV_EXCESS = "Receipt Quantity or Requirement Quantity
IV_PLAAB = "Material Requirements Planning Segment
IV_PLANR = "Number of Planning Segment

TABLES
MDPSX = "Item in MRP Document
* MPICBX = "
.



IMPORTING Parameters details for PIC10_REDUCE_RECEIPTS_SUS

IS_CM61M - MRP control indicator -material level-

Data type: CM61M
Optional: No
Call by Reference: Yes

IV_EXCESS - Receipt Quantity or Requirement Quantity

Data type: MDPS-MNG01
Optional: No
Call by Reference: Yes

IV_PLAAB - Material Requirements Planning Segment

Data type: MDPS-PLAAB
Optional: No
Call by Reference: Yes

IV_PLANR - Number of Planning Segment

Data type: MDPS-PLANR
Optional: No
Call by Reference: Yes

TABLES Parameters details for PIC10_REDUCE_RECEIPTS_SUS

MDPSX - Item in MRP Document

Data type: MDPS
Optional: No
Call by Reference: Yes

MPICBX -

Data type: MDPS
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for PIC10_REDUCE_RECEIPTS_SUS 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_mdpsx  TYPE STANDARD TABLE OF MDPS, "   
lv_is_cm61m  TYPE CM61M, "   
lt_mpicbx  TYPE STANDARD TABLE OF MDPS, "   
lv_iv_excess  TYPE MDPS-MNG01, "   
lv_iv_plaab  TYPE MDPS-PLAAB, "   
lv_iv_planr  TYPE MDPS-PLANR. "   

  CALL FUNCTION 'PIC10_REDUCE_RECEIPTS_SUS'  "NOTRANSL: PIC : Supersession reduction of receipts for F-Link
    EXPORTING
         IS_CM61M = lv_is_cm61m
         IV_EXCESS = lv_iv_excess
         IV_PLAAB = lv_iv_plaab
         IV_PLANR = lv_iv_planr
    TABLES
         MDPSX = lt_mdpsx
         MPICBX = lt_mpicbx
. " PIC10_REDUCE_RECEIPTS_SUS




ABAP code using 7.40 inline data declarations to call FM PIC10_REDUCE_RECEIPTS_SUS

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 MNG01 FROM MDPS INTO @DATA(ld_iv_excess).
 
"SELECT single PLAAB FROM MDPS INTO @DATA(ld_iv_plaab).
 
"SELECT single PLANR FROM MDPS INTO @DATA(ld_iv_planr).
 


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!