SAP OIUOW_ORB_UPDATE_ENQUEUE Function Module for OIUOW: ORP 4.3.4.7.1 Update old owner









OIUOW_ORB_UPDATE_ENQUEUE is a standard oiuow orb update enqueue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OIUOW: ORP 4.3.4.7.1 Update old owner 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 oiuow orb update enqueue FM, simply by entering the name OIUOW_ORB_UPDATE_ENQUEUE into the relevant SAP transaction such as SE37 or SE38.

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



Function OIUOW_ORB_UPDATE_ENQUEUE 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 'OIUOW_ORB_UPDATE_ENQUEUE'"OIUOW: ORP 4.3.4.7.1 Update old owner
EXPORTING
* P_DOH = ' ' "Single-character flag
* P_FUNDS = ' ' "Single-character flag

TABLES
PT_UPD_DO_WK = "Maintenance Structure: OIU_DO_DO
PT_UPD_INTOD_WK = "Maint. Structure: Reds/Escheat Interace Detail
PT_UPD_DODO_WK = "Maint. Structure: DOI Owner Print table
PT_UPD_MKEX_WK = "Maint. Structure: Marketing Cost Exemption
PT_UPD_DOEX_WK = "Maint. Structure: Owner State Tax Exemption
PT_UPD_DOACC_WK = "Maint. Structure: Owner Override Accounting Codes
PT_UPD_SSH_WK = "Maint. Structure: Sliding Scale Header
PT_UPD_OSS_WK = "Maint. Structure: Owner Sliding Scale
PT_UPD_DTCS = "Maintenance Structure: OIUOW_DTCS
PT_UPD_DORH = "Maint. structure: DO Owner Request History
PT_UPD_POW = "Maintenance Structure: Pending Owner requests
PT_UPD_BGUC_WK = "E&P Maintenance Structure: OIU_DO_BGUC
PT_UPD_DTCH = "Maintenance Structure : OIUOW_DTCH
* PT_UPD_RTD_WK = "RD DOI Transferee Detail
* PT_UPD_RTCH_WK = "RD DOI Transfer Change Header
PT_UPD_BR_WK = "E&P Maintenance Structure: OIU_DO_BR
PT_UPD_DPIC_WK = "Maint. Structure: DOI Product Interest Control
PT_UPD_DPUC_WK = "Maint. Structure: DOI Product Use Control
* PT_UPD_DOH_WK = "Maint. Structure: Ownership History
PT_UPD_ESTDT_WK = "Maint. Structure: Escheat Transfer dates
PT_UPD_RETDT_WK = "Maint. Structure: Reds Transfer dates
PT_UPD_INTOH_WK = "Maint. Structure: Reds/Escheat Interace Header

EXCEPTIONS
INTERMED_RESULTS_BUFFER_ERROR = 1
.



IMPORTING Parameters details for OIUOW_ORB_UPDATE_ENQUEUE

P_DOH - Single-character flag

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

P_FUNDS - Single-character flag

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

TABLES Parameters details for OIUOW_ORB_UPDATE_ENQUEUE

PT_UPD_DO_WK - Maintenance Structure: OIU_DO_DO

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

PT_UPD_INTOD_WK - Maint. Structure: Reds/Escheat Interace Detail

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

PT_UPD_DODO_WK - Maint. Structure: DOI Owner Print table

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

PT_UPD_MKEX_WK - Maint. Structure: Marketing Cost Exemption

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

PT_UPD_DOEX_WK - Maint. Structure: Owner State Tax Exemption

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

PT_UPD_DOACC_WK - Maint. Structure: Owner Override Accounting Codes

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

PT_UPD_SSH_WK - Maint. Structure: Sliding Scale Header

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

PT_UPD_OSS_WK - Maint. Structure: Owner Sliding Scale

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

PT_UPD_DTCS - Maintenance Structure: OIUOW_DTCS

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

PT_UPD_DORH - Maint. structure: DO Owner Request History

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

PT_UPD_POW - Maintenance Structure: Pending Owner requests

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

PT_UPD_BGUC_WK - E&P Maintenance Structure: OIU_DO_BGUC

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

PT_UPD_DTCH - Maintenance Structure : OIUOW_DTCH

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

PT_UPD_RTD_WK - RD DOI Transferee Detail

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

PT_UPD_RTCH_WK - RD DOI Transfer Change Header

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

PT_UPD_BR_WK - E&P Maintenance Structure: OIU_DO_BR

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

PT_UPD_DPIC_WK - Maint. Structure: DOI Product Interest Control

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

PT_UPD_DPUC_WK - Maint. Structure: DOI Product Use Control

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

PT_UPD_DOH_WK - Maint. Structure: Ownership History

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

PT_UPD_ESTDT_WK - Maint. Structure: Escheat Transfer dates

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

PT_UPD_RETDT_WK - Maint. Structure: Reds Transfer dates

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

PT_UPD_INTOH_WK - Maint. Structure: Reds/Escheat Interace Header

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

EXCEPTIONS details

INTERMED_RESULTS_BUFFER_ERROR - Intermediate results buffer error

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

