cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of PR with certain Doc type from MRP

Former Member
0 Kudos

Hi,

My requirement is for creating Auto STO. PR's are getting through MRP and I want them to be converted to a specific PO Document Type.

I have created new PR Document type and assigned this to newly created MRP Group in Tcode OMDT and in PO Document type, I have made it to create only the specific PO Document Type. I have my Source List and info record in place and tagged MRP group to the material which I am using.

Now the problem Part :

When the MRP is run ( I am not expert at MRP), Most of the times PR document type is getting created what I am desired but source of supply not being pulled (I have only one source in the source list and MRP is been selected as 1)

And surprisingly if I change the validity period to a year before in source list and run MRP, then source list is determined properly but not document type.

I am confused how its happening.

Master Data, configuration from MM side looks fine to me. But not able to understand anything from MRP is creating an issue...Please help on this


Accepted Solutions (0)

Answers (3)

Answers (3)

former_member185450
Active Contributor
0 Kudos

Dear Sreekanth,

While running the MRP system will check the material master data first i.e. Procurement type, MRP Type and lot size, Quota usage and MRP Group. here especially MRP Group is used for capturing the PR Document type

if the procurement type is F/F30 /F40 then system will check the info record for this material combination who is vendor (if one or multiple)

then system will check the Source list (Here source list should be valid as per the info record and will maintain the MRP Relevant ) here system will confirm that which vendor combination it has to generate the proposals

lly if you maintain the Quota usage in the material master and Lot size then it will check the quota percentage for each vendor by considering the source list MRP Relevant vendors combination

Regards,

Venkatesh..

Former Member
0 Kudos

Hi Venkatesh,

The Procurement type I am using is F. I have assigned this material , my new MRP Group which I have created (which would pickup new PR document type).

When I create the PR manually from ME51N, the source is picked perfectly ( As I have only one source list and one PIR for this material)

When I run my MRP, new PR document is picking up perfectly but source of supply is blank, because of which I cannot covert this PR to PO automatically.

But if I change validity period on my source list lets say from last year, the PR document type is NOT picked correctly when MRP is run but source picked correctly. Its pretty confusing

Regards,

Sreekanth


JL23
Active Contributor
0 Kudos

Please give real examples and do not just say "But if I change validity period on my source list lets say from last year...."

You already found out that it has something to do with the validity dates, so it would make a lot of sense to post the exact dates that you have in your source list along with the requirements date.

for detailed info check OSS note 109380 - Add. info: Validity source list/quota arrangement for MRP

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Regarding the validity issue, take a look on point 2 of the document .

You have also mentioned that when the vendor is selected, a different requisition type is used. You should consider that on the MRP group customizing it is possible to define different document types for subcontracting or stock transfer requisitions. So, if the vendor selected is another plant, for example, the document type determined for stock transfer on customizing will be used.

If this information does not help you to solve the issue, please share screenshots of the customizing, source list and the requisition.


Regards
Caetano

Former Member
0 Kudos

I tried many ways, and at
present I have below problem documented

Inter company STO ,  Plant XXXX is generating MRP in company code
1234 to procure materials from Plant YYYY which is company code 4321. I am
using custom PO Document type ZINT which is copy of NB.

    1. I want to make AUTO PO process

    1. For that I have Created new MRP Group ZZZZ , New PR Document Type
           ZINT (PO Document Type also ZINT)

    1. Assigned MRP Group ZZZZ in Material master for the material

    1. In PR Document type, I have kept only Item category as Standard but
           still MRP is creating U as its taking the details of different plant and
           treating this as STO [ I am fine with this at this point. Will check or
           come back once the main one is solved ]

    1. MRP is creating PR properly with Document type

    1. But When I try converting PR, the company code data showing as Blank
           and PO not getting created

OMDT

Earlier I have not assinged
under Doctyp ST my new PR type.

Material master MRP1

MRP group in material master
and top OMDT setting both are same

Source List :

Purchase Inforecord :

MRP Generated correctly with correct Vendor code.

Auto Created PR is not having any source vendor. But when I
can create PR manually with Tick on Source Determination, its picking up Fixed
Vendor, info record. But again when I try converting to PO I am getting company
code problem

JL23
Active Contributor
0 Kudos

Honestly, I have no desire to dig deeper into that.

Why? Because the story changed.

You initially talked about an issue to get the right document type, and that this was depending on the date. This part totally vanished now.

Now your story is about "company code data showing as Blank"

you added a lot screen shots, but none with the problem

And looking at the screenshots....the most important fields are erased, how can you expect strangers to validate your data, to solve your issue, if you don't even give a piece of information that can be validated.

Good luck

Former Member
0 Kudos

Hi Jurgen,

I did not mean to change the course all of a sudden.

I have created a new material with new MRP and started investigating from my side after posting the article and found there is an issue on OMDT as I have not put ZINT under DocType ST. And earlier materials which I have used were given by planning team to me and their data was totally tweeted in development server

After the OMDT setting and new material usage the problem is changed totally.

Hence I posted the current situation of the problem with screen shots.

I do understand, I erased most of the information. If you can see I have mentioned what values were there in those positions clearly.

And If you need any further information I can provide.

JL23
Active Contributor
0 Kudos

As a general rule, just one question per thread, the content in the body should have a relation to the subject. If the question is answered, either by a user or by yourself, then the question should be closed. In case you found the answer yourself you should update the discussion with the solution.

If you get new problems then you should open a new question. This is less confusing for the people, as they do not need to read countless replies until they understand the problem or know that the first 50% are not related to the current question at all.

To your question: I am not aware of any customizing where a document type could control the appearance of a company code.

This is usually to do with assignments plant to company or purchasing organization to company or plant.

And I expect the same issue for any document type.

pardhreddyc
Active Contributor
0 Kudos

Dear,

Did you check the valid from date of material in MRP 1 view.

Coming to automatic p.o as you mentioned above,

1) Activate "Automatic P.O" in material master "Purchasing" view.

2) "Automatic purchase order" must be flagged in the control data for the purchasing data.

3) Info record must be maintained for respective combination of material and vendor.

Note:

In info record "general data" tab we have option of supply option "Availlabe from & available to".If you make use of this field, you do not have to maintain numerous source list entries.

Hope this may help you to analyze your situation.

Regards,

Pardhu

Former Member
0 Kudos

Hi Pardhu,

All the setting are in place.

In my source list, I have only one vendor and for which its marked for MRP

Regards,

Sreekanth

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

Check material master settings details with MRP Group in it which assigned to plant and PR document type.

Regards,

Biju K

Former Member
0 Kudos

Hi Biju,

Configuration is in place and Material master is updated with correct MRP Group already.

Regards,

Sreekanth