Urgent:How can to control passing inputs to BAPI from different sources

Hi all,
I'm stuck up with an issue.
I'm passing a user entered input to a webservice checking for status of that particular record.
If status is "yes", I just call a form.
I have used the visibility control for displaying the form
If Status is "no" I call a BAPI passing the output of webservice(this is same as the user entered input).
I'm using guard condition in this case.
If there is no such record present, I'll have to call the same BAPI passing the user input.
In this case the webservice does not return any output...And the BAPI has to look the input form for the input.
I dont know how I can make the BAPI look the input form for input in case no record is present.
Can some one help me in this case?
Thanks,
Ajitha

store the value from input into a datastore while you are getting the status, then pass value from this datastore into the actual BAPI that u need to call.
For the input parameter of bapi you can specify default values were u can specify these values from data store.
let me know if it worked

Similar Messages

  • How can I use notifications to send data from different sources to thesame chart?

    Hi,
    I am using the "Continuous Measurement and Logging" template project that ships with LV 2013.
    It is extremenly helpful for figuring out messaging between the acquire, graph, and log loops. (Thanks NI!)
    I've run into a snag however.
    I would like to modify it so that my graphing loop receives data notifications from two acquisition sources via notifiers.
    I'm having trouble getting data from both sources to display on the same chart.
    I've isolated the issue in the attached vi.
    Here's what happens:
    1. I create data from 2 parallel loops and send the data to a third parallel loop with notifiers.
    2. The third loop receives data from only one of the loops because one of the receiving notifiers just times out instead of receiving data.
    Can someone suggest how I can fix this?
    Thanks.
    - Matt
    Solved!
    Go to Solution.
    Attachments:
    test notification loop.vi ‏42 KB

    Here is my modification of your VI. I put notes on the block diagram to explain the changes. It uses a queue for the data transfer to avoid loss of data. It uses a notifier to stop the loops. All local variables and Value property nodes have been eliminated.
    The way the loops are stopped will likely leave some data in the queue. No more than one or two iterations of each of the data acquisition loops. If you need to guarantee that all data has been displayed (or saved in a real application), then you need to stop the acquisition loops first and read the queue until you know it is empty and both of the other loops have stopped. Then stop the display loop and release the queue and notifier.
    Lynn
    Attachments:
    test notification loop.ldj.vi ‏1036 KB

  • How can I Control ITunes on my Desktop from my Laptop without Express???

    i have a g4 powerbook with airport card and a brand new imac. i have bose speakers (companion 5). they use a usb connection. bose and apple employees have suggested that the audio quality will decrease drastically if i used an adaptor to connect the usb input on the speakers and the analog output on the express.
    i would like to play music wirelessly from my powerbook but i would like the actual music to come out of my nice bose speakers which are hooked up to the imac. does anyone know how i can make that happen?

    Try NeTunes from shirt pocket software. Claims to do whaat I think you want.
    http://www.shirt-pocket.com/netTunes/netTunesDescription.html

  • Can I get four inputs voltage reading from four sources at a time from NI USB 6009 DAQ

    I had a photoquadrant detector with four quadrants . each quadrant have a positive lead.  If i connect each lead to the DAQ's a0, a1, a2, a3 terminals and common ground to one of the ground of DAQ. Is it able to read four voltages from four quadrants at a time . And how to take the data through labview. In the manuals it's not shown can you provide me an example program.when i configure daq i'am selecting acquire signals--->analog input--> selecting a0,a1,a2,a3---> then configuring each channel with voltage limits all. then ok. Afetr that on the DAQ VI how can I read these four values. Is it by giving add inputs and put number indicator to each data like that or any other way is there. If you help me it's a kind job

    Use the DAQmx Read.  Choose a polymorphic case of N channels.  It is up to you whether you want multiple samples as a array, multiple samples as waveforms, or single samples.  The multiple samples as an array will give you a 2D array, the rows being the channel.  The other options will give you an array, an index for each channel.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i request an input of data from a deployed web service via a html

    Hi all, I am currently having trouble with a web service. I want a client to be able to input a numerical value for a control in a deployed VI.
    At present i have one main vi that generates a signal and i've collected waveform data and displayed this data on a a chart. The web service uses a static folder containing html and javascript files. The html file calls the js file which parses the waveform data and returns to html to be stored as a chart_div. I have all the controls and indicators in one VI, connected by terminals using GET method.
    I am looking for a way of scripting a request form so that when called by the html file, the client user can input a control and change the values on the waveform graph. I also have an update button that requests updated data. 
    If anyone could suggest a method of how to accomplish this it would be SO helpful
    Thanks, Chris

    Hi Chris,
    I take it you are using the RESTful API method to GET the data. In that case you shoul be able to perform a http POST from your js code in order to update the controls.
    This could be done as form components are updated, or after a submit button is pressed (I'm sure you are familiar with this part).
    Please see here for more information: http://zone.ni.com/reference/en-XX/help/371361J-01​/lvhowto/build_web_service/
    I hope this helps.

  • How can I change the input key language between different languages ?

    the language can't be changed when i press ctrl+alt

    The default keys to rotate the layout is a key combination (Ctrl+Shift or Alt+Shift) that can easily be used in Firefox to activate a menu item.
    It is better to disable the key sequence to rotate layouts (Alt+Shift or Ctr+Shift) to avoid an unintentional switch and instead assign a specific key (Alt/Ctrl + Shift + number) to switch to the keyboard layout.
    Control Panel > Regional and Language Options > Keyboards and Languages > Change keyboards > Advanced key settings > Change key sequence
    http://support.microsoft.com/kb/258824 - How to change your keyboard layout
    You can also use the Language bar on the Windows Taskbar.<br />
    You can make the Language bar visible via the right-click context menu of the Taskbar: Toolbars > Language Bar.
    * http://windows.microsoft.com/en-US/windows7/The-Language-bar-overview The Language bar (overview)

  • How can I control my ibook and pc from an iPhone/iPod 5 ?

    Hello
    I have recently bought an iPod 5th Generation and I'm very happy with it !! My question is.
    I have an old laptop iBook and it is connected to a hard disk where I stock my music.... So basically, this old computer is my jukebox. The only problem is that the screen on the iBook doesnt work very well (I must press really strong alongside the mousepad in order to see something). So I was wondering if I could control and see (select music and more), from my iPod touch ? Should I absolutely need to have an Apple TV ?
    Is there an APP so I could control my iBook from my Ipod ?
    I also have another laptop (PC) and I was wonder if I could control everything from my ipod touch ? It could be really fun.
    Many thanks, C.

    Remote app controls computer iTunes and AppleTV if you have one. You need the latest iTunes/AppleTV.
    https://itunes.apple.com/au/app/remote/id284417350?mt=8

  • How to create an internal table with fields from different sources

    Hi.
    I need to create an internal table where some of the fields are from a database table, and the other fields are user specified. How do i do that?
    Example:
    DB table ZTAB with fields ZTAB-FIELD1, ZTAB-FIELD2.
    I want to create an internal table ITAB with the fields ZTAB-FIELD1, ZTAB-FIELD2 from ZTAB. In addition, I also want to have one more field RECORD_NO, which is not from ZTAB. How do I do it? Could I do something like below?
    DATA BEGIN OF ITAB.
            INCLUDE STRUCTURE ZTAB.
    DATA RECORD_NO TYPE I.
    DATA END OF UPLINE.
    Or, are there more efficient way of doing it? Thanks.

    hi KIan,
    go:
    general type
    TYPE : BEGIN OF ty_itab,
               field1 TYPE ztab-field1,
               field2 TYPE ztab-field2,
    *your own fields here:
               field TYPE i,
               field(30) TYPE c,
               END OF ty_itab.
    work area
    DATA : gw_itab TYPE ty_itab.
    internal table
    DATA : gt_itab TYPE TABLE OF ty_itab.
    hope this helps
    ec

  • How can we control the standard filed using CUF?

    Hello
    We use SRM Server 5.5 (SP 07)
    We want to make the Price field as display on shopping cart screen.
    We created CUF for PR type. We have PR01 and PR02.
    If PR type is PR01, we want to make Price field as display.
    So We tried to use BBP_UI_CONTROL_BADI. But this BADI is not working.
    We found notes for this badi and applied this note to our system.
    Notes number:
    1053594
    1046796
    1040879
    1058238
    1021742
    But we still have problem. The parameters IS_HEADER and IS_ITEM are not filled.
    How can we control price field as display, when we choose the PR type with PR01?
    Thank you,
    Best Regards,
    SH.

    Hi,
      You can use the BADI BBP_DOC_CHANGE_BADI along with BBP_UI_CONTROL_BADI.Check the Transaction type calue in BBP_DOC_CHANGE_BADI  badi and acc set a flag(using SET stmt) and pass this flag to the BBP_UI_CONTROL_BADI(using GET parameter) and then change the Field property for PRICE field.
    BR,
    Disha.
    Pls reward points for useful answers.

  • How can I control the node execution sequence?

    I have invoked several nodes for controls which are to "Reinit To Dflt". How can I control the sequence of there initialization?

    to ensure code (any code) is going to execute in the order you want, you can use some error cluster to controll data flow, so you need your individual code in a subVI with error in and out. Another posibility is to use sequences, but most people will say they hide code, so you can use one sequence only, and pass dummy data from one to another to ensure data flow.
    Hope this helps

  • How can I control selection on a PDF

    I have Acrobat Pro 9 Pro build 9.4.6 and am constantly exporting documents from indesign to .pdf, and also building docs in the 'combine' feature from mixed pages. 
    While everything seems to go reasonably well, I have a few problems that are due either to my ignorance, or bugs.
    1.  The biggie; How can I control what I select, for the purpose of copying, moving and deleting?   When I drag the touch-up object tool over my selection, it selects what it wants to most of the time; sometimes it selects (i.e., puts a light blue box around) the entire page, instead of my selection (no pages are scanned).  There are very few instances when I get exactly what I want; there are usually a few lines above or below, no matter how careful I am in my selection.  The funny thing is that this is not a constant; sometimes, the tool works perfectly!  and I have my heart in my mouth every time I really need it to work, hoping that it will not force me to go back to Indesign to make minor corrections.   Perhaps my problems are connected to options I select when exporting my indds, but I've tried checking, clearing, and selecting various combinations and nothing seems to work.
    Sometimes, the text selection tool is strange; a wide blue swath develops over the selected text, even though it is still usually possible to  edit the text in this condition.  And BTW, is there anything to do about the fact that some text can't be edited at all because a suitable font replacement can't be found?  Can't a font be added somehow that will take care of this?
    2. Headers and Footers; fairly effortless, but if the footer contains two rows and I want them centered, the second row looks centered in the preview but not in the doc.  I have to go back to the footer dialog and guesstimate how many spaces to place before the second row to get it to look centered.  Also, is there any way to place a logo in a header?  That would be one of my requests for the next version of Acrobat, if not.
    3.Hyperlinks; they don't always work,even though I check Hyperlinks in the Export settings.  Sometimes yes, sometimes no.
    4.  Typwriter toolbar; it also seems to offer font and size changes whenever it feels like it, and I've tried all different orders of typing, selecting, etc.

    It's me again, sorry!  I wanted to save what I'd written, and my message popped up to the board.
    Thank you for any advice anyone has!
    PS  My indd and acrobat are the same version, as they came in the same package (CS4).  Windows XP sp3.
    Oh, one more thing I just remembered, as long as I'm complaining; sometimes if I place an object (the logo) and copy it to another page, it disappears on the original page, as if I've cut it.  Any fix for that?  (strange how I can edit tmy 'reply' but not my original post...well, at least I found where to ask a question fairly quickly!)

  • How can I control fan speeds in Win7 on a MBP-R for gaming?

    I have a MacBook Pro with Retina Display. It has had Windows 7 installed and I want to play some 3D action games. How do I stop internal parts from overheating? I intend to use a USB cooling pad but that'll do nothing if the internal fans remain at idle speed.
    The only Windows fan speed control utility I could find was the 4-year old SpeedFan which fails to detect the presence of any internal fans. I'm not impressed with the Windows community's failure to offer more and better than this tired old relic.
    So the questions remain:
    (1) Is the hardware still capable of automatically accelerating the fans as temperatures rise while gaming in Windows?
    (2) What In Windows forces the MBP-R to lock the nVidia GPU into continuous duty and ignores Intel GPU?
    (3) What control does the user have for (2)? 
    (4) How can I protect my MacBook Pro/Retina from overheating while playing PC games, apart from not playing games?

    Moved from the Creative Cloud to the Lightroom forum. They will be able to help you here.

  • How can I control the zoom on my mac mouse?

    How can I control the zoom function on my mouse? In the middle of working on things my hand will rub the mouse by accident and all of a sudden the context within the screen is large. I have no idea of how to work this feature on my mouse and most times to get it to return to normal, I have to escape out of the work I am performing.

    If you are pressing the "Control" button on the Mac keyboard, scrolling up will zoom in and scrolling down will zoom out. You can disable this if it annoys you through System Preferences > Universal Access. If you are using Mountain Lion, it would be System Preferences > Accessibility.
    Uncheck the in the "Seeing" or "Zoom" section that says "Use scroll gesture with modifier keys to zoom".  It may be slightly different if you have an older OS X version. I have Mountain Lion and am going off of memory on the older versions.

  • How can I control a button from one swf file to another swf file?

    Hi,
    I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
    Now, how can I write code on my main.swf file for the button which is on my external.swf file?
    Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
    Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
    Thanks.

    Here's some example code that you should be able to adapt to your needs.
    // create a new loader object instance...
    var loader:Loader = new Loader();
    // make the download request...
    var request:URLRequest = new URLRequest("external.swf");
    // add a complete event listener to the loader
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    // start the actual loading process...
    loader.load(request);
    // create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
    var externalMovie:MovieClip;
    // this function is called when the download has finished and the file is ready to use...
    function completeHandler(event:Event):void {
       // set the contents of the loaded movie to the new empty movieClip...
               externalMovie = MovieClip(event.target.content);
       // add this new movie to the display list...
       addChild(externalMovie);
    Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
    externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
    function btnClickClose(event:MouseEvent):void {

  • How can i control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?

    Sup buddies,
    How can I control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?
    As the project grows in size the load time increases. How does one control not loading all images ,divs,elements etc. until they're
    needed on the timeline? For example some sections are off and only become visible when recalled. My projects slowly grow in size so loading
    all images , is counter productive . My other option would be to create separate htmls but that breaks the seamless user experience .
    TY...Over N Out... 

    hello, kiwi
    quote: "Is there an easy way to burn a completed project to DVD, but keep only the (lo res, lo size) previews on my hard drive?"
    yes.
    maybe,...
    1. you might think of making DVD backups first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    or,
    2. bring in the photographs to hard drive first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    the low rez Previews will stay in Aperture but the high quality Versions will be exported onto DVDs and gone from the hard drive (if you delete the originals).
    another way would be to export small about 50-70 pixel wide high quality jpegs to a folder on your Desktop and import & keep these in Aperture Library as a reference. make metadata to show where the original Project DVDs are stored and DVD filing system used.
    victor

Maybe you are looking for

  • Pause music in SWF file?

    When I play back SWF files from Newgrounds that have background music, and I pause the movie with Enter, the music pauses as well to keep in synch with the animation. Yet when I play back test movies in Flash, the music keeps playing even when I paus

  • Invoking JVM with C++

    I'm having the problem identical to the one in this post: http://forum.java.sun.com/thread.jspa?forumID=52&threadID=599688 I get the same error messages: invoke.obj : error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12 invoke.obj : e

  • Error "Online Help content cannot be displayed" | Acrobat XI

    Hi, I receive the error message "Online Help content cannot be displayed" in Adobe Reader/Acrobat XI when I try to open it. For Version 10.1.4 there is a Regestry fix: http://helpx.adobe.com/acrobat/kb/error-online-help-content-cannot.html Is there a

  • How to call BADI Triggering Multiple Times

    Hi ,     I got one requirement of Duplicate check for that i implemeted one BADI  in that i called Duplicat check function Module also so when i entered first, last and email id it is giving the message as Data is saved. when i entered the same data

  • Does Final Cut Studio have QuickTime Pro?

    I have Final Cut Studio. I have been told part of the package is QuickTime Pro. If this is true, how do I activate it?