Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Call RZ70 from Z program

Former Member
0 Kudos

Hi all,

Sorry for basic question but I am still fairly new to ABAP. I would like to call tcode RZ70 from my ABAP program, set the two input fields and call "Start SLD data collection now(F5)".

I have tried the following:

CONSTANTS: lc_string TYPE string VALUE 'test'.

SUBMIT RSLDADM WITH GWHOST eq lc_string EXPORTING LIST TO MEMORY AND RETURN.

This opens the screen but does not fill in the filed.

I also tried:

SET PARAMETER ID 'GWHOST' FIELD lc_c.

CALL TRANSACTION 'RZ70' AND SKIP FIRST SCREEN.

With the same results. I am not sure where to find the input name. I fiddled around in the code of RSLDADM and it seems to be GWHOST. Also I have no idea how to call the "Start SLD data collection now(F5)" button. Any help would be appreciated!

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Did you already try to record a small BDC with SHDB or did you search for some FM or driver program ?

Regards,

Raymond

0 Kudos

No I have not tried that yet because I am not entirely sure how. Can you give me an example how to do it?