cancel
Showing results for 
Search instead for 
Did you mean: 

Contract as a source of supply in consignment PR

peter_kamenik
Active Participant
0 Kudos

Hello,

we are currently testing a scenario with MRP runs for consingment items. So far we are at the stage of manual testing.

We have set up a WK contract with consignment category items. We have marked it as a fixed source of supply in Source list for this particular material number and plant.

However when creating PR (manually) with K category item, only the info record is chosen as a source of supply.

Strange thing is that when we change the category of this item to "normal", than the consingment contract is proposed as a source of supply.

When we mark the info record for deletion than for a K category we get "no source of supply can be assigned" message.

Can you please advise us what else we can try?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

peter_kamenik
Active Participant

I have debugged the source assigning. The problem was in the form search_ordebuch in the include LMEQRF0R.

There is a check for the customizing (deep down in the form pstyp_knttp) of the contract/PR item types - form check_t161a. The line " K type K type" was missing.

Maybe if we tried to assign the contract directly to the corresponding field in the PR item overview, SAP would give us a message about the missing customizing, however I have figure it out from the code.

Thank you for your effort, Petr

PS: for anyone interested in the right place for breakpoint - its in the include LMEQRF49

Answers (8)

Answers (8)

JL23
Active Contributor
0 Kudos

the special stock indicator is as well not maintainable for me, I just checked it.

However, I looked into the table EORD and found another field EORTP which has a 2 in case of consignment, this is probably automatically assigned based on the referenced contract item. Can you check if this field is filled in your case and which value it has?

peter_kamenik
Active Participant
0 Kudos

Hi,

EORTP is 2 and VRTYP is K.

peter_kamenik
Active Participant
0 Kudos

Change of the date didnt do the trick.

I cant change the special stock indicator..its greyed out (as the rest of the source list detail screen). However I will try to change it in the table directly to see if it is the cause.

Here is the screenshot from the PR.

JL23
Active Contributor
0 Kudos

Can you please try a much earlier from date in the source list, and also provide a screenshot from PR quantity tab.

In the detail of the source list is a field for special stock. I am not on a SAP system tonight, can it be that this should have a K for consignment?

JL23
Active Contributor
0 Kudos

the second screenshot from the bottom confuses me a bit.

I do not see an Item category K, which is then obvious that no contract as source could be found, as your contract item is with item category K

Also it shows already the contract number, but it looks like there is no item number, I think it is a 0 which is hidden behind the button, it should probably be 40

peter_kamenik
Active Participant
0 Kudos

Hello,

the K type item in PR is in the last screenshot.

Previous one is how PR behaves when I use normal type category. And thats the catch...I wouldnt expect here any contract to be found.

The number hiding is 40 even if the match code square seems not big enough to hide two digits.

peter_kamenik
Active Participant
0 Kudos

And here they are all: note that in both PR cases the Source of Supply tab was empty:

peter_kamenik
Active Participant
0 Kudos

PR Creation date is within the validity of the contract. Also the source list validity covers the PR creation date.

Contract validity 10.1.2018-31.12.2020, PR creation - 21.5.2018, source list validity 16.05.2018-31.12.2020

The source of the supply tab is empty.

I have read through the note mentioned and can't find the solutions i.e symptoms fitting our problem.

JL23
Active Contributor
0 Kudos

This would then be the moment to either share screenshots (Source list, contract, PR; you can hide names of product and vendor but please keep the numbers) or to debug.

peter_kamenik
Active Participant
0 Kudos

Here are the printscreens

the rest folllows in separate comment, since I was unable to load more than one printscreen here.

JL23
Active Contributor
0 Kudos

Important for source determination is the validity date in the contract and the creation date of the purchase requisition.

Another importance is the sequence of steps performed in the creation, Q&A 2 from OSS note 457110 - FAQ: Source determination in purchasing explains which fields must not be filled when a source determination should be carried out in ME51N


JL23
Active Contributor
0 Kudos

Had you already tried a quantity contract? Just to isolate the problem, whether it is applicable to all contracts or just value contracts. I personally cannot really imagine how a value contract could ever work for consignments, as the consignment PO does not have a price in standard, the GR is non-valuated, the price is taken from the info record when settling the consumption.

peter_kamenik
Active Participant
0 Kudos

Thank you for your answer, however it behaves the same whether its value contract or not.

We have created an amount contract, change the source list however system still prefers the info record. Contract (with consigment item type) is only proposed if we change the item type in PR to normal.