GHO_BATCH_ALLOCATION_RUN 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 GHO_BATCH_ALLOCATION_RUN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ALLOC_BATCH_RUN - To run Allocation in the batch mode
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.
Selection Text: LV_AL_DI = Allocation Direction
Selection Text: LV_AL_ME = Allocation Medium
Selection Text: LV_AL_PU = Allocation Purpose
Selection Text: LV_AL_TY = Allocation Type
Selection Text: LV_DT_FR = Production Date From
Selection Text: LV_DT_TO = Production Date To
Selection Text: LV_FI_IN = Final Indicator
Selection Text: LV_FL = Production Network ID
Selection Text: LV_FREQ = Frequency
Selection Text: LV_OWNER = Run Ownership
Title: Run Allocation in Batch Mode
Text Symbol: 001 = Allocation Preprocessing Query
Text Symbol: 002 = Allocation Result
Text Symbol: 003 = Allocation has been submitted successfully with the Batch Run ID -
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = name IMPORTING jobcount = number EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'BATCH' no_dialog = 'X' report = 'GHO_SUBMIT_BATCH_ALLOC_JOB' IMPORTING out_parameters = print_parameters valid = lv_valid valid_for_spool_creation = lv_valid_spool EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = number jobname = name strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
GHO_BATCH_ALLOCATION_RUN - Run Allocation in Batch Mode GHO_BATCH_ALLOCATION_RUN - Run Allocation in Batch Mode GHO_ALLOC_READ_AR_SEQUENTIAL - Archive Read: Actual allocation results for Prodcution Network GHO_ALLOC_READ_AR_SEQUENTIAL - Archive Read: Actual allocation results for Prodcution Network GHO_ALLOC_PERF_DATA_SETUP - Prepare allocation data GHO_ALLOC_PERF_DATA_SETUP - Prepare allocation data