Input Table for BAPI appears under "Output port"

Hi,
I have the following problem:
I want to call BAPI "BAPI_BCA_PAYMITEM_POST_ITEM"
in my Model.
The BAPI has an input-table PAYMENTITEMS.
The problem is, that in Visual Composer it appears as an output port.
Therefore I can not fill this table and call the BAPI.
Any ideas ?
Regards
Georg

Hi Marcel,
thanks for your reply. It works !
How about I want to use a table both for in- and output ?
Regards
Georg

Similar Messages

  • Table as Input parameter for BAPI in Webdynpro Application

    I am creating webdynpro JAVA application to create RFQ, for which ABAP guy written a Custom BAPI called Z_BAPI_INQUIRY_CREATE. I tested this BAPI  in SAPGUI it is working fine. From my webdynpro application when I passes header and item parameter, my header getting inserted but my item data is not. It is giving me error like "Table input parameter not found". I am passing table to this bapi. When I tried my code to standard BAPI's (NOT CUSTOM), I am able to insert both HEADER and ITEM data.
    In above scenario I have few questions,
    1. Is there anything extra we have to do with custom BAPI's? (my BAPIs are in BOR).
    2. What is the datatype in webdynpro parallal to table parameter?
    3. is there any tutorial available for table parameter? (except FLIGHT examle).
    Thanks and regards,
    Nitin

    Hi Vijayakhanna Raman,
    Thanks much for your reply.
    Yes I did the same as you mentioned, but still I am getting an error "Table parameter not avaliable is empty".
    I am not getting were is the bug. And this is happening only with ZBapi's not with Standard Bapi's.
    I am really stucted becouse of this, answer will really get all 10 points.
    Here is my code,
         1. First create an instance for bapi and bind the instance to the bapi node.
         Z_Bapi_Inquiry_Change_Input input = new Z_Bapi_Inquiry_Change_Input();
         Zbapirfqitem item =new Zbapirfqitem();          
         wdContext.nodeBapi_RFQ_OnHold_Update_Input().bind(input);
         2. Then if u have the import parameter u have to set them by using
         input.setRfq_Number("6");
         input.setCreated_By("NLNS0000");
         //wdContext.currentBapi_RFQ_OnHold_Update_InputElement().modelObject().setRfq_Number("6");
         //wdContext.currentBapi_RFQ_OnHold_Update_InputElement().modelObject().setCreated_By("NLNS0000");
         3. If the bapi has a table parameters then the structure for the table parameters will also be imported In the model class.
    DONE!
         4. Set the table parameters by creating the instance for that structure and using this instance set it.
                             item.setUpdateflag("I");
                             item.setItm_Number("000030");
                             item.setMaterial("MAT-NITIN");
                             item.setMatl_Desc("Inserted by Nitin");
                             item.setQuantity(new BigDecimal(4));
                             item.setBase_Uom("PCE");
                             item.setReq_Qty(new BigDecimal(4));
                             item.setBase_Uom1("PCE");
                             item.setList_Price(new BigDecimal(3));
                             item.setList_Curr("");
                             item.setReq_Price(new BigDecimal(4));
                             item.setCurrency("EUR");
                             item.setIndirect_Price(new BigDecimal(4));
                             item.setCurrency_2("EUR");
                             item.setFinal_Price(new BigDecimal(4));
                             item.setCurrency_3("EUR");
                             item.setText_Line("");
                             item.setReq_Date_H(new Date(12-05-06));
                             item.setDirect_Dis(new BigDecimal(4));
                             item.setIndirect_Dis(new BigDecimal(4));
                             item.setFinal_Dis(new BigDecimal(4));
                             item.setProfit_Margin1(new BigDecimal(4));
                             item.setProfit_Margin2(new BigDecimal(4));
                             item.setBrand1("");
                             item.setModel1("");
                             item.setVal_Loccurr1(new BigDecimal(4));
                             item.setCurrency1("");
                             item.setBrand2("");
                             item.setModel2("");
                             item.setVal_Loccurr2(new BigDecimal(4));
                             item.setCurrency2("");
              5. Then add the structure instance to the bapi instance.
         input.addItem(item);
         6. Then Execute the bapi after setting the import parameters.
              //wdThis.wdGetContext().currentBapi_RFQ_OnHold_Update_InputElement().modelObject().execute();
              input.execute();
    Message was edited by: Nitin Kamble

  • Input table on BAPI

    Hi all,
    I have a problem when I call a BAPI parsing a input table.
    Normaly, I can define a input using: on the Custom Controller.
         Z_Bapi_Mov_Estoc_Input input2 = new Z_Bapi_Mov_Estoc_Input();
         wdContext.nodeZ_Bapi_Mov_Estoc_Input().bind(input2);
         input2.setParam1("test");
    but this bapi have a input table.
    How can I add this values?
    I've try with this code, but no work's:
         IPublicMagatzemListCust.IItemsElement newMaterialNodeElement;
         newMaterialNodeElement = wdContext.createItemsElement(new Zdetalle());
         wdContext.nodeItems().bind(newMaterialNodeElement);
         newMaterialNodeElement.setMatnr("3233");
         newMaterialNodeElement.setQuant(1);
    the table is mapped using Items node.
    Can anyone help me?
    thanks in advance,
    david

    Hi David
      Well lets say the table name is "MYTAB"
    Then what you need to do is in the model if you see you will get a Table class called "MYTAB"
    //After your lines
    Z_Bapi_Mov_Estoc_Input input2 = new Z_Bapi_Mov_Estoc_Input();
    wdContext.nodeZ_Bapi_Mov_Estoc_Input().bind(input2);
    input2.setParam1("test");
    //code to add values to table
    MYTAB tab = new MYTAB();
    //Set table attributes
    tab.set<attribute>();
    tab.set<attribute1>();
    now add the tab to the inp created
    input2.setMYTAB(tab);
    Hope that helps you. This will add the values to the table.
    regards
    ravi

  • Use data set from a SqlDataSource as an input table for another query

    I have a ASP.net winforms app with C# code behind. I am trying to provide a forecasting function that would allow users to perform "what if" analysis on parts of the database without changing the underlying database. Currently this forecast works
    by taking the production schedule from a table and running it against the forecasting query. What I'm trying to accomplish is allowing the user to have a copy of the data in a gridview so they can edit it and see the differences between their schedule and
    the current.
    My first attempt involved having a SqlDataSource create a temporary table and populate it with data from the main database. This allows for the first part (giving the user a copy of the data set to manipulate without changing the original). I tried to create
    a second SQLDataSource and reference the temporary table but it is not valid and appears that the temp table only exists in the session called by the first SqlDataSource. 
    Currently the first data source looks like this
    CREATE TABLE #mastersched(
    product [char](16) NULL,
    ,date [datetime] NULL,
    INSERT INTO #mastersched
    product
    ,date
     select  
    product
    ,date
           from (Main database table);
    select  
    product
    ,date
    from #mastersched
    I need to use the table #mastersched in a join statement within the forecasting query to return another dataset to be displayed either in a gridview, chart, report, etc.

    Hello REIData,
    This issue is more regarding ASP.NET, I suggest you posting it to the suitable forum:
    http://forums.asp.net/
    There are ASP.NET experts who will help you better.
    Thanks for your understanding.                                       
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Table option not appearing under Webitems

    Hi frds,
    I am unable to see 'Table' option under webitems-->standard tab   in web application designer so that i am unable to browse the bex query
    we r using BI7.0 (first time im opening web appl designer)
    is there any settings we hav to perform
    thanks

    Hi AHP,
    thanks for ur response..
    i dragged 'analysis' ti righside and selected query..
    when i execute that query i am geting below error
    Mess name  RSBOLAP 017
    Java Comm Error:RFC Destination Not_configured does not exist.
    Diagnosis
    An error occurred during communication with the BI components on the SAP J2EE Engine.
    System Response
    Procedure
    Contact your system administrator to have the error analyzed in detail.
    Procedure for System Administration
    SAP Note 888687 provides detailed instructions on analyzing communication and log-on problems.
    Can you help me in this .. 
    thanks

  • Word VBA Macro problem with adding rows to table for BAPI call

    Hello all,
    I have code in Word macro which is reading file from the disk and converting it to binary. This binary should be inserted in the internal table (Dim As object) for further posting. Code is modified from the note 945682.
    Here is the code:
    Sub Read_File(FileNameFull As String)
    Dim oBinaryDataTab As Object
    Dim oBinaryDataRow As Object
    Dim lBytesToRead As Long
    Dim iNumChars, i As Integer
    Dim s1022, s2044, sX As String
    Dim fs, f, ts As Object
    Dim ReadFile As String
    ' Actually does the work of uploading the document in 1022 byte pieces.
    ReadFile = 0
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set f = fs.GetFile(FileNameFull)
    Set ts = f.OpenAsTextStream(1, -2)
    lBytesToRead = f.Size
    ReadFile = f.Size
    Do While ts.AtEndOfStream <> True
    If lBytesToRead < 1022 Then
    iNumChars = lBytesToRead
    Else
    iNumChars = 1022
    End If
    s1022 = ts.Read(iNumChars)
    s2044 = ""
    For i = 1 To Len(s1022)
    sX = Hex$(CByte(Asc(Mid(s1022, i, 1))))
    If Len(sX) = 1 Then
    sX = "0" + sX
    End If
    s2044 = s2044 + sX
    Next i
    Set oBinaryDataRow = oBinaryDataTab.Rows.Add
    oBinaryDataRow("LINE") = s2044
    lBytesToRead = lBytesToRead - iNumChars
    Loop
    End Sub
    But on the row "Set oBinaryDataRow = oBinaryDataTab.Rows.Add" code just stopped to work.
    Can somebody give me a hint how to proceed?
    I also tried to Dim oBinaryDataTable As Table and oBinaryDataRow as Row with the same result.
    oBinaryDataTable will be used as to post file to SAP system without GUI FTP connection. Because of that it must be converted to binary form.
    TIA
    Gordan
    P.S. Message to Moderator: Please, be so kind, and put the message in the proper forum if this is not this one.

    Self Resloved

  • Table for Sales Document and Output Type

    Hi All,
    Can anyone please tell me the table where I can find the SALES DOCUMENT NUMBER and the OUTPUT TYPE assignment.
    Regards
    Vikas

    Hi,
    Goto the Transaction code SE16 and enter the table name as NAST
    In the APPLICATION enter V1
    And in the MESSAGE TYPE give Output type
    execute and you will get the sales documents created with the output.
    thanks,
    santosh

  • New Condition TAble for Inbound Delivery

    Hello
    i want to maintain a new Condition table for the Inbound delivery picking with the combination of _Delivery type/Plant
    so that the Inbound created for the particular plant alone uses the particular output type.
    Where in IMG can i configure the new Condition table for this combination for the Inbound delivery ?

    Hi,
    Go to SPRO > Logistics Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Inbound Deliveries > Here perform following;
    - Define Condition Table for Inbound Delivery
    - Define Output Types for Inbound Delivery
    - Define Access Sequence for Inbound Delivery
    - Maintain Output Determination Procedure
    - Assign Output Determination Procedures

  • Table for budget distribution undet project system.

    hi,
    do any one know the table for budget distribution under a project system?
    i need to get the data of budget assigned to a WBS level with the position ID, for a project. the transaction code to distribute the budget is by using transaction code - IM52.
    i posted this question in here before, but the answer i get is incorrect, as i need the table for budget under porject system. thanks

    Check these tables:
    PRPS  WBS (Work Breakdown Structure) Element Master Data
    IMPR  Investment Program Positions
    IMPS  Assignable Operative Objs for Capital Investment Positions
    IMAK  Appropriation requests - general data

  • Output Table from one BAPI as Input Table to another Bapi

    Hi
    I have two BAPIs.  First BAPI returned me a table, I displayed it on the view. 
    Then, user will select some rows and then the same Table with user selected values should be input of the Second BAPI.
    Please advise how to achieve this.
    Thanks,
    Jai

    Hi,
    Copy the values from the output of BAPI 1 to a value Node and bind it to the table which is shown in the View. After you make the changes in the table and the user performs an action to send the table values to another BAPI as input, try the following code:
    //Create an instance of the new BAPI
    BAPI<name>Input bapi2Object = new BAPI<name>();
    wdContext().currentBAPI<name>Input().bind(bapi2Object);
    //get the size of the table from the view
    int sizeOfTable = wdContext().node<tableNode>.size();
    //initialize a List to hold all the records
    ArrayList listOfRecords = new ArrayList();
    for(int i = 0; i < sizeOfTable; i++)
         //Initialize the structure which is sent as an Input to the BAPI
         <structurename> structObject = new <structurename>();
         //Set all the parameters required
         structObject.set<attribute>(wdContext().node<tableNode>().get<tableNode>ElementAt(i).get<attributeName>);
         listOfRecords.add(structObject);
    //set the list to the input structure
    wdContext().currentBAPI<name>Input().set<structurename>(listOfRecords);
    //execute the BAPI
    Hope this helps you
    Regards,
    Poojith MV

  • BAPI table input parameters for Visual Composer not working?

    I am using a BAPI with table input parameters (2 input fields for the table). I tested the BAPI in ecc function builder (it works as planned).  However, it doesn't work in Visual Composer using the same input values (not getting any error messages).  Is this a bug in VC 7.0?  Any help would be greatly appreciated.
    Edited by: Brent Crabb on Aug 29, 2008 8:12 PM

    Hi,
    The data service at a time  can execute only one input data.
    it will not handle too many inputs at time otherwise all the input ports should have same submit action then it is possible to Execute multiple input forms data .
    When you are mapping the input form and the dataservice ,give the same event like this *submit for both Inputforms
    Thanks,
    Govindu

  • How do I program a NI 6602 card to send trigger pulses, one at each output port, triggered by an input trigger signal, using only one counter for each output port?

    Hello,
    I have managed to program a NI 6602 card in LabView to send pulses on three different output ports, one pulse on each output port (with individually chosen delays) for each input trigger pulse coming on a separate input port. It is the DAQmx Create Channel (CO-Pulse Generation-Time)-VI that I have used for this, see attached code. However, this VI controls both pulse delay and pulse width, and therefore uses two counters for each output port (although you only specify one counter in the VI input signals), as I understand.
    In my application though, I only need to have the delay chosen, the pulse width can be arbitrarily short, and thus I should only need one counter for each output port. How do I accomplish to program this in LabView?
    Best regards,
    Claes
    Attachments:
    Configure Side Camera Flash 1 Triggering.vi ‏47 KB

    Well you're welcome to do that--it will work just fine as long as you are configuring a start trigger.
    <rant>
    However, personally I really don't like putting multiple counter outputs in the same task.  I have seen so many people assume that the counter outputs would be synchronized due to having them in the same task when this is not the case (you need to configure a start trigger in order to synchronize the counter outputs even if they are in the same task).  This is the only case I can think of where multiple channels in a DAQmx task are not automatically synchronized.
    As an example:
    Running this on my PCIe X Series gives a measured 2 edge separation of 1 ms + {7.78 us - 10.11 us}.  This would likely be much worse on a bus with more latency (e.g. USB).
    The resulting output is close enough to what you might expect that it might go unnoticed, but really these counter outputs are not synchronized and it would be easy to glance at the code and not even think twice about it.  For the small amount of extra work on my end to create a separate task for each counter, it really clears up some ambiguity about what the counters are actually doing.  For me it's worth it.
    So again, for your case there really isn't a problem with having the counters in the same task since you are using an external start trigger anyway.  I have just gotten in the habit of avoiding doing this.
    </rant>
    Best Regards,
    John Passiak

  • Creation of New Table for Delivery Output Type.

    Hi Guys,
    I need to replace an existing table by creating a new Table in the existing Access Sequence with the combination of "Ship to Party/Product Hierarchy".
    Logistics>Shipping>basic Shipping functions>Output determination>Maintain Condition Tables-->maintain output condition table for deliveries.
    I am choosing a new table by the name 902, but i am not getting the field " PRODH Product Hierarchy" on the right hand side to choose from.
    I checked the field catelog also. Firstly the field catelog was also not having the field, and then i added the field in it by choosing new entries.
    I guess i am missing some step in between, thats why the new field (PRODH) is not showing on the right hand side while creation of the condition table.
    One more thing, when i am seeing the Field Catelog, i am able to see a very large number of fields, then why only a few are appearing during creation of a new table??????
    Can you guys correct me and let me find a way.????
    Thanks very much indeed.
    Regards,
    Vivek

    Hi If u have already the field in FC u can add with new entries .
    Try with ,enter t- code <b>SE11</b>, enter <b>KOMB</b>- it will ask for access key get from basis and add u r Field catalog
    Field catalog for condition key: output determination
    If at all u want a new field tao add to u r FC u Can try with userexit.
    1)ADDING OF NEW FIELDS IN PRICING  
    In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields.
       The fields which are not in either of the two tables KOMK and KOMP
    cannot be used in pricing .Sometimes a need arises when the pricing
    is to be based on some other criteria which is not present in the form of fields in either of the two tables.
      This problem can be solved by using USEREXITS which are provided for pricing in SD.
      Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
    In the case of userexit which will be called when invoicing is done ,these
    are provided in the include RY60AFZZ which is in the standard SAP
    program SAPMV45A. The name of the userexits are same. i.e
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely
    created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that
    has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
    Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose
    includes are provided in each of them .
    To create the field in header data(KOMK) the include provided is KOMKAZ
    and to create the field in item data(KOMP) the include provided is KOMPAZ.
    One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
    2)The other method of finding userexit is to find the word USEREXIT in the
    associated program of the transaction for which we want to determine userexit using SE38.
    3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
    Some other examples of userexits in SD are:<b></b>
    Message was edited by:
            SHESAGIRI GEDILA

  • Input and Output Ports Problem

    Hi,
    I have defined an IView where I defined the Outcome to an OUTPUT Port EMP which sends Employee Number.
    And I had defined one more IView where it starts from an Input Port EMP, which takes Employee Number as Input for the RFC Enabled Function Module.
    Both these IViews are there in the same page. So in the page level I tried defining a link between these two ports of these IViews. But I was not able to do that.
    Why is it happening so?
    Is it possible to define a link from OUTPUT PORT of FIRST IVIEW to INPUT PORT of SECOND IVIEW?
    Can anyone let us know if this is possible.
    Regards,
    <i><b>Raja Sekhar</b></i>

    Hi Deep,
    Well, I am using VC 6.
    And We are on EP 6.0 SP14.
    And how to check if these .SDA files are deployed into my PORTAL?
    Coming to EPCM values of both the PORTS...
    com.sap.visualcomposer:epcm
    Both have the same value.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Is it save to use digital output as a digital input signal for another channel

    Hi all,
    I know this is a stupid question, but I do not have other signal generator by hand. So what I want to know is, can I use the digital output signal of my USB-6001 as an input signal for the same device but on other digital port? I did not try out directly because I do not want to burn the device down......
    Thanks
    Solved!
    Go to Solution.

    I do loop backs all the time, especially in my test systems as a way of making sure my signal is making it to the UUT pin.  I typically throw in a 10k resistor just in case, but I have never had an issue.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • HPE-360z won't boot

    My HPE-360z desktop  won't shut down and won't boot.  I must unplug the power cord. When I  plug in  the pc powers on but I get 'No Signal Input' on monitor screen. Monitor is good. Also  2  medium beeps  keep repeating.  I would be grateful for any

  • Can my several year old 24" iMac serve as a 2nd monitor to my much newer 27" iMac? If so, how please.

    A quick question. Can my fairly new 27" iMac use the older 24" iMac as a second monitor? If so, is it necessary to upgrade the older iMac? Thanks.

  • G/L accounts updation  in subcontracting process

    Hi, i request you provide details of G/L accounts while ;1) updation while we supply materials to vendor 2) while we recieve the finshed product.3) And while settlement to vendor. Thanks & Regards, Ramesh kumar.

  • Muse Listed As Installed After Uninstall

    I was having the validation error with Muse. I uninstalled it with Add & Remove Programs. Creative Cloud still lists it as Installed. I'm using Windows 8. How can I reinstall Muse?

  • Usage of @@ in scripts

    Hi, i thought the command should look for the specified script in the same path or url as the script from which it was called. but .. sqldeveloper-1.1.3.2766-no-jre\sqldeveloper\sqldeveloper\bin\... is not the place to look for. is it a bug or missin