Offline form security

Hello Experts,
I am working on the following offline scenario:
User fills in the Travel Form offline and sends the same by an email to one particular email ID. From this ID, we read the form, parse the same to get the data and then call the RFC to create Travel Request in SAP. This scenario is working fine.
However, I am thinking about security concerns of the same. Since anyone who has access to the form and an SMTP Server and can send a request in someone's name and this will create a travel request in SAP for that person.
So apart from digital signatures, what are my options? How can I make this scenario secure.
Regards,
Shubham

Hi Shubham,
If you do not want to use dig signatures (either on a pdf form or a signed email) the only thing you could do is to make it harder to break your scenario. "Making it harder" means that it can be broken.
You could use visible and or invisble IDs. In case of visible IDs you could ask your users to provide it (like the employee number or a transaction approval code). The latter is a specific secret only know to the user and a lot of variants of this approach exist.
So you can decided if it is sufficient to make it reasonably hard (this depends on you, the company and/or the scenario) or you want to go with digitally signing emails/pdfs.
Regards,
Juergen

Similar Messages

  • 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.

  • APEX Offline Forms

    I have requirement.
    Can we built offline forms on APEX meta data and populate base tables when connection is resolved.
    These forms need to be built on views on base bales.
    Edited by: |SN| on Oct 30, 2009 2:47 AM

    This is one of the few times when I say APEX is probably not the right technology for the job. You essentially have 2 major problems: Replication and Deployment.
    If they want to work offline, you're going to have to do some form of replication. Replication is NOT a trivial problem and whoever is working on it should have some experience with it. Oracle has a number of replication options using the Oracle Database. Another option to consider is a lighter weight database for the client db such as Berkley DB, which also has replication options: [Berkeley DB Replication|http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/rep.html]. I mention that as the deployment / upgrade process might be significantly easier for Berkley DB. We all know what an Oracle DB installation is like, or an upgrade to a newer release. Multiply that by 200 and it doesn't sound like a lot of fun.
    As far as deployment, you have to deploy database objects (tables, indexes, etc) and application code. There's no built-in deployment functionality in APEX to have it automatically upgrade itself when you release a new version of your software. You would have to write that yourself. Maintaining that many APEX installations also sounds like a management nightmare.
    To play devils advocate, I started changing my mind a bit as I was typing this ;) If you will have an Oracle Database at every location regardless of what front-end you use, then maybe the deployment of APEX apps isn't significantly different than say a J2EE app.
    Tyler Muth
    http://tylermuth.wordpress.com
    [Applied Oracle Security: Developing Secure Database and Middleware Environments|http://www.amazon.com/gp/product/0071613706?ie=UTF8&tag=tylsblo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0071613706]

  • 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.

  • 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

  • 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

  • Email on Visual Approval and offline form as attachment in UWL

    Hello,
    I have a process which is like this
    1) User to fill a form which on submit will go for approval.
    2) On approval or rejection a mail to be sent to the person who submitted the offline form
    I have done the following
    1) Create a offline form which will intiatiate the Visual Approval process . This sends out the approval/rejection work item to UWL . But the "From" field in UWL for the task item is "CAF SAP user"
    I need to know how to do the following
    1) What i need to do is on approval or rejection, some how capture the user who submitted the offline form and then send him an email. 
    2) Also, if possible on submit of the offline form , i need the UWL task to contain the PDF attachment.
    3) How do i send an email on the result state in Visual approval ? There are two result states defined"Data is approved" and "data is rejected"  , but the "Target"  column doesnt have any options.
    Appreciate your help
    Regards
    Jayesh
    Is this possible ?
    Edited by: Jayesh Ghodge on Jan 16, 2008 4:04 PM

    I have set a callable object of background email type in the action which is mapped to a result state that it should sent out an email on approval or rejection.(target)
    The block is executed successfully. but the email is not sent.
    I tested the individual callable object alone and the email was sent out.
    I have two questions
    1) In visual approval where we define the email templates, can some it be a context parameter picked up from adobe form which contains email textfield ( this value will be whom the approval/rejection mail are sent) ?
    2) how do i pass parameters from Visual approval block to action of callable obect email type since it requires "recipeint email address"
    My process is like this
    Process -
    > Start process
        Block -->  Start block
           Action ---> StartAction
              Visual Approval Callable object
                   Result states
                         Approved --> (Target:ActionApproved)
                         Rejected  --> (Target:ActionRejected)
           ActionReject
                  Reject Email background Callable object
           ActionApprove
                  Approve Email background Callable object
    The process is kicked off when user submits an offline form
    Appreciate if someone can guide me on this.
    Regards
    Jayesh
    Edited by: Jayesh Ghodge on Jan 17, 2008 7:06 PM

  • Dynamic dropdown filling in offline form

    Hi,
    I have a internal table contaning some values, i have binded my dropdown element wih the field of the table containing the values, however i see only the first value in the table and its an offline form.
    Correct replies will be well rewarded.

    Hi,
    Open the form in the designer.
    Go to Tools -- Options -- Data Binding
    Check "Show Dynamic Properties" and close it.
    Select the dropdown
    Go to Object Palette, Cell tab
    List Items will now be a link .... click on it...
    Navigate to the node having the data for dropdown
    eg. $record.NODE_01.DATA[*]
    Item Text myText
    Item Value myValue
    (Assuming NODE_01 has attributes myText and myValue)
    Apart from this, make the following checks, in WD4A if the displayType is Native create dropdown from Web Dynpro Native Library, if displaytype = ActiveX, create dropdown from WebDynpro ActiveX Library
    Also what is the layout Type for the form???
    Regards,
    Reema.

  • Need help with receiving offline form in GP

    I'm new to GP and interactive forms on EP 7.0 SP15 and running into a problem with submitting an offline form and GP starting the process.   The examples were followed on how to set up the callable object with an interactive form.  I've got the form set up to be used as a standalone interactive form and starting a process upon completion.  I've selected the process which is active and completed the mapping.  Went through the steps to manage impersonalized interactive forms.  Downloaded the form, entered data and submit.  Get the message back that it was received successfully.  Went back and checked manage impersonalized... and can see that the form was returned.  Go back to Runtime and can't find the process listed anywhere.  Where is it going?  Is there a way to track it down?  Looked at Maintain queues and checked each queue, can't find anything with a timestamp around the time the last form was submitted.  Any ideas on how to figure this out would be appreciated.
    Thank you,
    Kathy

    Thanks for the reply! I was able to reset the field calculation order
    but have one field that is not populating right away and I have
    changed it's order everywhere?

  • HTTPS communication for Adobe Offline form with SAP ABAP WAS

    Hi Experts,
    Can we use HTTPS communication method to call a SAP ABAP Web Service from an Adobe offline form?
    Example : I have a SUBMIT button in my Adobe offline form and when clicked, it populates a sales order number in the form.
    Here my SAP ABAP server from where it reads the info is using HTTPS communication method. Now if i use the same service with HTTP it works fine but if i switch the service to use HTTPS it shows me an error "Error attempting to read from file. <https://FQDN/<service name> .
    I am using self-signed SSL server certificate from SAP ABAP server. But here i also see a certificate error in my browser (IE 7.0) saying "Untrusted Certificate". Is this the reason for my above issue?
    I could not find any post in SDN giving me the answer.
    Regards,
    Hobin

    Hi,
         The Certificates are already imported into the Trusted Certificates Section. But the real Issue is regading the Adobe Offline forms. If I open the Adobe Offline forms in the Adobe reader 9.0 and the Web Service call is made based on the Https:// . It saying "Error attempting to Read the file". The Fully qualified domain name is also provided VA. I have tried to import the certificates to Adobe Reader's -  Trust Identities but still it is not working . If I switch the webservice authentication method to Http:// then it would work. ADS is already configured with SSL. And the HTTPS:// based WebService embedded in the Adobe Interactive Form is working ,if the form is Online in the Browser (integrated in the Webdynpro Abap UI element).
    Is there any other way to Add SSL Certificates to Adobe Reader , so that Https:/ based webservice will work if the Form is opened in Adobe Reader 9.0.
    Regards,
    Hobs

  • 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

  • Guided Procedure - Authorizing an offline form

    Hello,
    we're currently developing a Guided Procedure using an interactive offline form. The GP shall continue the process when the form is submitted back using HTTP.
    Actually, we need to have authorization to make sure that only certain persons can return the data.
    What's the best way to archieve this?
    The best would be if the user is asked to provide uid/pwd and restrict access to the GP process in some way. Does Acrobat Reader come up with a pop up?
    Thanks very much
    Stefan

    Hi Cindy,
    Your scenario seems to be a standard offline process.
    Let me attempt to break it down for you:
    1.Your offline pdf should have a submit button with the mail url.
    2.The mail with the pdf/xdp attachement gets send to the preconfigured mailbox.
    3.This mailbox is continously monitored by GP Adapters for any incoming mail.
    4.In your design time you create a CO of type Interactive form which is basically your offline form.You also create your GP Process with the review and approving process.
    5.Map the parameters of the Offline Interactive form CO to the Process Parameters.
    (You should ensure the two have the same structure and number of parameters to make the mapping simpler)
    6.So at runtime GP will do the mapping for you and when the approver logs on he sees the data passed from the offline form.
    You can also refer this link,
    http://help.sap.com/saphelp_nw70/helpdata/en/cc/4a94422386c76ae10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/cc/4a94422386c76ae10000000a155106/frameset.htm
    Kindly award points if found helpful!

Maybe you are looking for

  • How to achieve following scenario through Payment term

    Hello All, Our Client wants the Following scenario to be achieved through payment terms in the system: 30 Days Due Net 20th of the subsequent month If an invoice gets posted on 01.04.2011- The Invoice should get overdue on 20.05.2011 If an Invoice ge

  • Skype login history for criminal trial? Need IP Li...

    Hello, I am in a situation where a forged skype message is being used in court as evidence against a close friend of mine. We know the message is fraudulent but we need the skype-ip-login-history in order to prove it.  Is there a legal department or

  • Netscape ECXpert with Oracle 8i

    Is anyone supporting Oracle 8i which comes with Netscape ECXpert package? If so, can I get any details about it? Thank You null

  • Screen Capture Problems

    I got this question from a client and can't find any answer. Is there a way to fix this short of reinstalling the operating system? Just a brief question of you regarding the screen shot - command-shift-4. When I do this I now get an alert sound with

  • I have been trying to download and install a trial. What is the best browser to use and how do i do it?

    I have been trying to download and install a trial. What is the best browser to use and how do i do it? The set up and everything is on the desktop but it never seems to load anything?