on 05-22-2009 5:26 AM
Hi Experts,
Can you help me how to provide a solution for the below requirement.
Input Payload:
<Body>
<Name>abc</Name>
<Num>123</Num>
<City>NJ</City>
...
</Body>
Output Payload:
<Header>
<City>NJ</City>
<Body>
<Name>abc</Name>
<Num>123</Num>
<City>NJ</City>
...
</Body>
</Header>
Basically We have to pass the input payload with XI and based on some parameters within the input payload(ex:city) we need to build a header tag (ex:city) in the output payload. How to acheive this?
- Ramani
create relevant input and output datatypes....map them and your development is done:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to generate the Target Header after some checks on the input payload, can use the standard functions.
Reference:
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
Cheers,
Manjusha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
BPM is not required.
Simple File to File should suffice.
Ref:
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
You can make your checks inside mapping.
Cheers,
Manjusha.
Hi,
Create the source and target Data type as u have mentioned, map the field city with header.
Source Data Type is
<Body>
</name>
</num>
</city>
</Body>
Target Data Type
<Header>
</city>
<body>
</name>
</num>
<//city>
</body>
</Header>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.