on 01-22-2008 10:23 AM
Hi,
I've been able to bind tables, but am absolutely clueless on binding an inputfield to a value. Here's the scenario. I've four input fields, where I'm entering values in the first three to get the fourth. The fourth value is an export (return) parameter of the BAPI. After the BAPI is called, i need to display the value returned by the BAPI in the fourth inputfield. Hope this information is enough.
hi lloyd.........
create 4 attributes...... either in a single node or different nodes.
all are bound to 4 input fields........
attr1 and attr2 are exported to the bapi.....
so when a button is clicked..... read teh 2 attributes using code wizard and pass it tot he bapi....
once the bapi is executed it retursns var1 and var2.
now write the coding as:
<reference>->set_attribute(
name = <attribute name>
value =var1).
do the same for the var2 also.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lloyd Aloysius King ,
Do like this
Create a nodeA with three attributes:
Create a node B with one attribute
then bind these attributes(of node A) to your input fields:: go to layout->go to the properties-> click data source and then map the attributes.
then on the third input field on the 'on enter event' create a method.. inside the method. read the node A. Now call the bapi with the parameters read, it will give you the result to be displayed in inputfield 4.
now bind the value to the attribute of node B.
Note:bind the attribute od Node B to inputfield4.
Regards
Sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.