cancel
Showing results for 
Search instead for 
Did you mean: 

PO Net Price change after Invoice in Service PO

former_member225044
Active Participant
0 Kudos

Hi,

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

Accepted Solutions (1)

Accepted Solutions (1)

Prasoon
Active Contributor
0 Kudos

Hi,

   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.

Regards,

AKPT

former_member225044
Active Participant
0 Kudos

We  are using STD Document type for both Std PO and Service PO. where we were used  Z field selection where "Delivery complete Ind" active in field selection.

We are creating service PO  with doc type "NB" with item category "D"  then we will not get "Delivery complete Ind" field

When we creating Std PO with Doc type "NB" with Blank item category then we will get "Delivery complete ind"

former_member183424
Active Contributor
0 Kudos

Item category depend on a field selection. As you are using item category D, so you need to check the field selection PT9F although you are using z document type or even z field selection.

Using item category D, system will always check the field selection PT9F first.

Prasoon
Active Contributor
0 Kudos

Hi,

   The field selection key PT9F is item category (D) specific and its standard. You have to maintain the "Delivery Complete" indicator optional for PT9F itself - then only it will show for service item category. It has nothing to do with the document type field selection group.

   Please maintain the "Delivery complete" indicator as optional for the field selection key PT9F and test the scenario again.

Regards,

AKPT

former_member225044
Active Participant
0 Kudos

Hi,

we are using  Document type "NB" for both Std and Service PO,

Now shall we change Assignment of NB to field selection ZNBF, to PT9F is it create any problem.

as per our above screen shot ZNBF is already have Optional field in Delivery complete Ind.

Note: If suppose we changed ZNBF (NBF) to PT9F is it change any fields in PO level.

sapman man

former_member225044
Active Participant
0 Kudos

Hi,

As compared to NBF to PT9F field selection entries so many fields are changes when we compare both the field selection in T162.

Ex: In NBF field selection Account assignment is Optional

     In PT9F field selection account assignment is Display.

like so many fields are changes.

Thanks and Regards

sapman man

Prasoon
Active Contributor
0 Kudos

Hi,

   No need to change the assignment of ZNBF to NB doc type. You just make the field as optional for the field selection key PT9F and test the scenario. There is no assignment required for PT9F, since its hard coded in the program itself.

Regards,

AKPT                   

former_member225044
Active Participant
0 Kudos

I have  made "Delivery complete Ind"  optional in PT9F field selection and not assigned or changed existing Field selection and document assignment.

Created Service PO and we got delivery complete Indicator in Service Purchase order.

Is it create any problem because we have using same document type for some interface also.

Thanks and regards

sapman man

Prasoon
Active Contributor
0 Kudos

Hi,

   It wont create any problem. The PT9F assignment is hard coded in the program itself and its standard design.

Regards,

AKPT

former_member201529
Active Contributor
0 Kudos

Dear AKPT,

Instead of confusion better go with new document type for service PO (ZNB) and do the process accordingly.

Regards,

Karna J

Prasoon
Active Contributor
0 Kudos

Hi,

   Even if you go for different doc type, the serviceitem category specific field selection has to be done in the field selection group PT9F only!

Regards,

AKPT

Answers (1)

Answers (1)

former_member201529
Active Contributor
0 Kudos

Hi,

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

Regards,

Karna J

former_member225044
Active Participant
0 Kudos

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"

Thanks

sapman man