on 11-08-2011 2:53 PM
Hi Experts,
i have created a custom Wd component there i have defined a method get_skudata in componnet controller to get the data from a editable table UI element ..this method is an interface method ..and i am using this method in my FPM_OIF_COMPONENT view CNR_VIEW method 'ONACTIONBUTTON_PRESSED' method by component usage.i have written following code but surprisingly i am getting table e_skudata as an empty table even though i have entered data in my SKU table ...
L_REF_CMP_USAGE = wd_this->wd_cpuse_ppm_skuinfo( ).
IF L_REF_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
L_REF_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
lo_INTERFACECONTROLLER = wd_this->wd_cpifc_ppm_skuinfo( ).
lo_interfacecontroller->get_skudata(
IMPORTING
e_skudata = e_skudata " zppmd_skuinfo
).
please let me know where i am wrong..
Has anyone got any idea??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have gone through mutiple documents..my problem is when the control goes to get_skudata method in another component..it not able to read runtime values of table and table comes as an empty table...i guess use of componet usage is fine..the method that i am calling for getting the runtime table data is not the correct one..please share any thoughts on this..
Edited by: chauhansonika2011 on Nov 11, 2011 6:35 AM
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.