SAP PM_PROOF_OBJECT_PART Function Module for NOTRANSL: Prüfen ob Baugruppe in Equistruktur vorhanden ist









PM_PROOF_OBJECT_PART is a standard pm proof object part 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: Prüfen ob Baugruppe in Equistruktur vorhanden ist 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 pm proof object part FM, simply by entering the name PM_PROOF_OBJECT_PART into the relevant SAP transaction such as SE37 or SE38.

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



Function PM_PROOF_OBJECT_PART 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 'PM_PROOF_OBJECT_PART'"NOTRANSL: Prüfen ob Baugruppe in Equistruktur vorhanden ist
EXPORTING
BAUTL = "
EQUNR = "
IWERK = "
* ITPLNR = "

IMPORTING
BAUTX = "
RETCD = "

EXCEPTIONS
EQUI_WITH_NO_PART = 1 INVALID_PART = 2 NO_EQUIPMENT = 3 NO_IWERK = 4
.




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_SAPLIWO1_001 Create PM/CS Notification: Determination of Ref. Object for Customer Exit
EXIT_SAPLIWO1_003 Check PM Object and Display Object Information
EXIT_SAPLIWO1_004 PM/SM - Authorization Check for Reference Object
EXIT_SAPLIWO1_005 PM/SM - Authorization Check when Changing Planner Group

IMPORTING Parameters details for PM_PROOF_OBJECT_PART

BAUTL -

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

EQUNR -

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

IWERK -

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

ITPLNR -

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

EXPORTING Parameters details for PM_PROOF_OBJECT_PART

BAUTX -

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

RETCD -

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

EXCEPTIONS details

EQUI_WITH_NO_PART - Equipment without bill of material

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

INVALID_PART - Assembly not in the equipment BOM

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

NO_EQUIPMENT -

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

NO_IWERK -

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

Copy and paste ABAP code example for PM_PROOF_OBJECT_PART 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_bautl  TYPE MARA-MATNR, "   
lv_bautx  TYPE RIHSTPX-MAKTX, "   
lv_equi_with_no_part  TYPE RIHSTPX, "   
lv_equnr  TYPE RIWO1-EQUNR, "   
lv_retcd  TYPE SY-SUBRC, "   
lv_invalid_part  TYPE SY, "   
lv_iwerk  TYPE VIQMEL-IWERK, "   
lv_no_equipment  TYPE VIQMEL, "   
lv_itplnr  TYPE RIWO1-TPLNR, "   
lv_no_iwerk  TYPE RIWO1. "   

  CALL FUNCTION 'PM_PROOF_OBJECT_PART'  "NOTRANSL: Prüfen ob Baugruppe in Equistruktur vorhanden ist
    EXPORTING
         BAUTL = lv_bautl
         EQUNR = lv_equnr
         IWERK = lv_iwerk
         ITPLNR = lv_itplnr
    IMPORTING
         BAUTX = lv_bautx
         RETCD = lv_retcd
    EXCEPTIONS
        EQUI_WITH_NO_PART = 1
        INVALID_PART = 2
        NO_EQUIPMENT = 3
        NO_IWERK = 4
. " PM_PROOF_OBJECT_PART




ABAP code using 7.40 inline data declarations to call FM PM_PROOF_OBJECT_PART

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 MATNR FROM MARA INTO @DATA(ld_bautl).
 
"SELECT single MAKTX FROM RIHSTPX INTO @DATA(ld_bautx).
 
 
"SELECT single EQUNR FROM RIWO1 INTO @DATA(ld_equnr).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_retcd).
 
 
"SELECT single IWERK FROM VIQMEL INTO @DATA(ld_iwerk).
 
 
"SELECT single TPLNR FROM RIWO1 INTO @DATA(ld_itplnr).
 
 


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!