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

How to retive Vendor code in autogenerated vendor code in bdc

Former Member
0 Kudos

Hi All,

I have written BDC for the upload of vendor master table . The Vendor no is automatically generated . The entire data is uploaded but i am unable to retrieve the vendor No while running the BDC session. Now how to capture vendor no through program

I have used the Get parameter but still i am unable to retrieve the vendor no.

Point will be provided if i get the solution.


Active Contributor
0 Kudos


you can find the vendor number (newly created one) in message table .

call transaction 'TCODE' message into it_msg..."check the syntax.

look for success message.

loop at it_msg where msgtyp = 'S'.
"look for success you can find


Former Member
0 Kudos


After each call, bdc returns messages which are populated in table of type bdcmsgcol. This table is specified in 'CALL TRANSACTION' statement. Loop this table to find msgtyp 'S'. This will contain vendor number created.