on 10-10-2012 9:08 PM
Hello,
I have a requirement to add a column in the compare responses table (please see print attached), i've found the WDA program, that is the /SAPSRM/WDC_AODC_BEV_CMP, View: V_BID_COMP_ITEM, but the part of the table that is in the print attached is created dinnamicly so i have not found where do i go to add a column there.
Has any of you guys done that?
Thanks a lot!
Joe
Hi,
As it's a standard component and the code for TABLE is written in WDDOMODIFYVIEW so you need to enhance WDDOMODIFYVIEW and you can write the code for adding a column.
To enhance webdynpro component go these links.
http://saptechnical.com/Tutorials/WebDynproABAP/Enhancements/Demo.htm
Regards
Madhukiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Madhu,
Thanks so far for the responses, but now my questions are in a more technical way. I've found where the column is created but now i have 2 other problems.
1 - The place that the columns are created is the method: /SAPSRM/IF_CLL_DOTM_BEV_C_I~VIEW_GENERATE. I've created a enhancement at the end of the code. There is a DO for every bid line to create the grouped columns. My question is, i'm able to place a column only on the last grouped columns, because is the last one instanciaded on the standad do end do code. Is it possible to re-instance a grouped columns to add a column there? Ex:
* | Add the column group to the table |
lr_table->add_grouped_column( | |
the_grouped_column = lr_group_col ). |
ENDDO. |
My code is here after the enddo. The lr_group_col will be used to create a instance for every grouped column, and i my code when i use the lr_group_col only get reference to the last one created get it?
2 - In the code, it creates the columns, with the fields referencing a context, Ex: BID_COMP_ITEM.PRICE_1. It's created dinamycly, and i'm not able to read/change theses values because is not like reading context for regular context node on WDA. Do you know how can i do it? Like importing thoses values to change and bind it again...
Thanks for the responses so far, i'm almost here
Joe
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.