2010 Sep 01 8:30 AM
Hi All,
I am working on an interface which writes the XML data into the Application Server. So, I am opening file in BINARY MODE.
The data is been transfered successfully. But, all the data is coming in a single line.
Each time the record is transfered, it should get in a new line.
This is the code we have used.
OPEN DATASET lv_value IN BINARY MODE FOR APPENDING.
IF sy-subrc EQ 0.
LOOP AT l_xml_table INTO wa_xml.
TRANSFER wa_xml TO lv_value.
CLEAR wa_xml.
ENDLOOP.
ENDIF.
CLOSE DATASET lv_value.
Could you please help me on this..? Thanks in advance.
Thanks & Regards,
Paddu.
2010 Sep 01 8:37 AM
How your xml_table looks like? Is it a binary table? What do you mean new line?
Also please refer
Regards
Marcin
Hi Paddu,
I am facing the same issue ,while i try to send the attachment through email it just sends the data in one line.Can you please let me know how you were able to solve the issue.
Regards,
Zarina
2010 Sep 01 8:37 AM
How your xml_table looks like? Is it a binary table? What do you mean new line?
Also please refer
Regards
Marcin
2010 Nov 15 11:05 PM
Hi Paddu,
I am facing the same issue ,while i try to send the attachment through email it just sends the data in one line.Can you please let me know how you were able to solve the issue.
Regards,
Zarina
2010 Nov 16 7:57 AM
Hi
Before transfer data to application server,you need to do transformationa and convert into table.
1.CALL TRANSFORMATION
2.CALL FUNCTION HR_EFI_CONVERT_STRING_TO_TABLE
then use open data set
Suresh Nag
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |