on 03-18-2010 9:35 PM
Hi,
I have added a Custom field in Standard Web Dynpro Component. How to Pass data to it and retrieve data for that field?
Where do I need to write a logic for it to pass it to Database and to retrieve it.
I have added a attribute in Context and bind it to UI Custom filed.
Thanks for your help!!
Thanks,
Monica
Hi Monica
This can be done in many ways.
It can be decided on various factors:>
where this custom field is available in db
How did u add this custom field to context either thro structure bound to context or standalone custom node
Which std component did u add this custom field to?
if you give this info it will be easy to suggest sol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
Standard Web Dynpro Component /SAPSRM/WDC_DODC_INV_O_BD in SRM 7.0. I have added a field at database level through Config and I am adding my custom filed to the Context from the standard structure /SAPSRM/S_CLL_INV_HDR.
How to create a tool tip for this field in Web Dynpro? Is it mandatory to make field visbile for Text and Input field.
Thanks,
Monica
Edited by: Monica Tubati on Mar 22, 2010 7:46 PM
Edited by: Monica Tubati on Mar 22, 2010 7:52 PM
Hi Monica,
For the custom field you have to add the attribute to the standard structure of the object. Then it will work in the same way as for standard fields.
E.g., You have an object 'ZBP' which has DB table with fields 'Name' and 'Addr.'. Now you add the custom field (say 'Phone') to this table (by means of a customizing include). Now when the node (bound to this object structure) is instantiated, automatically this 'Phone' will also be instantiated and likewise you can handle the persistance.
On the other hand, you can have a separate DB table for the Custom Fields. You can either have direct binding or you can create attributes at runtime as well.
Best regards,
Abir
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.