on 01-15-2009 1:20 PM
Hello,
Is it possible to access the Content/Payload via Module MessageTransformBean, I have a requirement to access the Data after conversion .
I have searched the sap help on this ,but i dont see any access parameter for this,is this can be accessible by somw workaround
Thanks in Anticipation
Rajesh
hi,
>>Is it possible to access the Content/Payload via Module MessageTransformBean, I have a requirement to access the Data after conversion .
so put your own adapter module after MessageTransformBean
what's the issue here ? with your own adapter module you have access to payload data after MessageTransformBean
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Standard module processor within the adapter provides no this functionality unfortunately.
Anyhow, this seems to have nothing to do with your message routing, mapping etc, will also bring difficulty for the message restartability and monitoring, could be performance bottleneck.
Processing the email outside of PI before/after the payload completed is recommended here.
Cheers,
Aaron
>
> Hello Shabarish,
>
> In option 1
>
> 1. I can use first step for converting idoc to flatfile
> 2. How can i send mail dynamically
>
> option 2:
>
> 1. Do i need to use multimapping for this step in order to send mail dynamically in the form of flatfile
>
>
> Replies will be helpful to me
>
> Thanks
> Rajesh
With your situation Option 1 wouldnt be of much use.
Go for option 2.
use a java mapping to help you create the flat structure. Lets say based on your vendor number you have to do the routing. The output of your mapping should be something like below;
<Payload>
<Data>xxxxxxxxxxxxx..... ALL DATA (FLAT) will be here xxxxxxxxxxxxxx </Data>
<VendorNum>xxxxxx</VendorNum>
<Payload>
<Payload>
<Data>yyyyyyyyyyyy....ALL DATA (FLAT) will be here xxxxxxxxxxxxxx </Data>
<VendorNum>yyyyy</VendorNum>
<Payload>
....
....
....
You can use routing based on the vendor now. Also use messagetransformbean to extract the Flat file data from the Data node.
Hello Shabarish,
+use a java mapping to help you create the flat structure. Lets say based on your vendor number you have to do the routing. The output of your mapping should be something like below;
<Payload>
<Data>xxxxxxxxxxxxx..... ALL DATA (FLAT) will be here xxxxxxxxxxxxxx </Data>
<VendorNum>xxxxxx</VendorNum>
<Payload>
<Payload>
<Data>yyyyyyyyyyyy....ALL DATA (FLAT) will be here xxxxxxxxxxxxxx </Data>
<VendorNum>yyyyy</VendorNum>
<Payload>
....
....
....
You can use routing based on the vendor now. Also use messagetransformbean to extract the Flat file data from the Data node.+
Please clear two things here to me
1. After using java mapping for conversion (idoc to flatfile and extract vendorno) ,now i need to send the flatfile data to vendormail id based on his no ,How i can acheive this???
Dont i need to use mail adapter attributes i.e Mail message provided by SAP for dynamic mail recipient
2. You can use routing based on the vendor now.
For the above you mean create a separate business service and assocaite mail adapter channel
Also use messagetransformbean to extract the Flat file data from the Data node*,How do i acheive
this??
Thanks for your prompt replies
Regards
Rajesh
>
> 1. After using java mapping for conversion (idoc to flatfile and extract vendorno) ,now i need to send the flatfile data to vendormail id based on his no ,How i can acheive this???
> Dont i need to use mail adapter attributes i.e Mail message provided by SAP for dynamic mail recipient
>
use conditions in Receiver determination and Make a mail adapter per vendor with his details.
i would have suggested to use dynamic configuration in your mapping. But that will complicate things more
> 2. You can use routing based on the vendor now.
> For the above you mean create a separate business service and assocaite mail adapter channel
> * Also use messagetransformbean to extract the Flat file data from the Data node*,How do i acheive
> this??
>
yes. you are right.
Also use messagetransformbean to extract the Flat file data from the Data node
What is the purpose of this? Can you please explain this ?
How do i do the mapping is there any sample code for converting idoc data to FlatFile.
Also we will be having more than 130 vendors in this process,Still do i need to do this??
Thanks for Suggestions/solutions
Rajesh
>
>
> Also use messagetransformbean to extract the Flat file data from the Data node
>
>
> What is the purpose of this? Can you please explain this ?
>
> How do i do the mapping is there any sample code for converting idoc data to FlatFile.
>
> Also we will be having more than 130 vendors in this process,Still do i need to do this??
>
>
> Thanks for Suggestions/solutions
>
> Rajesh
sorry it is not the messagetransformbean but strictxmltoplainbean.
have a look - http://help.sap.com/saphelp_nw04/helpdata/en/44/748d595dab6fb5e10000000a155369/content.htm
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.