06-03-2009 7:20 AM
Hi all,
i have nade a BAPI -BAPI_SAG_CREATE for schedule line agreement. it is running okay for time dependent condition.
but it is giving error " schedule line fortime independent condition is not asllowed"when i am running for the same bapi for time independent condition whereas it is our requiirement.
kindly help.
Regards,
Santosh
06-03-2009 7:25 AM
Hi Santosh,
"When new items are created, only one period can be specified per variable key. This means that one period can be specified for the document header (i.e. condition table A019), for each item (i.e. condition table A016), and for each item/plant combination (i.e. table A068)."
so if you need to create multiple validity, you have to first post with BAPI_SAG_CREATE and then post with BAPI_SAG_CHANGE for the same document.
please also refer to the BAPI document for details
Reg,
Siva
06-03-2009 8:11 AM
Dear,
Thanx for response. but i have to create schedule agreement for time independent condition.
Regards,
Santosh
10-03-2009 7:52 AM