on 08-16-2015 10:37 PM
Hi Experts,
at the moment I'm developping a IDoc to Mail message flow.
I have to transform the IDoc to a Papinet EDI-Message.
I want to use the Mail-Package because i want to change the subject, the receiver and the content.
I also want to keep the content as text.
The question is how to create and transfer the messages for the mail and the EDI-XML-Document to the mail receiver.
The result should be a mail with Subject and content and attached the XML-EDI-Document.
Is it possible to do that with SAP PI/PO?
If yes, how can i solve the problem?
A multi-Message - Mapping with a module?
I searched a lot in the SCN, but i found no tutorial for this kind of problem.
regards,
Hi guys,
It seems that I have to be more concret.
I want to use two mappings.
One to determine the Subject and the To of the mail
and
one to create the .XML - EDI message.
after execution of the two mappings one new Mail message using the Mail Package should be generatered.
I described the flow in the following picture.
Is it possible to do this with SAP PI/PO?
And what can be a way to do it.
in serveral Operation mapping steps?
with a module?
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not possible. After the graphical mapping, the original Idoc structure is no longer available, as the second mapping works on the output of the first mapping. If you have an XSLT mapping for reuse that you do not want to change, you could write a pre-mapping in Java/graphical which does not change the original structure and stores the "to" and "subject" in ASMA values. I don't think that you need to use MailPacakge at all. If you want to use it anyway, you can create it with another Java/graphical mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use Java Mapping or XSLT mapping. You find here an approach for Java mapping, which has to last mapping step after the EDI mapping: http://scn.sap.com/people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-email...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.