Hi ,
I am executing FM " SPR_KOMK_KOMP_FILL" but it does not return any data.. any thing missing here ???
DATA : wa_pispr LIKE TABLE OF pispr WITH HEADER LINE.
CLEAR wa_pispr.
wa_pispr-matnr = p_matnr.
wa_pispr-werks = werks.
APPEND wa_pispr.
CALL FUNCTION 'SPR_KOMK_KOMP_FILL'
EXPORTING
pi_i_spr = wa_pispr
IMPORTING
pe_i_komk = komk
pe_i_komp = komp
EXCEPTIONS
org_structure_not_completed = 1
OTHERS = 2.
KOMK & KOMP tables are empty after exeuting above FM...
Regards,