How to attach a WebDynpro Adobe form to backend Business Object?

Hello,
I would like to know if anyone has created an Interactive Adobe Form, and then after the user has filled it out (online, via WebDynpro view), attach the pdf form to an SAP Document, for example, Order, Purchase Order or Contract?
I know how to create the WebDynpro Interactive Form, and I then have the pdf object in context attribute of WebDynpro.  But am not sure how to do the next step of taking that pdf and attaching it to the SAP Document.
Any suggestions or code samples would be greatly appreciated.
Thanks,
Colleen

The interactiveForm UI element has one action called onSubmit.  This action is triggered when any server event occurs within the Adobe Form itself.  So if you place a submitButton from the Web Dynpro Native (assuming you are using ZCI forms) within the form, it will automatically trigger the onSubmit action and WD event handler.
Here is a video that shows the process -  although it is a little bit older and uses ACFx forms.  You would want to use the new ZCI form approach. The general process for linking the events is the same however.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3

Similar Messages

  • How to increase performance of adobe forms of MSS Business package

    Hi
    We have implemented MSS business package with  PCR adobe forms.
    Portal NW04 SP18, ERP 2004 , ADS is Nw04sp16 and abode reader 7.0.7.
    we have develped own PCR using existing ISR frame work.
    every thing working fine.but user facing performance problem like some times while opening pcr form ,browser gets hang up.
    Is there any way to increase performance of adobe forms of PCR.
    thanks In advance
    Gopal

    Hi!
    Interactive Forms need a lot of performance on the client side. If the client hangy up I think this is realted to client issues.
    Also I would update the forms server to be the same version as the other NW components (Portal).
    Sigi

  • Script to open an pdf attachment in the adobe form is not working.

    Hello Experts,
    I have a requirement where i should open pdf attachment from the attachment tab of adobe form.
    For this i have written below  java script in the click event of a button ->
    I have an attachment pdf with name attach.pdf in the attachment tab of adobe form.
    var oObj = event.target;
    oObj.openDataObject();
    ->When i click on the button it is giving the error -> TypeError: Invalid Argument type.
                                                                                    Parameter cName.
    Can any one help me how can i use openDataObject method to open an attachment from the attachment tab of adobe form.
    Regards,
    Menaka.H.B
    Moderator message: wrong forum, please post again in Adobe Interactive Forms.
    Edited by: Thomas Zloch on Oct 18, 2010 12:52 PM

    Hi,
    Please refer to the thread below where this issue has been discussed:
    Creative cloud wants to make changes
    Regards,
    Sheena

  • How do you type in Adobe forms

    How do you type in Adobe forms without converting them.
    Several times I was on an Adobe page where one could click on a tab to do just that and now I cannot remember how I got there.
    Please help if you can.
    [contact information removed by moderator for privacy]

    David,
    Thank you so very much for your timely reply.
    I have Adobe Acrobat installed on all six of my offices computers and found it very simple to do as you instructed.
    Thank you once again.
    Bruce Goldsmith 
    [contact information removed by moderator for privacy]

  • How to password protect the adobe form ?

    Hello,
    I am very new to this livecycle designer.
    Can anyone please tell me how to password protect the adobe form(it can be print or interactive form) ?
    can it be done through scripting ?
    Regards,
    Menaka.H.B

    How to create Password to lock of Acrobat Pro and Adobe Livecycle Designer
    Hi everyone!!!
    I am using Adobe Livecycle Designer ES software, and i created the password on this Form of this software, but it can not lock Acrobat Pro. How to create Password to lock both of Acrobat Pro and Adobe Livecycle Designer? I would like another people just open Acrobat Reader, not other 2 softwares.

  • Good morning everyone! I would like to ask how can i subscribe for adobe forms central 11.99$ per month. I am currently here in United Arab Emirates. I really need to use this application cause it will benefit me a lot in my work. Thanks!

    Good morning everyone! I would like to ask how can i subscribe for adobe forms central 11.99$ per month. I am currently here in United Arab Emirates. I really need to use this application cause it will benefit me a lot in my work. Thanks!

    Hi,
    OK. Following instructions, I've uninstalled the old Flash Player and installed the right one, and videos are now playing. Thanks for pointing me to the other posts on this site. YouTube and other videos are now playing
    Some of the videos still play jerkily (they don't stream evenly). A few stream evenly once they've been allowed to buffer fully. (I think I'm using these terrms correctly.) Is this solely caused by low bandwidth, or is there something—an adjustment of some kind—that I can do with Flash Player to have online videos stream evenly, even from the moment I start them?
    As I mentioned, to bypass this uneven streaming while watching online, I download the videos and watch them usually using Quicktime Player 7.6.4. Still, they don't always play evenly, but for the most part do.
    I've just tested bandwidth and I'm told:
    5.63 Bbps Download speed
    0.63 Mbps Upload speep
    Rafael

  • How to convert smartforms into Adobe forms.

    Hi......
    How to convert smartforms into Adobe forms.
    Regards
    Anbu B

    Hi,
    You need to use the Function Module CONVERT_OTF.
    Please check the below code
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    Ruthra

  • How can i find the adobe form translations

    Hi Friends,
    how can i find the adobe form translations?
    i mean i want to know in how many languages my adobe form has been translated?
    is their any report or is their any technique to find the translations........................
    Thanks,
    Harish.K

    Hello Harish,
    To find the translation of Adobe form is nothing but to find the labels or texts used in this adobe form in various languages. This will give you an idea on how many languages your adobe form has been translated.
    So to find the translations in different languages, you have to go to Context node of the Adobe form. Then go through the text nodes which are used as labels. These will be normally stored as Standard texts in SO10.
    For example. Take the text name of any one text node.
    1) Go to SE38.
    2) Type program RSTXTRAN.
    3) Let the Text key - object be TEXT.
    4) Then enter this text name in the field Text key - name. I have put the sample standard text ZTEST_ADOBE as shown below.
    5) Let the Text key - ID be ST.
    6) In Text key - language, Enter *  (i.e enter the Asterisk) because you want to find out all the languages.
    The screen parameters will be as shown below.
    7) Now Execute this report.
    8) It will show all the various languages in which this particular standard text is used which is nothing but the Adobe form is being used in these many languages. For example, the standard text ZTEST_ADOBE is used in 3 languages, English, German and Spanish as shown below. It will look as shown below.
    Note: This will give you the more or less the overall idea of the form that has been used in these many languages. But also make sure the standard text with particular language is also linked with the Transport Request. Because there are chances that the text was created in a particular language but was never used.

  • How can I save filled Adobe Form?

    Hallo experts,
    I use Adobe Forms in my Webdypro application.
    In Form setPDFSourse set dynamically (read from SAP as byte[]) , I do not know the Context.
    How can I save filled Adobe Form, because I must show the Form by next Step in anothe window? 
    Thank you very much!

    This sounds to me like a client-side problem whith adobe reader plugin in your browser. What is your reader version?
    You can try the following to check if there is any content in the byte[]:
    String s = wdContext.currentContextElement().getPdfData().length + "";
    byte[] test = s.getBytes();
    final IWDCachedWebResource resource =
                   WDWebResource.getWebResource(
                        test,
                        WDWebResourceType.TXT);
    try {
         final IWDWindow window =
         wdComponentAPI.getWindowManager().createExternalWindow(
              resource.getAbsoluteURL(),
              "Window title",
              false);
         window.open();
    } catch (Exception e) {
         wdComponentAPI.getMessageManager().reportException(
         new WDNonFatalException(e),
         false);

  • Auto Response emails: How to get rid of Adobe Forms Central Banner

    Please if someone could help, that would be greatly appreciated.
    So my company uses these forms ( a total of 10) for different purposes when getting new resellers for our manufacturers. With a few of these forms our manufacturers want a copy of the new applications sent to them
    We have created them accounts and they recieve notifications by email just as we do. The only issue is we wish to get rid of the banner on top that says "Adobe Forms Central". The issue is we do not want our manufacturers to see we are using an outside source, no matter how well it works.
    Please if anyone has experience with this let me know. I am attaching a screen shot of the banner in case I am not using the propper term.
    Thanks in advance..

    Sorry, there currently isn't anyway to get rid of the branding in the email notifications.

  • How to integrate GP in Adobe forms?

    Hello All ,
    I am new to GP and Adobe forms(Webdynpro for Java) . How to integrate Adobe forms in GP .
    I am creating callable object for GP. But how it relates to Adobe forms.
    Thanks
    Risha

    Hi,
    This link might be useful for you:
    SAP Interactive Forms by Adobe in the Guided Procedures Environment
    https://www.sdn.sap.com/irj/sdn/java?rid=/webcontent/uuid/f057d803-3c53-2910-db92-a6a2f1cc7334 [original link is broken]
    Cheers,
    Arafat

  • Comined ABAP Webdynpro Adobe Form

    Hi,
    we're actually investigation the possibility to print out sales representative data
    from ECC to Adobe Forms. This works realy fine. The Idea is to send the pdf's to
    the sales representative which will fill out the forms offline and upload the pdf's via
    Webdynpro to the ECC-System back again.
    The question is now, that we do not get the pdf data back in the webdynpro. I was
    using a howto from sdn to get the upload of the pdf done and the pdf is shown to
    the user for review and then click on the send button. so far so good - the data will
    be send, but i don't know how to handle the data then.
    Has anyone of you an idea??
    Thanks for every hint,
    Mike
    PS: ECC 6.0

    Hi @ll,
    sorry, i forgot to mention the solution.
    The problem exactly was that I didn't know exactly the structure of the adobe
    document and had to update the data in the ECC-System, but I found the
    following sdn thread and  and could have a look at the adobe structure
    and did some xml-processing to get the data.
    The process goes on as follows:
    1. a new contact is being created in transaction VC01N
    2. a adobe interactive form is being send to the sales representative
    3. the sales p. filles out the form and uploads it to a webdynpro app
    4. the wd-app updates the contact in VC01n
    here is the code (maybe not the smatest code, but it works g):
    public void onActionFormSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionFormSubmit(ServerEvent)
        String xmlData = null;
         try{
              byte[] filebytearray = wdContext.currentContextElement().getPDFObject();
              ByteArrayOutputStream out = new ByteArrayOutputStream();
              IOUtil.write(new ByteArrayInputStream(filebytearray), out);
              IWDPDFObject pdfObject = WDPDFObjectFactory.getPDFObject();
              pdfObject.setPDF(out);
              InputStream in = pdfObject.getData();
              if (in == null) {
                   xmlData = "<empty>";
              else{
                   java.io.DataInputStream din = new java.io.DataInputStream(in);
                   StringBuffer sb = new StringBuffer();
                   String line = null;
                   while((line=din.readLine()) != null){
                        sb.append(line+"n");
                   xmlData = sb.toString();
                   //for debugging only (to see the xml structure before): wdContext.currentVBKAVBElement().setINCLUDETEXT(xmlData);
           catch( Exception ex ){}
           try{
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder documentBuilder = factory.newDocumentBuilder();
              Document doc = documentBuilder.parse(new InputSource(new StringReader(xmlData)));
              NodeList tmpNodeList = doc.getElementsByTagName("VBELN");
              Node tmpTextNode = tmpNodeList.item(0);
              Text tmpText = (Text) tmpTextNode.getFirstChild();
              wdContext.currentVBKAVBElement().setVBELN(tmpText.getNodeValue());
              NodeList tmpNodeList2 = doc.getElementsByTagName("KTABG");
              Node tmpTextNode2 = tmpNodeList2.item(0);
              Text tmpText2 = (Text) tmpTextNode2.getFirstChild();
              wdContext.currentVBKAVBElement().setKTABG(tmpText2.getNodeValue());
              tmpNodeList = doc.getElementsByTagName("KTAEN");
              tmpTextNode = tmpNodeList.item(0);
              tmpText = (Text) tmpTextNode.getFirstChild();
              wdContext.currentVBKAVBElement().setKTAEN(tmpText.getNodeValue());
              tmpNodeList = doc.getElementsByTagName("KTABT");
              tmpTextNode = tmpNodeList.item(0);
              tmpText = (Text) tmpTextNode.getFirstChild();
              wdContext.currentVBKAVBElement().setKTABT(tmpText.getNodeValue());
              tmpNodeList = doc.getElementsByTagName("KTAET");
              tmpTextNode = tmpNodeList.item(0);
              tmpText = (Text) tmpTextNode.getFirstChild();
              wdContext.currentVBKAVBElement().setKTAET(tmpText.getNodeValue());
              tmpNodeList = doc.getElementsByTagName("KTEXT");
              tmpTextNode = tmpNodeList.item(0);
              tmpText = (Text) tmpTextNode.getFirstChild();
              wdContext.currentVBKAVBElement().setKTEXT(tmpText.getNodeValue());
              tmpNodeList = doc.getElementsByTagName("KUNNR");
              tmpTextNode = tmpNodeList.item(0);
              tmpText = (Text) tmpTextNode.getFirstChild();
              wdContext.currentVBKAVBElement().setKUNNR(tmpText.getNodeValue());
    } catch( Exception ex2){}
    Mike
    Message was edited by: Mike
            Mike Fröhlich

  • Not able to attach file to adobe form 6.0

    HI Experts
    I have created an Interactive adobe form  and opening it in Adobe reader 6.0.2 . Now my requirement is to attach files to this form, but I am not able find any attachment option on the form.
    Please suggest how can I achieve this.
    regards
    Ashwini

    Hi,
    From your description, I would like to clarify the following thing:
    There are some types of message size limits and several scope of limits. Please check the message size limits and attachment size limits in your organization, connector, server and user.
    For more information, here is a helpful thread for your reference:
    Understanding Message Size Limits
    http://technet.microsoft.com/en-us/library/bb124345(v=exchg.141).aspx
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How to print barcodes in Adobe forms

    Hi All,
    I am new to Adobe forms, Please help me how to print barcodes in ABAP using Adobe forms.
    Thanks in advance.
    Regards,
    Satya.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Aug 26, 2011 4:17 PM

    Hi Vanessa,
    maybe this blog helps for the tables:
    [Adobe Forms Using: Nested Table, Text Module & providing the functionality of Page Total & Grand Total|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0583594050DB11063248235171113529End?blog=/pub/wlg/11236]
    and for the barcodes I found this:
    [Introduction to barcodes in SAP Interactive Forms by Adobe|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0583594050DB11063248235171113529End?blog=/pub/wlg/13061]
    I hope this provides some help for you.
    If you are not able to fulfill your task, it is a good idea to check the blogs, wikis and download areas here in SAP Community Network - usually the quality is some quantum leaps better than current  ABAP, General.
    Regards,
    Clemens

  • PDF Attachment problem in Adobe form and send mail is not working

    Dear Experts,
                         Recently i'm facing a problem regarding Adobe form PDF attachment and sending an e-mail along with the PDF attachment to customer mail id.But when i execute the RFC Function module, in customer side no mail is comming. And when i check the transaction SBWP then i found that the PDF attachment hold only 1KB of data which is not right.For that i'm sending my code which i was declared in my program.Can anybody please help me to overcome this problem?
    Warm Regards,
    sameek.
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
      data: t_att_content_hex type SOLIX_TAB.
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
            l_send type ADR6-SMTP_ADDR value 'Already provided an e-mail address here'.
      DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    Message body and subject*
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Please fill the attached form and send it back to us.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Customer Information Form').
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'Customer Information Form'
    I_ATTACHMENT_SIZE =*
    I_ATTACHMENT_LANGUAGE = SPACE*
    I_ATT_CONTENT_TEXT =*
    I_ATTACHMENT_HEADER =*
          i_att_content_hex = t_att_content_hex ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    Add attachment*
    Pass the document to send request*
      lo_send_request->set_document( lo_document ).
    Create sender*
      lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    lo_sender = cl_sapuser_bcs=>create( sy-uname ).*
    Set sender*
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    Create recipient*
      lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).*
    Set recipient*
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    lo_send_request->add_recipient(*
    EXPORTING*
    i_recipient = lo_recipient*
    i_express = 'X' ).*
    Send email*
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
      message 'The Customer Information form has been emailed to the Employee' type 'I'.

    I am also facing issue with email send .
    apex 4.1.1 oracle 11g
    create or replace procedure email ( p_email  in    varchar2)
    is
        l_workspace_id      number;
        l_subject           varchar2(2000);
        l_body              clob;
        l_body_html         clob;
         l_email varchar2(40);
    begin
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'xyz');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
    l_email:= p_email;
        l_body := ' ';
        l_subject := 'You have new tasks';
        --if l_email=:P3_CONFIRM_EMAIL_ADDRESS is not null then
       -- email( l_email =>:P3_CONFIRM_EMAIL );
    -- end if;
            l_body_html := '<p />The following tasks have been added.';
         apex_mail.send (
                p_to        => l_email ,
                p_from      => '[email protected]',
                p_body      => l_body,
                p_body_html => l_body_html,
                p_subj      => l_subject );
      APEX_MAIL.PUSH_QUEUE;
    end; I also check the log and queue but both are empty,
    select * from
    apex_mail_queue
    select * from
    apex_mail_log Kindly suggest what to do ?
    I also created a process in apex , which call this procedure and pass the email address entered by user.

Maybe you are looking for