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.

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

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

    NEW Operator – Single Value for All Data Types

    In the past post, we showed that NEW Administrator is one of the improved elements in EhP7. Here, we would see the use of NEW Administrator for Single Incentive for…

    Hello SAP EhP7 !!

    As per SAP news, SAP Upgrade Bundle 7 for SAP ERP 6.0 contains in excess of 750 business capabilities. The key new elements are SAP Fiori, MRP runs, and information…

    Leave a Reply

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

    You Missed

    NEW Operator – Single Value for All Data Types

    • By Varad
    • May 12, 2025
    • 23 views
    NEW Operator – Single Value for All Data Types

    Hello SAP EhP7 !!

    • By Varad
    • May 11, 2025
    • 17 views
    Hello SAP EhP7 !!

    A to Z of OLE Excel in ABAP 7.4

    • By Varad
    • May 10, 2025
    • 31 views
    A to Z of OLE Excel in ABAP 7.4

    Creating Dynamic Internal Table

    • By Varad
    • May 9, 2025
    • 39 views
    Creating Dynamic Internal Table

    Dynamic Where Condition usage in Database queries

    • By Varad
    • May 8, 2025
    • 40 views
    Dynamic Where Condition usage in Database queries

    Pop Up Debugging [ROBO 2.0]

    • By Varad
    • May 7, 2025
    • 44 views
    Pop Up Debugging [ROBO 2.0]