Skip to Content

Schedule Agreement conditions checking when post

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 29, 2017 at 07:26 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2017 at 05:05 AM

    Not sure, but try this ME_DEFINE_CALCTYPE

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 27, 2017 at 06:19 AM

    I tried but not working because of schedule agreement .

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2017 at 08:05 AM

    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 Jürgen L , PRASOON AK .

    Regards.

    M.Ozgur Unal

    Add comment
    10|10000 characters needed characters exceeded