SAP Reports / Programs

RK2AWBOP_POST SAP ABAP INCLUDE - RK2AWBOPPOST







RK2AWBOP_POST 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 RK2AWBOP_POST 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 RK2AWBOP_POST. "Basic submit
SUBMIT RK2AWBOP_POST AND RETURN. "Return to original report after report execution complete
SUBMIT RK2AWBOP_POST 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 RK2AWBOP_POST

INCLUDE RKEVRK2A_DEBUG_SWITCH__FIX.
INCLUDE RKEVRK2A_POST_VERSCH__FIX.
INCLUDE RKEVRK2A_POST_COMMIT__FIX.
INCLUDE RKEVRK2A_POST_GETCRIT__FIX.
INCLUDE RKEVRK2A_POST_GETOBJNR__FIX.
INCLUDE RKEVRK2A_POST_GETOBJNR2__FIX.
INCLUDE RKEVRK2A_POST_TKEOE__FIX.
INCLUDE RKEVRK2A_POST_REVERT__FIX.
INCLUDE RKEVRK2A_POST_POSTA__FIX.
INCLUDE RKEVRK2A_POST_BAPI__FIX.


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:

DB_SET_ISOLATION_LEVEL CALL FUNCTION 'DB_SET_ISOLATION_LEVEL'. "dh980623

DB_RESET_ISOLATION_TO_DEFAULT CALL FUNCTION 'DB_RESET_ISOLATION_TO_DEFAULT'. "dh980623

ENQUEUE_EKC4WBOP CALL FUNCTION 'ENQUEUE_EKC4WBOP' EXPORTING AKTBO = I_S_CE4-AKTBO MANDT = SY-MANDT PAOBJNR = I_S_CE4-PAOBJNR PASUBNR = I_S_CE4-PASUBNR X_AKTBO = ' ' X_PAOBJNR = ' ' X_PASUBNR = ' ' _SCOPE = '2' _WAIT = 'X' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

DEQUEUE_EKC4WBOP CALL FUNCTION 'DEQUEUE_EKC4WBOP' EXPORTING AKTBO = I_S_CE4-AKTBO MANDT = SY-MANDT PAOBJNR = I_S_CE4-PAOBJNR PASUBNR = I_S_CE4-PASUBNR X_AKTBO = ' ' X_PAOBJNR = ' ' X_PASUBNR = ' ' _SCOPE = '3' _SYNCHRON = ' '.

ENQUEUE_EKC1WBOP CALL FUNCTION 'ENQUEUE_EKC1WBOP' EXPORTING PALEDGER = I_S_CE1-PALEDGER VRGAR = I_S_CE1-VRGAR VERSI = I_S_CE1-VERSI PERIO = I_S_CE1-PERIO PAOBJNR = I_S_CE1-PAOBJNR PASUBNR = I_S_CE1-PASUBNR BELNR = I_S_CE1-BELNR POSNR = I_S_CE1-POSNR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.

DEQUEUE_EKC1WBOP CALL FUNCTION 'DEQUEUE_EKC1WBOP' EXPORTING PALEDGER = I_S_CE1-PALEDGER VRGAR = I_S_CE1-VRGAR VERSI = I_S_CE1-VERSI PERIO = I_S_CE1-PERIO PAOBJNR = I_S_CE1-PAOBJNR PASUBNR = I_S_CE1-PASUBNR BELNR = I_S_CE1-BELNR POSNR = I_S_CE1-POSNR.

RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = gc_erkrs importing e_v_tkeb = ls_v_tkeb.

RKE_GET_FIRST_DAY_IN_PERIOD call function 'RKE_GET_FIRST_DAY_IN_PERIOD' exporting perflag = ls_v_tkeb-perflag periv = ls_v_tkeb-periv perio = ls_ce0-perio importing date = l_date.

CONVERSION_EXIT_PERI7_OUTPUT call function 'CONVERSION_EXIT_PERI7_OUTPUT' exporting input = ls_ce0-perio importing output = l_perio.

RKE_TIMESTAMP_CONVERT_INPUT call function 'RKE_TIMESTAMP_CONVERT_INPUT' exporting i_date = sy-datum i_dayst = sy-dayst i_time = sy-uzeit i_tzone = sy-tzone importing e_timestmp = l_timestamp exceptions date_invalid = 1 others = 2.

RKE_GET_NUMBER_OF_PERIODS call function 'RKE_GET_NUMBER_OF_PERIODS' exporting *in account based makes no sense alternative period perflag = '1' periv = ls_v_tkeb-periv year = ls_ce0-gjahr importing anzbp = l_max_prds exceptions i_error i_perflag_invalid i_periv_notfound i_date_invalid.

K_NUMBER_GET_CO_DOCUMENT call function 'K_NUMBER_GET_CO_DOCUMENT' exporting kokrs = ls_ce0-kokrs vrgng = c_act_vorgang importing belnr = ls_cobk-belnr.

K_COBK_CURRENCY_FILL call function 'K_COBK_CURRENCY_FILL' exporting i_cobk = ls_cobk importing e_cobk = ls_cobk.

OBJECT_NUMBER_GET_EO call function 'OBJECT_NUMBER_GET_EO' exporting erkrs = gc_erkrs paobjnr = ls_key-paobjnr importing objnr = ls_coep-objnr.

K_DOCUMENT_UPDATE call function 'K_DOCUMENT_UPDATE' in update task tables t_cobk = lt_cobk t_coep = lt_coep.

SCMA_UPD_LOG_COUNT_TASKS call function 'SCMA_UPD_LOG_COUNT_TASKS'.



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 RK2AWBOP_POST or its description.