SAP RSD_COB_PRO_GET_ALWAYS Function Module for Summary of RSD_COB_PRO_GET or RSD_IOBJ_INCL_ATR_NAV_GET
RSD_COB_PRO_GET_ALWAYS is a standard rsd cob pro get always SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Summary of RSD_COB_PRO_GET or RSD_IOBJ_INCL_ATR_NAV_GET 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 rsd cob pro get always FM, simply by entering the name RSD_COB_PRO_GET_ALWAYS into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSDI
Program Name: SAPLRSDI
Main Program: SAPLRSDI
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSD_COB_PRO_GET_ALWAYS 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 'RSD_COB_PRO_GET_ALWAYS'"Summary of RSD_COB_PRO_GET or RSD_IOBJ_INCL_ATR_NAV_GET.
EXPORTING
* I_INFOCUBE = "InfoCube
I_IOBJNM = "InfoObject
* I_WITH_ATR_NAV = RS_C_FALSE "With Navigation Attributes
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Object Version
* I_BYPASS_BUFFER = RS_C_FALSE "Bypass Buffer (Indicator)
* I_WITH_DTEL = RS_C_TRUE "= 'X' Also Read Data Element / Domain for E_S_COB_PRO from DDIC
IMPORTING
E_S_COB_PRO = "Properties of InfoObject
E_T_IOBJ_CMP = "Compounding the InfoObject
E_T_ATR = "InfoObject attributes
EXCEPTIONS
INFOCUBE_NOT_FOUND = 1 ERROR_READING_INFOCATALOG = 2 IOBJNM_NOT_FOUND = 3 ILLEGAL_INPUT = 4
IMPORTING Parameters details for RSD_COB_PRO_GET_ALWAYS
I_INFOCUBE - InfoCube
Data type: RSD_INFOCUBEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_IOBJNM - InfoObject
Data type: RSD_IOBJNMOptional: No
Call by Reference: Yes
I_WITH_ATR_NAV - With Navigation Attributes
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: Yes
I_OBJVERS - Object Version
Data type: RS_OBJVERSDefault: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: Yes
I_BYPASS_BUFFER - Bypass Buffer (Indicator)
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WITH_DTEL - = 'X' Also Read Data Element / Domain for E_S_COB_PRO from DDIC
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RSD_COB_PRO_GET_ALWAYS
E_S_COB_PRO - Properties of InfoObject
Data type: RSD_S_COB_PROOptional: No
Call by Reference: Yes
E_T_IOBJ_CMP - Compounding the InfoObject
Data type: RSD_T_IOBJ_CMPOptional: No
Call by Reference: Yes
E_T_ATR - InfoObject attributes
Data type: RSD_T_ATROptional: No
Call by Reference: Yes
EXCEPTIONS details
INFOCUBE_NOT_FOUND - InfoCube not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_READING_INFOCATALOG - Error while reading InfoObject
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IOBJNM_NOT_FOUND - Cannot Find InfoObject in InfoCube
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_INPUT - Incorrect Input Parameter
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSD_COB_PRO_GET_ALWAYS 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_infocube | TYPE RSD_INFOCUBE, " | |||
| lv_e_s_cob_pro | TYPE RSD_S_COB_PRO, " | |||
| lv_infocube_not_found | TYPE RSD_S_COB_PRO, " | |||
| lv_i_iobjnm | TYPE RSD_IOBJNM, " | |||
| lv_e_t_iobj_cmp | TYPE RSD_T_IOBJ_CMP, " | |||
| lv_error_reading_infocatalog | TYPE RSD_T_IOBJ_CMP, " | |||
| lv_e_t_atr | TYPE RSD_T_ATR, " | |||
| lv_i_with_atr_nav | TYPE RS_BOOL, " RS_C_FALSE | |||
| lv_iobjnm_not_found | TYPE RS_BOOL, " | |||
| lv_i_objvers | TYPE RS_OBJVERS, " RS_C_OBJVERS-ACTIVE | |||
| lv_illegal_input | TYPE RS_OBJVERS, " | |||
| lv_i_bypass_buffer | TYPE RS_BOOL, " RS_C_FALSE | |||
| lv_i_with_dtel | TYPE RS_BOOL. " RS_C_TRUE |
|   CALL FUNCTION 'RSD_COB_PRO_GET_ALWAYS' "Summary of RSD_COB_PRO_GET or RSD_IOBJ_INCL_ATR_NAV_GET |
| EXPORTING | ||
| I_INFOCUBE | = lv_i_infocube | |
| I_IOBJNM | = lv_i_iobjnm | |
| I_WITH_ATR_NAV | = lv_i_with_atr_nav | |
| I_OBJVERS | = lv_i_objvers | |
| I_BYPASS_BUFFER | = lv_i_bypass_buffer | |
| I_WITH_DTEL | = lv_i_with_dtel | |
| IMPORTING | ||
| E_S_COB_PRO | = lv_e_s_cob_pro | |
| E_T_IOBJ_CMP | = lv_e_t_iobj_cmp | |
| E_T_ATR | = lv_e_t_atr | |
| EXCEPTIONS | ||
| INFOCUBE_NOT_FOUND = 1 | ||
| ERROR_READING_INFOCATALOG = 2 | ||
| IOBJNM_NOT_FOUND = 3 | ||
| ILLEGAL_INPUT = 4 | ||
| . " RSD_COB_PRO_GET_ALWAYS | ||
ABAP code using 7.40 inline data declarations to call FM RSD_COB_PRO_GET_ALWAYS
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_with_atr_nav) | = RS_C_FALSE. | |||
| DATA(ld_i_objvers) | = RS_C_OBJVERS-ACTIVE. | |||
| DATA(ld_i_bypass_buffer) | = RS_C_FALSE. | |||
| DATA(ld_i_with_dtel) | = RS_C_TRUE. | |||
Search for further information about these or an SAP related objects