on 03-07-2013 9:02 PM
Hello Experts,
I need to configure so that one of the fields (say A) in the sales order, should never be left empty if another field(say B) has a particular value.
A is a custom field while B is standard field. They are both in the same view of the item level data of the sales order and F1 done on these fields show that they belong to the same SAP table VBAP.
The requirement is that if B has value (say x), then if A is left emplty, then it should appear in the "incompletion log" of the sales order.
I do not want it to be an error but just part of the incompletion log.
We can see the incompletion log of the sales order by clicking on 'Edit' , on top left hand side of the home screen of the sales order.
The field A is just an infomational field. So, it is not holding up any transaction or anything but the idea is to encourage the order creator, not to leave this field empty if the field B has value x.
There are already some incompletion log configured for other fields, only infomational in nature, in the sales order. I am wondering if I can just group this field, with one of them, without configuring everything from the scratch.
This task is a high priority one for me , so,any help will be greatly appreciated and points will also be rewarded.
Regards
P.R
Dear
This cannot be done through standard in-completion log. You can check USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ with your ABAPER. Tell him the logic and he can incorporate it and test.
If you could share the fields then may be we can help you in more better way.
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts,
Just wanted to thank everyone for all the helpful comments.
Well, an ABAPer lokked into it and now the incompletion log is working fine when someone tries to save the sales order , without putting in the required data.
Looks like, there was some custom code in place which was interfering.
Thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have now asked an ABAPer to look at the code. Hopefully solution will be found.
Thanks for all the help, from everybody.
Regards
Papri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everybody,
Filed B is std. Z_KATR5 (roll label) in view aditional data B of item level data.
Filed A is a custom field added, for capturing some customer info and is in view order data of the item level.
Regards
P.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can write a logic in user exit "MV45AFZB", form-routine "USEREXIT_CHECK_VBAP" to populate values in in-completion log only when Field B has value and Field A does not have any value
Refer this thread http://scn.sap.com/thread/3321539
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Could you please let me know which field you are referring to? Which is field "A" and which field is "B".
From this we will see if any approach is available.
Regards, Sai Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.