on 06-25-2015 10:00 AM
Hello,
We want to send an order-confirmation-form to the customer. It should be send to the address of the partner role "ZM" if it exists. Otherwise it should be send to the partner role "AG". So we have two cases for sending an e-mail.
What is the best way to enable this? Add condition records, implement an enhancement spot or another way?
Thanks, in advance.
Best regards,
Benjamin
IMHO the best solution would be to just always send email to ZM. If ZM does not exist then it could be added (as AG copy) via a user exit.
Although better yet just add ZM in the customer master, even if it's the same as AG. It only takes a second and you'll have better consistency and save a lot of headache and resources on customization.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jelena,
(we don't know the details about partner function ZM) But your workaround might be incorrect from business pov. Suppose ZM is the business group, then maintaining the sold to party number as business group would be incorrect. Further, ZM might be printed or reported, those printouts, reports, would then convey incorrect information; which the customer would strictly disallow.
TW
TW Typewriter wrote:
Jelena,
(we don't know the details about partner function ZM) But your workaround might be incorrect from business pov. Suppose ZM is the business group, then maintaining the sold to party number as business group would be incorrect.
True, if ZM is a different partner type then it won't be compatible with AG partner. Good catch. Since for the emailing purposes they would be interchangeable, I just assumed they are both customer type.
But if we stay with this assumption why it would be an issue to assign ZM to every customer? This will show explicitly who is the email recipient. Otherwise to answer a simple question - 'where did my email go?' one would have to run some logic on every order - is there a ZM customer? oh, there isn't, so let me look up AG. From ABAP report perspective (which is only one I care about ) it's a hassle.
From what I see, if you want to send an email to someone and it's not always the same as an existing partner, then just designate a special partner function (like ZM here) and maintain all information in that partner. There is also contact person functionality there for a reason. It does seem like OP has gone in that direction, but not all the way for some reason.
I do agree though that there might as well be even more grey areas behind these requirements that we wouldn't have a clue about here. That's why it's important to share as much information as possible if one would like to get an intelligent answer on SCN.
Hi,
Include MV45AFZZ looks good option to validate the logic.
Thanks,
Niladri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can give this requirement in Form's Driver program, driver program can select the correct email id as per logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what about maintain two output types. first one will have condition records created for partner type ZM while the second one will have condition records created for partner type AG. then define a requirement disable the second one if first condition type is processed successfully.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin
With the help of Abapers we can do enhancement spot for you requirement..
Regards
Susheel Aitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.