10-30-2017 3:00 PM
Hi All,
we have a requirement to redetermine the plant based on line item usage indicator. we thought of writing the logic in user exit "
USEREXIT_SOURCE_DETERMINATION", but the user exit is not getting executed whenever we change the usage indicator (VBAP-VKAUS). can anybody give some inputs to solve this issue ?
Regards,
Ramesh
10-30-2017 5:07 PM
It seems rather obvious that you need to find a user exit that is called when the field value changes and trigger determination from there... Not sure it's a good idea though. Maybe ask the SD consultant to reconsider? What exactly is the business requirement for this?
11-01-2017 1:06 PM
Hi Jelena Perfiljeva ,
Thank you for your reply,
Business requires the Plant and profit center at the line item to be determined based on the Zip code of End Customer (Custom Partner type) so that profit center of the selling office received credit for the sales.
Ease of data maintenance was another reason why it has been decided not to store Plant and Profit center in the Master Data and be determined automatically in the transactional data. (Not sure how the data maintenance is easy)
this logic should trigger when the for specific usage indicator.
Regards,
Ramesh
11-01-2017 5:52 PM
Not sure what "received credit for the sales" means exactly in this case. How are you planning to accomplish that?
What you're saying sounds like for the same customer/material combination plant A is assigned but then someone is supposed to enter a different "usage" and suddenly it's a different plant? Sorry but this doesn't make a lot of sense. I can understand determining plant based on what's closest to the customer or based on the product availability. All that can be achieved in standard SAP, I believe.
But by introducing usage field I'm afraid you'd be shooting yourself in the foot here. How would the sales reps know when to use that indicator? If it's someone has to remember to do then might as well create a new customer account and use that instead. It still involves a human making a choice but at least you don't have to introduce ZSAP. Although I very much suspect that "received credit" part can be accomplished completely differently in this case.
11-01-2017 2:09 PM