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

How to call a ABAP Program from Badi

Former Member
0 Kudos
1,251

Hi Folks ,

I have come across a requirement to call a abap program from Badi implementation .

If anyone any have any idea about this , how to achieve this  .

Best regards,

Raja

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raja

Generally you call a FM from a BADI  can you not convert the report with the same logic into a FM and then call that ?

You can also use command SUBMIT which will help you to use the output of the report as an internal table

And also you can try to use Import and export statement

SUBMIT... VIA SELECTION-SCREEN

USING SELECTION-SET <var>

WITH <sel> <criterion>

WITH FREE SELECTIONS <freesel>

WITH SELECTION-TABLE <rspar>.

The SUBMIT statement executes a report from within a report - Code Gallery - SCN Wiki

Sample ABAP Program to EXPORT or IMPORT internal table TO or FROM ABAP Memory - ABAP Development - S...

Regards

Vinita

Former Member
0 Kudos

Thank you so much Vinita for the reply ,

But i am not sure that Submit wil work . But It can be tried using Function module i guess i will try doing that .

Thanks again

Answers (0)