SAP Reports / Programs | Cross-Application Components(CA) SAP CA

BC_TOOLS_GENERATOR_NEWF01 SAP ABAP INCLUDE - BCTOOLSGENERATORNEWF01







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


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


INCLUDES used within this REPORT BC_TOOLS_GENERATOR_NEWF01

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:

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.



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