Professional Documents
Culture Documents
SAP ABAP Display BDCMSGCOLL Log (BDCMSGCOLL - BAPIRET2)
SAP ABAP Display BDCMSGCOLL Log (BDCMSGCOLL - BAPIRET2)
Community
Former Member
July 2, 2014
| 1 minute read
Here, in my case, I need to simply display a meaning full messages that are returned
after ‘Call Transaction’ into BDCMSGCOLL.
Instead going pillar to post, a simple combination of function modules does the entire job
required. The output and sample coding as in below.
CONVERT_BDCMSGCOLL_TO_BAPIRET2
RSCRMBW_DISPLAY_BAPIRET2
ct_params-defsize = ‘X‘.
https://blogs.sap.com/2014/07/02/display-bdc-messages-bdcmsgcoll-bapiret2-log/ 1/6
08/04/2022 16:33 Display BDCMSGCOLL Log ( BDCMSGCOLL / BAPIRET2 ) | SAP Blogs
ct_params-updmode = ‘L‘.
ct_params-dismode = p_mode.
TABLES
imt_bdcmsgcoll = messtab[]
ext_return = bapiret2.
TABLES
it_return = bapiret2.
With Combination of above two function modules, following desired out put
obtained with out any custom code.
Output:
➕ Always giving a simple search into utility function modules from the standard
SAP Repository is quite a rewarding. you will come out clean with no bug-fixing
and formatting almost every time. 🙂
Alert Moderator
Assigned Tags
https://blogs.sap.com/2014/07/02/display-bdc-messages-bdcmsgcoll-bapiret2-log/ 2/6
08/04/2022 16:33 Display BDCMSGCOLL Log ( BDCMSGCOLL / BAPIRET2 ) | SAP Blogs
ABAP Development
bapiret2
bdcmsgcoll
Executing BDC through Web Dynpro ( BDC Call transaction in Web Dynpro )
By
Former Member Oct 17, 2013
Related Questions
call transaction
By
Former Member Jul 05, 2007
call transaction
By
Former Member Aug 14, 2007
Coffee Corner
Join the new Coffee Corner Discussion Group.
https://blogs.sap.com/2014/07/02/display-bdc-messages-bdcmsgcoll-bapiret2-log/ 3/6
08/04/2022 16:33 Display BDCMSGCOLL Log ( BDCMSGCOLL / BAPIRET2 ) | SAP Blogs
2 Comments
Former Member
July 2, 2014 at 9:51 am
Like 1 | Share
Clemens Li
July 11, 2016 at 9:15 am
RSCRMBW_DISPLAY_BAPIRET2:
No information about message class and number, Type can be guessed from icon
color with ivalid header text 'T'.
https://blogs.sap.com/2014/07/02/display-bdc-messages-bdcmsgcoll-bapiret2-log/ 4/6
08/04/2022 16:33 Display BDCMSGCOLL Log ( BDCMSGCOLL / BAPIRET2 ) | SAP Blogs
No navigation at all.
FINB_BAPIRET2_DISPLAY:
- Displays the (shortened) message text derived from parameters in message table
The great advantage is if you can navigate to the message definition, then do a
where-used-list to find the source code where the message was issued.
Regards Clemens
Like 0 | Share
Find us on
https://blogs.sap.com/2014/07/02/display-bdc-messages-bdcmsgcoll-bapiret2-log/ 5/6
08/04/2022 16:33 Display BDCMSGCOLL Log ( BDCMSGCOLL / BAPIRET2 ) | SAP Blogs
Newsletter Support
https://blogs.sap.com/2014/07/02/display-bdc-messages-bdcmsgcoll-bapiret2-log/ 6/6