cancel
Showing results for 
Search instead for 
Did you mean: 

leaving mapped idoc segments out of plain text output

Former Member
0 Kudos

Hello all,

I mapped a customer IDoc with one header and detail lines to a message maping with one header and detail lines. The value's in the header are used for variable substitution for the file name.

The has to be writen as csv to a ftp server. I do this by using the file content conversion. Now I only want the detail lines to be written to the file so I only mensioned the detail line as the record set structure.

When I look at the output the header is stil part of the csv file.

Is there a way to prevent the header line being part of the output ? (of course without deleating it from the message type structure)

Regards,

Jasper

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184619
Active Contributor
0 Kudos

check this link

http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm

Try Using the following

Customer.addHeaderLine = 0

Customer is the structure here.

Reward if helpful.

Sachin

Former Member
0 Kudos

Jasper,

If you dont want those fields in mapping right click on the field and click on Disable Field. Then the field will be disabled. Also dont give content conversion for them.

---Satish