cancel
Showing results for 
Search instead for 
Did you mean: 

PO document type vs Purch org, company code restriction

Former Member
0 Kudos

I need to restrict the PO document type with purchase org or with company code restriction.

If i select document type ZDOM then my purchase org or company code should be 1200

if i enter 1300 or 1400 then system should throw an error saying this document type and purchase org or company code mismatch.

Please suggest me the user exit and logic

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Use authorization object to control Document type & Purchase organisation with the help of your BASIS team. Check below authorization objects

http://help.sap.com/saphelp_40b/helpdata/fr/ed/1839516e36d1118b3f0060b03ca329/content.htm

Purchase orderM_BEST_WRK Plant

M_BEST_EKO Purchasing organization

M_BEST_EKG Purchasing group

M_BEST_BSA Document type
former_member210560
Active Contributor
0 Kudos

Dear Joseph,

You can utilize Badi ME_PROCESS_PO_CUST to make this check.

Regards,

ian Wong Loke Foong

Former Member
0 Kudos

Hello Joseph,

Go for an Abap development based on Document type

if Document type = "ZDOM" then Purch Org ="1200" & company code = "1200"

else Purchse Org & compny coe do not match.

Thanks & Regards

Shashank

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

You can restrict PO creation for particular PO document type with purchase org and with company code by having authorisation matrix.

Discuss with Basis Consultant and with autorisation object , you can control it by creating a ROLE(PFCG) and assign the ROLE to respectiver user ID(SU01)

Regards,

Biju K