Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SAG_CREATE - Item condition validity for schdule lione agreement

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

Dear,

Thanx for response. but i have to create schedule agreement for time independent condition.

Regards,

Santosh

0 Kudos

thanx.