SAP Reports / Programs

GHO_BATCH_ALLOCATION_RUN SAP ABAP Report - Run Allocation in Batch Mode







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ALLOC_BATCH_RUN - To run Allocation in the batch mode


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


INCLUDES used within this REPORT GHO_BATCH_ALLOCATION_RUN

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:

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.



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