cancel
Showing results for 
Search instead for 
Did you mean: 

Send Adobe Form As Attachment

Former Member
0 Kudos

hi Experts

I need send Adobe Form as attachment

                                          • this is part of my prog. ******************

TRY.

lr_send_request->send(

EXPORTING

i_with_error_screen = 'X'

RECEIVING

result = lv_sent_to_all ).

CATCH cx_send_req_bcs INTO lr_send_req_bcs.

ENDTRY.

COMMIT WORK.

***************************************************************

but after execute I get Error(Dump):

*Calling a COMMIT WORK in an update process is not allowed*

*because the function modules triggered in a Logical Unit*

*of Work cannot then be processed correctly.*

I tried to use UpdateFunction(call function in update task), but in this case I get Empty PDF File .

How can I solve this problem?

Thanks,

Larissa

Accepted Solutions (0)

Answers (1)

Answers (1)

OttoGold
Active Contributor
0 Kudos

You want to commit to send the email. But the commit is not allowed in the update task. That is not Adobe-related problem in my opinion. Maybe you should ask the question in ABAP general? And about that "blank" pdf... is that a problem with PDF printing? That means GETPDF = 'X' not working? Or what is your adobe related problem?

Regards Otto