Copy and paste ABAP code example for OIUOW_ORB_UPDATE_ENQUEUE 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_p_doh  TYPE CHAR1, "   SPACE
lt_pt_upd_do_wk  TYPE STANDARD TABLE OF ROIU_DO_DO, "   
lv_intermed_results_buffer_error  TYPE ROIU_DO_DO, "   
lt_pt_upd_intod_wk  TYPE STANDARD TABLE OF ROIUOW_INTOD, "   
lt_pt_upd_dodo_wk  TYPE STANDARD TABLE OF ROIUOW_DODO, "   
lt_pt_upd_mkex_wk  TYPE STANDARD TABLE OF ROIUOW_MKEX, "   
lt_pt_upd_doex_wk  TYPE STANDARD TABLE OF ROIUOW_DOEX, "   
lt_pt_upd_doacc_wk  TYPE STANDARD TABLE OF ROIUOW_DOACC, "   
lt_pt_upd_ssh_wk  TYPE STANDARD TABLE OF ROIUOW_SSH, "   
lt_pt_upd_oss_wk  TYPE STANDARD TABLE OF ROIUOW_OSS, "   
lt_pt_upd_dtcs  TYPE STANDARD TABLE OF ROIUOW_DTCS, "   
lt_pt_upd_dorh  TYPE STANDARD TABLE OF ROIUOW_DORH, "   
lt_pt_upd_pow  TYPE STANDARD TABLE OF ROIUOW_POW, "   
lv_p_funds  TYPE CHAR1, "   SPACE
lt_pt_upd_bguc_wk  TYPE STANDARD TABLE OF ROIU_DO_BGUC, "   
lt_pt_upd_dtch  TYPE STANDARD TABLE OF ROIUOW_DTCH, "   
lt_pt_upd_rtd_wk  TYPE STANDARD TABLE OF OIUOW_RTD, "   
lt_pt_upd_rtch_wk  TYPE STANDARD TABLE OF OIUOW_RTCH, "   
lt_pt_upd_br_wk  TYPE STANDARD TABLE OF ROIU_DO_BR, "   
lt_pt_upd_dpic_wk  TYPE STANDARD TABLE OF ROIUOW_DO_DPIC, "   
lt_pt_upd_dpuc_wk  TYPE STANDARD TABLE OF ROIUOW_DO_DPUC, "   
lt_pt_upd_doh_wk  TYPE STANDARD TABLE OF ROIUOW_DOH, "   
lt_pt_upd_estdt_wk  TYPE STANDARD TABLE OF ROIUOW_ESTDT, "   
lt_pt_upd_retdt_wk  TYPE STANDARD TABLE OF ROIUOW_RETDT, "   
lt_pt_upd_intoh_wk  TYPE STANDARD TABLE OF ROIUOW_INTOH. "   

  CALL FUNCTION 'OIUOW_ORB_UPDATE_ENQUEUE'  "OIUOW: ORP 4.3.4.7.1 Update old owner
    EXPORTING
         P_DOH = lv_p_doh
         P_FUNDS = lv_p_funds
    TABLES
         PT_UPD_DO_WK = lt_pt_upd_do_wk
         PT_UPD_INTOD_WK = lt_pt_upd_intod_wk
         PT_UPD_DODO_WK = lt_pt_upd_dodo_wk
         PT_UPD_MKEX_WK = lt_pt_upd_mkex_wk
         PT_UPD_DOEX_WK = lt_pt_upd_doex_wk
         PT_UPD_DOACC_WK = lt_pt_upd_doacc_wk
         PT_UPD_SSH_WK = lt_pt_upd_ssh_wk
         PT_UPD_OSS_WK = lt_pt_upd_oss_wk
         PT_UPD_DTCS = lt_pt_upd_dtcs
         PT_UPD_DORH = lt_pt_upd_dorh
         PT_UPD_POW = lt_pt_upd_pow
         PT_UPD_BGUC_WK = lt_pt_upd_bguc_wk
         PT_UPD_DTCH = lt_pt_upd_dtch
         PT_UPD_RTD_WK = lt_pt_upd_rtd_wk
         PT_UPD_RTCH_WK = lt_pt_upd_rtch_wk
         PT_UPD_BR_WK = lt_pt_upd_br_wk
         PT_UPD_DPIC_WK = lt_pt_upd_dpic_wk
         PT_UPD_DPUC_WK = lt_pt_upd_dpuc_wk
         PT_UPD_DOH_WK = lt_pt_upd_doh_wk
         PT_UPD_ESTDT_WK = lt_pt_upd_estdt_wk
         PT_UPD_RETDT_WK = lt_pt_upd_retdt_wk
         PT_UPD_INTOH_WK = lt_pt_upd_intoh_wk
    EXCEPTIONS
        INTERMED_RESULTS_BUFFER_ERROR = 1
. " OIUOW_ORB_UPDATE_ENQUEUE




ABAP code using 7.40 inline data declarations to call FM OIUOW_ORB_UPDATE_ENQUEUE

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_p_doh) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_p_funds) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 


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!