Problema usando tabla

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • rhein
    Member
    • abr
    • 66

    #1

    Problema usando tabla

    Hola, quien puede ayudarme con esto, soy nuevo en ABAP y no se como arreglar este caso, tengo el siguiente codigo

    SELECT *
    Appending corresponding fields of table ti_eina
    FROM eina AS a INNER JOIN eine AS b
    ON a~infnr = b~infnr
    WHERE a~lifnr = i_cekko-lifnr
    and a~matnr = it_bekpo-matnr
    and b~werks = i_cekko-werks.

    me entrega el mensaje: IT_BEKPO is table without a header line and therefore has no component called MATNR

    el IT_BEKPO esta definido en:
    *" IMPORTING
    *" VALUE(I_CEKKO) LIKE CEKKO STRUCTURE CEKKO
    *" VALUE(IT_BEKPO) TYPE MMPUR_BEKPO OPTIONAL



    gracias por la ayuda
    rhein
  • DavidXD_XD
    Moderator
    • ago
    • 1255

    #2
    Hola, por lo que puedo notar IT_BEKPO es una tabla interna pero sin area de trabajo, entonces puede que el codigo se arregle asi

    SELECT *
    Appending corresponding fields of table ti_eina
    FROM eina AS a INNER JOIN eine AS b
    ON a~infnr = b~infnr
    FOR ALL ENTRIES IN it_bekpo
    WHERE a~lifnr = i_cekko-lifnr
    and a~matnr = it_bekpo-matnr
    and b~werks = i_cekko-werks.


    Espero te ayude
    David Carballido Córdova

    Comentario

    • rhein
      Member
      • abr
      • 66

      #3
      Gracias Davidxd_XD, con tu indicacion se soluciono.

      rhein

      Comentario

      Trabajando...