cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase Requisition missing in SO item schedule line

teodora_popova
Explorer
0 Kudos

missing-pr.jpgWe create Purchase requisition automatically upon SO save. After Upgrade ERP EHP7 SPS21 we see cases where Purchase Requisition is not created. The field Purchase Requisition number in SO item, tab Schedule line is blank, however there is a purchase requisition item. The SO is complete.

There are 2 types of issue:

1. PR doesn't exist in tables EBAN, EBKN (logically also not in VBEP)

2. PR exists in EBAN, EBKN but not in VBEP

We have searched through OSS notes without success. All ideas will be highly appreciated.

The config of the schedule line category is:

Sched.line cat. ZF Sales shdline frw

Delivery block

Movement Type

Movement Type 1-Step

Order Type NB Purchase requisition

Item Category 0 Standard

Acct Assgt Cat. C Sales order

Update Sched. Lines No Update

Snapshot of the schedule line is attached.

teodora_popova
Explorer
0 Kudos

The issue exists only in SO create mode and in limited cases. In debug it is seen all data looks correct, however at Save the PR is not stored correctly. Seems an issue with the timing of the SO item and PR save (the PR save overrides the SO item save ?).

teodora_popova
Explorer
0 Kudos

In addition we see one SO item is linked to 2 different Purchase requisitions in EBKN

Accepted Solutions (0)

Answers (4)

Answers (4)

Shouyan
Discoverer
0 Kudos

Hello Teodora,

Have you solved this issue? We meet the same situation with you. After the upgrade of EH7 SP26, the PR is always missing randomly in third-party sales order...

It is so weird. 

Looking forward to your good idea.

BRs

swapnil_rane
Explorer
0 Kudos

Hi Teodora,

Did you find reason behind this behaviour? I am observing the same issue for few of the TAS items, schedule line cat is flipped but no PR# generated.

As soon as I go to VA02 and just press 'SAVE' there is PR number generated.

Not sure if it is any kind of system refresh/update issue.

Appreciate if you can share how you navigated through this

teodora_popova
Explorer
0 Kudos

The issue happens randomly for a small number of SOs (around 5% of all). Here is a snapshot of the schedule line category.

It is clearly an inconsistency in tables. We reckon it has to do with the update/work processes (seems PR save precedes the SO item save)

Lakshmipathi
Active Contributor
0 Kudos

Not sure, whether this issue comes for all orders or randomly. Also, you have not shared the full configuration details for schedule line category.

Apart from Account Assignment Category, have you maintained Order Type and Item Category fields also ? If so, what is maintained. With the standard NB and 5 respectively, system will trigger PR once the sale order is saved.