Offline scenario - post data from saved form to SQLServer

This is the scenario am struggling to develop. User downloads the interactive form.  Goes offline. I mean no connection to the Web Application Server. But he will have access to a SQLServer database (it may be on his machine or in his intranet). He will fill the form and save it on his local hard disk. Now, I want his saved form data to be posted to the SQLServer.  I thought about a couple of ways to do this.
1) Is it possible to change the control type of 'Submit' button to submit and then in the URL field, call some ASP page (this page is deployed on a local IIS) and then submit the form fields to that ASP page which takes care of database connection, posting etc. So user downloads form only once. But fills it with different data each time and clicks submit. First of all, will submit button work when the form is not opened in web browser? I mean when it is saved on a local hard disk opened in a standalone Adobe Reader?
2) Is it possible to write some java program using any APIs and extract the data from the form saved on local hard disk? It may be possible because I have the .xdp file for the form. But I dont know if there are some APIs available to do the same.
Any inputs whether these ideas are feasible? Any other new ideas are also welcome. Thanks in advance.

Hi Narayana,
if you want to export xml data from Reader to local disk you can use a command:
xfa.host.exportData("",0);
It works like from menu Export data from Forms.
To your second post:
Yes, you can save form in Adobe Live cycle designer as pdf and you can open it in Adobe Reader and test it. It will work.
In tab Submit for your button set these properties:
Submit Format: XML Data (XML)
Submit to URL: url of your page
Encoding: UTF8
Here is a sample code in c# for asp.net. Insert method save to your asp.net page and call it from method Page_Load.
          using System;
          using System.IO;
          using System.Web;
          private void save()
               const int coniBufferLen=1024;
               string lsTmpFile;
               try
                    lsTmpFile="c:\adobe\body.pdf.xml.txt";  // File on local disk where to save xml data sent by Reader. IIS needs rights to write here.
                    FileStream loFS=null;
                    try {loFS=File.Create(lsTmpFile);}
                    catch (Exception e1)
                         // TODO
                         return;
                    int liCelkem=Request.ContentLength;
                    int liNacteno=0;
                    byte[] laResponse=null;
                    int liLen=Math.Min(coniBufferLen,liCelkem-liNacteno);
                    while (liLen>0)
                         try
                              laResponse=Request.BinaryRead(liLen);
                              loFS.Write(laResponse,0,liLen);
                         catch (Exception e1)
                              try {loFS.Close();}
                              catch {}
                              try {File.Delete(lsTmpFile);}
                              catch {}
                              // TODO
                              return;
                         liNacteno+=liLen;
                         liLen=Math.Min(coniBufferLen,liCelkem-liNacteno);
                    loFS.Close();
               catch (Exception e2)
                    // TODO
                    return;
Michal

