cancel
Showing results for 
Search instead for 
Did you mean: 

Run MRP by vendor

0 Kudos

Hi,

Do you know if there is any way to run MRP by vendor ?

We would like to define for a planning run only material of a particular vendor.

Thanks,

PYR

Edited by: Pierre-Yves Ryckwaert on Apr 7, 2008 2:49 PM

Accepted Solutions (0)

Answers (5)

Answers (5)

nmirandaghn
Participant
0 Kudos

I suggest you use 'MD01' specifying using a user-exit (created in customizing) and a user-exit parameter. First, you create a user-exit in the customizing, then with the help of an abaper you program the exit 'EXIT_SAPMM61X_001' where you  code something like this:

clear: no_planning, stop_planning.

   case user_key.

    when 'ZVE'. " Your user-exit

       data wa_lfa1 type lfa1.

       data lv_lifnr type lifnr.

       if user_par is initial. " Stop planning if user parameter is not specified

         stop_planning = 'X'.

       else.

         move user_par to lv_lifnr. " This is the user-exit parameter

         call function 'CONVERSION_EXIT_ALPHA_INPUT' " Convert the vendor code

           exporting

             input         = lv_lifnr

           importing

             output        = lv_lifnr.


         select single * from lfa1 into wa_lfa1 where lifnr eq lv_lifnr. " Verify that vendor exists

         if sy-subrc ne 0. " ¿Doesn't exist? then no planning

           stop_planning = 'X'.

         endif.

When you execute 'MD01' you specify user-exit = 'ZVE' and user-exit parameter = 'the vendor code'.

Hope it helps.

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Transaction MDW1 belongs to retail. You can find more information on note:

https://bosap-support.wdf.sap.corp/sap/support/notes/1697649

BR

Caetano

Former Member
0 Kudos

Hi

MRP can be run at following levels by activating MRP Area,

Plant Level

Storage Location Level

Subcontract vendor

If you want to run at subcontract vendor level, You should

do following steps.

1. Create MRP Area at subcontract level and assign your

subcontract vendor to MRP Area.

2. There is a program convert planning file entry to mrp area level.

Post this issure in PP thread, You will get clear idea and steps

to need.

Careful before activating MRP Area, Once this done cannot

be revert.

Regards,

RRS.

0 Kudos

Are MRP areas connected to MDW1 ? Or is it possible to use MDW1 without MRP areas ?

Former Member
0 Kudos

Hello,

You can run MRP by Vendor using transaction MDW1.

Thanks,

Venu

0 Kudos

MDW1 is exactly what I want... but doesnt work for me !

I can execute the transaction but nothing happend.

Any idea why it doesnt work ? I am using ECC 6

Former Member
0 Kudos

Hi

I am working in ECC6. I run this code its working to me. what is the message came when u run it?

Regards

S.Anbu

0 Kudos

Thanks for replying,

I got the following message :

"No materials found for planning".

When I run MRP with MD01, it found materials for the vendor I used in mdw1.

former_member651421
Contributor
0 Kudos

Please maintain responcible purchase group both in vendor master (defalt material data ) and material master (mrp1 view ) . Also maintain source list and quota arrangement if more than one vendor for this material .

Raga

0 Kudos

I did that already but it doesnt work.

Former Member
0 Kudos

Dear Anbu,

could u let me know what are settings u have done for TC:MSW1 as it is not working in my case as i get warning "no materials found for planning".Could u also let me know if in Source list, whether "MRP AREA" is enabled or not .In my case though i ahve enabled and activated MRP Area , it remains grey and does not allow entry in that field .

Regards

Jainendra

Former Member
0 Kudos

Hi

In the above statement i meant "MDW1" and not "MSW1" as happned due to typographical error .

0 Kudos

Hi,

Are you using SAP Retail ?

If no, are you using MRP areas for subcontractors ?

Thx

Former Member
0 Kudos

Yes ,

I want planning for the material provided to the vendor for subcontracting purpose.But when i run MDW1 ,

i always get the message "No material gound for panning ".Is there anything i am missing ?

Regards

Jainendra

Former Member
0 Kudos

Hi

I am facing the same difiiculty to activate the MRP area field in source list? any one did that? my MRP area on SC level already activated, but I cannot get the MRP at MRP area to pick up the right vendor for the PR. thinking of if I maintain the mrp area in the source list, it might work.

any one did this?

Former Member
0 Kudos

Go to MD06 enter the plant and enter the vendor

G.GaneshKumar

0 Kudos

Hi,

I want to execute the MRP for one specific vendor.

(and not check the MRP list for one specific vendor).

Thx,

PYR

former_member1275554
Active Participant
0 Kudos

Hi,

You would like to define for a planning run only material of a particular vendor.

So pls maintain the source list for the material for that perticular vendor before taking MRP RUn.

Regards,

Sandeep

0 Kudos

No, I would like to define for a planning run all materials of a specific vendor (defined in a source list).

Former Member
0 Kudos

You might want to define MRP areas in config and assign MRP area for all relevant materials.

http://help.sap.com/saphelp_46c/helpdata/en/c4/106956ae8a11d1a6720000e83235d4/frameset.htm

Hope this helps-