We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] How to Save Ole2 Object in AL11 Directory?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from tessavr on May 3 at 8:23 AM
Hi,

You need to use 'tab' as your separator and save your file as an .xls.
When you then download from AL11 as .xls and double click on the file it will open up as an Excel file.

DATA: line(288) TYPE c,
zpath(288) TYPE c,
BEGIN OF tab,
t(1) TYPE x VALUE '09',
END OF tab.

OPEN DATASET zpath FOR OUTPUT IN TEXT MODE.

LOOP AT itab INTO wa_itab.
CONCATENATE wa_itab-field1 wa_itab-field2 wa_itab-field3
INTO line SEPARATED BY tab.
ENDLOOP.

CLOSE DATASET zpath.

---------------Original Message---------------
From: Lukasz Pegiel
Sent: Friday, May 03, 2013 6:20 AM
Subject: How to Save Ole2 Object in AL11 Directory?

You have to save the file fistly for example in temporary windows folder, then upload it to internal table with gui_upload , then loop on itab and use open dataset statement.

Second option could be savin file to temp win folder and then upload it to unix using ftp if you have available one on your sap server.

Lukasz

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
tessavr  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language