Single Popup Instead Multiple Popup for BAPI Return and Custom Messages

Get practical on Single Popup Instead Multiple Popup for BAPI Return and Custom Messages. ABAP RAP, ABAP Cloud, ABAP Discs, ABAP Programming interface and so on are the trendy expressions for ABAP Designers in 2021. However, while working in genuine undertaking, you actually need the premise ABAP which are basic yet exceptionally helpful. What’s more, this article is about my learning and discoveries of some valuable capability modules and message types for showing a few messages in the Spring Up.

Send e-mail with subject line greater than 50 characters

Situation: Necessity was to make a client program which will make outbound conveyance or change the outbound conveyance and do the post products issues relying on deals request and different information as contribution from record and show the reports with progress and
disappointment messages. In the wake of handling information from record only one popup box should have been shown for various mistake/achievement messages. Single Popup Instead Multiple Popup for BAPI Return and Custom Messages.

Arrangement: BAPI_OUTB_DELIVERY_CREATE_SLS, WS_DELIVERY_UPDATE_2 and BAPI_OUTB_DELIVERY_CHANGE are utilized for creation/change the outbound conveyance and to do the Post Products Issue (PGI). The return messages will get caught in underneath featured interior tables – LT_RETURNS, LT_PROT

To show the mistake message as popup I looked through some capability modules like POPUP_DISPLAY_MESSAGE and OXT_MESSAGE_TO_POPUP yet those didn’t meet my necessities. To show all custom messages I found one appropriate capability module, that is C14Z_MESSAGES_SHOW_AS_POPUP.

Gather all message from featured inside tables LT_RETURNS, LT_PROT and set up the last inner table LT_MSG_TAB in arrangement of ESP1_MESSAGE_TAB_TYPE. Attach to last interior table LT_MSG_TAB

Also Read | What is SAP course
Also Read | What is SAP course

Returning to our subject. What to pass in message id and message number in the event of custom message? There is a stunt. Pass ‘E4’ as message id and 000 as message number and we are finished.

Last step is to pass inner table LT_MSG_TAB with message to work module C14Z_MESSAGES_SHOW_AS_POPUP.

Single Spring Up for different messages is prepared.

This is my most memorable attempt to share my insight in any gateway. I get it, this is an extremely straightforward post for some, yet I trust novices will think that it is helpful. All things considered, each think need not be on-cloud or fiori. Many will in any case make due with the absolute minimum in SAP and ABAP.

YOU MAY BE INTERESTED IN

How to Show the ALV Output and the Selection Screen on the same Screen?

Selective Handling of the Buttons in ALV Grid Toolbar

SAP S/4HANA EWM-Advanced Production Integration

Robotic Process Automation for SAP

  • Related Posts

    SAP ABAP Best Coding Practices for Freshers

    Many freshers start learning SAP ABAP by writing small reports and programs.But when they join real projects, they quickly realize that companies do not only look for working code. They…

    Most Common SAP ABAP Mistakes Beginners Make

    Starting a career as an SAP ABAP developer is exciting, but the early phase is also full of hidden risks. Many beginners focus only on learning syntax and writing programs…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    SAP ABAP Best Coding Practices for Freshers

    • By Varad
    • April 27, 2026
    • 271 views
    SAP ABAP Best Coding Practices for Freshers

    Most Common SAP ABAP Mistakes Beginners Make

    • By Varad
    • April 26, 2026
    • 234 views
    Most Common SAP ABAP Mistakes Beginners Make

    SAP Automation vs Manual Testing: Career Comparison

    • By Varad
    • April 25, 2026
    • 257 views
    SAP Automation vs Manual Testing: Career Comparison

    Can ChatGPT Help in Learning SAP ABAP

    • By Varad
    • April 24, 2026
    • 168 views
    Can ChatGPT Help in Learning SAP ABAP

    How to Build a Business Case for SAP Automation ROI

    • By Varad
    • April 23, 2026
    • 428 views
    How to Build a Business Case for SAP Automation ROI

    External Debugging of an Application of another SAP User in another Location in another Machine/System

    • By Varad
    • April 12, 2026
    • 97 views
    External Debugging of an Application of another SAP User in another Location in another Machine/System