SAP OIF_UPDATE_PBL Function Module for MRN Physical Business Location update processing









OIF_UPDATE_PBL is a standard oif update pbl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for MRN Physical Business Location update processing 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 oif update pbl FM, simply by entering the name OIF_UPDATE_PBL into the relevant SAP transaction such as SE37 or SE38.

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



Function OIF_UPDATE_PBL 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 'OIF_UPDATE_PBL'"MRN Physical Business Location update processing
EXPORTING
I_ROIFSPBL = "Physical Business Location header
I_ROIFADRC = "Physical Business Location - ADRC address data
* I_LEVEL = 'G' "

TABLES
ROIFBBP1_TAB = "Physical Business Location - partner functions
ROIFOT001W_TAB = "
ROIRBOMMT001L_TAB = "
ROIRBBP1PF_TAB = "
ROIFOANLA_TAB = "
ROIFOCEPC_TAB = "
ROIFOCSKS_TAB = "
ROIFOIFLO_TAB = "
ROIFOPROJ_TAB = "
ROIFOCOAS_TAB = "
ROIFOT001L_TAB = "
.



IMPORTING Parameters details for OIF_UPDATE_PBL

I_ROIFSPBL - Physical Business Location header

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

I_ROIFADRC - Physical Business Location - ADRC address data

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

I_LEVEL -

Data type: OIFA_LEVEL
Default: 'G'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for OIF_UPDATE_PBL

ROIFBBP1_TAB - Physical Business Location - partner functions

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

ROIFOT001W_TAB -

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

ROIRBOMMT001L_TAB -

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

ROIRBBP1PF_TAB -

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

ROIFOANLA_TAB -

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

ROIFOCEPC_TAB -

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

ROIFOCSKS_TAB -

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

ROIFOIFLO_TAB -

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

ROIFOPROJ_TAB -

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

ROIFOCOAS_TAB -

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

ROIFOT001L_TAB -

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

Copy and paste ABAP code example for OIF_UPDATE_PBL 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_roifspbl  TYPE ROIFSPBL, "   
lt_roifbbp1_tab  TYPE STANDARD TABLE OF ROIFBBP1, "   
lt_roifot001w_tab  TYPE STANDARD TABLE OF ROIFOT001W, "   
lt_roirbommt001l_tab  TYPE STANDARD TABLE OF ROIRBOMMT001L, "   
lv_i_roifadrc  TYPE ROIFADRC, "   
lt_roirbbp1pf_tab  TYPE STANDARD TABLE OF ROIRBBP1PF, "   
lv_i_level  TYPE OIFA_LEVEL, "   'G'
lt_roifoanla_tab  TYPE STANDARD TABLE OF ROIFOANLA, "   
lt_roifocepc_tab  TYPE STANDARD TABLE OF ROIFOCEPC, "   
lt_roifocsks_tab  TYPE STANDARD TABLE OF ROIFOCSKS, "   
lt_roifoiflo_tab  TYPE STANDARD TABLE OF ROIFOIFLO, "   
lt_roifoproj_tab  TYPE STANDARD TABLE OF ROIFOPROJ, "   
lt_roifocoas_tab  TYPE STANDARD TABLE OF ROIFOCOAS, "   
lt_roifot001l_tab  TYPE STANDARD TABLE OF ROIFOT001L. "   

  CALL FUNCTION 'OIF_UPDATE_PBL'  "MRN Physical Business Location update processing
    EXPORTING
         I_ROIFSPBL = lv_i_roifspbl
         I_ROIFADRC = lv_i_roifadrc
         I_LEVEL = lv_i_level
    TABLES
         ROIFBBP1_TAB = lt_roifbbp1_tab
         ROIFOT001W_TAB = lt_roifot001w_tab
         ROIRBOMMT001L_TAB = lt_roirbommt001l_tab
         ROIRBBP1PF_TAB = lt_roirbbp1pf_tab
         ROIFOANLA_TAB = lt_roifoanla_tab
         ROIFOCEPC_TAB = lt_roifocepc_tab
         ROIFOCSKS_TAB = lt_roifocsks_tab
         ROIFOIFLO_TAB = lt_roifoiflo_tab
         ROIFOPROJ_TAB = lt_roifoproj_tab
         ROIFOCOAS_TAB = lt_roifocoas_tab
         ROIFOT001L_TAB = lt_roifot001l_tab
. " OIF_UPDATE_PBL




ABAP code using 7.40 inline data declarations to call FM OIF_UPDATE_PBL

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.

 
 
 
 
 
 
DATA(ld_i_level) = 'G'.
 
 
 
 
 
 
 
 


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!