on 10-14-2008 5:51 PM
Hi All,
For one of the fields on my webdynpro screen, I have to attach F4 values from the backend system. How do I do this ?
Thanks,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Execute the BAPI.
2. Set the values returned by the BAPI into one of the simple type enumeration.
3. Create a context of the above simple type.
4. Bind your input field to this context.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes sir,
for(int i=0; i<wdContext.node<outputnode>().size();i++)
{
IPublic<ComponentName>.I<outputnode>Element ele = wdContext.node<outputnode>().get<outputnode>ElementAt(i);
IWDModifiableSimpleType sim = wdContext.getNodeInfo().getAttribute(<attribute used to bind to input field of simple type>().getModifiableSimpleType();
IModifiableSimpleValueSet vs = sim.getSVServices().getModifiableSimpleValueSet();
vs.put(ele.get<atttributekey>(),ele.get<attributevalue>());
}.
Regards,
Murtuza
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.