cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing F4 functionality

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You need to OVS for input field. Go through the below thread for implementation of OVS.

Link: [;

Thanks

Former Member
0 Kudos

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

Former Member
0 Kudos

Murtuza,

Do u have any code snippet for step 2.

Thanks,

Tom

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Tom,

Go through the tutorial link and the value help section

in that u will find different ways of doing that

"Advanced Value Help: Object Value Selector "

Thanks & Regards

Padma N