Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Return message in BAPI

manivel
Participant
0 Likes
737

Hi,

I'm using a BAPI BAPI_BILLINGDOC_CREATEMULTIPLE to create invoices from multiple deliveries.

After creating invoices I'm getting return messages in one internal table. This table containing error messages and success messages.

Here I'm not able to classify the error messages. i.e which error messages belongs to which deliveries.

Please have a look at the below screen shot.

In this above table first two rows are errors. How to identify the corresponding delivery numbers for this errors?

Regards,

Manivel S

2 REPLIES 2
Read only

VenkatRamesh_V
Active Contributor
0 Likes
598

Hi Mani,

Hope you passed four entries to  the bapi ?. match the error message row  field with internal table index.

Hope it helpful,

Regards,

Venkat.

Read only

0 Likes
598

Dear Venkat,

It is not returning the error messages in order we are passing entries. I think it is sorting based on message type. Only error messages are coming first.

Is there any other way?

Regards,

Manivel S