on 02-08-2015 3:22 PM
Hi,
The requirement is to add custom columns to Due List Report for Purchasing Documents. I was able to do the addition of column but my problems are:
The WD, POWL_TABLE_COMP has view TABLE_DATA. Context looks like this:
I need to get the data or the output table of the ALV and insert values to the newly-added columns. To do this, I implemented BADI, WD_BADI_DOMODIFYVIEW with filter value of just the view_name because I don't know where to get the component name. In the method, IF_WD_BADI_DOMODIFYVIEW~WDDOMODIFYVIEW, this is my code:
DATA: lo_nd_versioning TYPE REF TO cl_wdr_context_element,
lt_results TYPE /scf/duelist_tab_powl.
IF first_time IS NOT INITIAL.
lo_nd_versioning = wd_context->get_child_node( name = wd_this->wdctx_function_elements ).
lo_nd_versioning->get_static_attributes_table(
IMPORTING
table = lt_results ).
ENDIF.
With this, LT_RESULTS returns empty or blank.
Please advise if I'm using the correct node for CONTEXT which is FUNCTION_ELEMENTS.
FYI. Environment is SNC and it's the newer version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh,
That's what I thought at first but when I tried to put breakpoints in the method where we can change the result, it was not getting passed. Even the method for field catalog, it's not being passed also. This class was initially our option on our requirement.
I wonder if this is because of the our SNC v7.2.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.