RGSCPY10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program enables you to copy all sets belonging to a General Ledger table in the old format as sets belonging to an object-containing General Ledger table...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RGSCPY10 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.
Selection Text: FROMTAB = D Source table
Selection Text: TOTAB = D Source table
Title: Copying Sets for the Conversion of FI-SL Tables
Text Symbol: 001 = Conversion of sets
Text Symbol: EXP = This program may only be run for FI-SL table conversion! Execute?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-exp default_button = '2' IMPORTING answer = l_char.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-001 "Set conversion show_linno = space.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GS' msgty = 'E' txtnr = '818'. "Set conversion not possible
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GS' msgty = 'I' msgv1 = sy-mandt msgv2 = sy-uzeit txtnr = '806'. "Start of set conversion
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GS' msgty = 'I' msgv1 = sy-uzeit txtnr = '807'. "End of set conversion
G_MIGRATION_MOVEMENTS_READ CALL FUNCTION 'G_MIGRATION_MOVEMENTS_READ' EXPORTING add_flag = 'X' fromtable = u_fromtable totable = u_totable TABLES corr_fields = corr_fields lost_fields = lost_fields new_fields = new_fields.
G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING add_flag = 'X' fieldname = t_fieldinfo-fromfield table = u_fromtable IMPORTING field_attr = field_attr.
G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING add_flag = 'X' fieldname = t_fieldinfo-tofield table = u_totable IMPORTING field_attr = field_attr.
G_SET_DETERMINE_DATA_ELEMENT2 CALL FUNCTION 'G_SET_DETERMINE_DATA_ELEMENT2' EXPORTING tabname = u_totable fieldname = t_fieldinfo-tofield IMPORTING set_data_element = t_fieldinfo-rollname EXCEPTIONS OTHERS = 0.
G_VALUE_CONVERT CALL FUNCTION 'G_VALUE_CONVERT' EXPORTING fromvalue = u_fromvalue from_convexit = u_fieldinfo-fconvexit from_datatype = u_fieldinfo-fdatatype from_decimals = u_fieldinfo-fdecimals from_leng = u_fieldinfo-fleng from_lowercase = u_fieldinfo-flowercase from_outputlen = u_fieldinfo-foutputlen from_sign = u_fieldinfo-fsign to_convexit = u_fieldinfo-tconvexit to_datatype = u_fieldinfo-tdatatype to_decimals = u_fieldinfo-tdecimals to_leng = u_fieldinfo-tleng to_lowercase = u_fieldinfo-tlowercase to_outputlen = u_fieldinfo-toutputlen to_sign = u_fieldinfo-tsign IMPORTING tovalue = u_tovalue EXCEPTIONS OTHERS = 999.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GS' msgty = 'I' msgv1 = u_value msgv2 = u_setname txtnr = '812'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GS' msgty = 'I' msgv1 = u_value msgv2 = variable_aux txtnr = '813'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'GS' msgty = 'I' msgv1 = u_setname txtnr = '814'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = u_msgid msgty = 'I' msgv1 = u_msgv1 msgv2 = u_msgv2 msgv3 = u_msgv3 msgv4 = u_msgv4 txtnr = txtnr.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING no_authority_check = 'X' setnr = l_setid IMPORTING set_header = set_header TABLES set_lines_multi = set_lines_multi EXCEPTIONS OTHERS = 1.
G_GENERATE_MULTI_SET CALL FUNCTION 'G_GENERATE_MULTI_SET' EXPORTING set_header = set_header TABLES set_lines = set_lines_multi EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RGSCPY10 - Copying Sets for the Conversion of FI-SL Tables RGSCPY10 - Copying Sets for the Conversion of FI-SL Tables RGSCPY00 - Copy Sets Between Different Tables RGSCPY00 - Copy Sets Between Different Tables RGSCOR20 - Sets: Deletion of Unnecessary Entries from Table RWSLINE RGSCOR20 - Sets: Deletion of Unnecessary Entries from Table RWSLINE