cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement in Mitigating controls -> Create - GRC

vinu-93
Member
0 Kudos

mitigation-control.png



method _PST_F2915SF1UWZPEO5LNE2SH8RV1 . "Exit of ONACTIONEXECUTE_ACTION (in ZGRC_ENHANCEMENT_A )


 TYPES: BEGIN OF ty_owners,
        AC_OWNER_NAME_CN TYPE AD_NAMTEXT,
        AC_OWNER_ASGN_TYPE_CN TYPE GRAC_OWNER_ASGN_TYPE,
        AC_OWNER_GROUP_CN TYPE CHAR15,
        AC_OWNER_ID_CN TYPE GRAC_OWNER,
        AC_OWNER_UPDATED_BY_CN TYPE USRNAME,
        AC_OWNER_UPDATED_ON_CN TYPE AEDTM,
        AC_OWNER_EXT_CN TYPE GRFN_EXT,
        AC_OWNER_KEY1_CN TYPE GRFN_EXT_DATA_KEY,
        AC_OWNER_KEY2_CN TYPE GRFN_EXT_DATA_KEY,
       END OF ty_owners.


  DATA ls_dynamic TYPE ty_owners.
  DATA lo_nd_dynamic TYPE REF TO if_wd_context_node.
  DATA lo_el_dynamic TYPE REF TO if_wd_context_element.


* get all declared attributes
  lo_el_dynamic->get_static_attributes(
    IMPORTING
      static_attributes = ls_dynamic ).

* In debugging filling values to ls_dynamic.


* to set values to structure 
   lo_el_dynamic->set_static_attributes(
     static_attributes = ls_dynamic ).
""""""""HERE GETTING ERROR - MOVE-CORRESPONDING Is not working"""""""

endmethod.















I have requirement in GRC system mitigation control->create to auto fill Owners tab(Screen shot attached:mitigation-control.png) from customized table.

Tcode: NWBC

Webdynpro:GRFN_LIST

View: V_LIST

I couldn't set values to the structure/get values from structure. I have used wizard to set and get, still as its dynamic code didnt accepted the import from get and exporting from set so i declared same structure in the code assigned to it. Code attached.

Any method i can automatically fill the row's in Owner's tab.

Accepted Solutions (0)

Answers (0)