Skip to Content
0
Former Member
Feb 19, 2007 at 12:37 PM

SET/GET not working when I submit one program into Main program.

18 Views

Hi All,

I am using set/get parameter as follows but somewht it is not working.. Please help.

IF ( uf_instn = 'ACEFR' and uf_messg <> 'BSP' ).

set parameter id 'AJN' field lf_jobname.

set parameter id 'AJC' field gf_jobcount.

ENDIF.

SUBMIT zace_interface

USER sy-uname

VIA JOB lf_jobname

NUMBER gf_jobcount

WITH SELECTION-TABLE lt_seltab

  • TO SAP-SPOOL

AND RETURN.

in the zace_interface program I have another submit program

submit zrsbdcsub and return

user 'ZACE_INTERFACE'

with mappe eq lf_group

with von eq sy-datum

with bis eq sy-datum

with fehler eq space

with logall eq co_true.

ad inside this submit im using

get parameter id 'AJN' field v_jobname.

get parameter id 'AJC' field v_jobcount.

but i am not able to get the values into v_jobname & v_jobcount.

Can you please help me in this regard. how i will get the values in v_jobname & v_jobcount.

Thanking you in advance

Regards,

Prashant