on 08-26-2005 2:37 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. Necessary DDIC type for WD application will be generated automatically by "Adaptive RFC Model Import" wizard.
Valery Silaev
EPAM Systems
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
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
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
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
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
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
P.S. Just a refresh on corresponding tutorials:
SVS
OVS
EVS, OVS, Calculated attributes
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.