Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Doubt about BAPI_CONTRACT_CHANGE

$
0
0

Good morning Gurus.

 

I want to know how to connect an error message that is in the 't_return' to the corresponding item number to generate the ALV for the user.

 

CALL FUNCTION 'BAPI_CONTRACT_CHANGE'

             EXPORTING

               purchasingdocument = v_purchasingdocument

             TABLES

               item               = t_item

               itemx              = t_itemx

               item_text          = t_item_text

               return             = t_return.



For example:T_item has 10 itens and t_return have 2 errors How do I know which of the 10 items are in error.


Please see attach.


Thanks Gurus.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>