Similar Messages

  • How do you print data from a form?

    From the interactive report, there's a built in function to print to variious formats (e.g., PDF, CSV, etc).
    As long as the columns do not exceed the width of a page, it's okay.
    But what I want to do is when a user clicks on 'edit' from the interactive report and displays the data entry screen, I want to be able to have a 'Print' button to print the data from a form.
    Don't want to manually modify the URL to change a parameter to print.
    Really appreciate any help I can get on this matter!!!

    I want to be able to have a 'Print' button to print the data from a form.Create a Print button in the form page with an <tt>onclick</tt> attribute that calls the method<tt>print()</tt> method:
    onclick="window.print();"
    Don't want to manually modify the URL to change a parameter to print. Sounds like you want to be able to control which page elements are printed and how they are formatted?
    This is quite straightforward using a print media style sheet.
    You'll need to identify CSS selectors (usually IDs and classes) from the page HTML for the components and regions that are not to be printed: a web inspector such as that found in Safari, or the Firefox+Firebug combo is useful for this. It's also a good idea to give all of your regions a unique static region ID to assist with this identification. Using this information, you can construct the style sheet to exclude all of the unwanted content using <tt>display: none</tt> rules.
    In a simplified example, say you identify that there are 4 regions on the page, and you only want to print region 3. You would add the following style sheet to the page HTML Header:
    <style type="text/css" media="print">
    #region-1, #region-2, #region-4 {
      display: none;
    </style>+{message:id=2475831}+ is a solution to a similar problem, and see this article for more enhancements that can be included in your print style sheet.
    Really appreciate any help I can get on this matter!!!You'll get effective help more quickly if you include the following information upfront when posting a question. This enables others to understand, replicate and determine the most appropriate fix without wasting time asking all kinds of supplementary questions:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s)/version(s) used
    - Theme used
    - Templates used
    - Region/Report/Process type
    And please update your forum profile with a better handle than "846623".

  • Error while posting data from SCM to XI

    Dear Expertise,
    I got a requirement where I need to post data from SCM to XI server. From SCM
    side it is an ABAP proxy. When I tested the scenario and checked in the MONI of
    SCM I got an error. But SCM is correctly configured pointing to XI under Tcode
    SM59 (SM59 --> Connection Type H (HTTP Connection to ABAP System) -->with
    correct user credentials and PIPE line URL of XI server).
    Please let me know is this the correct settings for ABAP proxy for connecting
    from SCM system to XI system.
    Error Dump in SXMB_MONI:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
    <SAP:AdditionalText><!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN">
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks in Advance,
    Gujjeti

    HI
    Check these
    For Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    • Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    • If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    • If the error is in Adapter Engine
    –then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    • May be wrong password for user XIISUSER
    • May be wrong password for user XIAFUSER
    – for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message

  • Need to POST data from a desktop client to a server.

    Hello all, it's been awhile since I've posted here, so I hope everyone has been doing well.
    I have cross posted this here java - Need to POST data from a client application to my server - Stack Overflow but no answers, and since SO has been extremely slow for the questions I've been asking I am posting here.
    Here is the post:
    I know the title is probably a common question, but I am a bit confused on everything I'm trying to do, so I am trying to piece it together, and figured a common title would be better than a confusing one.
    I am basically developing a web application and one part of that is a file uploader. I am using Apache Commons File Upload via the Streaming API, and that all works fine, except I need to access the file I'm uploading, because that contains data to additional files to upload.  I.e., Read File A, get paths to images, upload images with File A to server and save on server.  The API can be found here http://commons.apache.org/proper/commons-fileupload/streaming.html
    I was told there is a security risk via the web and would be impossible via a browser, since the user needs to select all files to upload, i cannot tell the browser to upload additional files, so I am left with a client side option.
    I am confused if there is a special library I need, or as I have been seeing threads that talk about using the built in UrlConnection Class or http://hc.apache.org/
    I basically need to be able to read the file, which technically gives me a path to a Database on the user's system which I then read to get the additional images.  After I get all of that I then  need to post the data as a multipart form as that is what the FileUpload requires.
    form method="POST" enctype="multipart/form-data" action="fup.cgi">
      File to upload: <input type="file" name="upfile"><br/>
      Notes about the file: <input type="text" name="note"><br/>
      <br/>
      <input type="submit" value="Press"> to upload the file!
    </form>
    This is the example found in the Overview section of the Fileupload which can be accessed from the link above.
    There wouldn't be an issue if the users uploaded all of the data themselves, but since I have to do some of it automatically it causes some "concerns/issues."
    Basically these files are created and packaged from another application, so the images, and the db will always be in the same place, and that file that they are uploading is a file the other program creates, so everything will always be known, I just need to upload it, and then POST it as enctype="multipart/form-data" So that my servlet can read it and save it on my server.
    So I would appreciate it if anyone had any suggestions on where to begin my journey with this.  I have heard of a few applications like curl and wget that are used for this, but those seem to be more C based.  As mentioned earlier it seeems the httpcomponets from apache might work well, but I want to make sure.
    I appreciate all the help, thank you for your time all.

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can we post data from CRM to SAP using ABAP proxies???

    Hi ,
      Can anyone hep me to create interface for the following scenario How can we post data from CRM to SAP using ABAP proxies???, can I find any document ???????
    Thanks in advance
    Andy

    Andy,
    Please look at these weblogs.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    These should give a good idea about implementing Proxies.
    Regards,
    Ravi

  • GP - CAF : How to capture data from impersonalized form.

    Hi All,
              I have a requirement where in I have submit the data offline using an Adobe form and this data should be fed to an RFC any no if times.
    I have created a interactive callable object (Impersonalized form) using a form template. I'm able to download the form and submit any no of times.
    But the problem I have here is: I do not see any way to capture the data from the form and input it to the RFC. Please let me know if any of you have any ideas.
    Version: Netweaver 2004s SP15
    Thank you,
    Vasu Mullapudi

    I got the solution.
    GP Process in design mode have a tab Forms. Here, we can add the Interactive form callable object (Impersonalised form) and can map the fields to the process context.
    Thats it. Whenever you submit the form, the process is run with the form data and the job is done.
    Note: If the data is not sent to the process, try from the callable object in design mode -> Configuration tab.
    Here while selecting the Start process Upon completion, you have a option for mapping fields.
    Thank you,
    Vasu

  • Excel crashes when entering data from VBA form

    After only 6 lines of data entered via VBA form with macros enables, excel crashes everytime. The code basically looks for the next empty row and then populates sheet with data from the form.
    Is this known bug or is there something in the code causing this. I have tried on a couple of macs and get the same result.
    Will post code here and the CRASH code ....
    This is the code
    Private Sub CommandButton1_Click()
    'Dim lRow As Integer
    Dim lRow As Long
    Dim ws As Worksheet
        Set ws = Worksheets("FamilySunday")
       lRow = ws.Cells.Find(what:="*", searchorder:=xlRows, searchdirection:=xlPrevious, LookIn:=xlValues).Row + 1
       'lRow = ws.Cells.Find(what:="*", searchorder:=xlRows, searchdirection:=xlPrevious, LookIn:=xlValues).Row + 1
        With ws
        Cells(lRow, 1).Value = Me.txtName.Value
        Cells(lRow, 2).Value = Me.txtEmail.Value
        Cells(lRow, 3).Value = Me.txtFacebook.Value
        Cells(lRow, 4).Value = Me.txtMobile.Value
        Cells(lRow, 5).Value = Me.txtDate.Value
        If OptionButton1.Value = True Then
        Cells(lRow, 6).Value = "Face Book"
        ElseIf OptionButton2.Value = True Then
        Cells(lRow, 6).Value = "Twitter"
        ElseIf OptionButton3.Value = True Then
        Cells(lRow, 6).Value = "Skating Heaven web site"
    Else
        Cells(lRow, 6).Value = "Friends"
            End If
        Cells(lRow, 10).Value = Me.txtParty.Value
        End With
        'Clears the form for new entry
        Me.txtName.Value = ""
        Me.txtEmail.Value = ""
        Me.txtFacebook.Value = ""
        Me.txtMobile.Value = ""
        Me.txtParty.Value = ""
        Me.txtDate.Value = ""
        Unload Me
        frmDisclaim.Show
        ActiveWorkbook.Save
    End Sub
    Private Sub CommandButton2_Click()
    Unload Me
    ActiveWorkbook.Save
    Application.DisplayAlerts = False
    Application.Quit
    Application.DisplayAlerts = False
    End Sub
    Private Sub txtName_Change()
    'This will add date of entry which is hidden from view
    Me.txtDate.Value = Format(Date, "Medium Date")
    End Sub
    And this is the CRASH CODE
    Process:         Microsoft Excel [243]
    Path: /Users/useruser/Desktop/Microsoft Office 2004/Microsoft Excel
    Identifier:      com.microsoft.Excel
    Version:         111101 (11.6.6)
    Code Type:       PPC (Translated)
    Parent Process:  launchd [64]
    Interval Since Last Report:          12933 sec
    Crashes Since Last Report:           2
    Per-App Interval Since Last Report:  1251 sec
    Per-App Crashes Since Last Report:   2
    Date/Time:       2012-04-19 01:39:36.568 +0100
    OS Version:      Mac OS X 10.5.8 (9L31a)
    Report Version:  6
    Anonymous UUID:  1EA8AF14-BFEA-4D77-B4AD-582D3EC7D271
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000001
    Crashed Thread:  0
    Thread 0 Crashed:
    0   translate 0xb80bcd58 0xb8000000 + 773464
    1   translate 0xb80b7007 0xb8000000 + 749575
    2   translate 0xb80d49c0 0xb8000000 + 870848
    3   translate 0xb813ce79 spin_lock_wrapper + 1981
    4   translate 0xb8011b64 0xb8000000 + 72548
    Thread 1:
    0   ??? 0x800bc166 0 + 2148254054
    1   ??? 0x800c395c 0 + 2148284764
    2   translate 0xb818b6ea CallPPCFunctionAtAddressInt + 202886
    3   ??? 0x800ed055 0 + 2148454485
    4   ??? 0x800ecf12 0 + 2148454162
    Thread 2:
    0   translate 0xb81529ef spin_lock_wrapper + 90931
    1   translate 0xb8183633 CallPPCFunctionAtAddressInt + 169935
    2   translate 0xb81861e2 CallPPCFunctionAtAddressInt + 181118
    3   translate 0xb80dfb0b 0xb8000000 + 916235
    4   ??? 0x812d7856 0 + 2167240790
    Thread 3:
    0   translate 0xb815289e spin_lock_wrapper + 90594
    1   translate 0xb816e8a7 CallPPCFunctionAtAddressInt + 84547
    2   translate                              0xb80dfb0b 0xb8000000 + 916235
    3   ??? 0x81b75cb6 0 + 2176277686
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000000  ebx: 0xb80bcd30  ecx: 0x00000001  edx: 0x00000003
    edi: 0x00000001  esi: 0x80303820  ebp: 0xb7fffa08  esp: 0xb7fff9d0
       ss: 0x0000001f efl: 0x00010206  eip: 0xb80bcd58   cs: 0x00000017
       ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
    cr2: 0x00000001
    Binary Images:
    0xb8000000 - 0xb81d7fe7  translate ??? (???) /usr/libexec/oah/translate
    Translated Code Information:
    Rosetta Version:  21.03
    Args: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp /Users/useruser/Desktop/Microsoft Office 2004/Microsoft Excel
    Exception: EXC_BAD_ACCESS (0x0001)
    Thread 0: (0xb009a83c, 0xb81529ef)
    0x00833000: No symbol
    0x00659204: /Users/useruser/Desktop/Microsoft Office 2004/Office/ShMem.bundle/Contents/MacOS/ShMem : _MerpUnregisterCFMFragment + 3156
    0x944fd074: /usr/lib/libSystem.B.dylib : __pthread_body + 40
    0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp :   + 0
    PPC Thread State
    srr0: 0x00000000        srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX              xer: 0x00000000 lr: 0x94472fa0                        ctr: 0x9446c070
    r00: 0xffffffe1             r01: 0xf0080d60         r02: 0x00000001         r03: 0xf0080e4c         
    r04: 0x00000102         r05: 0x00000000         r06: 0x00000054         r07: 0x00003403        
    r08: 0x000003e8         r09: 0x00000000         r10: 0x000eb018         r11: 0xa076368c        
    r12: 0x9446c070         r13: 0x00000000         r14: 0x00000000         r15: 0x00000000        
    r16: 0x00000000         r17: 0x00000000         r18: 0x00000000         r19: 0x00000000        
    r20: 0x00000000         r21: 0x00000000         r22: 0x00000000         r23: 0x00000000        
    r24: 0xf0080e4c          r25: 0x00000054         r26: 0x00003403         r27: 0x000003e8        
    r28: 0x00000000         r29: 0x00000102         r30: 0x00000102         r31: 0x00663fb0        
    Thread 1: (0xb011ce20, 0xb815289e)
    0x944af1d8: /usr/lib/libSystem.B.dylib : __pthread_cond_wait + 1260
    0x91f57944: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _TSWaitOnConditionTimedRelative + 244
    0x91f57718: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _TSWaitOnSemaphoreCommon + 432
    0x91f898ac: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore : _TimerThread + 72
    0x944fd074: /usr/lib/libSystem.B.dylib : __pthread_body + 40
    0x00000000: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp :   + 0
    PPC Thread State
    srr0: 0x00000000        srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX              xer: 0x20000000 lr: 0x944af218                        ctr: 0x9446c0f0
    r00: 0xffffffd9             r01: 0xf0101c90          r02: 0xa075e53c          r03: 0x00005e03        
    r04: 0x00006103         r05: 0x00000000         r06: 0x0aa34c10          r07: 0x00000000        
    r08: 0x00000000         r09: 0x00000001         r10: 0xf0101e48          r11: 0xa0763a74        
    r12: 0x9446c0f0          r13: 0x00000000         r14: 0x00000000         r15: 0x00000000        
    r16: 0x00000000         r17: 0x00000000         r18: 0x00000000         r19: 0x00000000        
    r20: 0xa035986c         r21: 0x92037570         r22: 0x92037570         r23: 0x00000000        
    r24: 0x00000000         r25: 0x00000001         r26: 0xf0101e48          r27: 0xa075ed00        
    r28: 0xa0351bc4         r29: 0xa075e53c          r30: 0xa0351bf8          r31: 0x944aed00        
    Thread 2: Crashed (0xb7fff9d0, 0xb80bcd58)
    0x767dcd34: No symbol
    0x767e25d8: No symbol
    0x7678010c: No symbol
    0x76792208: No symbol
    0x767eaa98: No symbol
    0x76773ebc: No symbol
    0x767dcd34: No symbol
    0x76808188: No symbol
    0x76815f0c: No symbol
    0x767dcd34: No symbol
    0x76767314: No symbol
    0x76773e38: No symbol
    0x767e9188: No symbol
    0x767e8cf0: No symbol
    0x767f1064: No symbol
    0x767f2f5c: No symbol
    0x7681cbcc: No symbol
    0x767fd7c0: No symbol
    0x7680563c: No symbol
    0x767e8cf0: No symbol
    0x767f1064: No symbol
    0x767e50fc: No symbol
    0x767e5020: No symbol
    0x767e54e8: No symbol
    0x7680cbbc: No symbol
    0x763d0b88: No symbol
    0x763cf824: No symbol
    0x76397520: No symbol
    0x76455e94: No symbol
    0x763abca8: No symbol
    0x763a8e68: No symbol
    0x763a8d6c: No symbol
    0x763bb110: No symbol
    0x763bb2c8: No symbol
    0x76390850: No symbol
    0x7639091c: No symbol
    0x00902e8c: No symbol
    0x7652b078: No symbol
    0x76517ff4: No symbol
    0x00971b90: No symbol
    0x7631ec60: No symbol
    0x7631ee30: No symbol
    0x765361c4: No symbol
    0x765374ac: No symbol
    0x76537ad0: No symbol
    0x7681947c: No symbol
    0x767e3e60: No symbol
    0x767e0234: No symbol
    0x767e55a4: No symbol
    0x76774cc0: No symbol
    0x7676f198: No symbol
    0x7676f248: No symbol
    0x7676f278: No symbol
    0x76781c54: No symbol
    0x767dcd34: No symbol
    0x7680faac: No symbol
    0x7682ad04: No symbol
    0x76817bdc: No symbol
    0x767dcd34: No symbol
    0x76773b58: No symbol
    0x767f168c: No symbol
    0x767f3490: No symbol
    0x763b2594: No symbol
    PPC Thread State
    srr0: 0x00000000        srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX              xer: 0x20000000 lr: 0x767e25d8                       ctr: 0x7679b670
    r00: 0x767e25d8         r01: 0xbffafec0            r02: 0x177a0000         r03: 0x00000001        
    r04: 0xbffaffe8            r05: 0x177b2024         r06: 0x00000044         r07: 0x00000002        
    r08: 0xbffb0058          r09: 0xbffb0048          r10: 0x00000000         r11: 0x177bd71c        
    r12: 0x177a1094         r13: 0x15c69b48         r14: 0x00000002         r15: 0x15637d20        
    r16: 0x15637d20         r17: 0x00000001         r18: 0x156844ec         r19: 0x00001081        
    r20: 0x15c032e0         r21: 0x00000000         r22: 0x00000004         r23: 0x1ad300d0        
    r24: 0x1ad300d0         r25: 0x00000000         r26: 0x00000000         r27: 0xffffffff 
    r28: 0xfffffd37            r29: 0xbffaffe8            r30: 0xbffaff50            r31: 0xbffaffe8           

    The issues you describe have nothing to do with the other posting you are referencing. They state they have the following problem:
    (numbers on ipad) drops several of the important features that I created in the laptop version such as headers and footers, fonts, steppers, sliders, etc.
    It sounds like your having no data entry at all. There is a known issue with certain formulas causing crashes, but not every data entered like you seem to be stating.
    I might have missed it, but did you delete and reinstall Numbers on your ipad?
    If not, please write down EXACTLY the steps used to reproduce the problem, then go to http://www.apple.com/feedback and input this into a bug report for ipad numbers. Be very specific as to the steps involved to get to the crash point.
    Thanks
    Jason

  • Taking the data from interactive forms and load the data into SAP system?

    hi all,
    I want to know how to take the data from interactive forms and load the data into sap system?
    if u have any sample scenario, explain with that.
    thanks in advance
    Raja

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • Receive POST data from another URL and process using Struts

    Hi there
    We have a website and as of now we are receiving some data from another URL which is received as an appended part of the URL. My application uses Struts and we process the received data and send back a response.
    Now my question is, I have been asked to change this behavior because there are more parameters now which cannot be passed through the URL. I am supposed to get the data from the other URL as POST data (as a form) and I have to create a new Struts action to receive this data, process it and send the response back to the requesting URL.
    Please explain me how to do this using some example code snippets.
    Thanks a lot

    Lookup in XI is used to call the target data storage system and get data from there to your mapping programme.
    In XI you can do Lookup in Message Mapping, Java Mapping and in XSLT Mapping. Previously Lookup in XI was system dependent. But now what ever the system are i.e. SAP system or non-sap system(Oracle,MS SQL etc) lookup API are same.
    Overview of Lookup
    - Lookups are used to identify/request the data from mapping program.
    - It interrupt the process and looking for data which was stored in target system.
    - It get that data and comeback to process and continue with that data.
    Types of Lookups in XI
    - JDBC Lookup: JDBC lookup is used for accessing data from database (non SAP).
    - RFC Lookup: RFC lookup is used for accessing the SAP Data.
    - SOAP Lookup: SOAP lookup is used for accessing data from Webservice
    Steps to perform Lookup in Mapping
    Import package com.sap.aii.mapping.lookup.*;
    Create connection to the target Database system.
    // Determine communication channel created in ID
    Channel channel = null;
    channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
    // Get system accessor for the channel.
    DataBaseAccessor accessor = null;
    accessor = LookupService.getDataBaseAccessor(channel);
    Build the Query String.
    Getting Result
    // Execute Query and get the values.
    DataBaseResult resultSet = null;
    resultSet = accessor.execute(Query);

  • Help with exporting data from pdf form

    I have about 100 pdf forms that I created in adobe forms central and distributed as a pdf form (rather than on the web). I am trying to export the data into a spreadsheet but when I export it, the fields are all jumbled in the csv file, as in they are not in the same order. I need to export the data all together so I'm going to the forms menu and selecting "manage form data" and then selecting "merge data files into spreadsheet". I tried exporting a single file but that gave me something really weird.
    Please help, I have a deadline next week to analyze this data and can't make sense of it once it is exported to a spreadsheet.

    Would you please share your form with me and send me one of your pdf forms and some of the csv files?
    You can share your form by doing the following:
    1. Click on the “Share” icon on the bottom left corner.
    2. Click on “Add Collaborator” on the popup menu.
    3. Enter [email protected] under “People to share with”.
    4. Set subject to "Export data from pdf form"
    5. Click the “Share” button on the bottom right of the dialog.
    Thanks
    Ken

  • How do I export the pdf data from multiple forms to an excel spreadsheet?

    I have several forms that one of my employees collects data in. I need that data from those forms to go to a spreadsheet for analyzation purposes. I am using Acrobat XI.

    No, you can't change the way this built-in command works. You can either process it later on in Excel, or you would need to use a custom-made script and an Action to collect the data in the format you want in Acrobat and then export it.

  • Pass the data from a form in workflow to z table

    Hi all,
    How can I pass the data from a form in workflow to z table?

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How can I pass data from a form guide to another form in a business process

    How do we pass data from a form guide to another form(not necessarily a guide) without having to open the form. For example we have a small form guide to capture the contract id so we can then get data from contracts table to present to the user in a form. We want the user to open the guide (either Flex guide or form guide) to enter the contract id. Upon submission we want the process to get the contract data and put it into the form that will be opened at the next step by the user without having a user interact with the form to get the data into it. In other words we need the process to get the data and populate a different form than the form guide the contract id was entered in and this new form needs to be opened in the next step by the user.

    Firstly, I'm assuming that you have a Forms ES Server if you are rendering a Guide.  This could be either version ES1, ES2/2.5 or ES3/ADEP
    If you submit the form back to the server, you can populate a second (PDF/XDP) form with the data bound to the same schema/Data Model using Forms ES. 
    You referred to the next user in the chain - If you are using Process Management, this is very easy, as you define what form is used to render the data in the "Presentation & Data" section of the Assign Task activity

  • How to pass Data from one form to the other

    Hi all
    Can any one suggest me how to pass data from one form to the other form, which i zoomed from the original one?
    I tried to do this by passing parameter in Event Procedure but i am getting error msg when i am opening the zoomed form.
    If any one of u have any idea, give me a reply
    Thank you
    Suhasini

    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

  • Linking data from PDF form into Indesign CS6

    Hello all,
    I'll be working on a magazine which has a large section of day camps technical descriptions :
    name, contact info, location, short introduction text, activities icons (they have to choose up to 5 icons from a total of 12)
    Is it possible to link data from a fillable PDF into predetermined and prestyled text boxes in Indesign CS6?
    Would it be necessary to export in an Excel sheet prior?
    What would be the best trick in order for the icons to place themselves automatically, if possible?
    Thanks in advance

    When placing a PDF into InDesign, it's a flat piece of art for each page included. There's no way to manipulate form fields or work with links or anything like that.
    The data from the form would have to be collected and converted into an Excel file for placing into InDesign. (Collecting data from PDF forms and converting the Excel format can be done in Acrobat Pro.)

Maybe you are looking for

  • Alert box:No more free items available, please create new one

    Hi, We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order

  • I didn't receive the activation e-mail for iMessage. What do I do?

    A bit of background info: I haven't activated my iPhone yet, but I want to temporarily use my Apple ID for iMessage. However, I did not receive the e-mail for the activation. My e-mail is notoriously bad at receiving any sort of e-mail, but I cannot

  • FB 1.6: Following Notification Threads... No way to do it!

    1) Using my computer, I logged in to Facebook via my web browser and posted a comment on a friend's photo. 2) A second friend commented on my photo comment. 3) Facebook sent a Notification message to my Blackberry 8900. 4) I read the message, which s

  • DUMB MOVE: sudo chown -R notroot:notroot /*

    The title pretty much says it all.  I changed the owner/group of everything below / to something other than root.  Commands suddenly stopped working. I rebooted, logged in as root and tried to make things better by performing the same command, but th

  • Certificates in JRun 4.0...i'm getting nuts!

    Hello there! This situation it's getting me nuts! We have JRun 4.0 and we got the Verisign (VS) certificate. * We created the keystore file: keytool -genkey -keyalg RSA -alias jrun -keystore mykeystore * Now, we created the request for VS: keytool -c