Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Upload / download gui-status/dynpro when function group

Hi All,

I'm coding a program where I can download and upload reports and module pools but I tried to do the same with function groups and I found It is different to upload dynpro and gui staus when the objet to generate is a function group.

Could anyone help me a little in order to complete and finish this issue?

Below is shown the routines I coding in order to achive that:

For gui-status uploading I use:

CALL FUNCTION 'RS_CUA_INTERNAL_WRITE'
    EXPORTING
      program   = prog
      language  = sy-langu
      tr_key    = tr_key
      adm       = adm4
    TABLES
      sta       = sta4
      fun       = fun4
      men       = men4
      mtx       = mtx4
      act       = act4
      but       = but4
      pfk       = pfk4
      set       = set4
      doc       = doc4
      tit       = tit4
      biv       = biv46c
    EXCEPTIONS
      not_found = 1
      OTHERS    = 2.

For screen uploading I use:

GENERATE DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s  ID dynp_id
                      MESSAGE mess  LINE line   WORD    word.
    IF sy-subrc = 0.
      EXPORT DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s  ID dynp_id.
    ENDIF.

But both options don't work when uploading function groups

Regards...

Edited by: Rob Burbank on Jun 1, 2011 11:58 AM

Edited by: Kenneth CastaƱeda on Jun 2, 2011 7:31 PM

Edited by: Kenneth CastaƱeda on Jun 2, 2011 7:34 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question