cancel
Showing results for 
Search instead for 
Did you mean: 

How to use RSAN_PROCESS_EXECUTE in abap program

Former Member
0 Kudos

Hi all,

Does someone know how to use RSAN_PROCESS_EXECUTE in a abap program to execute an analytical process created in the transaction RSANWB?

I create a variant 'ZPC_ALIM_DL' for RSAN_PROCESS_EXECUTE. I would like to execute this program with this variant in a background job, but it seems that the job executed but it does nothing.

See below a part of the code.

SUBMIT RSAN_PROCESS_EXECUTE

WITH VARIANT = 'ZPC_ALIM_DL'

USER SY-UNAME VIA JOB L_JOBNM1 NUMBER L_JOBCOUNT1

AND RETURN.

Thanks in advance,

L.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ludovic,

I am using RSAN_PROCESS_EXECUTE with a variant in process chain. simply include 'abap program' type in process chain mention RSAN_PROCESS_EXECUTE as the program name and mention the variant you created for your apd process and run. I have tested it in dev and it has worked for me. let me know if this helps!

Thanks

Suresh R Kovvuru

Former Member
0 Kudos

Hi,

I'm using this method as well . But i appears we could only use one variant for this program through the process chain (so we could use only one APD). I need to use 2 different. Have you any idea ?

Thanks

Thibaut

Former Member
0 Kudos

Hi Thibaut,

You can always create multiple chains. Each with its own instance of RSAN_PROCESS_EXECUTE. And then include the other chains in the one chain.

KR

Kristof