SAP Reports / Programs

ISU_XPRA_ORDER_STATUS_CREATE SAP ABAP Report - Integration of Waste Disposal Order in Status Management







ISU_XPRA_ORDER_STATUS_CREATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report fills the field HOBJNR in the table EWA_ORDER_HEAD, and the field POBJNR in the table EWA_ORDER_OBJECT...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter ISU_XPRA_ORDER_STATUS_CREATE 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 ISU_XPRA_ORDER_STATUS_CREATE. "Basic submit
SUBMIT ISU_XPRA_ORDER_STATUS_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT ISU_XPRA_ORDER_STATUS_CREATE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Integration of Waste Disposal Order in Status Management
Text Symbol: 002 = Conversion Completed
Text Symbol: 007 = Waste Disposal Order
Text Symbol: 008 = Number of Changed Order Headers
Text Symbol: 009 = Number of Changed Order Items
Text Symbol: 010 = Conversion Completed for Tables EWA_ORDER_HEAD and EWA_ORDER_OBJECT:
Text Symbol: 011 = Conversion Started for Tables EWA_ORDER_HEAD and EWA_ORDER_OBJECT:


INCLUDES used within this REPORT ISU_XPRA_ORDER_STATUS_CREATE

INCLUDE: IEAWASTE.
INCLUDE: IEORDERSTAT.


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:

FKK_GET_OLD_NEW_VERSION call function 'FKK_GET_OLD_NEW_VERSION' exporting i_addon_id = 'IS-U/CCS' importing e_old_rel = i_old_rel exceptions addonid_not_found = 1 others = 2.

FKK_XPRA_CLIENT_CHECK call function 'FKK_XPRA_CLIENT_CHECK' exporting xpra = syst-cprog client = itab_t000-mandt importing client_xpra_relevant = i_client_relevant.

ENQUEUE_E_ORDER call function 'ENQUEUE_E_ORDER' exporting mode_ewa_order_head = 'E' mandt = wa_reading-ewa_order_head-mandt ordernr = wa_reading-ewa_order_head-ordernr x_ordernr = ' ' _scope = '2' _wait = ' ' _collect = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_E_ORDER CALL FUNCTION 'DEQUEUE_E_ORDER' EXPORTING MODE_EWA_ORDER_HEAD = 'E' MANDT = wa_reading-ewa_order_head-mandt ORDERNR = wa_reading-ewa_order_head-ordernr * X_ORDERNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

TR_APPEND_LOG call function 'TR_APPEND_LOG' exporting * OPEN_FILE = 'X' * CLOSE_FILE = 'X' * CONDENSE = 'X' * MASTER_LANGU = 'E' accept_not_init = 'X' * IV_SUPPRESS_STATISTICS = ' ' tables xmsg = xmsg.

TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.

STATUS_OBJECT_CREATE call function 'STATUS_OBJECT_CREATE' exporting client = ls_order-mandt obtyp = co_st_obtyp_woh i_objectkey = ' ' importing objnr = ls_order-hobjnr exceptions obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 others = 5.

STATUS_CHANGE_INTERN call function 'STATUS_CHANGE_INTERN' exporting * CHECK_ONLY = ' ' client = ls_order-mandt objnr = ls_order-hobjnr * ZEILE = ' ' * set_chgkz = * IMPORTING * ERROR_OCCURRED = * OBJECT_NOT_FOUND = * STATUS_INCONSISTENT = * STATUS_NOT_ALLOWED = tables status = it_jstat exceptions object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 others = 4.

ISU_WAOBJECT_NUMBER_GETGENERIC call function 'ISU_WAOBJECT_NUMBER_GETGENERIC' exporting i_mandt = ls_order-mandt i_obart = co_st_obart_woh i_objectkey = ls_order-ordernr importing e_objnr = iobjnr_new exceptions number_already_exists = 1 obart_invalid = 2 objectkey_missing = 3 others = 4.

STATUS_OBJECT_SWITCH_NUMBER call function 'STATUS_OBJECT_SWITCH_NUMBER' exporting client = ls_order-mandt objnr_new = iobjnr_new objnr_old = ls_order-hobjnr exceptions object_not_found = 1 objnr_new_invalid = 2 objnr_old_invalid = 3 status_object_already_exists = 4 others = 5.

STATUS_BUFFER_EXPORT_TO_MEMORY call function 'STATUS_BUFFER_EXPORT_TO_MEMORY' .

STATUS_UPDATE call function 'STATUS_UPDATE' tables obj_del = obj_del jsto_ins = jsto_mem jsto_upd = jsto_updt jest_ins = jest_mem jest_upd = jest_updt.

STATUS_BUFFER_REFRESH call function 'STATUS_BUFFER_REFRESH' .

STATUS_OBJECT_CREATE call function 'STATUS_OBJECT_CREATE' exporting client = ls_orderpos-mandt obtyp = co_st_obtyp_wop i_objectkey = ' ' importing objnr = ls_orderpos-pobjnr exceptions obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 others = 5.

STATUS_CHANGE_INTERN call function 'STATUS_CHANGE_INTERN' exporting * CHECK_ONLY = ' ' client = ls_orderpos-mandt objnr = ls_orderpos-pobjnr * ZEILE = ' ' * set_chgkz = * IMPORTING * ERROR_OCCURRED = * OBJECT_NOT_FOUND = * STATUS_INCONSISTENT = * STATUS_NOT_ALLOWED = tables status = it_jstat exceptions object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 others = 4.

ISU_WAOBJECT_NUMBER_GETGENERIC call function 'ISU_WAOBJECT_NUMBER_GETGENERIC' exporting i_mandt = ls_orderpos-mandt i_obart = co_st_obart_wop i_objectkey = l_objkey importing e_objnr = iobjnr_new exceptions number_already_exists = 1 obart_invalid = 2 objectkey_missing = 3 others = 4.

STATUS_OBJECT_SWITCH_NUMBER call function 'STATUS_OBJECT_SWITCH_NUMBER' exporting client = ls_orderpos-mandt objnr_new = iobjnr_new objnr_old = ls_orderpos-pobjnr exceptions object_not_found = 1 objnr_new_invalid = 2 objnr_old_invalid = 3 status_object_already_exists = 4 others = 5.



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