cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe form in my workflow

vijy_mukunthan
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

vijy_mukunthan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

sorry vijay i don't have any idea on ABAP i thought you are using JAVA/Portal

Thanks and Regards

shanto aloor