on 05-10-2010 8:34 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.