Skip to Content
avatar image
Former Member

How to ignore pegging from a process order in APO?

Hi! Experts,

I have an requirement in APO 4.0 that I need to make process orders not relevant for pegging i.e. since the process order gets automatically pegged to the newly created demand elements. I need to ignore pegging for some specific supply elements (process orders).

I have found the BAdI /SAPAPO/RRP_PLANNING which gets called when a Heuristic Run is done from a Product View. Also, I have found internally that if the PEG_ID of a Process Order is removed programmatically a new Plan Order gets created of the same quantity. However, the old Process Order still remains pegged with the Demand Element & the newly Plan Order does not get pegged to the Demand element.

Please help me with this issue as I am new to APO ABAP.

Also, please revert with your valuable suggestions or in case you require any further information on the same.

Thanks in Advance


Mistry Wasim

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 11, 2009 at 10:11 AM

    In the product master

    go to demand tab

    go to pegging tab

    there is a check box 'deactivate dynamic pegging'. Tick this check box. It should solve your problem.



    Add comment
    10|10000 characters needed characters exceeded

    • we did not remove pegging.

      What you want is as follows

      Requirement = 100

      Stock =10

      Process order released = 30

      Normally this process order will get pegged with requirement and Net Planned order will get created for 60

      You want the pegging not to be considered and planned order to be created for 90.

      If this is so, the method suggested by me will work. Here you won't remove pegging but achieve same result by adding the process Order quantity to the net quantity.


      I may not have exact logic in which it was done.


  • avatar image
    Former Member
    Jul 12, 2009 at 03:11 AM

    Hi Mistry Wasim,

    You can try running heuristic SAP_PP_011 which is for Delete Fixed Pegging Relationships

    for certain specific products for the suitable order categories.

    This heuristic uses the algorithm /SAPAPO/HEU_PEG_FIX_DELETE_NEW

    Here you can configure your horizon and categories for pegging for both

    requirements and receipts.


    R. Senthil Mareeswaran.

    Add comment
    10|10000 characters needed characters exceeded