on 12-12-2008 1:21 PM
Hi
I have designed the Adobe form which fills the form with table details. Do i need to convert this form into PDF to attach in my workflow work item and the receiver get has an attachment. How to do attach this form.
Regards
vijay
in Guided procedures you can use adobe interactive form callable objects and also you can send adobe forms in emails as an attachement
Thanks and Regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shanto aloor
I not using Portal to develop guided procedure. Am using R/3 for developing the workflow. Here is my code what i have done to attach. I have converted the adobe form into pdf but i dont no how to send it now. If i use SOFM how to create the instance. If i use FM SO_NEW_DOCUMENT_ATT_SEND_API1. How to pass the bin details to this function module. Can any one say that.
Here is my code.
"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(PERNR) LIKE PA0001-PERNR
*" EXPORTING
*" VALUE(BINFILE) TYPE XSTRING
*" TABLES
*" RETURN STRUCTURE BAPIRETURN OPTIONAL
*" EXCEPTIONS
*" NO_ATTACHMENT_FOUNT
*"----------------------------------------------------------------------
DATA : V_FMNAME TYPE FUNCNAME.
DATA: lv_bin_file type xstring,
gs_job_output_info TYPE FPFORMOUTPUT.
DATA : IT_TAB TYPE PA0105 OCCURS 0 WITH HEADER LINE.
DATA : DOCPARAMS TYPE SFPDOCPARAMS.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
I_NAME = 'ZEMAIL'
IMPORTING
E_FUNCNAME = V_FMNAME.
*DOCPARAMS-DYNAMIC = 'X'.
*DOCPARAMS-FILLABLE = 'X'.
CALL FUNCTION V_FMNAME " '/1BCDWB/SM00000061'
EXPORTING
/1BCDWB/DOCPARAMS = DOCPARAMS
PERNR = PERNR
IMPORTING
/1BCDWB/FORMOUTPUT = gs_job_output_info
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
BINFILE = gs_job_output_info-PDF.
CLEAR gs_job_output_info.
Regards
vijay
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.