SAP OIUOW_ORB_REQUEST_PROCESSING_I Function Module for OIUOW: ORP 4.2.7 Owner request processing









OIUOW_ORB_REQUEST_PROCESSING_I is a standard oiuow orb request processing i 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.2.7 Owner request 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 oiuow orb request processing i FM, simply by entering the name OIUOW_ORB_REQUEST_PROCESSING_I 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_REQUEST_PROCESSING_I 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_REQUEST_PROCESSING_I'"OIUOW: ORP 4.2.7 Owner request processing
EXPORTING
P_DOC_NO = "Request Document Number
P_DOC_YEAR = "Document Year
* P_TRACE = ' ' "Character field length 1
* P_JOB_ID = ' ' "Background job name

IMPORTING
P_REPORT_TRANSFER = "Transfer order report applicable flag
P_REPORT_SCHEDULE_A = "Schedule A report applicable flag
P_REPORT_COMBINABILITY = "Combine report applicable flag
P_REPORT_ERRORS = "Error report applicable flag
P_REPORT_PPN = "PPN report applicable flag

EXCEPTIONS
UNSUPPORTED_DOCUMENT_TYPE = 1 FOREIGN_LOCK = 2 SYSTEM_NUMBER_NOT_AVAILABLE = 3 NOT_FOUND = 4 ALREADY_IN_PROCESS = 5 INTERNAL_ERROR = 6 REVENUE_VALUATION_RUNNING = 7
.



IMPORTING Parameters details for OIUOW_ORB_REQUEST_PROCESSING_I

P_DOC_NO - Request Document Number

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

P_DOC_YEAR - Document Year

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

P_TRACE - Character field length 1

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

P_JOB_ID - Background job name

Data type: TBTCO-JOBNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for OIUOW_ORB_REQUEST_PROCESSING_I

P_REPORT_TRANSFER - Transfer order report applicable flag

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

P_REPORT_SCHEDULE_A - Schedule A report applicable flag

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

P_REPORT_COMBINABILITY - Combine report applicable flag

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

P_REPORT_ERRORS - Error report applicable flag

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

P_REPORT_PPN - PPN report applicable flag

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

EXCEPTIONS details

UNSUPPORTED_DOCUMENT_TYPE - Unsupported document type

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

FOREIGN_LOCK - Foreign lock

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

SYSTEM_NUMBER_NOT_AVAILABLE - System number not available

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

NOT_FOUND - Expected data not found

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

ALREADY_IN_PROCESS - already_in_process

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

INTERNAL_ERROR - Internal Error

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

REVENUE_VALUATION_RUNNING - Valuation Running

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIUOW_ORB_REQUEST_PROCESSING_I 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_doc_no  TYPE OIUOW_DTCH-DOC_NO, "   
lv_p_report_transfer  TYPE CHAR01, "   
lv_unsupported_document_type  TYPE CHAR01, "   
lv_p_doc_year  TYPE OIUOW_DTCH-DOC_YEAR, "   
lv_foreign_lock  TYPE OIUOW_DTCH, "   
lv_p_report_schedule_a  TYPE CHAR01, "   
lv_p_trace  TYPE CHAR01, "   SPACE
lv_p_report_combinability  TYPE CHAR01, "   
lv_system_number_not_available  TYPE CHAR01, "   
lv_p_job_id  TYPE TBTCO-JOBNAME, "   SPACE
lv_not_found  TYPE TBTCO, "   
lv_p_report_errors  TYPE CHAR01, "   
lv_p_report_ppn  TYPE CHAR01, "   
lv_already_in_process  TYPE CHAR01, "   
lv_internal_error  TYPE CHAR01, "   
lv_revenue_valuation_running  TYPE CHAR01. "   

  CALL FUNCTION 'OIUOW_ORB_REQUEST_PROCESSING_I'  "OIUOW: ORP 4.2.7 Owner request processing
    EXPORTING
         P_DOC_NO = lv_p_doc_no
         P_DOC_YEAR = lv_p_doc_year
         P_TRACE = lv_p_trace
         P_JOB_ID = lv_p_job_id
    IMPORTING
         P_REPORT_TRANSFER = lv_p_report_transfer
         P_REPORT_SCHEDULE_A = lv_p_report_schedule_a
         P_REPORT_COMBINABILITY = lv_p_report_combinability
         P_REPORT_ERRORS = lv_p_report_errors
         P_REPORT_PPN = lv_p_report_ppn
    EXCEPTIONS
        UNSUPPORTED_DOCUMENT_TYPE = 1
        FOREIGN_LOCK = 2
        SYSTEM_NUMBER_NOT_AVAILABLE = 3
        NOT_FOUND = 4
        ALREADY_IN_PROCESS = 5
        INTERNAL_ERROR = 6
        REVENUE_VALUATION_RUNNING = 7
. " OIUOW_ORB_REQUEST_PROCESSING_I




ABAP code using 7.40 inline data declarations to call FM OIUOW_ORB_REQUEST_PROCESSING_I

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 DOC_NO FROM OIUOW_DTCH INTO @DATA(ld_p_doc_no).
 
 
 
"SELECT single DOC_YEAR FROM OIUOW_DTCH INTO @DATA(ld_p_doc_year).
 
 
 
DATA(ld_p_trace) = ' '.
 
 
 
"SELECT single JOBNAME FROM TBTCO INTO @DATA(ld_p_job_id).
DATA(ld_p_job_id) = ' '.
 
 
 
 
 
 
 


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!