Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Writing data to file

Former Member
0 Likes
383

Hi.

I'm totally new to SAP. I have task to do. I have to generate IDOC with basic data about customers and save this data to file on local disk. Accordingly to few tutorials founded on web, I created IDOC type with one segment E1KNA1M, message type, partner profile, port (port type - File). I used testing tool (transaction WE19) and got message that IDOC was created and writen in a specified file on local disk. Problem is, that this file doesn't exist in specified directory. What should I do, to write this IDOC as a file.

Regards,

Michael

Hi.

I'm totally new to SAP. I have task to do. I have to generate IDOC with basic data about customers and save this data to file on local disk. Accordingly to few tutorials founded on web, I created IDOC type with one segment E1KNA1M, message type, partner profile, port (port type - File). I used testing tool (transaction WE19) and got message that IDOC was created and writen in a specified file on local disk. Problem is, that this file doesn't exist in specified directory. What should I do, to write this IDOC as a file.

Regards,

Michael

1 REPLY 1
Read only

abdul_hakim
Active Contributor
0 Likes
360

Hi,

Use the function module IDOCS_OUTPUT_TO_FILE

Cheers,

Hakim