BC_TOOLS_GENERATOR_NEWF01 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 BC_TOOLS_GENERATOR_NEWF01 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_RANGE_INTERVAL_INIT CALL FUNCTION 'NUMBER_RANGE_INTERVAL_INIT' EXPORTING object = 'SBOOKID' " Thomas 15.10.97
NUMBER_RANGE_INTERVAL_INIT CALL FUNCTION 'NUMBER_RANGE_INTERVAL_INIT' EXPORTING object = 'SBUSPID' * SUBOBJECT = ' ' EXCEPTIONS no_interval_found = 1 object_not_found = 2 OTHERS = 3.
NUMBER_RANGE_INTERVAL_INIT CALL FUNCTION 'NUMBER_RANGE_INTERVAL_INIT' " Thomas 15.10.97
SAPBC_GLOBAL_FOREIGN_CURRENCY CALL FUNCTION 'SAPBC_GLOBAL_FOREIGN_CURRENCY' EXPORTING local_amount = price local_currency = 'DEM' foreign_currency = isflight-currency IMPORTING foreign_amount = isflight-price * EXCHANGE_RATE = * LOCAL_FACTOR = * FOREIGN_FACTOR = EXCEPTIONS overflow = 1 no_factors_found = 2 invalid_curr_key = 3 OTHERS = 4.
RANDOM_I4 * CALL FUNCTION 'RANDOM_I4' * EXPORTING * rnd_min = 1 * rnd_max = 7 * IMPORTING * rnd_value = random.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'SBOOKID' " Thomas 15.10.97
SAPBC_GLOBAL_FOREIGN_CURRENCY CALL FUNCTION 'SAPBC_GLOBAL_FOREIGN_CURRENCY' EXPORTING local_amount = isbook-loccuram local_currency = isbook-loccurkey foreign_currency = isbook-forcurkey IMPORTING foreign_amount = isbook-forcuram * EXCHANGE_RATE = * LOCAL_FACTOR = * FOREIGN_FACTOR = EXCEPTIONS overflow = 1 no_factors_found = 2 invalid_curr_key = 3 OTHERS = 4.
NUMBER_RANGE_ENQUEUE CALL FUNCTION 'NUMBER_RANGE_ENQUEUE' EXPORTING object = l_nr_objects-name EXCEPTIONS foreign_lock = 1 object_not_found = 2 system_failure = 3 OTHERS = 4.
NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING object = l_nr_objects-name TABLES interval = l_nr_int_list EXCEPTIONS nr_range_nr1_not_found = 1 nr_range_nr1_not_intern = 2 nr_range_nr2_must_be_space = 3 nr_range_nr2_not_extern = 4 nr_range_nr2_not_found = 5 object_not_found = 6 subobject_must_be_space = 7 subobject_not_found = 8 OTHERS = 9.
NUMBER_RANGE_INTERVAL_UPDATE CALL FUNCTION 'NUMBER_RANGE_INTERVAL_UPDATE' EXPORTING object = l_nr_objects-name * IMPORTING * ERROR = * ERROR_OCCURED = * WARNING_OCCURED = TABLES error_iv = l_nr_error_iv interval = l_nr_intervals EXCEPTIONS object_not_found = 1 OTHERS = 2.
NUMBER_RANGE_UPDATE_CLOSE CALL FUNCTION 'NUMBER_RANGE_UPDATE_CLOSE' EXPORTING object = l_nr_objects-name EXCEPTIONS no_changes_made = 1 object_not_initialized = 2 OTHERS = 3.
NUMBER_RANGE_DEQUEUE CALL FUNCTION 'NUMBER_RANGE_DEQUEUE' EXPORTING object = l_nr_objects-name EXCEPTIONS object_not_found = 1 OTHERS = 2.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'SBUSPID' * QUANTITY = '1' * SUBOBJECT = ' ' * TOYEAR = '0000' * IGNORE_BUFFER = ' ' IMPORTING number = isbuspart-buspartnum * QUANTITY = * RETURNCODE = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.
RANDOM_I4 * CALL FUNCTION 'RANDOM_I4' * EXPORTING * rnd_min = min * rnd_max = max * IMPORTING * rnd_value = isflight-seatsocc.
RANDOM_I4 * CALL FUNCTION 'RANDOM_I4' * EXPORTING * rnd_min = -10 * rnd_max = max * IMPORTING * rnd_value = isflight-seatsocc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BC_TOOLS_GENERATOR_NEWF01 - BCTOOLSGENERATORNEWF01 BC_TOOLS_GENERATOR_NEWE01 - BCTOOLSGENERATORNEWE01 BC_TOOLS_GENERATOR_NEWASS - BCTOOLSGENERATORNEWASS BC_SYSTEM_AREA_FILES - Process System Area Files BC_SYSTEM_AREA_FILES - Process System Area Files BC_SFLIGHT_WRI - Archiving Flights: Write Program (Example ADK Archiving)