Uploading Offline Form

Hi.
I am trying to upload offline Adobe form.
I created a form in ZCI layout and made it native.
I created FileUpload UI Element and tried to upload the form to Web Dynpro, but nothing is uploading.
I selected pdfsource as data for FileUpload UI Element.
It is my understanding that I do not have to write any code to get this done. Am I wrong?
What am I doing wrong?
I have Netweaver 7.0 SPS 16.
Thanks for any help you can give.
John
PS Also if you know of a link that give tutorial/example of using offline form w/ latest version (ZCI w/ native), I'd appreciate the link.  Thanks.

Hi.
I am trying to upload offline Adobe form.
I created a form in ZCI layout and made it native.
I created FileUpload UI Element and tried to upload the form to Web Dynpro, but nothing is uploading.
I selected pdfsource as data for FileUpload UI Element.
It is my understanding that I do not have to write any code to get this done. Am I wrong?
What am I doing wrong?
I have Netweaver 7.0 SPS 16.
Thanks for any help you can give.
John
PS Also if you know of a link that give tutorial/example of using offline form w/ latest version (ZCI w/ native), I'd appreciate the link.  Thanks.

Similar Messages

  • How to pass data from offline form to webdynpro java

    Hi,
    Please suggest me how to pass data from offline from to webdynpro java node?
    i am using the below code to pass data from offline form(after entering values in the form) to node . i am using form upload ui element to upload offline form and after that i am providng a button to update data.But still i am not able to see data in the node.Any suggestions on this.below code is wriiten on action of the button.
    wdContext.currentContextElement().setPDFSource(null);
           try
                if(null!=wdContext.currentContextElement().getAttributePointer("Resource"))
           IWDResource fileResource = wdContext.currentContextElement().getResource();
         if("PDF".equalsIgnoreCase(fileResource.getResourceType().getFileExtension()))
           byte[] b = new byte[wdContext.currentContextElement().getResource().read(false).available()];
           wdContext.currentContextElement().getResource().read(false).read(b)                     wdContext.currentContextElement().setPDFSource(b);
           WDInteractiveFormHelper.transferPDFDataIntoContext                 (wdContext.currentContextElement().getPDFSource(), wdContext.nodeVn_TestData());                                                               
                     else
                          wdComponentAPI.getMessageManager().reportException("Please enter correct file");
                else
                     wdComponentAPI.getMessageManager().reportException("Error while uploading file"); 
           catch (Exception e) {
                wdComponentAPI.getMessageManager().reportException
                ("Error in uploading the Adobe Form :"+e.getLocalizedMessage(),false);
    Regards,
    Pavani

    If you choose the second alternative you should erase these global variables after the second form is opened
    You can erase the global variable using:
    erase('global_var')
    Greetings,
    Sim

  • Get form values from an uploaded offline interactive form.

    Hi,
    I have created a simple offline interactive form with 2 text input elements Email and PhoneNumber.
    I have created a button on the view. In the action, I have to get the values of the Email and PhoneNumber
    How to capture input values from an offline interactive form.
    Thanks
    Srinivas

    Hi Arafat,
    I followed the how to do document https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/offline%20interactive%20pdf%20form%20using%20download.pdf , and it mentioned what you just said. But I couldn't understand your suggestion "In second view you need to embed the IF element and create the required context attributs mapping for fields. Set the pdfMode as usePDF."
    In the second view, I have created another interactive form for previewing the offline form.
    I am able to preview the offline form. On submit action (submit button is on the view), when I print the context values, I get nulls.
    Thanks
    Srinivas

  • How to upload offline adobe form(PDF) to the SAP?

    Hi,
    I am working on adobe forms for the first time.
    So I dont have much knowledge on it.
    I have created the layout for the SO form in transaction SFP.
    Kindly help me how to proceed further to upload the form data to the sap.
    Thanks in advance,
    Neha

    Hi Neha,
    The program will have the following steps:
    1.Data retrieval and processing : A select statement for the pre-populated information
    2.Obtain the name of the Generated Function Module of the form u2022 Start the form processing
    3.Call the Generated Function Module
    4.End form processing
    5. Send the form to the vendor using Business communication services (BCS)
    Follw this step
    select single field1 field2... from table into wa where field = P_field.
    call function 'FP_FUNCTION_MODULE_NAME'
    call function 'FP_JOB_OPEN'
    Then call the generated function module
    call function fm_name
    call function 'FP_JOB_CLOSE'
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    Extract the Data:
    DATA: xml_data TYPE xstring,
          lt_xml_data TYPE STANDARD TABLE OF xstring.
          APPEND xml_data TO lt_xml_data.
    lo_pdfobj->get_data( IMPORTING formdata = xml_data ).
    Convert XML data from XSTRING format to STRING format DATA: lv_xml_data_string TYPE string.
    CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
    EXPORTING im_xstring = xml_data
    IMPORTING ex_string = lv_xml_data_string.
    Thanks

  • ADOBE AIR for offline applications or Adobe LiveCycle Designer Offline form

    Hi Experts,
    I have a requirement of recreating the XK01 Customer Master Creation functionality and host it as online application in SAP Netweaver Enterprise Portal. I have done this by creating a Web Dynpro ABAP application and embedding a adobe livecycle designer interactive forms (having same fields as required for Customer Master creation in XK01). In online scenario, the PDF form opens up in browser. In offline scenario, the user can fill up the form and upload the form using UPLOAD button created in the Web Dynpro application. There has been some performance issues like if we have too many dropdown UI elements in the form (having many entries in each), then the form takes too much time to get uploaded.
    Can we think of a alternate solution using Adobe AIR desktop application which will enable the user to fill up the form in AIR like User interface. I am new to Adobe Flex and Adobe AIR.
    The online scenario  perfectly fine with Adobe LiveCycle Designer Forms and SAP ABAP Web Dynpro application. It's offline functionality where its performance hasnt been up to the mark.
    Also let me know if Adobe AIR can be used in the offline scenario while ADOBE forms in online scenarion or is it mandatory to have AIR AND FLEX in offline and online scenario respectively.
    Please advise.
    Regards.
    Rohit

    hi,do you still need an answer for this question?
    Because Adobe flex and air are very good solutions for a offline and online scenario
    Kind regards,
    Anton Pierhagen

  • How to send an  email to external user (offline form) from se38

    Hi all
    how to send an  email to external user (offline form) from se38 and upload the same from recipent.
        we have sent mail using scripts and smartforms but couldnt do here. It will be helpful if you can give us any sample code
    regards
    mohammed

    Hi,
    Have a look at this thread [Re: Sending PDF forms (created using SFP) as Email Attachment]  i explain all the solution with a sample code .
    Hope it's help you
    regards

  • Adobe offline form submission without HTTP or SMTP.

    Dear Adobe Gurus,
       Can offline Adobe forms can be submitted without uploading the form to a webdynpro application(HTTP) or sending an email(SMTP). In crude terms, if I have a PDF form with submit button. Can I open the PDF, click on the submit button and get the PDF form submitted. Please let me know your thoughts here and also what do you think is the best option to integrate the Offline PDF forms into SAP system.
    Thanks!
    Surya.

    Hi,
    If i understand weel you want to send back the form to SAP in an offline scenario without using SMTP or HTTP(S) , that's right ?
    There are 3 solutions for send back the form to SAP :
    1 - HTTP(S)
    2 - SMTP with an inbound processing define in SAP system
    3 - Upload directly into SAP.
    To upload data in SAP system you have to convert the Adobe forms into IXML data and then process the XML to extract data ...when it's finised you have to call a BAPI for updating data.
    Have a look here, you will find information on SMTP Flow .... [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCodeforprocessingInboundMailwithAdobeInteractive+Forms]
    Hope this help you.
    Best regards

  • How do I upload a form to my website using form central?

    How do I upload a form to my website using form central?

    Using Form Central you can distribute your form as a web-based HTML form, a fillable PDF form, or both.
    You can copy the URL or the embed code for the form and post it on your website. When a respondent clicks the link, the fillable form opens in a browser window.
    The only exception: These options don’t apply to fillable PDF forms that you imported into Adobe FormsCentral.
    Please refer to the article http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b16-9d277de12da94c8037-8000. html#WS49f7d3dd80da808f7c9fcbc138d00a7399-8000.

  • Error is in example  "How to Create Online and Offline Forms in Web Dynpro"

    Hi,
    I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
        at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 34 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
    Web Dynpro Code Generation Infos
    local/TravelRequest
    SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
         at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    So please help me to correct this error .....
    Help will be rewarded.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    A null value is being passed at runtime. Make sure that you enter values when filling in the form.
    Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
    In wdDoInit() method:
    wdContext.currentNodeAElement.setValueA("");
    Context is as follows:
    RootNode
      |____NodeA
            |_____ValueA
    Hope it helps.

  • Error in Transaction SFP when trying to upload a form (note 1387091)

    Hiho
    I'm trying to upload a form that was attached to note 1387091 with transaction SFP. When I try to upload the form I get the following error message:
    Error occurred in SAFP UI
    My procedure is the following one: I go to transaction SFP, type in the name of the form (/SAPSLL/PF_CH_PANNENLSG_EXP),  click on "Utilities - Upload Form Object", browse to the form and I click on ok.
    ADS is working fine.
    Hope someone can help...
    Thanks in advance.
    Regards
    Marco

    Hi Mukesh
    I downloaded newest ALD and installed it on my computer and on the server.
    Unfortunately the error still persists.
    Do I have to start the ALD in some matter? I tried the upload still with my SapGui.
    Regards
    Marco

  • Form once saved, data is disappearing on the offline form!

    Hello
    I am lauching my_form on IE browser on the 3/4 of the screen of GUI (Graphical User Interface of SAP), on the rest of the screen i put some GUI push buttons for SUBMIT (am not using Adobe's SUBMIT button). By chance if user forgets any mandatory field populating, then am throwing a GUI popup message, then the user closes this popup message, well, but
    1) User can see physically data presenting on the form, but when user SAVEs the form by pressing Adobe's SAVE button.....the SAVEd copy on the local PC does not holding any data! all the form is blank
    This is happening if popup comes up and user closes it
    Pls. let me know how can i fix this issue that the form must retail the entered data all the time irrespective of popups
    Thank you

    Thank you. Sorry my original question is confusing, i will put it in the below way instead,
    1st scenario:
    I am launching 2 pages my_form on the IE browser, am entering data on first page, at this point i saved it on my laptop, it saved properly and when i checked the saved copy (offline copy) its holding all the entered data, well.
    Now, the issue is,
    2nd scenario:
    I am launching my_form, am entering data on first page, at this point I SUBMITted the form (am not using Adobe's SUBMIT button, i have my own custom SUBMIT button outside of Adobe),
    2A) Say, there is some errors (example, formatting, madatory fields not fillled, cross-depenedency validations failed)..... my application (its not adobe, i have my own custom application) is throwing some message
    Now, user can see the entered data on the form physically....if user saves at this point, then, the saved offline form not holding any data
    2B) Say, its successfully submitted, then my aplication (its not adobe, i have my own custom application) is throwing a message saying that "Successfully submitted" via Popup
    Now, user can see the entered data on the form physically....if user saves at this point, then, the saved offline form not holding any data
    Issue is coming when messages are throwing...i guess at this point some stuff/memories/nodes/fields/variables are clearing/loosing its data
    Thank you

  • Calling web service in offline form.

    Hi,
    I m trying to call web service in offline form with java script.
    How can i pass request parameter? How can i get response?
    Is there a sample java script code to do it?
    Regards.

    >>I m trying to call web service in offline form with java script.
    after you create the webservice dataconnection, drag and drop the WS into layout area. it will create the input fields related to the request parameters and output textfileds corresponding to response parameters.
    >>How can i pass request parameter?
    using javascript, you can fill those inputfields with the values of request parameters and use the method xfa.connectionSet.WSName.execute(0) to invoke the webservice.
    >> How can i get response?
    After successful execution of webservice call, the response values will be populated in the response textfields.
    >>Is there a sample java script code to do it?
    you can see some of the docs:
    Understanding the Execute function in Adobe® LiveCycleu2122 Designer
    http://wiki.sdn.sap.com/wiki/display/EmTech/DependentDropDowns
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
    regards,
    BJagdishwar.

  • Check Box Validation in Offline Form

    Dear Experts,
    I have a requirement in an offline form where I have six check boxes, and out of the six check boxes
    user can only select any three.
    Request you to please suggest how to achieve this.
    Warm Regrads,
    Upendra Agrawal

    Thanks a ton Shaira.
    Full points to you
    Just wondering  what is the "Validation Script Message" for each UI.
    warm regards,
    Upendra Agrawal

  • Adobe Offline Forms issue in GRC System

    Experts:
    I am working on creating a Offline Form for GRC Process Control  in SAP GRC System. I have couple of doubts.
    1. In the Form property, there is a new field call 'Inbound Handler'.    The document which I referred says  that, this 'inbound handler' helps in processing the inbound pdf's which comes thro mail.       In this place we need to select the class developed with 2 methods, 1.Create Instance and 2. Handle PDF.    And the document also talks about creating a separate class and referring it in the exit rules (SO50).     I am not sure whether Inbound Handler is a replacement for Exit Rules (SO50) so something else.  Please Clarify.
    2. While generating the PDF file, as you know we call the series of function modules. I have problem with the FM ' CALL FUNCTION fm_name' . When this FM is executed,  normally it should generate the PDF and XML which will be available in fp_formoutput-pdf and fp_formoutput-xml.  But in this system even when there is no issues with the export parameters, the FM is not able to generate the PDF and XML. Both fp_formoutput-pdf and fp_formoutput-xml are coming as EMPTY. Result of which when the FM 'FP_JOB_OPEN' is called it displays the message 'No Job Started' and exits the program.  This same program works find in ECC 6.0 system. Can anyone thro some light on this?
    Line: -
    TYPES: BEGIN OF st_test,
           one   TYPE string,
           two   TYPE string,
           three TYPE string,
           END OF st_test.
    DATA: it_test TYPE st_test  OCCURS 0.
    DATA: wa_test TYPE st_test.
    DATA: fp_outputparams type sfpoutputparams.
    DATA: fm_name TYPE rs38l_fnam.
    DATA: fp_docparams TYPE sfpdocparams.
    DATA: result TYPE sfpjoboutput.
    DATA: fp_formoutput type fpformoutput.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-b02.
    PARAMETERS: p_taskid TYPE grfntaskplan-taskplan_id DEFAULT 'DF492600B7308BF19F5E00237D624FE0' OBLIGATORY,
                p_email  TYPE ADR6-SMTP_ADDR DEFAULT 'a@b' OBLIGATORY,
                p_tmail  TYPE ADR6-SMTP_ADDR DEFAULT 'a@b'' OBLIGATORY,
                p_form   TYPE fpwbformname   DEFAULT 'ZAOF_TEST',
                p_langu  TYPE spras          NO-DISPLAY DEFAULT 'EN',
                p_countr TYPE land1          NO-DISPLAY DEFAULT 'US',
                p_pages  TYPE fppagecount    NO-DISPLAY DEFAULT 2,
                p_loop   TYPE i              NO-DISPLAY DEFAULT 1.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
    START-OF-SELECTION.
    wa_test-one = 'One'.
    wa_test-two = 'Two'.
    wa_test-three = 'Three'.
    append  wa_test to it_test.
    END-OF-SELECTION.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name     = p_form
      IMPORTING
        e_funcname = fm_name.
    fp_outputparams-getpdf = 'X'.
    fp_outputparams-nodialog = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = fp_outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 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.
    DO p_loop TIMES.
      fp_docparams-langu   = 'E'. "p_langu.
      fp_docparams-country = 'US'."p_countr.
      fp_docparams-FILLABLE = 'F'.
      fp_docparams-dynamic = 'X'.
      fp_docparams-UPDATE_INTERACTION_CODE = 'X'.
      CALL FUNCTION fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          Ztest      = it_test
        IMPORTING
          /1bcdwb/FORMOUTPUT = fp_formoutput
        EXCEPTIONS
          cancel             = 1
          usage_error        = 2
          system_error       = 3
          internal_error     = 4.
    ENDDO.
    CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        e_result       = result
      EXCEPTIONS
        usage_error    = 1
        system_error   = 2
        internal_error = 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.
    Thanks in Advance
    Vijai
    Edited by: Thomson VijaiAnand on Apr 21, 2010 11:15 AM

    Hi Thomson 
      I met a similar probleam.
      Could you explain how you get it through?
    Thanks

  • Offline Form Issue in SAP GRC System

    Experts:
    I am working on creating a Offline Form for GRC Process Control  in SAP GRC System. I have couple of doubts.
    1. In the Form property, there is a new field call 'Inbound Handler'.    The document which I referred says  that, this 'inbound handler' helps in processing the inbound pdf's which comes thro mail.       In this place we need to select the class developed with 2 methods, 1.Create Instance and 2. Handle PDF.    And the document also talks about creating a separate class and referring it in the exit rules (SO50).     I am not sure whether Inbound Handler is a replacement for Exit Rules (SO50) so something else.  Please Clarify.
    2. While generating the PDF file, as you know we call the series of function modules. I have problem with the FM ' CALL FUNCTION fm_name' . When this FM is executed,  normally it should generate the PDF and XML which will be available in fp_formoutput-pdf and fp_formoutput-xml.  But in this system even when there is no issues with the export parameters, the FM is not able to generate the PDF and XML. Both fp_formoutput-pdf and fp_formoutput-xml are coming as EMPTY. Result of which when the FM 'FP_JOB_OPEN' is called it displays the message 'No Job Started' and exits the program.  This same program works find in ECC 6.0 system. Can anyone thro some light on this?
    TYPES: BEGIN OF st_test,
           one   TYPE string,
           two   TYPE string,
           three TYPE string,
           END OF st_test.
    DATA: it_test TYPE st_test  OCCURS 0.
    DATA: wa_test TYPE st_test.
    DATA: fp_outputparams type sfpoutputparams.
    DATA: fm_name TYPE rs38l_fnam.
    DATA: fp_docparams TYPE sfpdocparams.
    DATA: result TYPE sfpjoboutput.
    DATA: fp_formoutput type fpformoutput.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-b02.
    PARAMETERS: p_taskid TYPE grfntaskplan-taskplan_id DEFAULT 'DF492600B7308BF19F5E00237D624FE0' OBLIGATORY,
                p_email  TYPE ADR6-SMTP_ADDR DEFAULT 'a@b' OBLIGATORY,
                p_tmail  TYPE ADR6-SMTP_ADDR DEFAULT 'a@b'' OBLIGATORY,
                p_form   TYPE fpwbformname   DEFAULT 'ZAOF_TEST',
                p_langu  TYPE spras          NO-DISPLAY DEFAULT 'EN',
                p_countr TYPE land1          NO-DISPLAY DEFAULT 'US',
                p_pages  TYPE fppagecount    NO-DISPLAY DEFAULT 2,
                p_loop   TYPE i              NO-DISPLAY DEFAULT 1.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
    START-OF-SELECTION.
    wa_test-one = 'One'.
    wa_test-two = 'Two'.
    wa_test-three = 'Three'.
    append  wa_test to it_test.
    END-OF-SELECTION.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name     = p_form
      IMPORTING
        e_funcname = fm_name.
    fp_outputparams-getpdf = 'X'.
    fp_outputparams-nodialog = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = fp_outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 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.
    DO p_loop TIMES.
      fp_docparams-langu   = 'E'. "p_langu.
      fp_docparams-country = 'US'."p_countr.
      fp_docparams-FILLABLE = 'F'.
      fp_docparams-dynamic = 'X'.
      fp_docparams-UPDATE_INTERACTION_CODE = 'X'.
      CALL FUNCTION fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          Ztest      = it_test
        IMPORTING
          /1bcdwb/FORMOUTPUT = fp_formoutput
        EXCEPTIONS
          cancel             = 1
          usage_error        = 2
          system_error       = 3
          internal_error     = 4.
    ENDDO.
    CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        e_result       = result
      EXCEPTIONS
        usage_error    = 1
        system_error   = 2
        internal_error = 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.
    Thanks in Advance
    Vijai
    Edited by: Thomson VijaiAnand on Apr 21, 2010 11:15 AM

    Hi Thomson 
      I met a similar probleam.
      Could you explain how you get it through?
    Thanks

Maybe you are looking for

  • 'int' not serializable!?

    Hello all, When deploying my application to WLS 8.1, I keep getting warnings along the lines of <Warning> <EJB> <BEA-012034> <The Remote interface method: '//snip// Foo.bar(java.lang.String,int) throws java.rmi.RemoteException //snip// contains a par

  • APEX tabs do not appear in some browsers (after 5)

    I am using APEX 4.2 to build a fairly simple application. I am pretty new to this, but I noticed the following: I use standard level1 tabs and I noticed that depending on the browser I use I can only see a maximum of 5 tabs. It just does not display

  • Field selection for J1ID

    Hi All, I want to make PAN number field(Vendor excise details) in J1ID as mandatory. How to make it mandatory. Thanks and Regards Pavan

  • Network Adapter can't connect - HELP!

    I'm getting the infamous "Network adapter could not establish the connection" error for my RDBMS realm. I am running WLS 6.1 on Win2k. What is really wierd is that I have an instance of WLS 5.1 running on the same box and I don't see that problem. Th

  • VI Not Outputting DAQ Signal

    I'm working on a project which requires two different waveform outputs to two separate channels. It also includes a trigger for a computer which has a camera hooked up to it. I was provided a VI that someone previously had used for a similar project