on 02-18-2012 5:00 PM
Hello,
I just read this post http://forums.sdn.sap.com/thread.jspa?threadID=1646098 which is closed that's why I'm opening a new thread.
I use the feature to add Additional Tab using custom component because I need drop down list, alv and input field some in my CI include some in a specific table.
Therefore, I created the class according to the documentation for the non CI fields and it's working fine. But as the thread mentioned at first, I got the same problem and can't figure out how to save automatically CI fields into database.
Any help will be appreciated
Regards,
Kevin
I have the same question.
SAP says :
What I don't get is how this automatic update works for custom WDA component? How component fields are mapped to CI fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
If you are using a custom dynpro, CI fileds are not saved automatically.
Like the additional custom fields, have you updated the project element data (with method set_data_ext for instance) before save?
BR
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I didn't use the save_data_ext method, I just follow the badi help :-). I'm quite new to this module.
What's the logic flow ?
- getting object
- call get_data_ext
- fill the CI fields in the structure
- call set_data_ext
?
Do I need to add some code in the different method of my component controller (on_after_save, on_cleanup, etc.) ? or if I just use the set_data_ext every time my CHANGE event is fired it's enough ?
Thanks for ur time!
Kevin
Hi,
I think I found a way to make things work.
in method ON_REPORT_CHANGES I call the get_data_ext, get data from my node and then call set_data_ext. But I specify on each object to call change method is there a way to do that at the change of tab ?
It's not very dynamic though, because I add a case/when on the node_name because I manage DPO, CTO and ITO object.
Anyway, I'm good now to continue If you have a better way to do things let me know
Regards,
Kevin
User | Count |
---|---|
10 | |
5 | |
1 | |
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.