‎2011 Aug 30 8:03 PM
Hi,
I'm getting the below error while using using BAPI_SAG_CREATE :
No instance of object type PurchSchedAgreement has been created. External reference: # 1
I'm trying to cerate scheduling agreement. If anyone has worked on similar issue, plz advise.
Thanks
‎2011 Aug 31 2:07 AM
Hi Kishore,
This is a not issue with Bapi. Just show this message to your functional consultant. They will tell what fields are missing.Post still if there is any issues.
Regards,
Madhu.
‎2011 Aug 31 6:22 AM
Hi Ravy,
The error, 'No instance of of object type PurchSchedAgreement has been created' is not the actual error. The Return table willhave multiple lines of error. So, if you can post all the lines of the Return Table, then, it will be of greater help.
If the error is about an External reference, then, you need to check with your Functional Consultant about the need for the same. If required, you might have to pass that data to the BAPI. Maybe the coding is perfect, and you are getting a Functional related error.
Regards,
Pranav.
‎2011 Aug 31 11:34 AM
Guys,
Even Functional Guy doesnt know what this error is, in BAPI Return, I am getting only this error. In BAPI Return table, I am getting only this error.
Regards,
Ravi Kishore.
‎2011 Aug 31 12:56 PM
Hi Ravy,
In such a situation, you will have to compare the data that you pass in the Transaction for Creating a Scheduling Agreement and the data that is being passed to the BAPI.
Ideally, even that would be in sync. I had faced this issue in PO BAPI and was able to resolve it as I found a change indicator flag in 1 of the table parameters which resolved the issue. It's quite tedious to locate the field, but, still should be helpful. Also, I know it would be huge, but, if your could post your code, it can be of some help.
Regards,
Pranav.
‎2011 Sep 19 5:33 PM
Yes its related to change indicators...while passing to the BAPI, we have one record in item table and 2 records in itemx table..one got deleted in between..due to this we were getting this error.
Thanks for everyone.
Regards,
Ravi Kishore.