SAP RSSEM_RFC_INFOPROV_READPACK Function Module for Package-wise reading of infoset with tmp. Package saving









RSSEM_RFC_INFOPROV_READPACK is a standard rssem rfc infoprov readpack SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Package-wise reading of infoset with tmp. Package saving 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 rssem rfc infoprov readpack FM, simply by entering the name RSSEM_RFC_INFOPROV_READPACK into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSSEM_RFC_INFOPROV
Program Name: SAPLRSSEM_RFC_INFOPROV
Main Program: SAPLRSSEM_RFC_INFOPROV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSSEM_RFC_INFOPROV_READPACK 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 'RSSEM_RFC_INFOPROV_READPACK'"Package-wise reading of infoset with tmp. Package saving
EXPORTING
I_INFOPROV = "InfoProvider
* I_REFERENCE_DATE = SY-DATUM "BW Data Manager: Key date
I_ID = "UUID in compressed form (22 character UUENCODEd)
I_PACKAGESIZE = "Natural Number
* I_AUTHORITY_CHECK = RSDRC_C_AUTHCHK-READ "DM: Type of Authorization Check
* I_CURRENCY_CONVERSION = RS_C_TRUE "Boolean
* I_ROLLUP_ONLY = RS_C_TRUE "Boolean
* I_USE_DB_AGGREGATION = RS_C_TRUE "Boolean

CHANGING
E_PACKAGES = "Numeric character field, length 10

TABLES
I_T_SFC = "BW Data Manager: List of Characteristics
I_T_SFK = "BW Data Manager: List of Key Figures
* I_T_RANGE = "BW Data Manager: Range List

EXCEPTIONS
EXP_DATAPACK_FAILED = 1 NCUM_NOT_SUPPORTED = 10 ILLEGAL_DOWNLOAD = 11 ILLEGAL_TABLENAME = 12 INHERITED_ERROR = 13 INTERNAL_ERROR = 2 NAME_ERROR = 3 ILLEGAL_INPUT = 4 ILLEGAL_INPUT_SFC = 5 ILLEGAL_INPUT_SFK = 6 ILLEGAL_INPUT_RANGE = 7 ILLEGAL_INPUT_TABLESEL = 8 NO_AUTHORIZATION = 9
.



IMPORTING Parameters details for RSSEM_RFC_INFOPROV_READPACK

I_INFOPROV - InfoProvider

Data type: RSINFOPROV
Optional: No
Call by Reference: No ( called with pass by value option)

I_REFERENCE_DATE - BW Data Manager: Key date

Data type: RSDRI_REFDATE
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ID - UUID in compressed form (22 character UUENCODEd)

Data type: SYSUUID_22
Optional: No
Call by Reference: No ( called with pass by value option)

I_PACKAGESIZE - Natural Number

Data type: INT4
Optional: No
Call by Reference: No ( called with pass by value option)

I_AUTHORITY_CHECK - DM: Type of Authorization Check

Data type: RSDRI_AUTHCHK
Default: RSDRC_C_AUTHCHK-READ
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CURRENCY_CONVERSION - Boolean

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ROLLUP_ONLY - Boolean

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_USE_DB_AGGREGATION - Boolean

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for RSSEM_RFC_INFOPROV_READPACK

E_PACKAGES - Numeric character field, length 10

Data type: NUMC10
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RSSEM_RFC_INFOPROV_READPACK

I_T_SFC - BW Data Manager: List of Characteristics

Data type: RSDRI_T_SFC
Optional: No
Call by Reference: Yes

I_T_SFK - BW Data Manager: List of Key Figures

Data type: RSDRI_T_SFK
Optional: No
Call by Reference: Yes

I_T_RANGE - BW Data Manager: Range List

Data type: RSSEM_T_RANGE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

EXP_DATAPACK_FAILED -

Data type:
Optional: No
Call by Reference: Yes

NCUM_NOT_SUPPORTED - Non-Cumulatives Are Not Supported

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_DOWNLOAD - Download into the Specified Form Not Possible

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_TABLENAME - Table Name Already In Use (by DDIC or on DB)

Data type:
Optional: No
Call by Reference: Yes

INHERITED_ERROR - Other Error from Deeper Modules

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Internal error

Data type:
Optional: No
Call by Reference: Yes

