SAP OIUOW_ORE_BUFFER_UPDATES Function Module for OIUOW: ORP Retrieve all DOI data









OIUOW_ORE_BUFFER_UPDATES is a standard oiuow ore buffer updates 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 Retrieve all DOI data 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 ore buffer updates FM, simply by entering the name OIUOW_ORE_BUFFER_UPDATES into the relevant SAP transaction such as SE37 or SE38.

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



Function OIUOW_ORE_BUFFER_UPDATES 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_ORE_BUFFER_UPDATES'"OIUOW: ORP Retrieve all DOI data
EXPORTING
* P_DOH = ' ' "Company code
* P_USERS = ' ' "Joint venture
* P_FUNDS = ' ' "Division of interest (DOI)
* P_DQ_DOC_NO = "Request doc. number
* P_DQ_DOC_YEAR = "Document year
* P_DEQUEUE = ' ' "Character field length 1

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
NOT_FOUND = 1 CANNOT_INSERT = 2 DUPLICATE_KEY = 3
.



IMPORTING Parameters details for OIUOW_ORE_BUFFER_UPDATES

P_DOH - Company code

Data type: CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

P_USERS - Joint venture

Data type: CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

P_FUNDS - Division of interest (DOI)

Data type: CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

P_DQ_DOC_NO - Request doc. number

Data type: OIUOW_DTCH-DOC_NO
Optional: Yes
Call by Reference: Yes

P_DQ_DOC_YEAR - Document year

Data type: OIUOW_DTCH-DOC_YEAR
Optional: Yes
Call by Reference: Yes

P_DEQUEUE - Character field length 1

Data type: CHAR01
Default: SPACE
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for OIUOW_ORE_BUFFER_UPDATES

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

NOT_FOUND - Entry for deletion not found

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

CANNOT_INSERT - Can't insert entry - it already exists

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

DUPLICATE_KEY - More than one record found for unique key

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

Copy and paste ABAP code example for OIUOW_ORE_BUFFER_UPDATES 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
lv_not_found  TYPE CHAR1, "   
lt_pt_upd_do_wk  TYPE STANDARD TABLE OF 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_users  TYPE CHAR1, "   SPACE
lv_cannot_insert  TYPE CHAR1, "   
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, "   
lv_p_funds  TYPE CHAR1, "   SPACE
lt_pt_upd_br_wk  TYPE STANDARD TABLE OF ROIU_DO_BR, "   
lv_duplicate_key  TYPE ROIU_DO_BR, "   
lv_p_dq_doc_no  TYPE OIUOW_DTCH-DOC_NO, "   
lt_pt_upd_dpic_wk  TYPE STANDARD TABLE OF ROIUOW_DO_DPIC, "   
lv_p_dq_doc_year  TYPE OIUOW_DTCH-DOC_YEAR, "   
lt_pt_upd_dpuc_wk  TYPE STANDARD TABLE OF ROIUOW_DO_DPUC, "   
lv_p_dequeue  TYPE CHAR01, "   SPACE
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_ORE_BUFFER_UPDATES'  "OIUOW: ORP Retrieve all DOI data
    EXPORTING
         P_DOH = lv_p_doh
         P_USERS = lv_p_users
         P_FUNDS = lv_p_funds
         P_DQ_DOC_NO = lv_p_dq_doc_no
         P_DQ_DOC_YEAR = lv_p_dq_doc_year
         P_DEQUEUE = lv_p_dequeue
    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
        NOT_FOUND = 1
        CANNOT_INSERT = 2
        DUPLICATE_KEY = 3
. " OIUOW_ORE_BUFFER_UPDATES




ABAP code using 7.40 inline data declarations to call FM OIUOW_ORE_BUFFER_UPDATES

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_users) = ' '.
 
 
 
 
 
 
DATA(ld_p_funds) = ' '.
 
 
 
"SELECT single DOC_NO FROM OIUOW_DTCH INTO @DATA(ld_p_dq_doc_no).
 
 
"SELECT single DOC_YEAR FROM OIUOW_DTCH INTO @DATA(ld_p_dq_doc_year).
 
 
DATA(ld_p_dequeue) = ' '.
 
 
 
 
 


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!