SAPFGSB0 is a standard Module pool for a dialog screen ABAP Program 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 SAPFGSB0 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.
Title: FI-SL: Set Interface (Full version)
Text Symbol: 001 = Contents of table TMSB
Text Symbol: 002 = Contents of table TVAL
Text Symbol: 003 = Contents of table TFMD
Text Symbol: 004 = Contents of table TOPD
INCLUDE FGSB0D00. " COMMON DATA WITH REPORT WRITER
No SAP DATABASE tables are accessed within this REPORT code!
G_SET_GET_NEW_SETID CALL FUNCTION 'G_SET_GET_NEW_SETID' EXPORTING table = loc_table setnr = loc_setname IMPORTING new_setid = loc_setname.
G_SET_DYNAMIC_CHECK CALL FUNCTION 'G_SET_DYNAMIC_CHECK' EXPORTING setid = loc_setname EXCEPTIONS set_not_found = 1 set_contains_dynamic_set = 2 OTHERS = 3.
G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING maintenance = loc_maintenance no_titles = loc_text_off setname = loc_setnr table = loc_table force_insert = loc_force_insert IMPORTING header = loc_header index = loc_index EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_SET_READ_INDEXED CALL FUNCTION 'G_SET_READ_INDEXED' EXPORTING index = loc_index IMPORTING header = loc_header EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_INTERVAL_GET_NEXT CALL FUNCTION 'G_INTERVAL_GET_NEXT' EXPORTING control_block = loc_cb index = loc_index IMPORTING entry = loc_entry header = loc_header formula = loc_formula EXCEPTIONS end_of_intervals = 1 invalid_index = 2 OTHERS = 3.
G_SET_GET_NEXT CALL FUNCTION 'G_SET_GET_NEXT' EXPORTING control_block = loc_cb index = loc_index level = loc_level IMPORTING header = loc_header index = loc_index EXCEPTIONS end_of_sets = 1 invalid_index = 2 OTHERS = 3.
G_SET_READ_WITH_KEY CALL FUNCTION 'G_SET_READ_WITH_KEY' EXPORTING setclass = loc_class setname = loc_setnr table = loc_table IMPORTING header = loc_header EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_CONTROL_BLOCK_RESET CALL FUNCTION 'G_CONTROL_BLOCK_RESET' EXPORTING control_block = loc_cb EXCEPTIONS OTHERS = 0.
G_CONTROL_BLOCK_RESET CALL FUNCTION 'G_CONTROL_BLOCK_RESET' EXPORTING control_block = loc_cb EXCEPTIONS OTHERS = 0.
G_INTERVAL_READ_INDEXED CALL FUNCTION 'G_INTERVAL_READ_INDEXED' EXPORTING index = loc_index IMPORTING entry = loc_entry formula = loc_formula EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_SET_GET_NEXT_FIELD CALL FUNCTION 'G_SET_GET_NEXT_FIELD' EXPORTING control_block = loc_cb index = loc_index IMPORTING field = loc_field EXCEPTIONS end_of_fields = 1 invalid_index = 2 no_multi_set = 3 OTHERS = 4.
G_SET_GET_NEXT_NEIGHBOR CALL FUNCTION 'G_SET_GET_NEXT_NEIGHBOR' EXPORTING increment = loc_increment index = loc_index IMPORTING header = loc_header EXCEPTIONS end_of_neighbors = 1 invalid_increment = 2 invalid_index = 3 OTHERS = 4.
G_BUFFER_RESET CALL FUNCTION 'G_BUFFER_RESET' EXCEPTIONS OTHERS = 0.
G_SET_COUNT_LEVELS CALL FUNCTION 'G_SET_COUNT_LEVELS' EXPORTING index = loc_index IMPORTING levels = loc_level EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_SET_TEXT_READ CALL FUNCTION 'G_SET_TEXT_READ' EXPORTING setname = loc_setname table = loc_table IMPORTING settitle = loc_settitle EXCEPTIONS OTHERS = 1.
G_INTERVAL_FIND_VALUE CALL FUNCTION 'G_INTERVAL_FIND_VALUE' EXPORTING control_block = loc_cb index = loc_index value = loc_value IMPORTING entry = loc_entry header = loc_header EXCEPTIONS end_of_intervals = 1 invalid_index = 2 invalid_set = 3 OTHERS = 4.
G_SET_EXPORT CALL FUNCTION 'G_SET_EXPORT' EXPORTING srtfd = loc_srtfd export_to_memory = ' ' EXCEPTIONS export_not_successful = 1 OTHERS = 2.
G_SET_EXPORT CALL FUNCTION 'G_SET_EXPORT' EXPORTING srtfd = '' grep_key = grep_key export_to_memory = ' ' EXCEPTIONS export_not_successful = 1 OTHERS = 2.
CALL FUNCTION 'G_SET_IMPORT' EXPORTING srtfd = loc_srtfd import_from_memory = ' ' EXCEPTIONS import_not_successful = 1 evalerror_field_too_short = 2 evalerror_conversion_failed = 3 evalerror_arithmetic_exception = 4.
G_SET_IMPORT CALL FUNCTION 'G_SET_IMPORT' EXPORTING srtfd = '' grep_key = grep_key import_from_memory = ' ' EXCEPTIONS import_not_successful = 1 evalerror_field_too_short = 2 evalerror_conversion_failed = 3 evalerror_arithmetic_exception = 4.
G_INTERVAL_GET_LAST CALL FUNCTION 'G_INTERVAL_GET_LAST' EXPORTING index = loc_index IMPORTING entry = loc_entry EXCEPTIONS invalid_index = 1 last_set_is_empty = 2 OTHERS = 3.
G_SET_CHECK_UNIQUENESS CALL FUNCTION 'G_SET_CHECK_UNIQUENESS' EXPORTING setname = loc_setnr table = loc_table IMPORTING isunique = loc_uniq EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_VARIABLE_GET_NEXT_USED CALL FUNCTION 'G_VARIABLE_GET_NEXT_USED' EXPORTING setname = loc_setnr table = loc_table return_internal_variable = ' ' IMPORTING entry = loc_entry value = loc_value variable = loc_var EXCEPTIONS end_of_variables = 1 OTHERS = 2.
G_VARIABLE_GET_NEXT_USED CALL FUNCTION 'G_VARIABLE_GET_NEXT_USED' EXPORTING setname = loc_setnr table = loc_table return_internal_variable = 'X' IMPORTING entry = loc_entry value = loc_ggval variable = loc_ggvar EXCEPTIONS end_of_variables = 1 OTHERS = 2.
G_SET_GET_HIGHER_UNSUPPRESSED CALL FUNCTION 'G_SET_GET_HIGHER_UNSUPPRESSED' EXPORTING index = loc_index IMPORTING header = loc_header EXCEPTIONS all_sets_suppressed = 1 invalid_index = 2 OTHERS = 3.
G_SET_GET_HIGHER_LEVEL CALL FUNCTION 'G_SET_GET_HIGHER_LEVEL' EXPORTING index = loc_index levels = loc_levels IMPORTING header = loc_header EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_FORMULA_GET_NEXT_OPERAND CALL FUNCTION 'G_FORMULA_GET_NEXT_OPERAND' EXPORTING control_block = loc_cb index = loc_index IMPORTING entry = loc_entry operand = loc_operand EXCEPTIONS end_of_operands = 1 OTHERS = 2.
G_FORMULA_GET_NEXT_USING CALL FUNCTION 'G_FORMULA_GET_NEXT_USING' EXPORTING control_block = loc_cb index = loc_index IMPORTING entry = loc_entry operand_number = loc_opnum EXCEPTIONS end_of_formulas = 1 OTHERS = 2.
G_INTERVAL_CHECK_OPERAND_ROLE CALL FUNCTION 'G_INTERVAL_CHECK_OPERAND_ROLE' EXPORTING index = loc_index EXCEPTIONS invalid_index = 1 not_used = 2 OTHERS = 3.
G_SET_COUNT_OPERANDS CALL FUNCTION 'G_SET_COUNT_OPERANDS' EXPORTING index = loc_index IMPORTING max_operands = loc_max_operands EXCEPTIONS OTHERS = 0.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING no_set_title = 'X' setname = loc_setnr table = loc_table use_table_buffer = ' ' IMPORTING info = loc_info EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_INTERVAL_READ_VARIABLES CALL FUNCTION 'G_INTERVAL_READ_VARIABLES' EXPORTING index = loc_index no_internal_variable = 'X' IMPORTING variable_from = loc_var_from variable_to = loc_var_to EXCEPTIONS invalid_index = 1 no_variable_used = 2 OTHERS = 3.
G_INTERVAL_READ_VARIABLES CALL FUNCTION 'G_INTERVAL_READ_VARIABLES' EXPORTING index = loc_index no_internal_variable = ' ' IMPORTING variable_from = loc_var_from variable_to = loc_var_to EXCEPTIONS invalid_index = 1 no_variable_used = 2 OTHERS = 3.
G_VARIABLE_READ_DEFAULT CALL FUNCTION 'G_VARIABLE_READ_DEFAULT' EXPORTING variable = loc_var IMPORTING default_value = loc_val EXCEPTIONS variable_not_found = 1 OTHERS = 2.
G_VARIABLE_READ_INTERNAL CALL FUNCTION 'G_VARIABLE_READ_INTERNAL' EXPORTING variable = loc_var IMPORTING value = loc_value EXCEPTIONS variable_not_found = 1 variable_not_internal = 2 OTHERS = 3.
G_SET_GET_EVALUATION_ERROR CALL FUNCTION 'G_SET_GET_EVALUATION_ERROR' IMPORTING variable = loc_var formula = loc_formula error_code = loc_subrc EXCEPTIONS OTHERS = 0.
G_INTERVAL_READ_TITLE CALL FUNCTION 'G_INTERVAL_READ_TITLE' EXPORTING index = loc_index IMPORTING title = loc_text EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_VARIABLE_READ_TITLE CALL FUNCTION 'G_VARIABLE_READ_TITLE' EXPORTING langu = loc_langu variable = loc_var IMPORTING title = loc_title EXCEPTIONS no_title = 1 OTHERS = 2.
G_FORMULA_READ_INDEXED CALL FUNCTION 'G_FORMULA_READ_INDEXED' EXPORTING index = loc_index IMPORTING formula = loc_formula EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_SET_EXPORT CALL FUNCTION 'G_SET_EXPORT' EXPORTING srtfd = loc_srtfd suppress_collection_of_titles = 'X' export_to_memory = 'X' EXCEPTIONS export_not_successful = 1 OTHERS = 2.
G_SET_EXPORT CALL FUNCTION 'G_SET_EXPORT' EXPORTING srtfd = loc_srtfd suppress_collection_of_titles = ' ' export_to_memory = 'X' EXCEPTIONS export_not_successful = 1 OTHERS = 2.
G_VARIABLE_GET_NEXT_SETVAR CALL FUNCTION 'G_VARIABLE_GET_NEXT_SETVAR' IMPORTING header = loc_header index = loc_index variable = loc_var EXCEPTIONS end_of_variables = 1 OTHERS = 2.
G_SET_IMPORT CALL FUNCTION 'G_SET_IMPORT' EXPORTING srtfd = loc_srtfd * grep_key = importid import_from_memory = 'X' EXCEPTIONS import_not_successful = 1 evalerror_field_too_short = 2 evalerror_conversion_failed = 3 evalerror_arithmetic_exception = 4.
G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING shortname = loc_setnr tabname = loc_table fieldname = loc_field check_set_empty = 'X' IMPORTING new_setid = new_setid EXCEPTIONS no_set_found = 1 no_set_picked_from_popup = 2 table_field_not_found = 3 fields_dont_match = 4 set_is_empty = 5 formula_in_set = 6.
G_VARIABLE_REPLACE CALL FUNCTION 'G_VARIABLE_REPLACE' EXPORTING setname = loc_setnr table = loc_table value = loc_value variable = loc_var EXCEPTIONS OTHERS = 0.
G_VARIABLE_UPDATE CALL FUNCTION 'G_VARIABLE_UPDATE' EXPORTING setname = loc_setnr table = loc_table EXCEPTIONS update_failed = 1.
G_VARIABLE_ASSIGN_SET CALL FUNCTION 'G_VARIABLE_ASSIGN_SET' EXPORTING setname = loc_setnr variable = loc_var.
G_VARIABLE_ASSIGN_SET CALL FUNCTION 'G_VARIABLE_ASSIGN_SET' EXPORTING setname = loc_setnr variable = loc_var date_from = loc_mtdate date_to = loc_mtdate.
G_SET_UPDATE_DYNAMIC_SETS CALL FUNCTION 'G_SET_UPDATE_DYNAMIC_SETS' EXPORTING date_from = loc_mtdate date_to = loc_mtdate.
G_SET_READ_VARIABLE CALL FUNCTION 'G_SET_READ_VARIABLE' EXPORTING index = loc_index IMPORTING variable = loc_var EXCEPTIONS OTHERS = 0.
G_SET_CHANGE_LANGUAGE CALL FUNCTION 'G_SET_CHANGE_LANGUAGE' EXPORTING langu = loc_langu EXCEPTIONS OTHERS = 0.
G_SET_READ_INDEXED CALL FUNCTION 'G_SET_READ_INDEXED' EXPORTING index = loc_index IMPORTING header = loc_header EXCEPTIONS invalid_index = 1 OTHERS = 2.
G_SET_GET_DATE_AND_TIME CALL FUNCTION 'G_SET_GET_DATE_AND_TIME' EXPORTING setname = loc_setnr table = loc_tab IMPORTING date = loc_date time = loc_time EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_SET_DUMMY CALL FUNCTION 'G_SET_DUMMY' EXCEPTIONS OTHERS = 0.
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 SAPFGSB0 or its description.
SAPFGSB0 - FI-SL: Set Interface (Full version) SAPFGSB0 - FI-SL: Set Interface (Full version) SAPFGRWX - Form Pool SAP Report Writer: Initial Screen, Selection and Output SAPFGRWX - Form Pool SAP Report Writer: Initial Screen, Selection and Output SAPFGRWT - Report Writer: Utilities SAPFGRWT - Report Writer: Utilities