‎2008 Jun 06 1:30 PM
How to use a variant from one program to another program.
i checked se80 ans shdo,,no clues..can anyone help..
‎2008 Jun 06 1:42 PM
With in your program you can you the submit program passing parameters which are your variant from the main program. (This runs the main payroll driver for the uk having passed through select paramaters.)
if not i_abkrs[] is initial.
submit rpcalcg0 and return
with pnpxabkr = pnpxabkr
with pnppernr in i_pernr
with rueck-ab = rueck-ab
with schema = '/GB0'
with pnpabkrs in i_abkrs.
endif.
‎2008 Jun 06 1:49 PM
hi check this..
when you r calling a program from other one then it is needed.
check this for change of varients..
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/mass%2bchange%2bof%2bvariants
‎2008 Jun 06 1:50 PM