Submit button how does it work in noninteractive forms

Hi ,
I read the below part in one of the articles on interactive forms . can anyone explain how this is done ....
An interactive form can, in standalone, make a call to some web service. And as you may know, in the NetWeaver versions of SAP systems, every remote-enabled function module can be exposed as a web service!
The web service call logic is embedded in the Interactive Form you sent to your customer. When he clicks on 'Submit';, the web service is called, and your SAP backend is updated. Great!
As per my understanding a RFC FM is created and it is configured in the SFP transaction.. is it correct ?

Hi Abhilash,
how create web service in WAS you can read in "Access SAP Business Functions (ABAP) via Web Services" https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4
Here is an example. Move code bellow to click event of a regular button (Control Type = Regular). In this example I use my function module ZHRABAM_ECHO_STRING which can be called as a web service.
[code]callWebService();
function callWebService() {
  var lXmlData=GetData();
  try{
    SOAP.wireDump = false;
    var oURL = "http://server:8005/sap/bc/soap/wsdl11?services=ZHRABAM_ECHO_STRING&sap-client=100";
    var service = SOAP.connect(oURL);
    if(typeof service != "object") {
      xfa.host.messageBox("Error calling the Web Service.");
      return;
    if (service.ZHRABAM_ECHO_STRING == "undefined") {
      xfa.host.messageBox("Error calling the Web Service.");
      return;
    var lResult = service.ZHRABAM_ECHO_STRING();
    if( lResult != null){
      xfa.host.messageBox("Result: "+lResult);
    } else {
      xfa.host.messageBox("Result is null.");
  } catch (e) {app.alert(e.message);}
function GetData() {
  var myDataNode = null;
  var xml = "";
  try {
    myDataNode = xfa.resolveNode("$data.nodes.item(0)");
    xml = myDataNode.saveXML();
  } catch (ex) {}
  return xml;
}[/code]
[code]FUNCTION ZHRABAM_ECHO_STRING.
""Local Interface:
*"  IMPORTING
*"     VALUE(IV_TEXT) TYPE  STRING
*"  EXPORTING
*"     VALUE(EV_TEXT) TYPE  STRING
ev_text = iv_text.
ENDFUNCTION.[/code]
Michal

Similar Messages

  • HTTP Submit Button - How to post data to a Web Server

    HTTP Submit Button - How to post data to an IIS Server
    Steveoruni - 09:50am Sep 4, 2007 Pacific
    Hello,
    I have created a simple form in LiveCycle designer. The form only has some check boxes, radio buttons and text fields for users to fill out. Everyone in my office is on webmail so the Email Submit button is not a smooth option for getting the xml data back to me.
    I would like to use the HTTP Submit button to allow users to submit their form data back to me but I am having trouble. I would like the xml files to end up in a directory on the web server.
    I set up an IIS 6 server and granted the Write right to the anonymous web user account. When I fill out the PDF form and click the HTTP Submit button it doesn't seem to work. Are there any special configuration changes I need to make to my IIS server to allow this data to be posted?
    Should this plan work? Should I be able to have users use the HTTP Submit button to post their data right to my IIS web server or is there some Adobe server I need to buy for this simple form? I'd also be happy if this could work with Apache; it doesn't need to be IIS. I guess my main issue is that I don't know how to get either web werver to accept data in an HTTP post and save it as a file.
    Also, I noticed that when I configure a standard button and set the Control Type to "Submit", there is an option on the Submit Tab to change the Submit As setting to "PDF". Does this mean that my users can fill out my form with Acrobat Reader and HTTP Submit the form to my web server as a PDF complete with their data? If not that's fine, I would be sufficiently happy if the users could post their XML files to the web server so I can open them in the form with Acrobat Professional.
    I am lost and would appreciate any helpful feedback.
    Thanks,
    Steve

    HI again,
    I want to have a pdf fillable form opened on a link.Once user has entered data, the user clicks a button(or some action to invoke saving). At this point I want the filled pdf file to be saved on a certain directory.
    How can save a filled pdf form in pdf format on a certain directory?
    Is it possible to dynamically give the final pdf a name so that it doesnt overwrite everytime it saves the file?

  • Itunes 11.1.5 will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Itunes 11.1.5 (MacBook Pro,OS 10.6.8) will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Just reboot your laptop... While its rebooting try to reboot your phone also by holding the home and power buttonn for 10-15 seconds...When your phone is turned off try to connect it to iTunes and it will recognize your phone in recovery mode.
    If you have the .ipsw file for iOS 7.0.6 saved in your desktop then in itunes press shift and click on Restore.
    Select the ipsw file and let it restore.
    If you dont have it downloaded then simply click on restore.
    I hope it works
    Cheers !

  • Corecell, how does it work?

    Hello!
    I'm being puzzled by Corecell features. MSI web pages tell me that Corecell has four different settings (Speedster, Buzz free etc.). I have installed Core Center (ver. 1.6.1.0) but there is no possibility to change into Buzz free mode.
    How can it be changed? I have found fan controls and auto-button but do I have to make settings by my self? Auto-button does not have any effect!
    Thanks in advance for your help!
    Niko
    system specs:
    Antec 380W True-Power
    MSI KT6 FISR
    AMD Athlon XP 2600+ Barton
    512Mb DDR400
    80Gb Samsung S-ATA HDD

    You gotta throw use a bone here... How does what work? More info please.

  • What is UMA exactly? How does it work?

    What is UMA exactly? How does it work?
    I have T Mobile but am not subscribed to Hotspots at Home.  I do pay for the BB unlimited internet package.
    When I am connected to my router at home, it goes to UMA.  But other times, it just says wifi and is still connected to my router -- but NO UMA.  I haven't made any changes.
    What is this?

    Here is a KB that discusses UMA:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB11735&slic...
    Hope that helps!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How does this work?

    This is not a complaint, but a confused sigh of admiration. I've got an email account at the university where I teach. When I got my iBook, it took me a while, and a few conversations with IT at the school, to get this account working in the Mail application. (Since I have a Verizon DSL at home, I had to include that SMTP as the outgoing server.) Anyway, I synched this mail account (along with my AOL and .Mac accounts) onto the iPhone, and it works perfectly, both incoming and outgoing. I didn't have to change any of the settings. I thought I was computer savvy, but I can't wrap my mind around this. It seems like magic. How does it work?

    The sync process with iTunes transfers the email account settings (for your chosen accounts via your iPhone sync preferences) from the Mail application on your Mac to the iPhone's email application.
    The iPhone is running OS X and the iPhone's email client can be considered a mobile version of the Mail application.

  • My iPhone was stolen and I have contacted the police who are using the meid number to locate.  How does this work and what are my chances of getting the phone back?

    My iPhone was stolen.  I used Find My iPhone app to lock it and display a message.  The phone has not connected to the internet to locate it.  I contacted the police and they have taken my meid number.  How does this work and what are my chances of getting the phone back?  Are there other ways the theif can use it.  I was told once they put in a new sim card and use it, whatever software the police have, it will show up.

    Honestly? In the US (I can't speak to other countries, though I doubt it works much differently in a lot of the world) The police took your report and filed it either in their computers or, on paper. They will now not think of this again. The only time it will cross anyones mind is if, in the course of entering information into evidence about items recovered or seized at a crime scene, the serial number of an iPhone that was found/seized happens to match yours, in which case you will be contacted.
    The police in the US can and will do nothing to 'blok' the phone and it's not worth their time to try and locate it unless you know for a fact that it was stolen by a big time drug lord, master criminal, or some other such prime target and they can get a court order to track the location of the phone in order to locate this individual for your own purposes.  If they do that, they'll probably keep him under surveilance for a year or so before they act.
    Basically, the police don't care about your phone. If they find it, they will give it back to you. They are not, however, going to go looking for it. They have better things to do.
    I'm sorry, but that's the way it is.

  • Was told a USB device would create a PDF automatically from the data contained within when plugged into my USB port. Doesn't seem to work. How does this work and how can I fix the device I received?

    Acrobat is not on the USB device - only Adobe Reader needed on the PC. How does this work? How can I fix this device if at all?

    You need to ask the people who sold it to you. Doesn't sound like it has anything to do with Reader.
    However, you should be wary of devices that automatically try to open files when plugged in. They can also infect your computers with all kinds of viruses or malware.

  • HT2357 So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    Fantastic!  Didn't work at first so restarted App store and tried again.  This time it asked 'ignore update'.  All gone!

  • TS1425 My co worker has given me his iPod to take home and transfer his music to my laptop, however, I am unable to access his music to download it to my computer.  How does this work?

    My co-worker has given me his iPod to take home and transfer his music to my laptop, however, I am unable to access his music to download it to my computer.  How does this work?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • How does Remote work with Apple TV?

    How does Remote work with Apple TV?
    1. Does Remote, "Play" the music that resides on your iPod Touch>Apple TV>Home Speakers.
    OR
    Does Remote "Control" the music that resides on Apple TV HD>Home Speakers.
    (If so... say you have a iPod Touch that only holds 8GB's but your music collection on your Apple TV exceeds that amount.
    Will Remote still "Control" the larger music collection on Apple TV or your computer?)
    2. Will iPod Wifi work on a patio outside a home to control Apple TV inside the home?
    thank you in advance, Tom

    Remote is a way to control iTunes on either your computer or Apple TV using a WiFi connection. See this article for complete instructions.

  • I got a itunes gift card and when i try and buy some thing it asks me for my credit card details how does that work when i have £15 on my fone that i got on a gift card?

    i got a itunes gift card and when i try and buy some thing it asks me for my credit card details how does that work when i have £15 on my fone that i got on a gift card? as i am trying to buy a song and it is starting to really cheese me of now where it keeps asking for credit card details is there a way round it with out having to use a credit card?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I would like to know which app/software in MAC gives us the same feature that is provided by System Restore in Windows, and how does that work

    I would like to know which app/software in MAC gives us the same feature that is provided by System Restore in Windows, and how does that work.

    Time Machine is one such program, although it is a recursive backup program which offers limited archive capability, based on the capacity of the backup destination, and it requires you set it up before you start editing your files.   Some programs are also Versions aware, which offers a kind of restore capability by file.  Again needs to be setup before you start editing.
    Just a for-your-info:
    Mac is not an acronym, it is a nickname for Macintosh.

  • What is efax and how does it work?

    Hi!
    eFax® is a service provided by eFax®, not Hewlett-Packard, that allows you to send and receive faxes using the Internet rather than a phone line. eFax® is easy to use, but it is different than a typical phone-based fax machine. You don't require a phone line to use it, so you don't have to worry about busy signals and you can place your printer where you want it, not where the phone jacks are located! The fax number you are provided will not typically be a local number, and may even be in a different country. You will receive 20 incoming and 20 outgoing fax pages per month for free with this service. Your page counts will reset at midnight Pacific Time on the first of each month. You can also subscribe to eFax® Plus to obtain additional pages per month by visiting: http://www.eFax.com/products/internet-fax.
    How does it work?
    eFax® uses the printer Internet connection to send and receive faxes. When you send a fax, it is sent over the Internet to the eFax® server and then eFax® sends your fax to the recipient's fax machine over a standard phone line.
    Your faxes are received in a similar manner, but the order is reversed. The sender sends the fax over a phone line to eFax® and then eFax® sends the fax to your printer using HP's ePrint service.
    This question was solved.
    View Solution.

    Hi Im_cheesecake,
    Great information, if you don't mind I just wanted to piggy back off of your post, to clear any potential confusion.
    The 20 free incoming & 20 free outgoing faxes are with HP printer's that include the eFax service print app.  As of now, we have three printer series' that include the pre-installed eFax print app: HP Photosmart 7510 Series, HP Envy 110 Series, and the HP Photosmart eStation C510a.  
    eFax also has a free plan which allows you to receive a limited number of faxes but does not allow you to send any faxes. If you exceed the number of received faxes allowed, eFax will prompt you to upgrade to a paying account. Here are the main details of the free plan:
    One remote (i.e. non-local) eFax number
    Area code/prefix is selected by eFax and cannot be changed (unless you upgrade to a paid account)
    20 incoming fax pages per month (receive-only)
    You are prompted to upgrade to a paying account if you exceed 20 incoming pages, or if you need send capability.
    Say "Thanks" by clicking the blue Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"; therefore, it's easier for others to find.
    I am an HP employee.

  • Hi i want to send an ipad of a gift to a friend in italy, can it be done? will the wifi and 3g still work? also how does it work for a warrenty?

    hi i want to send an ipad of a gift to a friend in italy, can it be done? will the wifi and 3g still work? also how does it work for a warrenty?

    WiFi will work, cellular will work but they may not be able to access LTE, they will have to send it back to you for the warranty work.

Maybe you are looking for

  • Cant launch install applications on nokia pc suite

    could someone please help me ive managed to connect my 6230 with my computer through bluetooth and have downloaded the latest nokia pc suite all the options launch apart from install applications when i click on it nothing happens

  • When I chose my Firebox as Core Audio  I can no longer hear playback

    When I choose my PreSonus FIREBOX (0006) as my Core Audio device I am able to record audio but unable to hear the playback through my Soundsticks. I can switch the Core Audio device back to Soundsticks everytime but thats a real pain in the ***.....o

  • Recommendations for IEEE 1394 PXI/cPCI card??

    Hi. I'm looking at the PXI chasis as my DAQ interface. I need to connect a consumer camcorder (via Firewire IEEe 1394). Are any outside vendors that have a card compatible w/ NI hardware and LabVIEW? Regards, Janet

  • Transport SLD & XCM configuration

    Hello, Can we transport SLD & XCM configuration from one system to another. If yes what is the prcedure for the transport. Regards Deb [points guranteed for helpful answers]

  • Can't log into account

    Hello all! I have a problem!! When I log into my account it takes me to the my desktop but will not load my desktop icons. It then returns me to the log in screen. I can however log into other accounts. I set up a new admin but cannot access my old f