06-01-2011 4:49 PM
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
06-02-2011 7:40 PM
Hi Kenneth,
re-invent the wheel?
Or check out [ZSAPLINK|http://code.google.com/p/saplink/].
Regards,
Clemens
06-02-2011 9:33 PM
06-03-2011 8:14 AM
Hi Kenneth,
sorry, it is really not obvious that [there is a link behind zsaplink|http://code.google.com/p/saplink/].
From the link:
"SAPlink is an open source project that aims to make it easier to share ABAP developments between programmers. It provides the ability to easily distribute and package custom objects."
This software allows you to up- and download all kinds of SAP objects. It is distributed under the GNU General Public License.
I think this is exactly what you are looking for - or I did not understand your question.
Regards,
Clemens