SAP RSDS_CONVERT_CSVSTORE_SETGET Function Module for Set and get the CSV parameters
RSDS_CONVERT_CSVSTORE_SETGET is a standard rsds convert csvstore setget SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set and get the CSV parameters processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rsds convert csvstore setget FM, simply by entering the name RSDS_CONVERT_CSVSTORE_SETGET into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSDS_CONVERT_FRONTEND
Program Name: SAPLRSDS_CONVERT_FRONTEND
Main Program: SAPLRSDS_CONVERT_FRONTEND
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSDS_CONVERT_CSVSTORE_SETGET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RSDS_CONVERT_CSVSTORE_SETGET'"Set and get the CSV parameters.
EXPORTING
* I_DISPLAY_ONLY = "Checkbox Field
* I_FOR_IPAK = "Within InfoPackage
* I_T_DATA = "Table of Data Strings
* I_REFRESH_FIELD = "Refresh proposal field
* I_DATASOURCE_TYPE = "Data Type of a DataSource
* I_DATASOURCE = "DataSource
* I_LOGSYS = "Source system
* I_HIERCONVERT = "Access Method DataSource
CHANGING
* I_DATASEP = '003B' "Separator for Excel format
* E_VERSION = "Hierarchies can have several versions
* I_INTERVAL = "Intervals permitted in hierarchy
* E_INTERVAL = "Intervals permitted in hierarchy
* I_SIGN = "Reverse Sign for Hierarchy Nodes
* E_SIGN = "Reverse Sign for Hierarchy Nodes
* I_FLEXIBLE = "Hierarchy is Flexible
* E_FLEXIBLE = "Hierarchy is Flexible
* I_IOBJNM = "InfoObject
* E_IOBJNM = "InfoObject
* I_TX_SEGMENTS = "Segments for field list
* I_ESC = '0022' "Escape Character for Excel File
* E_TX_SEGMENTS = "Segments for field list
* E_TX_SEGMENTS_OLD = "Segments for field list (before proposal)
* I_SORTED = "Hierarchy transfer with sorted node(s)
* E_SORTED = "Hierarchy transfer with sorted node(s)
* E_T_HIERPROP = "Table: General Field Structure with Text
* E_HIEID = "Internal Hierarchy ID (Unique ID)
* I_HIEID = "Internal Hierarchy ID (Unique ID)
* E_RECURSION = "Recursion
* I_RECURSION = "Recursion
* E_DATASEP = "Separator for Excel format
* E_ESC = "Escape Character for Excel File
* I_T_FIELDS = "Fields from Proposal
* E_T_FIELDS = "Fields for Field List
* I_TIMEHIE = "Time Hierarchy Flag
* E_TIMEHIE = "Time Hierarchy Flag
* I_VERSION = "Hierarchies can have several versions
IMPORTING Parameters details for RSDS_CONVERT_CSVSTORE_SETGET
I_DISPLAY_ONLY - Checkbox Field
Data type: RS_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FOR_IPAK - Within InfoPackage
Data type: RS_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_DATA - Table of Data Strings
Data type: RSDS_T_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REFRESH_FIELD - Refresh proposal field
Data type: RS_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATASOURCE_TYPE - Data Type of a DataSource
Data type: RSDS_REQUTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATASOURCE - DataSource
Data type: RSOLTPSOURCEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_LOGSYS - Source system
Data type: RSSLOGSYSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HIERCONVERT - Access Method DataSource
Data type: RSDSACCESSOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RSDS_CONVERT_CSVSTORE_SETGET
I_DATASEP - Separator for Excel format
Data type: RSSEPDefault: '003B'
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_VERSION - Hierarchies can have several versions
Data type: RSHIEVERFLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_INTERVAL - Intervals permitted in hierarchy
Data type: RSHIEINTFLOptional: Yes
Call by Reference: No ( called with pass by value option)
E_INTERVAL - Intervals permitted in hierarchy
Data type: RSHIEINTFLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SIGN - Reverse Sign for Hierarchy Nodes
Data type: RSSHSIGNCHOptional: Yes
Call by Reference: No ( called with pass by value option)
E_SIGN - Reverse Sign for Hierarchy Nodes
Data type: RSSHSIGNCHOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLEXIBLE - Hierarchy is Flexible
Data type: RSDS_FLEXHIEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_FLEXIBLE - Hierarchy is Flexible
Data type: RSDS_FLEXHIEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_IOBJNM - InfoObject
Data type: RSDIOBJNMOptional: Yes
Call by Reference: No ( called with pass by value option)
E_IOBJNM - InfoObject
Data type: RSDIOBJNMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TX_SEGMENTS - Segments for field list
Data type: RSDS_TX_SEGMENTSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ESC - Escape Character for Excel File
Data type: RSESCDefault: '0022'
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_TX_SEGMENTS - Segments for field list
Data type: RSDS_TX_SEGMENTSOptional: Yes
Call by Reference: No ( called with pass by value option)
E_TX_SEGMENTS_OLD - Segments for field list (before proposal)
Data type: RSDS_TX_SEGMENTSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SORTED - Hierarchy transfer with sorted node(s)
Data type: RSFLSORTEDOptional: Yes
Call by Reference: No ( called with pass by value option)
E_SORTED - Hierarchy transfer with sorted node(s)
Data type: RSFLSORTEDOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_HIERPROP - Table: General Field Structure with Text
Data type: RSARC_T_RSFIELDTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
E_HIEID - Internal Hierarchy ID (Unique ID)
Data type: RSHIEIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HIEID - Internal Hierarchy ID (Unique ID)
Data type: RSHIEIDOptional: Yes
Call by Reference: No ( called with pass by value option)
E_RECURSION - Recursion
Data type: RS_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RECURSION - Recursion
Data type: RS_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
E_DATASEP - Separator for Excel format
Data type: RSSEPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_ESC - Escape Character for Excel File
Data type: RSESCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_FIELDS - Fields from Proposal
Data type: RSDS_T_FIELDSOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_FIELDS - Fields for Field List
Data type: RSDS_T_FIELDSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TIMEHIE - Time Hierarchy Flag
Data type: RSDS_TIMEHIEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_TIMEHIE - Time Hierarchy Flag
Data type: RSDS_TIMEHIEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VERSION - Hierarchies can have several versions
Data type: RSHIEVERFLOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSDS_CONVERT_CSVSTORE_SETGET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_datasep | TYPE RSSEP, " '003B' | |||
| lv_i_display_only | TYPE RS_BOOL, " | |||
| lv_e_version | TYPE RSHIEVERFL, " | |||
| lv_i_interval | TYPE RSHIEINTFL, " | |||
| lv_e_interval | TYPE RSHIEINTFL, " | |||
| lv_i_sign | TYPE RSSHSIGNCH, " | |||
| lv_e_sign | TYPE RSSHSIGNCH, " | |||
| lv_i_flexible | TYPE RSDS_FLEXHIE, " | |||
| lv_e_flexible | TYPE RSDS_FLEXHIE, " | |||
| lv_i_iobjnm | TYPE RSDIOBJNM, " | |||
| lv_e_iobjnm | TYPE RSDIOBJNM, " | |||
| lv_i_tx_segments | TYPE RSDS_TX_SEGMENTS, " | |||
| lv_i_esc | TYPE RSESC, " '0022' | |||
| lv_i_for_ipak | TYPE RS_BOOL, " | |||
| lv_e_tx_segments | TYPE RSDS_TX_SEGMENTS, " | |||
| lv_e_tx_segments_old | TYPE RSDS_TX_SEGMENTS, " | |||
| lv_i_sorted | TYPE RSFLSORTED, " | |||
| lv_e_sorted | TYPE RSFLSORTED, " | |||
| lv_e_t_hierprop | TYPE RSARC_T_RSFIELDTXT, " | |||
| lv_e_hieid | TYPE RSHIEID, " | |||
| lv_i_hieid | TYPE RSHIEID, " | |||
| lv_e_recursion | TYPE RS_BOOL, " | |||
| lv_i_recursion | TYPE RS_BOOL, " | |||
| lv_i_t_data | TYPE RSDS_T_DATA, " | |||
| lv_e_datasep | TYPE RSSEP, " | |||
| lv_e_esc | TYPE RSESC, " | |||
| lv_i_refresh_field | TYPE RS_BOOL, " | |||
| lv_i_t_fields | TYPE RSDS_T_FIELDS, " | |||
| lv_i_datasource_type | TYPE RSDS_REQUTYPE, " | |||
| lv_e_t_fields | TYPE RSDS_T_FIELDS, " | |||
| lv_i_datasource | TYPE RSOLTPSOURCER, " | |||
| lv_i_logsys | TYPE RSSLOGSYS, " | |||
| lv_i_timehie | TYPE RSDS_TIMEHIE, " | |||
| lv_e_timehie | TYPE RSDS_TIMEHIE, " | |||
| lv_i_hierconvert | TYPE RSDSACCESS, " | |||
| lv_i_version | TYPE RSHIEVERFL. " |
|   CALL FUNCTION 'RSDS_CONVERT_CSVSTORE_SETGET' "Set and get the CSV parameters |
| EXPORTING | ||
| I_DISPLAY_ONLY | = lv_i_display_only | |
| I_FOR_IPAK | = lv_i_for_ipak | |
| I_T_DATA | = lv_i_t_data | |
| I_REFRESH_FIELD | = lv_i_refresh_field | |
| I_DATASOURCE_TYPE | = lv_i_datasource_type | |
| I_DATASOURCE | = lv_i_datasource | |
| I_LOGSYS | = lv_i_logsys | |
| I_HIERCONVERT | = lv_i_hierconvert | |
| CHANGING | ||
| I_DATASEP | = lv_i_datasep | |
| E_VERSION | = lv_e_version | |
| I_INTERVAL | = lv_i_interval | |
| E_INTERVAL | = lv_e_interval | |
| I_SIGN | = lv_i_sign | |
| E_SIGN | = lv_e_sign | |
| I_FLEXIBLE | = lv_i_flexible | |
| E_FLEXIBLE | = lv_e_flexible | |
| I_IOBJNM | = lv_i_iobjnm | |
| E_IOBJNM | = lv_e_iobjnm | |
| I_TX_SEGMENTS | = lv_i_tx_segments | |
| I_ESC | = lv_i_esc | |
| E_TX_SEGMENTS | = lv_e_tx_segments | |
| E_TX_SEGMENTS_OLD | = lv_e_tx_segments_old | |
| I_SORTED | = lv_i_sorted | |
| E_SORTED | = lv_e_sorted | |
| E_T_HIERPROP | = lv_e_t_hierprop | |
| E_HIEID | = lv_e_hieid | |
| I_HIEID | = lv_i_hieid | |
| E_RECURSION | = lv_e_recursion | |
| I_RECURSION | = lv_i_recursion | |
| E_DATASEP | = lv_e_datasep | |
| E_ESC | = lv_e_esc | |
| I_T_FIELDS | = lv_i_t_fields | |
| E_T_FIELDS | = lv_e_t_fields | |
| I_TIMEHIE | = lv_i_timehie | |
| E_TIMEHIE | = lv_e_timehie | |
| I_VERSION | = lv_i_version | |
| . " RSDS_CONVERT_CSVSTORE_SETGET | ||
ABAP code using 7.40 inline data declarations to call FM RSDS_CONVERT_CSVSTORE_SETGET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_datasep) | = '003B'. | |||
| DATA(ld_i_esc) | = '0022'. | |||
Search for further information about these or an SAP related objects