cancel
Showing results for 
Search instead for 
Did you mean: 

In bapiret2 structure , is ID ,Number having some specific value?

Former Member
0 Kudos

Hi

In bapiret2 structure ,as type is having some specific value ie i info,w warning , s success, like that are id and number having some defined values or not

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Muskan,

BAPIRET2 is a data type that is used to store details for a message in ABAP.

The fields ID corresponds to the message class and NUMBER corresponds to the message number in that class that needs to be displayed. This uniquely identifies the message to be shown to the user.

With respect to WCEM, it does not have access to the message class in the backend. Thus, you can either declare the message with the corresponding class and ID in the MessadeID.properties file in your module or use the text present in the field MESSAGE in the same structure data type.

Please refer to any standard WCEM backend class (e.g. UserCRM.java) for reference and guidance on how to handle backend messages.

Best of luck!

Best Regards

Pranshu Agarwal