on 01-20-2012 11:24 AM
Hi All,
There is a requirement which needs to convert an incoming ORDERSP IDOC in to a flat file and place it on a target AS2 server. Also the data needs to be separated by special character '|'; could you suggest as to how we can approach and design this scenario. Thanks in advance for your solutions.
Thanks and Regards
"There is a requirement which needs to convert an incoming ORDERSP IDOC in to a flat file and place it on a target AS2 server. Also the data needs to be separated by special character '|'; could you suggest as to how we can approach and design this scenario. Thanks in advance for your solutions."
you can use concatenate function in java mapping to concatenate all fields with each other and separated by any character .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The clue here is to use the Receiver File Adapter with File Content Conversion settings (for instance, "|" as the field separator). Thanks to this, PI will automatically convert your IDoc message from PI's internal XML structure to a properly formatted flat file.
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check with AS2 Team what format they want if they want evry field is separated with Pipe(special character) in one line, then build mapping logic and concatenate all fields and separet with Pipe.
finally do content conversion . not sure about AS2 adapter supports FCC or not.
or
after converting in to one string add second level maping XSLT , and remove prefix tags and genarate output in text mode,,here you can avoid FCC .
Regards,
Raj
you can use FCC and provide the parameter fieldSeperator as |
also for AS2 there is not standard adapter available so you will have to use a 3rd party adapter ex. seeburger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.