SAP Reports / Programs | Sales and Distribution | Billing | Empties Management(SD-BIL-EM) SAP SD

/BEV1/EMUEBLG SAP ABAP Report - Copy available empties accounts (NEW: also on item level)







/BEV1/EMUEBLG is a standard Executable ABAP Report 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 /BEV1/EMUEBLG 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 /BEV1/EMUEBLG. "Basic submit
SUBMIT /BEV1/EMUEBLG AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV1/EMUEBLG VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Copy available empties accounts (NEW: also on item level)
Text Symbol: 001 = Invoice
Text Symbol: 002 = No Longer Available
Text Symbol: 003 = Complete


INCLUDES used within this REPORT /BEV1/EMUEBLG

INCLUDE RVDIREKT.


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:

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '01' OBJECT = '/BEV1/EMLG' * QUANTITY = '1' * SUBOBJECT = ' ' * TOYEAR = '0000' * IGNORE_BUFFER = ' ' IMPORTING NUMBER = ZW_LFDNR * quantity = RETURNCODE = L_RC EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 OTHERS = 7.

ENQUEUE_/BEV1/E_EMLG CALL FUNCTION 'ENQUEUE_/BEV1/E_EMLG' EXPORTING MODE_/BEV1/EMLGBWDK = 'E' MANDT = SY-MANDT KTOINH = XVBPA-KUNNR VKORG = VBRK-VKORG VTWEG = VBRK-VTWEG SPART = VBRK-SPART _SCOPE = '2' _WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_/BEV1/E_EMLG CALL FUNCTION 'DEQUEUE_/BEV1/E_EMLG' EXPORTING MODE_/BEV1/EMLGBWDK = 'E' MANDT = SY-MANDT KTOINH = XVBPA-KUNNR VKORG = VBRK-VKORG VTWEG = VBRK-VTWEG SPART = VBRK-SPART _SCOPE = '3' _SYNCHRON = ' ' _COLLECT = ' ' EXCEPTIONS OTHERS = 1.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = SY-DATUM FOREIGN_AMOUNT = IT_LEERG-NWBELW FOREIGN_CURRENCY = IT_LEERG-BELW LOCAL_CURRENCY = IT_LEERG-HAUSW * RATE = 0 TYPE_OF_RATE = IT_LEERG-KURST IMPORTING EXCHANGE_RATE = IT_LEERG-URKURS * FOREIGN_FACTOR = LOCAL_AMOUNT = IT_LEERG-NWHAUSW.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = SY-DATUM FOREIGN_AMOUNT = YCL_RECHFELD FOREIGN_CURRENCY = IT_LEERG-BELW LOCAL_CURRENCY = IT_LEERG-HAUSW * RATE = 0 TYPE_OF_RATE = IT_LEERG-KURST IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = YCL_ERGFELD.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = SY-DATUM FOREIGN_AMOUNT = IT_LEERG-PFPRS FOREIGN_CURRENCY = IT_LEERG-BELW LOCAL_CURRENCY = IT_LEERG-HAUSW * RATE = 0 TYPE_OF_RATE = IT_LEERG-KURST IMPORTING EXCHANGE_RATE = IT_LEERG-URKURS * FOREIGN_FACTOR = LOCAL_AMOUNT = YCL_PFPRS.



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 /BEV1/EMUEBLG or its description.