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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with BDC when creating vendor confirmations

bala_krishna007
Participant
0 Kudos
260

Hello every one,

I want to create vendor confrimations for a PO and since there is no BAPI which can be used to create vendor confirmations and we cannot use ME22N for creation of BDC as suggested by SAP. I had used ME22 for creation of vendor confirmations. The problem now is for some POs its working fine and for some POs there is a pop up as  'Do you want to save your data '?  there is no recording for this pop up and hence its not updating and also there is no error at the BDCMSGCOLL structure please let me know how to proceed.

Thanks,

Balu

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos
145

HI Balu,

although I'm convinced there is something better than BDC in this case, just a hint: The CALL TRANSACTION ends with a SY-SUBRC <> 0 here. You should check not only the bdcmsgcoll but also SY-SUBRC.

Compare the data and try to find the differemce for with or without the confrmation popup. Then, you can add the confirmation sequence to your bdcdata.

Regards

Clemens

5 REPLIES 5

bala_krishna007
Participant
0 Kudos
145

just want to know if there is any way other tha that BDCMSGCOLL captured as in my case BDCMSGCOLL contains only warnings and info messages.

0 Kudos
145

Hi,

The problem is ..

You already said, there is no recording For this type of Po's.

Before proceeding  you have to find out . Which pos are going to give that type of message.

What is the reason behind it . You need to analyse and U just terminate that po in the Bdc.

Clemenss
Active Contributor
0 Kudos
146

HI Balu,

although I'm convinced there is something better than BDC in this case, just a hint: The CALL TRANSACTION ends with a SY-SUBRC <> 0 here. You should check not only the bdcmsgcoll but also SY-SUBRC.

Compare the data and try to find the differemce for with or without the confrmation popup. Then, you can add the confirmation sequence to your bdcdata.

Regards

Clemens

0 Kudos
145

Thanks Clemens Li a sy-subrc check after call transaction solved my issue

0 Kudos
145

Just one last question is the sy-subrc always set to zero when the update was successfull in call transaction. I just tried with few examples for the  BDC call transaction and when the update was successfull sy-subrc is set to zero and when the update is not successfull or if there are any errors the sy-subrc is not zero.

Please confirm if I am right.