on 10-14-2008 3:23 PM
Hi experts,
My customer gives me a requirement is that when the end user uses ME21N to create a purchase order,he/she inputs the data and then click the button "save" to save the data,then it needs to check whether the vender is valid or not.If the vender is valid,then the end user can save data.Otherwise,we should not create the purchase order.
I find out many customer functions and some BADIs,but I don't know which enhancement I should use.Could you please help me to find out which enhancement I should use??
Thanks a lot.
best regards,
Villy,Lv
Dear Villy,
You should use BADI ME_PROCESS_PO_CUST mathod CHECK. This mathod is called before saving the PO and also if you press check button. This is best place to put your check.
If you do not have this BADI (Below release 470) or you do not want to use BADI, a user exit will also give this opportunity.
You may use EXIT_SAPMM06E_012 (Enhancement MM06E005).
If you do not acess of required data for this check, please use set data / get data to bring data into the enhancement.
I am sure this will meet the purpose.
Sanjeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, can I use the user-exit MM06E005(EXIT_SAPMM06E_012) for Scheduling agreement ? or is there any other way for SA ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
I've used the user-exit MM06E005(EXIT_SAPMM06E_012) to resolve this problem.
Thanks a lot.
best regards,
Villy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Normally, if Vendor or any other data is invalid, you cannot save PO; but you can hold the PO anticipating a correction later on. If you do not want hold functionality, you can use BADI ME_HOLD_PO to hide 'Hold' button.
Thanks,
Venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
when u create the po system check for valid vendor for valid po
if u want to restrict the vendor for perticular vendor then u have to use bapi but this work will be tadious as there will be lots of combinations for mat and vendor
now better to use source list funtionality , but it will be get affected in pr then u can use it in po
regards
kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.