cancel
Showing results for 
Search instead for 
Did you mean: 

Po Doc Type & Vendor Type

Former Member
0 Kudos

Dear All,

As per Company requiremnt we have created different document Types for Material & Service Po.What my requiremnt is that u201CIf Raw Material Doc type is selcted then user shouldnu2019t be able to selct Service vendor.If thsy select service vendor then sysyetm shouldnu2019t allow to create a PO.How can I achieve it??

Biswajit

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member1191447
Participant
0 Kudos

Dear,

Actually doc. type & the vendor code ar now where interlinked in system.

You can create a user exit where in system will first the check the document type of PO.If it Raw material doc. type & if the user enters Service vendor system will fire the exit & ive the message that "You cannot use Service vendor for material PO" or someting similar to this.

For this,

The service & material vendor must be having different number range which means that they have different account groups.

So in the exit you can define that first check the docu type say (Raw material) & after the vendor code is entered system will check the table LFA1 & field KTOKK(Account group).Define in exit thet for raw material doc type only material vendo account group is permitted.If the field is of service vendor system will fire the exit.

This will prevent the user from entering wrong vendor code.

Regards,

Nandan.

Former Member
0 Kudos

Hi,

Do you have any enchancement for this?

Thanks,

Mohan

Former Member
0 Kudos

Dear Nandan,

Thnx for ur reply. Do u know the enhancement name ??

Biswajit

former_member614205
Active Participant
0 Kudos

Hi,

You can use BADI ME_PROCESS_PO_CUST. Method PROCESS_HEADER.

BR,

Suneet

Former Member
0 Kudos

Hi;

Create Two Purchase Organisation - One for Material Procurement & other for Service Procurement.

Now Create the Vendor Master for Material Procurement under Material Purch Org & Vendor master for

Service Procurement under Service Purch Org.So when you create Purchase order for Material , a Material

Purch org has to be choosen & this will avoid selection of Service vendor for Material purchase & vice

versa.Better Solution cud be given based on your Business Scenario.

Reward if found useful.

Regards

Avinash Sridhar