SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

UREGEF0S SAP ABAP INCLUDE - documentation and ABAP source code







UREGEF0S is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter UREGEF0S into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT UREGEF0S. "Basic submit
SUBMIT UREGEF0S AND RETURN. "Return to original report after report execution complete
SUBMIT UREGEF0S VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT UREGEF0S

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DEQUEUE_E_SVKO CALL FUNCTION 'DEQUEUE_E_SVKO' EXPORTING MANDT = SY-MANDT SBELN = UP_SBELN X_SBELN = SPACE _SCOPE = '3'.

DEQUEUE_E_SVPOS CALL FUNCTION 'DEQUEUE_E_SVPOS' EXPORTING MANDT = SY-MANDT SBELN = UP_SBELN SBELP = UP_SBELP X_SBELN = SPACE X_SBELP = SPACE _SCOPE = '3'.

DEQUEUE_E_SVUP CALL FUNCTION 'DEQUEUE_E_SVUP' EXPORTING MANDT = SY-MANDT SBELN = UP_SBELN SBELP = UP_SBELP FILNR = UP_FILNR _SCOPE = '3'.

ENQUEUE_E_SVKO CALL FUNCTION 'ENQUEUE_E_SVKO' EXPORTING MANDT = SY-MANDT SBELN = UP_SBELN X_SBELN = SPACE _SCOPE = '2' _WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

ENQUEUE_E_SVPOS CALL FUNCTION 'ENQUEUE_E_SVPOS' EXPORTING MANDT = SY-MANDT SBELN = UP_SBELN SBELP = UP_SBELP X_SBELN = SPACE X_SBELP = SPACE _SCOPE = '2' _WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

ENQUEUE_E_SVUP CALL FUNCTION 'ENQUEUE_E_SVUP' EXPORTING MANDT = SY-MANDT SBELN = UP_SBELN SBELP = UP_SBELP FILNR = UP_FILNR _SCOPE = '2' _WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

PERIOD_AND_DATE_CONVERT_INPUT CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_INPUT' EXPORTING DIALOG_DATE_IS_IN_THE_PAST = ' ' EXTERNAL_DATE = UP_S_STAINT-LOW EXTERNAL_PERIOD = UP_SPERI I_PERIV = UP_PERIV IMPORTING INTERNAL_DATE = UP_R_STAINT_INTERN-LOW INTERNAL_PERIOD = UP_SPERI_INTERN.

PERIOD_AND_DATE_CONVERT_INPUT CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_INPUT' EXPORTING DIALOG_DATE_IS_IN_THE_PAST = ' ' EXTERNAL_DATE = UP_S_STAINT-HIGH EXTERNAL_PERIOD = UP_SPERI I_PERIV = UP_PERIV IMPORTING INTERNAL_DATE = UP_R_STAINT_INTERN-HIGH INTERNAL_PERIOD = UP_SPERI_INTERN.

PERIOD_AND_DATE_CONVERT_OUTPUT * CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT' * EXPORTING * internal_date = sy-datum * internal_period = up_speri_intern * language = sy-langu * i_periv = up_periv * IMPORTING * external_date = up_s_staint-low.

PERIOD_AND_DATE_CONVERT_OUTPUT * CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT' * EXPORTING * internal_date = sy-datum * internal_period = up_speri_intern * language = sy-langu * i_periv = up_periv * IMPORTING * external_date = up_s_staint-high.

PERIOD_AND_DATE_CONVERT_OUTPUT CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT' EXPORTING INTERNAL_DATE = SY-DATUM INTERNAL_PERIOD = UP_SPERI_INTERN LANGUAGE = SY-LANGU I_PERIV = UP_PERIV IMPORTING EXTERNAL_DATE = UP_PER_LOW.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name UREGEF0S or its description.