Skip to Content
avatar image
-2
Former Member

Using transactions CG3Z and CG3Y

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 23 at 11:18 AM

    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."

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 23 at 11:20 AM

    Hi all,

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

    Thanks for your help
    Markus

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 23 at 08:43 AM
    Add comment
    10|10000 characters needed characters exceeded

    • 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.