SAP Reports / Programs

SAPFGSCS SAP ABAP dialog Program - Generating from FORM Routines to Sets for Validation etc.







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


Text pool values


Title: Generating from FORM Routines to Sets for Validation etc.
Text Symbol: 001 = * Automatically generated set code
Text Symbol: 002 = * Last generated:
Text Symbol: 003 = Generated set code
Text Symbol: 004 = Generated code used by validations
Text Symbol: 005 = Substitutions and rules
Text Symbol: 006 = !! Do not manually change or transport !!
Text Symbol: 007 = For problems with messages and search for notes
Text Symbol: 008 = use the subject area
Text Symbol: 009 = FI-SL VSR ( search term "set" )
Text Symbol: 010 = Values contained in the sets:


INCLUDES used within this REPORT SAPFGSCS

INCLUDE FGBBGD00.
INCLUDE FGBBGD01.
INCLUDE FGSCLASS.


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:

G_BUFFER_RESET CALL FUNCTION 'G_BUFFER_RESET'.

G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING setname = ps_set maintenance = 'X' no_titles = 'X' client = client_value IMPORTING header = set_hdr index = mset_idx EXCEPTIONS set_not_found = 01.

G_SET_GET_NEXT CALL FUNCTION 'G_SET_GET_NEXT' EXPORTING control_block = 1 index = mset_idx level = 1 no_variables_replacement = ' ' IMPORTING header = set_hdr index = set_idx EXCEPTIONS end_of_sets = 01 invalid_index = 02.

G_CONTROL_BLOCK_RESET CALL FUNCTION 'G_CONTROL_BLOCK_RESET' EXPORTING control_block = 1.

G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = settab-setname IMPORTING shortname = l_shortname.

G_SET_READ_INDEXED CALL FUNCTION 'G_SET_READ_INDEXED' EXPORTING index = fi_index IMPORTING header = set_hdr EXCEPTIONS invalid_index = 01.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = set_hdr-field table = set_hdr-table IMPORTING field_attr = field_attr EXCEPTIONS OTHERS = 1.

G_INTERVAL_GET_NEXT CALL FUNCTION 'G_INTERVAL_GET_NEXT' EXPORTING control_block = 1 index = fi_index no_variables_replacement = ' ' IMPORTING entry = set_row EXCEPTIONS end_of_intervals = 01 invalid_index = 02.

G_CONTROL_BLOCK_RESET CALL FUNCTION 'G_CONTROL_BLOCK_RESET' EXPORTING control_block = 1.

G_VARIABLE_GET CALL FUNCTION 'G_VARIABLE_GET' EXPORTING client = client_value variable = var_struct-variable IMPORTING varstructure = var_struct EXCEPTIONS not_found = 1 no_fieldname_found = 2 different_rollnames = 3 OTHERS = 4.

G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING setname = var_struct-defset maintenance = 'X' no_titles = 'X' client = client_value IMPORTING header = set_hdr index = set_idx EXCEPTIONS set_not_found = 01.

CALL FUNCTION 'CALL FUNCTION ''G_VARIABLE_READ_DEFAULT'' ' 0 0 0, ' EXPORTING ' 0 0 0, ' VARIABLE = P_VARVALUE-VARNAME ' 0 0 0, ' IMPORTING ' 0 0 0, ' DEFAULT_VALUE = P_VALUE. ' 0 0 0,

G_BOOL_OBJECT_GET_FROM_MEMORY CALL FUNCTION 'G_BOOL_OBJECT_GET_FROM_MEMORY' EXPORTING memory_id = c_client_mem_id IMPORTING memory_object = client_value EXCEPTIONS object_not_found = 1 OTHERS = 2.



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