cancel
Showing results for 
Search instead for 
Did you mean: 

Data not coming using interface method in another WD component

Former Member
0 Kudos

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..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Has anyone got any idea??

Former Member
0 Kudos

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

Former Member
0 Kudos

Have u enhanced cnr_view ? If so why ? You only have to create configurations based on this floor plan. Probably you need to study little more About FPM , refer the development manual for example.