SAP Reports / Programs | Logistics Execution | Shipping(LE-SHP) SAP LE

SDSAMFRM_GENERIC SAP ABAP INCLUDE - Generic FORM Routines







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


Text pool values


Title: Generic FORM Routines


INCLUDES used within this REPORT SDSAMFRM_GENERIC

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:

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "unicode EXPORTING tabname = LR_DBNAME-LOW TABLES DFIES_TAB = LT_NAMETAB EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = CALL_PROGRAMM I_INTERNAL_TABNAME = 'XLISTH' I_STRUCTURE_NAME = GR_HEADDB_NAME-LOW * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = CHANGING CT_FIELDCAT = LV_T_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = CALL_PROGRAMM I_INTERNAL_TABNAME = 'XLISTP' I_STRUCTURE_NAME = GR_ITEMDB_NAME-LOW * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = CHANGING CT_FIELDCAT = LV_T_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = CALL_PROGRAMM I_CALLBACK_PF_STATUS_SET = 'LV_STATUS_SET' I_CALLBACK_USER_COMMAND = 'LV_USER_COMMAND' IS_LAYOUT = LV_LAYOUT IT_FIELDCAT = LV_T_FIELDCAT * IT_EXCLUDING = * IT_SPECIAL_GROUPS = LV_T_SPECIAL_GROUPS IT_SORT = LT_T_SORTINFO * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' I_SAVE = GC_SAVE_MODE IS_VARIANT = LV_VARIANT * IT_EVENTS = IT_EVENT_EXIT = LV_T_EVENT_EXIT I_TABNAME_HEADER = 'XLISTH' I_TABNAME_ITEM = 'XLISTP' * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = IS_KEYINFO = LV_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB_HEADER = XLISTH T_OUTTAB_ITEM = XLISTP EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = CALL_PROGRAMM I_CALLBACK_PF_STATUS_SET = 'LV_STATUS_SET' I_CALLBACK_USER_COMMAND = 'LV_USER_COMMAND' IS_LAYOUT = LV_LAYOUT IT_FIELDCAT = LV_T_FIELDCAT * IT_EXCLUDING = * IT_SPECIAL_GROUPS = LV_T_SPECIAL_GROUPS IT_SORT = LT_T_SORTINFO * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' I_SAVE = GC_SAVE_MODE IS_VARIANT = LV_VARIANT * IT_EVENTS = IT_EVENT_EXIT = LV_T_EVENT_EXIT I_STRUCTURE_NAME = 'XLISTH' * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = * IS_KEYINFO = LV_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = XLISTH * T_OUTTAB_ITEM = XLISTP EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = CALL_PROGRAMM I_CALLBACK_PF_STATUS_SET = 'LV_STATUS_SET' I_CALLBACK_USER_COMMAND = 'LV_USER_COMMAND' IS_LAYOUT = LV_LAYOUT IT_FIELDCAT = LV_T_FIELDCAT * IT_EXCLUDING = * IT_SPECIAL_GROUPS = LV_T_SPECIAL_GROUPS IT_SORT = LT_T_SORTINFO * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 I_STRUCTURE_NAME = 'XLISTP' * I_DEFAULT = 'X' I_SAVE = GC_SAVE_MODE IS_VARIANT = LV_VARIANT * IT_EVENTS = IT_EVENT_EXIT = LV_T_EVENT_EXIT * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = * IS_KEYINFO = LV_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = XLISTP * T_OUTTAB_ITEM = XLISTP EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' EXPORTING I_DIALOG = ' ' I_USER_SPECIFIC = LF_USER_SPECIFIC I_DEFAULT = 'X' I_TABNAME_HEADER = 'XLISTH' I_TABNAME_ITEM = 'XLISTP' IT_DEFAULT_FIELDCAT = LV_T_FIELDCAT I_LAYOUT = LV_LAYOUT IMPORTING * E_EXIT = ET_FIELDCAT = LT_FIELDCAT * ET_SORT = * ET_FILTER = CHANGING CS_VARIANT = LS_DIVARIANT EXCEPTIONS WRONG_INPUT = 1 FC_NOT_COMPLETE = 2 NOT_FOUND = 3 PROGRAM_ERROR = 4 OTHERS = 5.



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