Skip to Content

PO Net Price change after Invoice in Service PO


We have created Service PO with item Category "D" and created only Invoice for that Service PO, Not doing any Service entry sheet for that Service PO.

Requirement is that Business want to Short close the service PO, We don't have any "delivery complete ind" in service PO.

Planed to check Invoice value and change the PO Net Price value, We planned to check Header status of PO in that we will get Ordered value and Invoice Value or else EKBE table

If Validity end date reached the current ( system date) then we wil check EKBE table DMBTR field and check is it match EKPO_NETWR , is not we will update Net price with Invoice value in Purchase order.

We have Version Management Active in Purchase order.

Ex: Service PO created for Value 1234 USD and till now we have Done Invoice for 1000USD... Now Validity end date reached today's date then we will make PO value to 1000USD, then it means PO closed .

Thanks and Regards

sapman man

Service PO.png (43.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 10, 2015 at 12:26 PM


    You can display the delivery completed indicator for service PO as well. Go to the path: OLME - Purchase Order - Define Screen Layout at Document Level. Here, select the field selection PT9F and go to details. Double click on "GR/IR Control" and maintain the delivery completed indicator as optional.

    Check the service PO again. You could find the delivery completed indicator in the item.



    pastedImage_1.png (30.5 kB)
    12.png (15.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2015 at 03:51 PM


    Kindly bring the delivery complete indicator first and put the check as per your requirement in following BADI "ME_PROCESS_PO_CUST".


    Karna J

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      I have written the logic like this

      If PO Type is NB and line item has item category as "D" (EKPO-PSTYP=D) and check EKKO-KDATE - system date

      Check EKBE-EBELN (PO Number). and EKBE-EBELP( PO line item) If found check

      EKBE -EBELN ( PO Number ) and EBKE-EBELP( Po Line item) Select EKBE-DMBTR ( sum of Amt in Loc currencey) where EKBE-BEWTP=Q , EKBE-SHKZG=S , and EKBE-VGABE="2" and "3".

      Select EKBE-DMBTR , where EKBE-BEWTP=Q, EKBE-SHKZG=H and EKBE-VGABE="2" and "3" , sum of DMBTR value Substarct EKBE-DMBTR (EKBE-SHKZG=S) -EKBE-DMBTR(EKBE-SHKZG=H) if We found +ve DMBTR then compare with EKPO-NETWR where EKPO-EBELN and EKPO-EBELP. then change EKPO-NETWR value in Purchase order.

      If Sum of DMBTR value found Zero then no need to change NETWR value from EKPO

      If it is -ve DMBTR value found then no need to change NETWR value from EKPO.

      Because we are short closing Service PO , making PO value same as Invoice value then automatically PO close.

      We did not have "Delivery complete ind" in service PO where we are using field selection "ZNBF"


      sapman man

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.