2011 Sep 02 7:33 PM
Hi,
I was trying to create scheduling agreement through the Bapi BAPI_SAG_CREATE, but I got an error as
"Not possible to determine shipping data for material " <material number>.
However, with the same set of data I can create it manually in the tcode ME31L. Can anyone please help me on this.
Regards,
Ravi Kishore
Hi,
I was trying to create scheduling agreement through the Bapi BAPI_SAG_CREATE, but I got an error as
"Not possible to determine shipping data for material " <material number>.
However, with the same set of data I can create it manually in the tcode ME31L. Can anyone please help me on this.
Regards,
Ravi Kishore
2011 Sep 02 7:43 PM
2011 Sep 02 7:56 PM
Thanks Shiva, but the Answer for my question doesn't exist in your link.
Regards,
Ravi Kishore.
2011 Sep 02 8:03 PM
2011 Sep 03 3:17 AM
Hi Ravi,
Check the links given in the four thread.I think better to check with configuration.Check all these and post.
Regards,
Madhu.
2011 Sep 03 2:52 PM
Thanks for your links,
I tried everything in the links but nothing really worked.
Also we are not getting this error while creating either STO, PO or SO, but while creating Scheduling Agreement(SA) and that too via BAPI_SAG_CREATE, and we are not getting this error during manual creation via ME31L.
Regards,
Ravi Kishore.
2011 Sep 03 3:31 PM
Hi,
If possible, Could you please debug the code of BAPI by setting break point at MESSAGE and check the details.
SHiva
2011 Sep 03 3:56 PM
I did try that, the message is called in only two programs,
MM06EFPV_PTV_FUELLEN
MM06EFPV_PTV_FUELLEN_RETOURE_F
but our BAPI doesnt stop there, even after putting the break-point inside this includes.
In BAPI, I couldnt find this error, as these BAPIs are fully equipped with Methods & BADIs.
Regards,
Ravi Kishore.
2011 Sep 05 8:05 PM
Hello,
Thanks every one for your suggestions, we have found the issue.
The Test vendor which we are using to create scheduling agreement was modified.
In the Purchasing screen, Additional data, plant XXXX was assigned to the vendor, Therefore, when creating the SA, the system was trying to ship goods from plant XXXX instead of buying them from an external supplier.
As we removed this assignment, it worked.
Issue closed.
Regards,
Ravi Kishore.