on 08-10-2009 3:54 PM
Hi
I am working on IDOC to File Scenario. IDOCS are created in SAP, job runs every 10 minutes. All the idocs are collected and sent once in 10 minutes. When SAP sends 10 idocs, receiver file should have a header followed by 10 records. Please let me know if anyone has worked on this.
Thanks
Naga
Satish
Here are the parameters in Content Conversion:
Recordset Structure - row
row.addHeaderLine 1
row.fieldNames NAME1,LOCATION,PARENT,TELF1..........
row.fieldSeparator |
row.fieldContentFormatting trim
row.endSeparator |'nl'
Thanks
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Satish
When I do this, Header line is reapeating for every record. How to control the header record to appear only once?
Thanks
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Naga,
It seems like your header line is repeating and its occurrence is not 1..1. Can give the receiver payload and the parameters you are using, so that somebody will help you out here.
As a second option would be create a structure with occurrence 1..1 in the top of your header structure and have all the header fields and map with them as constants and use them in your content conversion.
Regards,
---Satish
Hi Naga,
You can use the parameter .addHeaderLine in your content conversion with value 1 and it takes the column names from the xml document.
One other option would be create a sepearate structure in the top and put all the constants with header names and then populate in the file.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.