on 02-10-2016 1:12 PM
Hi there,
Requirement : Add date field to reference object block ,component BTREFOBJ.
AET wont support to add field to BTREFOBJ ,so I added date field in BOL Structure CRMST_REFOBJ_BTIL and added date field to config . I can choose the date , as soon as i hit enter date disappears. On debug i found In set method dref is not bound. Suggest me how to fix the issue.
Thanks,
Naveen.
Did you manage to find a solution? I am getting similar issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Navin,
It is not as simple as just adding the field to standard structure. A lot has to be done for this. Please explain everything that you did step by step, if possible along with the screenshots.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sagar,
Thanks for your response
Strcture : CRMST_REFOBJ_BTIL
2. Se11 ,using append structure added field Start_date of type sy-datum.
3. BSP_WD_CMPWB - Component : BTREFOBJ
4. Added start_date field in get_table_line_sample
5. Added current date field in UI.
After hitting enter button
6. I know the field added does not have corresponding link back to database table. I’m missing here ,can you please suggest next steps to do . I also need to add another 5 fields to the same object.
I have also followed
SAP Web UI Custom field value not getting set . | SCN
and some other links,but not helpful to fix the issue.
Thanks,
Naveen.
Hi Naveen,
This seems to be a complex development. I assume that the fields you want to add here are all display only fields.
You should follow a two step solution:
1. Whichever object (is it ibase?) you are trying to see in component BTREFOBJ, you should open that object in web UI and add a custom field using AET on that object. This will create a DB field on that object.
2. Make this field available in view of component BTREFOBJ.
For this you have two different options, try both
Option1:
a. Use append structure (as you did) to add the field to standard object
b. Enhance GENIL model to read the value of that field from DB table
Option2:
a. Add attribute to context node BTREFOBJ and write code in GETTER method of this new attribute to read the DB value.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.