on 10-25-2007 10:44 AM
Hi
I've got a form that's mapped to a RCF BAPI, say Z_Create
I can't write anything in the fields...
If I map the form to another BAPI Z_Show, they are editable but they appear with the bapi's parameters by default... which I don't want.
Hi Philippe,
Ur input fields will be disablaed ,when there is no element in the node (node which u binded to the form) . create an empty element in the node to make them enabled.
for ur 2nd bapi its enabled bcos element is available in the node.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks to all of you
I've solved the problem by creating a structure that I added to the node.
Zqms001 myTable = new Zqms001();
input.set<structureName>(myTable);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Philippe,
Make Sure when you have create the form using Apply Template => Form
In Edit properties you have chosen <b>Input Field</b> editor for the attributes.
A default property is TextView. If you have chosen InputField then check whether
You have initialized the node or not.
For 0..n node use code inside wdDoInit.
wdContext.node<node_name>().addElement(wdContext.create<node_name>Element());
For 0..1 node use code inside wdDoInit.
wdContext.node<node_name>().bind(wdContext.create<node_name>Element());
Other wise you can change the node cardinality to 1..1 or 1..n
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
"form that's mapped to a RCF BAPI, say Z_Create"
Does this BAPI returns any result.
if not this is the reason why the fields are not enabled.
To make the fields enabled
create an element of this node .
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what does I correspond to (first line) ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.