2012 Jun 20 3:32 PM
Hi Gurus,
I am using BAPI_SCHEDULE_MAINTAIN to change the schedule line delivery date and schedule line quantity, while i was changing using t-code ME38 it is changing but while using the above mentioned BAPI i am getting the below error,
"Instance PurchSchedagreement of object type <schedule agreement no> could not be changed"
Kindly help on this.
Thanks and Regards,
Karthik Mohan.
Hi Gurus,
I am using BAPI_SCHEDULE_MAINTAIN to change the schedule line delivery date and schedule line quantity, while i was changing using t-code ME38 it is changing but while using the above mentioned BAPI i am getting the below error,
"Instance PurchSchedagreement of object type <schedule agreement no> could not be changed"
Kindly help on this.
Thanks and Regards,
Karthik Mohan.
2012 Jun 20 7:06 PM
Hello ,
Are you using this bapi in SE37 or in program. Can you please check if you are commiting either by calling bapi BAPI_TRANSACTION_COMMIT or by commit?
Thanks
Amber
2012 Jun 21 7:05 AM
Hi Amber,
We are using this BAPI in a Program, we are using BAPI_TRANSACTION_COMMIT for commiting.
But the Bapi "BAPI_SCHEDULE_MAINTAIN" only returned the error message.
"Instance PurchSchedagreement of object type <schedule agreement no> could not be changed"
Kindly advice.
Thanks,
Karthik.
2012 Jun 21 9:02 AM
does a manual change via the usual transaction work? or do you get there an error?
2012 Jun 21 9:33 AM
Hi Jurgen,
I am able to chnage it manually & there is no error message when I change it.
2012 Jun 21 9:38 AM
browsing thru all the discussions about the same problem gives me the impression that you should see at least 2 lines of error messages in the return table.
the line you posted is the overall status,
further lines will describe the individual errors.
2012 Jun 21 9:40 AM
The other error message was "Quantity delivered smaller than quantity ordered", but when we checked the Schedule lines it was correct and we didn't find any problem in Scheduled Qty.
2012 Jun 21 5:55 PM
I am certain that you have to focus on this message.
maybe you missed to submit a value or an indicator in a field (or you submitted it while it should be empty).
Unfortunatly I never loaded schedules agreements, none of our 500 plants is using this, so I have no experience here.
2012 Jun 21 9:34 PM
moved to ABAP Connectivity, hoping to get more attention here.
2012 Jul 02 10:27 AM
Still I am not able to resolve this error...Hope some one can help me out...Thanks for your reply..
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |