Skip to Content

Controlling the output when purhcsae order item is deleted

HI

Here is our scenario, we have two outputs automatically determined ( by condition records) when a purhcase order is changed, now when we delete the purchse order item we want only one put type to be triggered and not the other one.

NEU - When the PO line item is deleted we want trigger this output

NEU1 - When the PO line item is deleted we dont want to trigger this output

Obviously we cannot use "Fields Relevant to Printouts of Changes" config to deactivate the EKPO-LOEKZ field as it impacts both the outputs.

Is there a way to achieve this?

Thx,

Krishna.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on May 04, 2011 at 04:24 PM

    You have to assign a Requirement in the output type.

    Then you have to use the Abaper and change the Requirement as per the way you wanted to trigger the output.

    Go to the Maintain Message Determination Schema: Purchase Order --> Select the Procedure.

    Then in NEU1, assign a requirement which is changed by the Abaper.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Mohan,

      Thanks for the reply, we did try to use that requiremnet option but then how do you know if the purchase order item is being deleted? You have this field in the routinue KOMKBEA-DRUVO which gets pouplated with '2' means change.

      Obviously you cannot do a select query on EKPO because the PO is not yet updated at this point of time.

      Thx

      Krishna.

  • author's profile photo
    Former Member
    Posted on May 04, 2011 at 01:57 PM

    you need to work on consulting solution for this

    Add comment
    10|10000 characters needed characters exceeded