NAME_ERROR - Error finding the structure name fo the InfoProvider

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_INPUT - Incorrect Input Parameter

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_INPUT_SFC - Error in SFC Parameter

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_INPUT_SFK - Error in SFK Parameter

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_INPUT_RANGE - Error in RANGE or RANGETAB Parameter

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_INPUT_TABLESEL - Error in TABLESEL Parameter

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORIZATION - No Authorization for Data Access

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSEM_RFC_INFOPROV_READPACK 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:
lt_i_t_sfc  TYPE STANDARD TABLE OF RSDRI_T_SFC, "   
lv_e_packages  TYPE NUMC10, "   
lv_i_infoprov  TYPE RSINFOPROV, "   
lv_exp_datapack_failed  TYPE RSINFOPROV, "   
lv_ncum_not_supported  TYPE RSINFOPROV, "   
lv_illegal_download  TYPE RSINFOPROV, "   
lv_illegal_tablename  TYPE RSINFOPROV, "   
lv_inherited_error  TYPE RSINFOPROV, "   
lt_i_t_sfk  TYPE STANDARD TABLE OF RSDRI_T_SFK, "   
lv_internal_error  TYPE RSDRI_T_SFK, "   
lv_i_reference_date  TYPE RSDRI_REFDATE, "   SY-DATUM
lv_i_id  TYPE SYSUUID_22, "   
lt_i_t_range  TYPE STANDARD TABLE OF RSSEM_T_RANGE, "   
lv_name_error  TYPE RSSEM_T_RANGE, "   
lv_illegal_input  TYPE RSSEM_T_RANGE, "   
lv_i_packagesize  TYPE INT4, "   
lv_illegal_input_sfc  TYPE INT4, "   
lv_i_authority_check  TYPE RSDRI_AUTHCHK, "   RSDRC_C_AUTHCHK-READ
lv_illegal_input_sfk  TYPE RSDRI_AUTHCHK, "   
lv_i_currency_conversion  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_rollup_only  TYPE RS_BOOL, "   RS_C_TRUE
lv_illegal_input_range  TYPE RS_BOOL, "   
lv_i_use_db_aggregation  TYPE RS_BOOL, "   RS_C_TRUE
lv_illegal_input_tablesel  TYPE RS_BOOL, "   
lv_no_authorization  TYPE RS_BOOL. "   

  CALL FUNCTION 'RSSEM_RFC_INFOPROV_READPACK'  "Package-wise reading of infoset with tmp. Package saving
    EXPORTING
         I_INFOPROV = lv_i_infoprov
         I_REFERENCE_DATE = lv_i_reference_date
         I_ID = lv_i_id
         I_PACKAGESIZE = lv_i_packagesize
         I_AUTHORITY_CHECK = lv_i_authority_check
         I_CURRENCY_CONVERSION = lv_i_currency_conversion
         I_ROLLUP_ONLY = lv_i_rollup_only
         I_USE_DB_AGGREGATION = lv_i_use_db_aggregation
    CHANGING
         E_PACKAGES = lv_e_packages
    TABLES
         I_T_SFC = lt_i_t_sfc
         I_T_SFK = lt_i_t_sfk
         I_T_RANGE = lt_i_t_range
    EXCEPTIONS
        EXP_DATAPACK_FAILED = 1
        NCUM_NOT_SUPPORTED = 10
        ILLEGAL_DOWNLOAD = 11
        ILLEGAL_TABLENAME = 12
        INHERITED_ERROR = 13
        INTERNAL_ERROR = 2
        NAME_ERROR = 3
        ILLEGAL_INPUT = 4
        ILLEGAL_INPUT_SFC = 5
        ILLEGAL_INPUT_SFK = 6
        ILLEGAL_INPUT_RANGE = 7
        ILLEGAL_INPUT_TABLESEL = 8
        NO_AUTHORIZATION = 9
. " RSSEM_RFC_INFOPROV_READPACK




ABAP code using 7.40 inline data declarations to call FM RSSEM_RFC_INFOPROV_READPACK

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_reference_date) = SY-DATUM.
 
 
 
 
 
 
 
DATA(ld_i_authority_check) = RSDRC_C_AUTHCHK-READ.
 
 
DATA(ld_i_currency_conversion) = RS_C_TRUE.
 
DATA(ld_i_rollup_only) = RS_C_TRUE.
 
 
DATA(ld_i_use_db_aggregation) = RS_C_TRUE.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!