Skip to Content
-2
Former Member
Sep 02, 2023 at 12:57 AM

How to get a BAPI return message in ABAP while it is not returning as a parameter?

287 Views Last edit Sep 04, 2023 at 05:38 AM 2 rev

Hi experts, hope you'all are doing really good!!

I came here with a question since I'm still new on ABAP, the question is:

How to get a BAPI header return message in ABAP program since the BAPI is not returning back this message variable in the importing parameter variables or in changing variables in ABAP when calling this BAPI,,, but when testing the BAPI in SE37 TCode it shows it in the header section..

Hope anyone can help me or give me any idea how to solve it, thanks in advance.

Have a good one!!

The highlighted message in yellow is what i wanna get/catch in ABAP program and show it to users:

This is the name of the BAPI: MEASUREM_DOCUM_RFC_SINGLE_001

image.png

Attachments

image.png (158.3 kB)
image.png (158.3 kB)
image.png (158.3 kB)
image.png (158.3 kB)
image.png (159.1 kB)
image.png (147.2 kB)