cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to execute a DTP using abap program

oueslati_anis
Participant
0 Likes
4,776

Is it possible to exexute à DTP using abap Program and change its sélection dynamicly in the Program.

Accepted Solutions (0)

Answers (2)

Answers (2)

Abhishek_Hazra
Active Contributor

Hi,

1. You can include the DTP in a process chain & execute the process chain using an ABAP program (using function module : RSPC_CHAIN_START.

2. The selection can be changed dynamically as per requirement, & the program should be written in the field routine section of the DTP filter.


Best Regards,
Abhi

oueslati_anis
Participant
0 Likes

Hello

For this I must repeat thé pc as many time as required and then in the DTP make abap routine. My goal is to loop on DTP and dinamicly change the data sélection is there à loop in process chain? Kind regards

Abhishek_Hazra
Active Contributor
0 Likes

Hi Anis,

Yes you can loop it as you would be doing it in ABAP, just within that loop call the function module : RSPC_CHAIN_START with exporting parameter as the process chain's technical name.

Best Regards,
Abhi

former_member231709
Active Contributor
0 Likes