Skip to Content
-2

Using transactions CG3Z and CG3Y

Feb 23 at 08:06 AM

107

avatar image
Former Member

Hello,

I'm using two different steps in my program.
The first one uses Transaction CG3Z to Transfer a file to AL11, the second one copies a file from AL11 to the presentation server by using CG3Y to open it local.
But if I try to do both steps in the same session, the CG3Y can't find the file. If I leave the program and start it again, it works.
Is there any way to commit the changes, done by the CG3Z?


Thanks
Markus

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Feb 23 at 11:18 AM
2

Build your own report with method gui_upload/gui_download of class CL_GUI_FRONTEND_SERVICES and OPEN DATASET, TRANSFER statements and an explicit DATASET statement as "An opened file that was not explicitly closed using CLOSE DATASET is automatically closed when the program is exited."

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 23 at 11:20 AM
0

Hi all,

it works.
Seems to be a timing-problem on the server.

Thanks for your help
Markus

Show 1 Share
10 |10000 characters needed characters left characters exceeded

If this has been resolved then kindly close the question (see this blog). It still shows up as unanswered.

0
avatar image
Former Member Feb 23 at 08:43 AM
0
Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi

I know this class and it's methods, but how do I get access to an AL11-Directory that's not mounted to the system, by using GUI_UPLOAD or GUI_DOWNLOAD?

Thanks
Markus

0
Former Member
Former Member

What u mean with "not mounted" is an FTP or another external service?

0

Basic programming. OPEN DATASET...

1
Former Member
Matthew Billingham

True i dont understand that only want consume the files of the AS.

0
Former Member

Hi Matthew,

I've tested the following process:

- Uploading by GUI_UPLOAD (in binary)
- Uploading by OPEN DATASET IN BINARY MODE
- Transfering back by using CG3Y
but still the same problem.
If I look in the AL11 (in another window) I can't see the uploaded file unless I leave the program. After a new call the program finds the file.

0