SAP FB_CWB_ATTRIBUTE_SELECT Function Module for
FB_CWB_ATTRIBUTE_SELECT is a standard fb cwb attribute select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fb cwb attribute select FM, simply by entering the name FB_CWB_ATTRIBUTE_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CWB_CATT
Program Name: SAPLCWB_CATT
Main Program: SAPLCWB_CATT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FB_CWB_ATTRIBUTE_SELECT 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 'FB_CWB_ATTRIBUTE_SELECT'".
EXPORTING
I_OBJ_ID = "CATT Test Data Memory, Object Number, ID for DE NRLEVEL
* I_MSGID = "Work Area
* I_MSGNO = "Message Number
* I_MSG1 = "Messages, Message Variable
* I_MSG2 = "Messages, Message Variable
* I_MSG3 = "Messages, Message Variable
* I_MSG4 = "Messages, Message Variable
IMPORTING
E_RC = "Return Value, Return Value after ABAP Statements
E_MSGID = "Work Area
E_MSGNO = "Message Number
E_MSG1 = "Messages, Message Variable
E_MSG2 = "Messages, Message Variable
E_MSG3 = "Messages, Message Variable
E_MSG4 = "Messages, Message Variable
E_TEXT = "Message Text
IMPORTING Parameters details for FB_CWB_ATTRIBUTE_SELECT
I_OBJ_ID - CATT Test Data Memory, Object Number, ID for DE NRLEVEL
Data type: CATDNRLEVOptional: No
Call by Reference: No ( called with pass by value option)
I_MSGID - Work Area
Data type: ARBGBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MSGNO - Message Number
Data type: MSGNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_MSG1 - Messages, Message Variable
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MSG2 - Messages, Message Variable
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MSG3 - Messages, Message Variable
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MSG4 - Messages, Message Variable
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FB_CWB_ATTRIBUTE_SELECT
E_RC - Return Value, Return Value after ABAP Statements
Data type: SYSUBRCOptional: No
Call by Reference: No ( called with pass by value option)
E_MSGID - Work Area
Data type: ARBGBOptional: No
Call by Reference: No ( called with pass by value option)
E_MSGNO - Message Number
Data type: MSGNROptional: No
Call by Reference: No ( called with pass by value option)
E_MSG1 - Messages, Message Variable
Data type: SYMSGVOptional: No
Call by Reference: No ( called with pass by value option)
E_MSG2 - Messages, Message Variable
Data type: SYMSGVOptional: No
Call by Reference: No ( called with pass by value option)
E_MSG3 - Messages, Message Variable
Data type: SYMSGVOptional: No
Call by Reference: No ( called with pass by value option)
E_MSG4 - Messages, Message Variable
Data type: SYMSGVOptional: No
Call by Reference: No ( called with pass by value option)
E_TEXT - Message Text
Data type: NATXTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FB_CWB_ATTRIBUTE_SELECT 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_e_rc | TYPE SYSUBRC, " | |||
| lv_i_obj_id | TYPE CATDNRLEV, " | |||
| lv_e_msgid | TYPE ARBGB, " | |||
| lv_i_msgid | TYPE ARBGB, " | |||
| lv_e_msgno | TYPE MSGNR, " | |||
| lv_i_msgno | TYPE MSGNR, " | |||
| lv_e_msg1 | TYPE SYMSGV, " | |||
| lv_i_msg1 | TYPE SYMSGV, " | |||
| lv_e_msg2 | TYPE SYMSGV, " | |||
| lv_i_msg2 | TYPE SYMSGV, " | |||
| lv_e_msg3 | TYPE SYMSGV, " | |||
| lv_i_msg3 | TYPE SYMSGV, " | |||
| lv_e_msg4 | TYPE SYMSGV, " | |||
| lv_i_msg4 | TYPE SYMSGV, " | |||
| lv_e_text | TYPE NATXT. " |
|   CALL FUNCTION 'FB_CWB_ATTRIBUTE_SELECT' " |
| EXPORTING | ||
| I_OBJ_ID | = lv_i_obj_id | |
| I_MSGID | = lv_i_msgid | |
| I_MSGNO | = lv_i_msgno | |
| I_MSG1 | = lv_i_msg1 | |
| I_MSG2 | = lv_i_msg2 | |
| I_MSG3 | = lv_i_msg3 | |
| I_MSG4 | = lv_i_msg4 | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| E_MSGID | = lv_e_msgid | |
| E_MSGNO | = lv_e_msgno | |
| E_MSG1 | = lv_e_msg1 | |
| E_MSG2 | = lv_e_msg2 | |
| E_MSG3 | = lv_e_msg3 | |
| E_MSG4 | = lv_e_msg4 | |
| E_TEXT | = lv_e_text | |
| . " FB_CWB_ATTRIBUTE_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM FB_CWB_ATTRIBUTE_SELECT
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.Search for further information about these or an SAP related objects