Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM "SPR_KOMK_KOMP_FILL" does not return any data

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,

Former Member
Not what you were looking for? View more on this topic or Ask a question