on 03-26-2007 1:53 PM
Hi all,
I'm needing some help on how to make available the F4 values for fields passed into WebDynpro by means of imported RFC from SAP R/3 backend.
Consider the following BAPI:
BAPI_PERSDATA_GETDETAILEDLIST
There are several fields with F4 values possibility:
FORMOFADDRESS wich as definined in the domain the value table T522G
or
MARITALSTATUS wich as defined in the domain the value table T502T
or
GENDER wich as definied in the domain some fixed values (no value table)
or in (Bank Data)
BANKL (Bank Keys) - Explicit search help attachment to field H_BANKL
When i build up the application and apply a form template to display the return values from the RFC, the only Value Help i'm getting is from GENDER.
How can i make available the value help for the other input-fields?!?!
Please provide some guidance/tutorial/help
I've read about 3 type of ways to do it:
- SVS - Simple Value Selector
- EVS - Extended Value Selector
- OVS - Object Value Selector
But just can't figure out what to do to make it work ...
Must i build new RFC's to replace the Value Tables for each field in the BAPI?!?
Thanks,
Mário Semedo
Mario,
Fixed domain values is the only thing that is supported by WD Adaptive RFC Model automatically. Model generator creates simple type with correspondign enumeration, you may use either InputField (EVS) or DropDownByKey (SVS) to display attributes of such types, no additional coding necessary.
For all the rest you must create OVS programatically. Check OVS tutorials on WebDynpro area on SDN. You must also either find RFC that returns necessary values, or use generic BAPI_HELPVALUES_GET_SEARCHHELP/BAPI_HELPVALUES_GET, or create your own RFC that exposes search help.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Valery,
" ... you may use either InputField (EVS) or DropDownByKey (SVS) to display attributes of such types, no additional coding necessary ..."
Consider the following BAPI_BANKDETAILGETDETAILEDLIST.
We have in output BANKDETAIL structure BAPIP0009L:
CURRENCY field, with WAERS domain, with value help table TCURC.
PAYMENTMETHOD field, with ZLSCH domain, with value help table T042Z.
Model generator gives me automatically a value help for CURRENCY field and none for PAYMENTMETHOD field.
How can i easily make it work for PAYMENTMETHOD, without coding?!?
Thanks for your input
Mário Semedo
Mario,
Again, enumerations are built automatically only for domains with fixed values but not for domains with value table. Sure, WD has support for some common and quite stable domains with value tables (like currencies and countries), but this is not a case with payment methods.
So you must create OVS over attribute and add necessary logic to get list of payment methods, say from <b>FI_PAYMENTMETH_GETLIST</b> RFC
Valery Silaev
SaM Solutions
Hi Mario,
Do like this,
If you have value table for the field just use DropDownByKey and bind the attribute under output node hierarchy.
If you don't have value table for the field but have fixed values create Simple Type and create a context attribute of that Simple Type just use DropDownByKey and bind the attribute to that.
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help ...
Siva, that was really our first approach to try and resolve the problem ... but thing was it still didn't get the Value Help to the screen ... at least not when we create the input fields from the RFC we imported.
If we change the type of object to be built from each field from the imported RFC also doesn't work.
So, so far, we've built another RFC wich returns the value help tables for every fields we need and with some coding we're filling the F4 value help using Extended Value Help types to do it!!!
We were looking for a more direct approach and simpler way to get this done
Thanks everyone
Hi Mario,
Please gothrough these documents,
/people/vikram.singh6/blog/2007/01/10/generic-value-help-services-in-web-dynpro--a-birds-eye-view
Regards,
Ramganesan K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I would like to looking for document for Web Dynpro extended application for SAP EP.
Can you help me?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.