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

    Transforming Businesses with AI in SAP ERP

    Discover how Artificial Intelligence is transforming Enterprise Resource Planning (ERP) systems with SAP. Learn about the opportunities, career growth, and practical tips for mastering AI in SAP ERP.

    How Knowledge Graphs Power Next-Generation Enterprise Search

    Enterprise search has a trust problem. Employees type a question into the company search bar and get back a wall of documents that may or may not contain the answer…

    Leave a Reply

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

    You Missed

    Transforming Businesses with AI in SAP ERP

    • By Varad
    • August 13, 2026
    • 9 views
    </strong> Transforming Businesses with AI in SAP ERP</p>

    How Knowledge Graphs Power Next-Generation Enterprise Search

    • By Varad
    • August 13, 2026
    • 8 views
    How Knowledge Graphs Power Next-Generation Enterprise Search

    ABAP RESTful Application Programming Model (RAP): A Complete Guide

    • By Varad
    • August 12, 2026
    • 12 views
    ABAP RESTful Application Programming Model (RAP): A Complete Guide

    Using Business Context to Generate More Reliable AI Insights

    • By Varad
    • August 12, 2026
    • 13 views
    Using Business Context to Generate More Reliable AI Insights

    Mastering SAP Analytics Cloud: Your Guide to Business Intelligence

    • By Varad
    • August 11, 2026
    • 14 views
    Mastering SAP Analytics Cloud: Your Guide to Business Intelligence

    Data Governance Best Practices for AI Projects

    • By Varad
    • August 11, 2026
    • 13 views
    Data Governance Best Practices for AI Projects