cancel
Showing results for 
Search instead for 
Did you mean: 

GET LT_OTFDATA-OTFDATA AFTER 'CALL FUNCTION fm_name' SMARTFORMS

clayton_barbosa
Participant
0 Kudos
199

Hi! 

I need to send by email a document (PDF) generated by SMATFORMS executed in BATCH.
When executing 'CALL FUNCTION fm_name' it does not feed the LT_OTFDATA-OTFDATA if executed with the 'NO_DIALOG' option.

What should I do to obtain data from OTFDATA and attach it to the email?

Thank you!

Print debug no_dialog and with dialog.

clayton_barbosa_0-1720200759542.png

with dialog.

clayton_barbosa_1-1720200872534.png

 

clayton_barbosa_2-1720200964645.png

 

 

View Entire Topic
raga1234
Explorer
0 Kudos

Hi,

I have replicated the scenario but it is working fine for me in both with and without dialog box.

Kindly check by passing the user settings = space.

regards,

Raghav.