SAP Reports / Programs | Materials Management | Defense Forces and Public Security | Materials Management(IS-DFS-MM) SAP IS

/ISDFPS/EBELN_OUT_WERKS_LGO SAP ABAP Report - Cross-Plant Reorganization: Purch. Docs -> IDocs and Delete Document







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


Text pool values


Selection Text: P_BATCH = Schedule Background Job
Selection Text: P_BEGDA = Start Date of Reorganization
Selection Text: P_DETAIL = Detail Log
Selection Text: P_ENDDA = End Date of Reorganization
Selection Text: P_OBJ_S = D Object ID
Selection Text: P_TYP = D Type of Stock
Title: Cross-Plant Reorganization: Purch. Docs -> IDocs and Delete Document
Text Symbol: 001 = Cross-Plant Reorganization
Text Symbol: 002 = For Force Element
Text Symbol: 100 = Error Log
Text Symbol: 101 = EBELN_CHANGE
Text Symbol: 102 = ReportFinished
Text Symbol: PRO = Log
Text Symbol: SRC = Force Element To Reorganized
Text Symbol: TYP = Stock/Provis.


INCLUDES used within this REPORT /ISDFPS/EBELN_OUT_WERKS_LGO

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:

BAPI_PO_GETDETAIL CALL FUNCTION 'BAPI_PO_GETDETAIL' EXPORTING purchaseorder = ls_belege-ebeln items = 'X' account_assignment = 'X' schedules = 'X' history = 'X' item_texts = 'X' header_texts = 'X' * SERVICES = ' ' confirmations = 'X' * SERVICE_TEXTS = ' ' extensions = 'X' IMPORTING po_header = ls_beleg_kopf * PO_ADDRESS = TABLES po_header_texts = lt_beleg_kopf_text po_items = lt_beleg_pos po_item_account_assignment = lt_beleg_kont po_item_schedules = lt_beleg_eint po_item_confirmations = lt_beleg_bestaet po_item_texts = lt_beleg_pos_text * PO_ITEM_HISTORY = po_item_history_totals = lt_beleg_pos_hist * PO_ITEM_LIMITS = * PO_ITEM_CONTRACT_LIMITS = * PO_ITEM_SERVICES = * PO_ITEM_SRV_ACCASS_VALUES = * RETURN = * PO_SERVICES_TEXTS = extensionout = lt_beleg_pos_ext * nfmetallitms = lt_beleg_pos_nfm * po_items_dfps = lt_beleg_pos_dfps .

ALE_PO_CREATE1 CALL FUNCTION 'ALE_PO_CREATE1' EXPORTING poheader = ls_beleg_kopf_neu poheaderx = ls_beleg_kopf_neu_x * POADDRVENDOR = * TESTRUN = * MEMORYUNCOMPLETE = * MEMORYCOMPLETE = * POEXPIMPHEADER = * POEXPIMPHEADERX = * VERSIONS = nomessaging = 'X' nomessagereq = 'X' * NOAUTHORITY = * NOPRICEFROMPO = * OBJ_TYPE = 'BUS2012' * SERIAL_ID = '0' TABLES poitem = lt_beleg_pos_neu poitemx = lt_beleg_pos_neu_x * POADDRDELIVERY = poschedule = lt_beleg_eint_neu poschedulex = lt_beleg_eint_neu_x poaccount = lt_beleg_kont_neu * POACCOUNTPROFITSEGMENT = poaccountx = lt_beleg_kont_neu_x * POCONDHEADER = * POCONDHEADERX = * POCOND = * POCONDX = * POLIMITS = * POCONTRACTLIMITS = * POSERVICES = * POSRVACCESSVALUES = * POSERVICESTEXT = extensionin = lt_beleg_pos_ext * POEXPIMPITEM = * POEXPIMPITEMX = potextheader = lt_beleg_kopf_text_neu potextitem = lt_beleg_pos_text_neu * ALLVERSIONS = * POPARTNER = receivers = lt_receiver * COMMUNICATION_DOCUMENTS = * APPLICATION_OBJECTS = EXCEPTIONS error_creating_idocs = 1 OTHERS = 2 .

BAPI_PO_CHANGE CALL FUNCTION 'BAPI_PO_CHANGE' EXPORTING purchaseorder = ls_belege-ebeln * POHEADER = * POHEADERX = * POADDRVENDOR = testrun = ' ' * MEMORY_UNCOMPLETE = * MEMORY_COMPLETE = * POEXPIMPHEADER = * POEXPIMPHEADERX = * VERSIONS = no_messaging = 'X' * NO_MESSAGE_REQ = * NO_AUTHORITY = * NO_PRICE_FROM_PO = * IMPORTING * EXPHEADER = * EXPPOEXPIMPHEADER = TABLES return = lt_messages poitem = lt_beleg_pos_del poitemx = lt_beleg_pos_del_x * POADDRDELIVERY = * POSCHEDULE = * POSCHEDULEX = * POACCOUNT = * POACCOUNTPROFITSEGMENT = * POACCOUNTX = * POCONDHEADER = * POCONDHEADERX = * POCOND = * POCONDX = * POLIMITS = * POCONTRACTLIMITS = * POSERVICES = * POSRVACCESSVALUES = * POSERVICESTEXT = * EXTENSIONIN = * EXTENSIONOUT = * POEXPIMPITEM = * POEXPIMPITEMX = * POTEXTHEADER = * POTEXTITEM = * ALLVERSIONS = * POPARTNER = * NFMETALLITMS = .

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X' * IMPORTING * RETURN = .

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = l_loghandle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = text-100 i_structure_name = 'BAPIRET2' * IT_FIELDCAT = TABLES t_outtab = gt_messages EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_loghandle i_s_msg = ls_msg EXCEPTIONS OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_DISPLAY_PROFILE = i_t_log_handle = lt_handles * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_AMODAL = ' ' * IMPORTING * E_S_EXIT_COMMAND = EXCEPTIONS * PROFILE_INCONSISTENT = 1 * INTERNAL_ERROR = 2 * NO_DATA_AVAILABLE = 3 * NO_AUTHORITY = 4 OTHERS = 5.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING * I_CLIENT = SY-MANDT * I_IN_UPDATE_TASK = ' ' * I_SAVE_ALL = ' ' i_t_log_handle = lt_handles IMPORTING e_new_lognumbers = lt_logs EXCEPTIONS * LOG_NOT_FOUND = 1 * SAVE_NOT_ALLOWED = 2 * NUMBERING_ERROR = 3 OTHERS = 4.

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING par_dialg = 'X' par_jname = l_jobname par_print = 'X' par_rname = l_repid par_sdmsg = 'X' par_stday = l_start_dat par_stnow = l_start_sofort par_sttme = l_start_time par_perkz = 'X' TABLES tab_selpa = lt_selektionen CHANGING par_kaba01 = ls_job_data.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = lv_active_plvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = 'O' act_plvar = lv_active_plvar IMPORTING org_object_objid = ls_force-objid EXCEPTIONS no_active_plvar = 1 no_object_id_selected = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = dyname dynumb = dynumb TABLES dynpfields = dynp_updt_tab EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.



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 /ISDFPS/EBELN_OUT_WERKS_LGO or its description.