RFC Input Parameter Binding

I am binding optional input parameters that are of type DATS to the context of my component controller.  I have also bound the context of one of my view controllers to these parameters in the component controller so they can be linked to a couple of UI elements.  However these context nodes never seem to get initialized in the component controller.  The function module does execute and return data using the default values as defined on the backend.
Does anybody have any suggestions?

Are you using a custom controller or just the component controller, either way I think that you have to bind like this......here Bapi_Gl_Acc_Getlist_Input is a model class.
  public void wdDoInit()
    //@@begin wdDoInit()
    Bapi_Gl_Acc_Getlist_Input input = new Bapi_Gl_Acc_Getlist_Input();
    wdContext.nodeBapi_Gl_Acc_Getlist_Input().bind(input);
    //@@end
Regards,
Rich Heilman

Similar Messages

  • How to bind mapping input parameter in process flow using OMB Plus

    Hi
    I have created a process flow with a mapping.
    This mapping has a input parameter, that I want to bind to a variable using OMBPlus
    OMBALTER PROCESS_FLOW '$process' MODIFY PARAMETER 'P_EOD_DATE_IN' SET PROPERTIES (BINDING) VALUES ('V_EOD_DATE') does not work as P_EOD_DATE is NOT a process parameter
    neither does
    OMBALTER PROCESS_FLOW '$process' MODIFY PARAMETER '$mapname/P_EOD_DATE_IN' SET PROPERTIES (BINDING) VALUES ('V_EOD_DATE') as the reference '$mapname/P_EOD_DATE_IN' is not valid.
    Any suggestions ?
    Best Regards
    Klaus

    Hi Klaus,
    look here {thread:id=640397}
    Regards,
    oleg

  • MII BLS Trasaction calling SAP RFC call - How to pass XML document as input parameter

    Hi,
    1. I am very new to the SAP and SAP xMII workbench.
    I have a webpage with iGrid applet embedded on it. We have multiple rows in the iGrid applet that can be selected by user.
    After selecting single or multiple grid rows user clicking a 'button' on the web page.
    We are using iCommand applet (ExacuteQuery] to call the BLS transaction.
    Using iCommand applet on the webpage we are passing parameters to BLS Transaction.
    Would like to pass on the single/ multiple selected grid row values as a XML document to BLS Transaction variable which is an Input parameter for SAP RFC call.
    I am using SAP JCo Session to make the RFC call. 
    Any pointers will be helpful.
    2. Which is a best track in SAP training courses to get formal training.
    Thanks,
    Senthil

    Hi Senthil,
    What version of MII (or xMII) are you working with?  There are some examples of this type of transaction in the wiki which you may want to download and take a look at.
    Regards, Mike
    SAP Customer Experience Group - CEG

  • How to give input parameter to Bapi when executing a method.

    Hi All,
    I have 1 input field and 1 button.I've defined a model node and inside that model attribute in my view.If I enter something in the Input field the value should go to the particular model attribute I defined.How to pass that input parameter.I have a action like this....
    public void onActionGetDateDetails(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGetDateDetails(ServerEvent)
        wdThis.wdGetGetDateDetailsCustController().execute_Bapi_Get_Date_Details("");
    // while executing the above method I have to pass the input parameter typed in the input field.
    Structure of my context :
    Bapi_Date_Details
    >Network List(Model Node)
                                          |
                                          -->Network (Model Attribute)
         //@@end
    Help me to solve this.
    Thankx in advance.
    Regards,
    Karthick.K.E

    Hi Karthick,
    You can associate an input field's value to a BAPI in two ways:
    1) binding the input UI element's 'value' directly to the BAPI's input attribute that you want to set. This is the methos Noufal suggested. In this method, make sure you initialize the attribute through the following lines of code in the doInit() method, else, the input field will be disabled.
    <b><Bapi_name>Input input = new <Bapi_name>Input();
    input.set<Attribute_name>(new <dataType>);</b>
    2) The second method is settting the input's 'value' to some other attribute(say 'abc') and giving this value to the input parameter just before calling the RFC.
    input.set<Attribute_name>(wdContext.currentContextElement.getAbc());
    Hope this helps,
    Best Regards,
    Nibu

  • Task Flow Based On Input Parameter

    I am using JDev 11.1.1.6.
    I have an app that uses a Task Flow with "ExecuteWithParams" to get the parameter from a URL and display the appropriate records on a page.
    I do this by using a Bind Variable on the VO that corresponds to the InputParameter on the ExecuteWithParams control.
    What I would like to do is flow to a different page, depending on the parameter used in the URL.
    Example:
    If param in URL is "?TEAM=1" then I would go to the TEAM page and display records for TEAM 1.
    If param in URL is "?REGION=3" then I would go to the REGION page and display records for REGION 3.
    Thanks,
    Ray

    This could probably be solved using a router activity or a custom method as the default activity in the Task Flow. Then outcome of the router/method, can easily route to the desired TF activity based on an input parameter. E.g. if parameter is "region" route to executeRegionIteratorWithParams, which in turn will "flow" to displayRegions view activity.

  • Problem in mapping BIGBINARY input parameter

    Hi All,
    I am trying to create an operation of 'OTHER' type in SUP 2.2. The input parameter structure is having an 'BIGBINARY' attribute. This attribute is used to send photos. But the input structure is not coming under client parameters and unable to map it. While generating code for iOS the particular input structure is abandoned.
    So, kindly help me how to handle this...
    Thanks,
    Saju KS

    Hi Neha,
    Please create the custom context node/attribute same structure as RFC model node. then populate the data using below following code :
    - get the size of the RFC model node which you want to populate in the costom node like
    int xxx =  wdContext.node<XXX node>().size;
    - Create onject for custom node like
      I<Custyom Name>Element element = null;
    -  then use for loop for fetching data from Model node and populate in custom node
    for(int i =0; i<xxx; i++)
             element = wdContext.create<Custyom Name>();
             element.set<Attribute Name>(wdContext.node<XXX>().get<XXX>ElementAt(i).get<>Attribute name for model())
             wdContext.<Custyom Name>().addElement(element);
    It will populate in your custom node from model node.
    Hope it will helps you.
    Regards
    Arun

  • Input-Parameter to message mapping missing

    Hi,
    I have an interface on 7.1 where i use a RFC lookup, and sets the channel using the parameter functionality. After upgrading to EHP 1, the parameter has gone missing on the production system. It is on Dev, but when I try to transport it again, it still does not appear. I get this error in SXMB_MONI: UndefinedParameterException: The input-parameter RFCChannel does not exist
    Any ideas?
    Kind regards
    Mikkel

    Check this SAP note 1307777.

  • Input Parameter in process flow

    Hi, I can't pass a parameter in a process flow, I'm following these step:
    To accomplish your task you should do following steps:
    1. Define input parameters for all your mappings
    2. Collect mappings within process flow
    3. Define process parameters.
    To do this withing Process editor and point somewhere on process diagram - don't select any activities In bottom-left window you will see the list of all process' activities. Select "Start" activity and press Add button below. New parameter line should appear under Start activity. Edit name and type of parameter and repeat creating input process parameters.
    4. Select Mapping with input parameters. In bottom-left window selectted activity will appear. Click on plus sign to expand mapping parameters. For each parameter set its Binding to the Process parameter. Continue with other mappings.
    The process flow recibe the input parameter, but it's not passing through the mappings
    if I run the maps one by one, the result is Ok
    Thanks and regards

    Hi
    How do you know the process flow is receiving the input, and that the mapping is not?
    So you followed the following
    http://blogs.oracle.com/warehousebuilder/2009/01/process_flow_parameters_1.html
    but with a map as the activity?
    Cheers
    David

  • How to pass input parameter (parameterized mapping) to java mapping program

    Hello
    I have a question about the parameterized mapping with Java (PI 7.1).
    In the operation mapping (using Java-class) I defined a inputer parameter (string). I think I am supposed to retrieved the value using:
                    arg0.getInputParameters().getString("myInputParameterName");
    where arg0 is the TransformationInput object.
    However I am not able to get the value, I got runtime exception saying the inputer parameter doesn't exit.
    Then I figured out maybe I need to bind the OM input parameter to Java mapping parameter, just like in case of message mapping, you need to bind OM parameter to MM parameter. However there is no way to define input parameter for the java mapping program.
    Anybody has done java mapping with parameterized mapping?
    Anybody can give any hint for this?
    Thanks
    Jayson

    InputParameters params = container.getInputParameters();
    DynamicConfiguration conf = (DynamicConfiguration) params.getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    Edited by: Anand on Dec 10, 2008 4:13 PM

  • Process Flow Parameter Binding.

    The docs on using process flow parameters are a bit sparse, so I wonder if anyone else has some input.
    We kick off our ETL processes by an external enterprise scheduling tool due to several remote dependencies. This tool provides us with an audit id that we want to tag all of our current rows loaded with. Now, creating input parameters on the mappings is easy, but the docs seem to indicate that a parameter passed into a process flow can only be bound to one location. Given that our process includes a few hundred mappings, this would require the input parameter be input several hunderd times with each instance bound to a single mapping. That is not a maintainable option. Similarly, any documentation on passing OUT parameters from mappings to subsequent mappings seems entirely absent, so I'm not sure if I can "daisy chain" passing this parameter along.
    Which, at this point, leaves me with passing in the variable to the process flow, having the first step be a SQL call that saves this ID to a table, and then having each mapping query this table for the audit ID in a pre-mapping procedure to use to tag the rows. The Process Flow will also have to have a closing SQL script to clear the audit id out of the table.
    Is this my best option? Or does anyone have a better idea?
    Thanks,
    Mike

    In 9.2, parameters were added by way of the property sheet for the Start activity.
    In 10.2 what you do is, in the Explorer portion (the top section) of the palette you select the "Start" activity. If you then look at the top bar of the Explorer portion of the palette you will note that the leftmost icon (a green plus sign over a folder) is enabled. This is the Create button which, when pressed, will create an input parameter to the process flow. This paramter may then be used as a bind variable by other activities in the process flow.
    Cheers,
    Mike

  • PL/SQL Associative Array as INPUT Parameter

    Hi,
    Just wondering if anyone out there has a good example of how to get VB.NET (using ODP.NET 9.2.0.4) to pass an Associative Array as an Input parameter to a stored procedure (not for bulk binds)? Specifically, I'm looking for an example of how a VB Strong Typed Collection would be passed through the PLSQLAssociativeArray Collection Type.
    I've managed to get a test to work by passing a 1-D String Array through the ODP.NET layer to the PL/SQL AssociativeArray parameter. But I've had zero success trying to get the Collection from VB through ODP.NET.
    Thanks in advance for any help.
    Todd.

    For example, if I wanted to return a list of customer ids and names into A PLSQL Associative Array, how would I do it. I know how to return a list of customer ids into a PLSQL associative aray using the code below but I have to specify the maximum number of elements and the maximum size of each of the elements. Is there any way around this?
    Dim prmOutCustomerIdList As New OracleParameter
    With prmOutCustomerIdList
    .ParameterName = "oCustomerIdList"
    .CollectionType = OracleCollectionType.PLSQLAssociativeArray
    .OracleDbType = OracleDbType.Varchar2
    .Direction = ParameterDirection.Output
    .Size = 5
    .ArrayBindSize = New Integer(4) {10, 10, 10, 10, 10}
    End With

  • Cast a  Input Parameter of Table Type?

    Hi,
    Can a stored procedure input parameter of type
    TYPE T_INV_ID IS TABLE OF INV.INV_ID%TYPE INDEX BY PLS_INTEGER;
    PROCEDURE P_LIST_INV(CP_INV_ID IN T_INV_ID , C_REF OUT T_CURSOR)
    be used as with the Table Function?
    i.e. Select * from TABLE(CP_INV_ID)
    Thanks,
    Victor

    Yes you can. You will have to use execute immediate (or dbms_sql, depending on your database version).
    You will have to attach the table name into the rest of the sql string (you can't use bind variables for the table name). The owner of the procedure must have the appropriate rights on the given table, or the procedure must use invoker rights (authid current_user)
    execute immediate: http://download-uk.oracle.com/docs/cd/A87860_01/doc/appdev.817/a77069/10_dynam.htm
    dbms_sql: http://download-uk.oracle.com/docs/cd/A87860_01/doc/appdev.817/a76936/dbms_sql.htm#998100
    invoker rights: http://download-uk.oracle.com/docs/cd/A87860_01/doc/appdev.817/a77069/07_subs.htm#12848
    greetings
    Freek D
    HI all,
    I want write a common stored procedure which will perform some specified tasks on specified table. The table name is passing as a input parameter of a stored procedure. Can we use the table name as a input parameter of a stored procedure?
    Please reply
    BR

  • Web service data control with complex input parameter problem

    Hi!
    I'm making ADF web app, using JDev 11.1.1.2.0. I have to call a web service (using a data control), which has complex input parameter (array of complex objects).
    I followed steps from Susan Duncan blog: http://susanduncan.blogspot.com/2006/09/dealing-with-complex-input-params-in.html , but I ran into a problem.
    As Susan wrote, I changed submit's button action binding to an operation in a managed bean, which returns array of objects and everything works fine. I can call a WS and my table shows the result.
    The problem is, that after I change button's action binding to my manage bean, row selection in result table doesn't work anymore (I allways get NullPointerException).
    What can be done here?
    Can somebody please help?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • XmlElement  Input Parameter to the webmethod.

    Here is the WSDL Snippet.
    <s:element name="RegisterService">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="InputElement">
    <s:complexType>
    <s:sequence>
    <s:any />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    The web service method input parameter is defined as an XmlElement in the .Net Environment
    public XmlElement RegisterService(XmlElement InputElement)
    How the InputElement will be put in the Java Client Code. Please provide how to proceed for the Client side code for calling the RegisterService method.
    Regards \
    Pramod

    Here is the Client Code generated for the web service i need to build the client for.
    How do i make the method call with the InputElement for the RegisterInput .
    package com.test.webservices;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlAnyElement;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlRootElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for anonymous complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType>
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="InputElement" minOccurs="0">
    * &lt;complexType>
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;any/>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * &lt;/element>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
    "inputElement"
    @XmlRootElement(name = "RegisterInput")
    public class RegisterInput {
    @XmlElement(name = "InputElement")
    protected RegisterInput.InputElement inputElement;
    * Gets the value of the inputElement property.
    * @return
    * possible object is
    * {@link RegisterInput.InputElement }
    public RegisterInput.InputElement getInputElement() {
    return inputElement;
    * Sets the value of the inputElement property.
    * @param value
    * allowed object is
    * {@link RegisterInput.InputElement }
    public void setInputElement(RegisterInput.InputElement value) {
    this.inputElement = value;
    * <p>Java class for anonymous complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType>
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;any/>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
    "any"
    public static class InputElement {
    @XmlAnyElement(lax = true)
    protected Object any;
    * Gets the value of the any property.
    * @return
    * possible object is
    * {@link Object }
    public Object getAny() {
    return any;
    * Sets the value of the any property.
    * @param value
    * allowed object is
    * {@link Object }
    public void setAny(Object value) {
    this.any = value;
    }

  • OVS with no input parameter

    Hi,
    I'm trying tu implement an Object Value Selector for one of my inputfields.
    I use an RFC fonction module that gives a list of values that the OVS should use. I follow the tutorial on OVS but the difference is that my RFC function does not have input parameters, it only outputs a list.
    The result is that when I am press the OVS button of my inputfields, I get the following error :
    [code]java.util.NoSuchElementException
         at java.util.TreeMap$EntryIterator.nextEntry(TreeMap.java:1024)[...]
    [/code]
    I do not do anything in the method applyInputValue because I do not have input parameters so I can't set them but this is probably causing the problem.
    How can I correct this ?
    Thanks,
    Sylvain

    Hi NagaKishore,
    Here is the code I use in my wdInit() method of the view :
    IWDAttributeInfo[] ovsStartUpAttributes = { wdContext.nodeOVSNode().getNodeInfo().getAttribute("Mtart") };
              IWDOVSContextNotificationListener listener = wdThis.wdGetOVSCustomController().getOVSListener();
              WDValueServices.addOVSExtension("Selection type article", // not used yet
              // fields bound to startup attributes will be OVS-enabled
                  ovsStartUpAttributes,
                   wdThis.wdGetOVSCustomController().getOVSInputNode(),
                   wdThis.wdGetOVSCustomController().getOVSOutputNode(),
                   listener);
    The applyInputValues() method of the OVS custom controller is empty.
    My rfc module is returning a list of all material types available in the system. THere is no input parameter, and the result is a list of type Mtart.
    Regards,
    Sylvain

Maybe you are looking for

  • Problem in Scheduling Agreement

    Dear All, I have the following issue in Scheduling Agreement (VA31). I have entered the Customer Schedule as on 01.09.2009 07.09.09    -- 500 Nos 14.09.09    -- 500 NOs 21.09.09    --500 Nos 28.09.09    --500 Nos All the above requirements are displa

  • Use of  RRKMULTIPROVHINT in multiprovider

    Hi All, Could you explain me what is the use of the above table? I was reading a document named "How to create efficient multiprovider queries". It says In the RRKMULTIPROVHINT table, you can specify the MultiProvider and a characteristic for partiti

  • Installation XE 11. on Windows x64 ( 64-bit) 2008

    Dear All , I want to know if latest XE edition is certified on Microsoft Windows x64 (64-bit) 2008 OS ? We have installed specific version on Windows x64 (64-bit) 2008 OS. We get the following error : OER 7451 in Load Indicator : Error Code = OSD-045

  • Performance Tab in Manage Data Targets

    Hi. In the Performance tab of Manage Data Targets screen, under DB statistics, it's stated "10 percentage of IC data used to create statistics". What does this mean? Thanks, Sai.

  • My Blackberry Curve (sprint) is 5 months old and suddenly stopped working. Please Help

    Sprint has been absolutely zero help on this matter. It suddenly turned off and will not turn back on. I get a green light while it is plugged in, a red light after a battery reset followed by a brief screen flash. Very brief! I can access programs f