2007 May 01 4:08 PM
Hi Friends,
Im new to this concept. Can somebody please help me with this task. I am validating the fields
sold-to-party
PO number and purchase order item (vbkd-bstkd and vbap-posex) in VA01 (sales order Create). I have to check it for a valid combo of PO number and line item for a particular sales org.
Your suggestions are atmost welcome..
Thanks,
Kiran.
2007 May 01 4:25 PM
Hi,
You can use the userexit USEREXIT_CHECK_VBAP in the include MV45AFZB..
Thanks,
Naren
Hi Friends,
Im new to this concept. Can somebody please help me with this task. I am validating the fields
sold-to-party
PO number and purchase order item (vbkd-bstkd and vbap-posex) in VA01 (sales order Create). I have to check it for a valid combo of PO number and line item for a particular sales org.
Your suggestions are atmost welcome..
Thanks,
Kiran.
2007 May 01 4:25 PM
Hi,
in Se38 execute the program RSMODPRF will give list of all existed /created field exits. if the exit for your field already exists deactivate it and create new one and assignit to the screen name and no.
Sudheer.A
2007 May 01 4:25 PM
Hi,
SAP is not supporting field exits anymore.
The reason is, the logic in a field exit is tied to the screens and later if someone wants to use a BAPI to create a PO, these type of exits will not be executed and will cause some inconsistencies.
Make use of a regular exits from the enhancement: MM06E005.
If you still want to use the field-exits, here is the procedure in 46C:
1. For field exits in R/3 4.6C, execute transaction CMOD. Then type PRFB in the command field. Another way to accomplish this is to use program RSMODPRF.
2. 1. Create a Function Group.
2. Run the program RSMODPRF, which will create a field exit (Mention the data element for which field exit is needed).
3. In the Function module created by the above program write the validation code you require.
Hope this helps,
Sumant.
2007 May 01 4:44 PM
Hi,
I have used MV45AFZZ, SAVE_DOCUMENT_PREPARE exit to check it. I have written the logic there. But whenevr I check for the above data It is entering that bit of code and then if its wrong I am doing it with a popup_warning. but when the user says continue then order is saved irrelevant of checks. Can somebody help with this. How can I set it like if the value in that field is wrong it should save it. Please suggest.
Thanks,
Kiran.
2007 May 02 11:51 AM
Hi Sumanth,
I would like to validate Meins field in MM01 means if user gives meins = kg ,i Hve to show eror.
I ahve created a filed exit for this using ur procedure .
can u pls suggest I have to do next.
2007 May 01 4:25 PM
Hi,
You can use the userexit USEREXIT_CHECK_VBAP in the include MV45AFZB..
Thanks,
Naren
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |