Skip to Content
0

Plant determination based on line item usage indicator in USEREXIT_SOURCE_DETERMINATION.

Oct 30, 2017 at 03:00 PM

88

avatar image
Former Member

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 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jelena Perfiljeva
Oct 30, 2017 at 05:07 PM
0

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?

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

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.

0
G Lakshmipathi
Nov 01, 2017 at 02:09 PM
0
based on the Zip code of End Customer (Custom Partner type) so that profit center of the selling office received credit for the sales.

Does it mean that one zip code will have only one selling office?

Share
10 |10000 characters needed characters left characters exceeded