Skip to Content

Enhancement in Mitigating controls -> Create - GRC

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.