Application Development and Automation 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: 
Read only

Schedule Agreement conditions checking when post

Former Member
0 Likes
2,293

Hi all ,

I want to check time dependent conditions changes when Schedule agreement is posted in change mode. I cheked a lot of userexit or badi but i can not reach conditions in SAP program.

My purpose that i want to give permision only changing of last condition record of A016 or schedule agreement.

How can i figure it out ?

Regards.

M.Ozgur Unal

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,914

I'm very much confused about the "purpose" part (A016 looks like a condition table, why would you check any authorization in the scheduling agreement?) but all the general ways to find a BADI / user exit have already been described on SCN and can be found in Google. If none of them worked then I'm afraid the only possibility would be an enhancement.

Although you might want to review the requirements as this looks rather odd IMHO.

I'm very much confused about the "purpose" part (A016 looks like a condition table, why would you check any authorization in the scheduling agreement?) but all the general ways to find a BADI / user exit have already been described on SCN and can be found in Google. If none of them worked then I'm afraid the only possibility would be an enhancement.

Although you might want to review the requirements as this looks rather odd IMHO.

4 REPLIES 4
Read only

former_member183424
Active Contributor
0 Likes
1,914

Not sure, but try this ME_DEFINE_CALCTYPE

Read only

Former Member
0 Likes
1,914

I tried but not working because of schedule agreement .

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,915

I'm very much confused about the "purpose" part (A016 looks like a condition table, why would you check any authorization in the scheduling agreement?) but all the general ways to find a BADI / user exit have already been described on SCN and can be found in Google. If none of them worked then I'm afraid the only possibility would be an enhancement.

Although you might want to review the requirements as this looks rather odd IMHO.

Read only

Former Member
0 Likes
1,914

Hello Jelena Perfiljeva ,

I want to clarify you. My requirement details like that :

Schedule agreement is created with LPA doc type and time dependent prices are filled out. A016 contains more than one condition record besed on validity periods like a screenshot .

However, we use schedule agreement release strategy and we wanna reset release strategy when target value is changed. Target value is calculated with userexit. Calculation logic that read the last price of A016 (last condition record) defined and calculate target value if item doesn't have deleted .

Target value = item quantity X last prices of item.

But we have some problem. In this scenerio; user can change prices that previously defined validty like a 170317-190317.

If it is done, release strategy will not be reset that's why we want to check A016 records and XKONP table record of schedule agreement.

User only change last price. If they wanna change previous, they have to delete last record or define after this validty.

For this purpose, i need an exit or badi to check when schedule agreement is saved.

Also, we might get an advises from jrgen.lins , akpt.777 .

Regards.

M.Ozgur Unal