Two input ports to BAPI submit on one event

Hi colleagues!
I'm trying to setup incoming invoice creation in Visual Composer.
I use standard BAPI (BAPI_INCOMINGINVOICE_CREATE).
This BAPI expects one input form (headerdata) and, as far as I understood, one table (itemdata) as mandatory input.
So I put bapi on storyboard, flipped port ITEMDATA from output to input. Created input form from HEADERDATA and input table from ITEMDATA. Also I created output form with Invoice Number.
I created custom event SUBMITPO on both input form and table. Upon that event data, entered into form and table, should be submitted to BAPI, and Invoice should be created.
But when I deploy and run iView, it throws two errors (see Link: [screenshot|http://www.dennisk.org/tmp/inv_screeenshot.jpg]).
I think it's because uppon event two data streams are triggered, and BAPI deals with them independently. How can I avoid that?
More broad question. How to create invoice in VC, preferably using standard function modules?
Here's Link: [model|http://www.dennisk.org/tmp/IncomingInvoiceTest19052008.gml] itself.
Thanks in advance for help and assistance!
Regards,
DK

Dear dk ,
I think ur question is even u have one mandatory field in ur first screen even u dont fill in mandatory field the data is populating in table at mean time an error is returing from back end right . is ur exact requirement means send me reply we will do this .
or
brief about ur problem
Regards ,
venkat

Similar Messages

  • Multiple Input Ports on BAPI to submit at the same time

    Hi
    I have looked at previous threads and still not getting this right. When I click the submit button I need it to all go to the BAPI at the same time.
    I'm using BAPI SalesorderCreatefromdat2, I need to use at least three input ports.
    I have done the following.
    -dragged the bapi on the page
    -selected the ports required, flipped a port of required
    -the for ports I have created 1 form (Order Headr I n Port), 2 tables (Order Itmes In port, Order Partners Port).
    -the have connected the form and tables to the bapi, so have three different lines.
    -For each one the eventname is *SubmitAll
    -Then there is one button,on the action tab I selected custom action,the name is SUBMITALL, Apply To is Self
    Is the above correct??
    Please let me know, thanks in advance

    Hi Basheer
    Thank you for your reply.
    I have changed the buttons to Action Type "System Action", the field System Action to "Submit Form", the Apply To is "Self"
    I however get the error "Please enter sold to party or ship to party"
    Can you please help me. I have changed my BAPI to use  SalesorderCreatefromdat1 like yours.
    I'm using the following input ports and fields
    -Order Header in form, using fields DISTR_CHAN, DIVISON, DOC_TYPE, SALES_ORG
    -Order Partners Table in table, using fields PARTN_NUM and PARTN_ROLE
    -Order Itmes Table in Table, using fields MATERIAL and TARGET_QTY.
    Is this correct? Thank you for the response.

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • Can anyone tell me why RADIUS uses two UDP port while TACACS+ uses only one ?

    I dont know the answer. Someone asked me in an interview.

    You can enable separate servers for authentication/authorization, and use separate servers for accounting.
    However that is the way the protocol was designed there isn't a clear explanation what drove that decision.
    It would be a great question to ask in your thank you letter.
    Thanks

  • VC Input Ports (Input Form & Input Table)

    Hi everybody
    I have an RFC with two input ports in VC. One of then is a table, so i need to fill de text data in te first Input port (form view), an in the second input port fill a list (input table). I fill the data o.k. but when i click on submit button, seems like the RFC is not
    receiving the data complete.
    I run the test data servirce wiht one item in the second input port, and there it works fine.
    tnks for your help.

    Problem Solved. I try modifiying the parameters of the entry list table, and it works fine.

  • The input ports of BAPI_PR_CREATE

    Hi, all. I tried to use BAPI_PR_CREATE to create a PR in my backend system. When I dragged BAPI_PR_CREATE and tried to test it, the input parameters were diffrernt to the BAPI_PR_CREATE in backend system with transaction code "bapi". I needed to fill out more input parameters , but I only got two input ports. Is there anyone having the same problem when you use this bapi service?
    THX ^^.

    Yes Louis,
    You want to give the input to other tables. Select the node of those tables then right click and select the option 'Flip Port'. It'll change the tables from output to input and you can pass the inputs to the tables. Try this. Any problem means let me know.
    Regards
    Basheer

  • How can i control graph with two inputs?

    Hi,
        i would like to ask you about the graph with two inputs
    Normally, if i just give one input, they generate the graph with this input(y) vs time(x).
    But now i would like to get the graph with my two inputs in x axis and y axis .
    i want to control both of two axis. How could i do for it ?
    i attached the file that i try to use "Build XY graph" to control both x and y axis with random number .
    It can run but i don't know how come the graph show nothing. .
    Actually , it have to show something like wavefrom continuously. am i right?
    Could you tell me a way to solve it ? 
    >>>
    what i want to get is ..
    in Graph,
    for x axis , ditance (always increases)
    for y axis , vibration (vary)
    >>>
    Thank you so much for your time . I am looking forward your kindly reply.
    With Respect,
                            Su
    Attachments:
    using Build XY graph.vi ‏59 KB

    Hi NI9233,
    Mind me to interrupt, I am just helping Mike to explain what he meant to you, refer to the graph:
    Picture 1:
    Double click on Build XY Graph, uncheck the clear data on each call
    Picture 2 and 3:
    Change your formula node into +1 Basic Function in Functions Pallette.
    Hope that helps!
    PS: I am sorry for the size of the image, seems I made a mistakes when I saved the picture.
    Sincerely,
    Krisna Wisnu
    Message Edited by Krisna Wisnu on 11-19-2008 08:19 PM
    Sincerely,
    Krisna Wisnu
    Attachments:
    Clear Graph on Each Call.PNG ‏46 KB
    +1.PNG ‏30 KB
    +1_2.PNG ‏21 KB

  • How read from the HDMI Input Port?

    Pulling down the Add Media menu in my Premiere Elements 11 window, I do not see an HDMI port input.
    My Dell XPS ONE PC (running Win 8.1 Pro) has an HDMI Input port.
    I would like to pull audio/video off this port into Premiere Elements 11 to edit and save to a disk file.
    Any ideas on this?
    Thank you!

    AT,
    Thank you for your reply.
    First to comment on DV, HDV data capture.  Yes, reading Adobe documentation I see the Premier Elements data capture works with Firewire. 
    For example, one Adobe document is at:
    http://helpx.adobe.com/premiere-pro/using/setting-system.html
    The HDMI port in this diagram is an output port on the camcorder and connects to a TV set.  That way the user can monitor the data capture in progress.
    I suspect that most PC's and laptops, like the DV/HDV camcorder labeled with letter "D." in the Adobe diagram have an HDMI output port only.  The intent is to put the screen or video content out to an external TV.
    Some PC's now, as does my Dell XPS, include an HDMI input port.  It is connector # 15 on the diagram for the XPS at
    ftp://ftp.dell.com/Manuals/all-products/esuprt_desktop/esuprt_xps_desktop/xps-one-27-2710- aio_Setup%20Guide_en-us.pdf
    To make my post brief and concise I purposely left out any detail about the input device.  I believe HDMI stands for High Definition Multimedia Interface.  I want to assume some high definition (and therefore high speed) digital data stream accompanied by a digital audio stream is coming into the PC.  Whatever HDMI supports, the HDMI hardware on the PC input port should handle.
    As one example, I should be able to play a file from my DVR into the PC over the HDMI input port. This might be a saved TV show or a clip from a DV/HDV camera recording.
    That's just an example. But, what I am trying to do is recover the video/audio off an old Samsung SCL901 Hi8 camcorder.  I was asked and I told my acquaintance I would try. 
    The camcorder interface is the legacy S-video port.  A second audio port (3.5 mm female jack) carries (as you know) only mono audio (left side in the stereo cable). 
    One thing to do is to play the camcorder Hi8 tape into my DVR.  The DVR has a legacy S-Video port and phono plugs for the audio right in the front panel.  Then burn a DVD.  Then put the DVD in the PC, read it into Premier Elements and edit the material.
    Instead, what I'd like to do is play the tape right into the PC.  There seems to be a lot of legacy media that folks have just let sit around way too long.  And now the world has passed them by.  Enough people that apparently some companies have built converters.
    I looked at this S-video to HDMI converter.
    http://www.walmart.com/ip/Composite-S-Video-and-HDMI-to-HDMI-Converter-and-Switch-w-HDMI-P AL-NTSC-Support/39457809
    This is a Roku brand S-Video to HDMI converter.  It upsamples the legacy 480i to 720p or 1080p HDMI digital signal.
    The Roku converter appears to get the S-Video into the PC hardware.  Then what?
    It was sort of wishful thinking pulling down the “Add Media” menu tab in Premier Elements 11, wanting to read from the HDMI Input port.
    Still, Adobe does magical things, so I thought I would ask in this forum.
    So “Yes” to your add-on question at the end of your post.  I was thinking of capture via HDMI.  And I agree with your first impression that this is not possible.
    It could be there is software available from somewhere that will dump the HDMI port on the PC directly into an AVI, MOV, Microsoft, Flash, mpeg, DVD or some other standard file format.  Then Premier Elements can open the file for further editing.
    AT, I appreciate your response and comments on this project.  They have been useful guides.  Thank you so much for your time.
    JB

  • Using a form with two input type="submit" ... buttons...

    Hello All!
    I'm using a form to add and remove parameters for a service definition.
    <form action="serviceinput.jsp" method="post">
                   <table>
                        <tr>
                             <td><b>Level</b></td>
                             <td><b>Fieldname</b></td>
                             <td><b>Stucturename</b></td>
                             <td><b>Type</b></td>
                             <td><b>Format</b></td>
                             <td><b>Optional</b></td>
                             <td><b>Semantics</b></td>
                        </tr>          
         <%
                        for (Iterator iterParameters = parameters.iterator(); iterParameters.hasNext();)
              Parameter parameter = (Parameter) iterParameters.next();
         %>
                        <tr>
              <td><%= parameter.getLevel() %></td>
              <td><%= parameter.getFieldname() %></td>
              <td><%= parameter.getStructurename() %></td>
              <td><%= parameter.getType() %></td>
              <td><%= parameter.getFormat() %></td>
              <td><%= parameter.getOptional() %></td>
              <td><%= parameter.getSemantics() %></td>
                        </tr>     
         <%
         %>
                   </table>
                   <input type="submit" name="<%= parameters.addParameter() %>" value="add"/>
                   <input type="submit" name="<%= parameters.removeParameter() %>" value="remove"/>
              </form>
    The special thing about is, that I'm using two <input type="submit"...> buttons.
    The idea is, that I'd like to add one more row with attributes by clicking the "add" button and removing one row by clicking the "remove" button.
    If I use just one of them, it works fine. If I use both of them, nothing happens at all.
    Isn't it allowed to use two <input type="submit"...> fields?
    Is there an alternative? How can I implement my form the correct way?
    Thanks a lot in advance to all!
    Regards,
    Tomi

    Hi,
    Hai Tomi ,
    As swati already Explained U can try it with buttons,
    But u have to make a Hidden field and set the value of the hidden field
    with the Javascript code after pressing the button , Call a client side function which has an argument as given below
    Validate the Flag field in the JSP file
    <script language=javascript>
    function Validate(s)
    if(s==1)
         document.forms['ServiceInput'].elements["flag"].value="add";
    else
         document.forms['ServiceInput'].elements["flag"].value="Remove";
    document.forms['ServiceInput'].submit();
    alert("hai");
    </script>
    <form name="ServiceInput" action="serviceinput.jsp" method="POst">
    <table>
    <tr>
    <td><b>Level</b></td>
    <td><b>Fieldname</b></td>
    <td><b>Stucturename</b></td>
    <td><b>Type</b></td>
    <td><b>Format</b></td>
    <td><b>Optional</b></td>
    <td><b>Semantics</b></td>
    </tr>
    <%
    for (Iterator iterParameters = parameters.iterator(); iterParameters.hasNext();)
    Parameter parameter = (Parameter) iterParameters.next();
    %>
    <tr>
    <td><%= parameter.getLevel() %></td>
    <td><%= parameter.getFieldname() %></td>
    <td><%= parameter.getStructurename() %></td>
    <td><%= parameter.getType() %></td>
    <td><%= parameter.getFormat() %></td>
    <td><%= parameter.getOptional() %></td>
    <td><%= parameter.getSemantics() %></td>
    </tr>
    <%
    %>
    </table>
    <input type=hidden name=flag value="bb">
    <input type="Button" name="b1" value="add" onclick= "Validate(1)">
    <input type="Button" name="b2" value="remove" onclick= "Validate(2)">
    </form>

  • Input port BAPI

    Hello,
    Can anyone tell me how to use BAPI's that have no input port, in the Visual Composer?
    For example BAPI_OPPORTUNITY_GETDETAILMUL?
    This BAPI has only output ports.
    What scenario's/situations is such a BAPI useful in the Visual Composer (and how)?
    Kind Regards
    Murat

    Hi Murat,
    If the BAPI do not have input ports it should means you will get an output by default because it runs with an fix input, have you tried how it works in runtime ?
    i.e: create an iView with this datasource and with some table as output... or just run the Test Datasource to see how it return the data
    Best Regards,
    Luis

  • Two http ports - one in 8080 and the other one in 3034 - How to remove 8080

    Hi!
    I have two http ports - one in 8080 and the other one in 3034 - How to remove 8080.
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<ip address>)(PORT=<port number>)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<hotname>)(PORT=3034))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<hotname>)(PORT=2102))(Presentation=FTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<hotname>)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...

    You get check which is the current dedicated HTTP port by using DBMS_XDB.getHTTPPort(). There can be only HTTP port active per database (not taken into account the HTTPs one). If two or more exists than there is still a process claiming that port (in this case 8080). It will be cleaned up after one or more processes are not claiming that port again. New connections will be redirected to the new port.

  • USB Keyboard Multimedia keys ; two input devices for one keyboard.

    Hi. I can't get my multimedia keys to work (Microsoft Wireless Laser Desktop USB keyboard). They don't show up in dmesg, xev, or the command line scan code program at all, even though the standard keys show as usual.
    One peculiarity is that the keyboard appears to be mapped to two devices /dev/input/event3 (the standard keys) and /dev/input/event4 (the multimedia keys) ; is there a way to "merge" the two inputs ? Is it a kernel problem ?
    TIA, Paul

    I solved my problem :-)
    Keyboard creates two event devices:
    lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.0-event-kbd -> ../event1
    lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.1-event- -> ../event2
    I had only first of it configured in xorg.conf (normal keys). I configured second device as below  (Identifier  "Multimedia keys"):
    # Core keyboard's InputDevice section
    Section "InputDevice"
    Identifier "Logitech Media Keyboard 600"
    Driver "evdev"
    Option "Device" "/dev/input/by-id/usb-Logitech_Logitech_USB_Keyboard-event-kbd" # it is my event1
    Option "XkbModel" "evdev"
    Option "XkbLayout" "pl"
    Option "evBits" "+1"
    Option "keyBits" "~1-255 ~352-511"
    Option "Pass" "3"
    EndSection
    Section "InputDevice"
    Identifier "Multimedia keys"
    Driver "evdev"
    Option "Device" "/dev/input/by-path/pci-0000:00:1a.1-usb-0:1:1.1-event-" # it is my event2
    Option "XkbModel" "evdev"
    Option "Protocol" "evdev"
    EndSection
    In Serverlayout I added entry for  InputDevice  "Multimedia keys":
    Section "ServerLayout"
    Identifier "Dual Head"
    InputDevice "Logitech MX620" "CorePointer"
    InputDevice "Logitech Media keyboard 600" "CoreKeyboard"
    InputDevice "Multimedia keys" "SendCoreEvents"
    Screen "Desktop"
    EndSection
    And almost all multimedia keys started to work.
    I had small problems with couple of keys which created keycodes greater than 255. I used keyfuzz to remap these keycodes to something smaller than 255.
    After that i scaned all keycodes with xev, and mapped them to keysymlinks with xmodmap.
    Now all media keys are working and I can configure KDE to use it.

  • How to run two inputs in one loop?

    I'm trying to run a while loop that has two inputs and one output.
    The two programs are:
    -A Thermocouple which is connected to a controller which sends an output
    -A flowmeter that sends an input voltage to be read in LabView.
    When I run both programs separately they work fine, but when running in the same loop I get an error.
    The Error is in the input DAQ assitant of the Thermocouple. This is the message:
    "Error - 50103 occured at DAQmx Readv(Analog 1D wfm NChan NSamp).vi."
    This error also comes up when running both programs on separate loops, separate files, but simultaneously. I think I'm just missing a command. Is that right?
    Can someone help me to figure out what the problem may be.
    Thanks!!!!

    Oops, started the message refering Ni-DAQ and mistyped Ni-MAX, mid-afternoon slump I guess. As Dennis' vi shows you can configure each of the channels seperately, by configuring NI-DAQmx global channels and then calling them from your program. I would recommend Ni-DAQ 7.4, it has solved a couple of issues that I was having at one customer and has some interesting features. One is the ability to simulate a number of NI DAQ cards in NI-Max. Although the simulations are not very complete they allow doing configuration in your LabVIEW program without actually having the board(s) installed in your development system.
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Bonding Two Ethernet Ports to act as One

    I am having problems bonding two ethernet ports on my G4 Xserver (10.4.4). The Mac OS X Server Command-Line Administration 10.4 manual gives instructions for doing this a number of ways.
    I tried <ifconfig en0 bonddev en1>; it did not work.
    The manual suggested using the <serversetup> commmand which does not exist on my server.
    I eventually used <sudo networksetup -createBond BondedEnet "Built-in Ethernet" "PCI Ethernet Slot 1"> which looked like it was working. However, it seem to lose the bond after a reboot of the server.
    Has anyone had any success with bonding and have some instructions on how to initiate it properly?
    G4 Xserver Mac OS X (10.4.4)

    I've found bonding to be reliable when set via the
    GUI, but I've yet to find a stable command line
    method.
    Note that any ifconfig commands would be transient,
    and lost at the next reboot. In any case your syntax
    is incorrect. It should be:
    ifconfig bond0 bonddev
    en1
    in other words, add device en1 to the existing bonded
    interface bond0. You're passing in a physical
    interface as the first parameter instead of the
    virtual bonded interface.
    The networksetup command should work, and should be
    persistent. It's not clear why it isn't working.
    If you have ARD or a monitor on this box I'd just go
    ahead and do it via the GUI. Maybe not the answer you
    wanted, but it works for me.
    If I don't have an existing bond0, do I simply use same line above but with en0 to create it.
    For example: ifconfig bond0 bonddev en0
    And is there anything else that would require tweaking after the bond is setup.
    G4 Xserver Mac OS X (10.4.4)

  • Solution to only TWO USB ports, please

    I should have paid more attention when I bought my Mac. I didn't realize there were only TWO USB ports on board. My job requires me to be mobile, and on any given day, I could be using up to 10 USB ports. I know they make hubs, one of which I've tried, but it didn't work. Does anyone recommend a particular brand of hub that's RELIABLE and can handle both input and output?
    I'm stunned that Apple would have just 2 USB ports. My old Dell had 4, and if I remember right, I could have specified even more when they were building it.
    Diane

    Yes, that's the ExpressCard/34 port (labeled in this linked image). The ExpressCard port also be used for media card readers, WAN (wireless broadband) cards, etc. Good for a USB expansion hub because it's a small form factor and won't take up one of the two existing USB ports.

Maybe you are looking for

  • How to Call pl/sql procedure from shell script

    Hi, I've one procedure which takes the xml file name as input from one of the remote location. Every day users keep one file in that location. For eg: ACS_RPO00020110316_20110316220956.xml ACS_RPO00020110319_20110319220956.xml I need to read the late

  • Backing up iTunes Library

    Excuse me if this is a duplicate.  This web page, took my entire question with details, when I click post, said there was an error and deleted it.  I think.  I can't find it. I am trying to understand doing back ups and restores of the iTunes library

  • ARE documents for non exciseable goods

    Dear Experts, If the finished goods is not exciseable then whether the followings documents are required in export sale and deemed export sale. 1.In  export sale- ARE 1 document 2 In deemed Export - ARE 3 document In general 1. Is bond mandatory if w

  • Refresh Parameters

    Hi , I create parameter fields and use select expert by record to link it to the data , when i run the report in the preview mode it prompts fine i choose the needed and say Ok. now the results dont change, only when I click the apply 'tick' the sett

  • Blank Workflow from PCR

    Hello, We have implemented PCR for Change Position using custom Workflow. The problem is random where in we can see the workf item raised but when you click on the work item log it is blank. This causes the portal to error when the user clicks on the