Skip to Content
0
Former Member
Aug 20, 2015 at 12:22 PM

Call RZ70 from Z program

23 Views

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!