on 2012 Jan 26 6:42 PM
Hi, i realize an enhacement to /SAPSRM/WDC_DO_SOCO_GAF_3 webdynpro component
on COMPONENTCONTROLLER i realize a postexit on PROCESS_EVENT.
i use the attribute WD_THIS.
data lv TYPE REF TO /sapsrm/if_pdo_xo.
CALL METHOD wd_this->mo_aom_soco->/sapsrm/if_cll_xo_mapper~get_pdo
RECEIVING
ro_pdo = lv.
in lv i can see the MT_INTERNAL_REF_TABLE attribute , but it is a private instance attribute.
and i need the data from this internal table attribute, but its private, im looking for other methods to obtain the data with no sucess
How i can get data from MT_INTERNAL_REF_TABLE?
thanks
Last resort: Enhance the class, create a method which exposes the private attribute to the outside in form of a parameter. I did this once and it works fine up until now. Probably the time will come when things explode because certain attributes are set private for good reasons...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i guess this is the assign source of supply screen in SRM 7!!
can you let us know what are you trying to achieve(overall), probably will help us understand more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no way you can access private attribute unless your class is a "firiend" http://help.sap.com/abapdocu_70/en/ABENFRIENDS.htm or there is a getter method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.