cancel
Showing results for 
Search instead for 
Did you mean: 

Input help (EVS) and Adaptive RFC

Former Member
0 Kudos

Hi All!

I have a question regarding input help, SVS and EVS.

I have created af Webdynpro application, in which the user can create some bank details.

anyway my question is, how come there is input help on special types eg. Date, and Currency.

but not on others ? and is it possible to do something on the SAP side so eg account nr, will be abble to show input help ? I have read the tutorials on how to create input help for your own types, and this doesn't seem to work with the model node.

Help is much appreciated,

Kind regards

Ronni Hostrup

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Again!

Thanks for the Help!

So i guess that when you have a normal SAP type with a

Check table, you have to Create a second RFC call to get the entries out of the Checktable??

Best Regards

Ronni Hostrup

Former Member
0 Kudos

No. Necessary DDIC type for WD application will be generated automatically by "Adaptive RFC Model Import" wizard.

Valery Silaev

EPAM Systems

http://www.netweaverteam.com/

Former Member
0 Kudos

Hi Again!

Just to make sure that i get this right:

When i create a model, and some of the import parameters

have a Check-table attached to it, i am able

to create EVS/SVS to them? And is this done by creating

my own Value Nodes and value attributes, and making them calculated? and then creating getter and setter, which take the values of the mapped model nodes ?

Best Regards.

Ronni Hostrup

Former Member
0 Kudos

Step-by-step:

1. Import model (RFC)

2. Add model to your component

3. Create model node in your context and bind it to RFC model

4. Create UI controls (InputField / DropDownByKey) and bind them to model node attributes.

That's all (2 posts above I called this option 1)

Valery Silaev

EPAM Systems

http://www.netweaverteam.com/

Former Member
0 Kudos

Hi Again!

I hope i dont break a nerve

The solution you mentioned above works fine when the abab type is enumeration!

My problem is that the way we provide input help

in SAP is by using Check tables.

So when an ABAP programmer creates and BAPI for me, the input help is provided via Check-tables.

So what i want, is to be able to show the Portal user the same input help as the SAPGUI user, without having to hardcode the enumerated types.

So to sum up my question:

Is it possible to create EVS/SVS to my Import parameters

if theres is a Check-table on the abap side, and

how to do this ?

Kind Regards

Ronni Hostrup

Former Member
0 Kudos

Ok, it was my error -- I'm a bit unaware of ABAP-related terminology

If this is a separate table you need to have some RFC function that returns corresponding values (or key->description) from check table.

Next, you have to include this function into Adaptive RFC model.

Lastly, you may use OVS, and use OVS by query for RFC function mentioned. The OVS tutorial I've mentioned contains complete sample. Again, it should be possible to bind OVS even to model attributes.

VS

Former Member
0 Kudos

Hi Again!

Thank you alot

your help is much apreciated!

Best Regards

Ronni Hostrup

Former Member
0 Kudos

Hi Valery,

I have a similar requirement like this, but in my View I have 2 DropDownByKeys that I hardcoded to get values into those 2 DropDoenByKeys, which represents some value in the backend like if I have FinishedProduct in one of dropdownlists, the equivalent value is FERT(FERT is column name in that table). So, now my problem is----if i slect FinishedProduct it shud store in that respective column that is FERT. We kept the values in my appl for easy readable format. How to write the code and where to write the code, I mean in wdInit() or wdModify()....where exactly? I have a Bapi which can execute after pressing the save button.

Please let me know. Its urgent.

Thanks a lot in advance

Former Member
0 Kudos

Ronni,

Option one (altering ABAP type): you declare field type of ABAP structure as enumeration. Then automatically you got the following options in Adaptive RFC model: if you bind corresponding attribute to InputField UI control you got EVS, if you bind DropDownByKey you get SVS. Both will let user to select enumeration key and will provide readable textual description.

Option two (proxy type): you may create type right in NetWeaver IDE with necessary enumeration. Next, you are creating sub-node (cardinality 1..1) in context with a single attribute of desired type. This attribute will proxy original attribute in parent node. Also this attribute have to be declared calculated. In getter/setter of calculated attribute just return/assign value from/to original attribute.

OVS is more complex topic, in general words you may apply your custom value help logic. Also (AFAIR) OVS could be bound to model attribute with no problems.

Valery Silaev

EPAM Systems

http://www.netweaverteam.com/

P.S. Just a refresh on corresponding tutorials:

SVS

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/91c5e990-0201...

OVS

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/5dcbe990-0201...

EVS, OVS, Calculated attributes

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/0c0dcacd-0401...

Former Member
0 Kudos

Hi Valery,

The Tutorial for <b>EVS, OVS, Calculated attributes</b> has a broken Link.

On clicking the tutorial link it is opening the same page in a new window but no pdf link is there.

Regards,

Amol

Former Member
0 Kudos

Also the <b>OVS</b> example is not working. I have followed the tutorial and the given readme.txt file properly but as the backend/ABAP structure has been modified the procedure in the tutorial can not be followed exactly as before.

I think we need some updates here

Regards

Amol

Former Member
0 Kudos

I have reported the broken link to Support.

Amol