/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
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.
Title: Copy available empties accounts (NEW: also on item level)
Text Symbol: 001 = Invoice
Text Symbol: 002 = No Longer Available
Text Symbol: 003 = Complete
INCLUDE RVDIREKT.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/BEV1/EMUEBLG - Copy available empties accounts (NEW: also on item level) /BEV1/EMUEBLG - Copy available empties accounts (NEW: also on item level) /BEV1/EMR_TABRUECK - Restore Program for Backup Tables to Original Tables /BEV1/EMR_TABRUECK - Restore Program for Backup Tables to Original Tables /BEV1/EMR_TABCRT - Copy Empties Table Definitions and Create Tables /BEV1/EMR_TABCRT - Copy Empties Table Definitions and Create Tables