2016 Mar 18 2:40 PM
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
2016 Mar 19 1:38 PM
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
2016 Mar 18 2:51 PM
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.
2016 Mar 18 3:44 PM
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.
2016 Mar 19 1:38 PM
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
2016 Mar 21 7:51 AM
Thanks Clemens Li a sy-subrc check after call transaction solved my issue
2016 Mar 21 8:50 AM
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.