Función o Bapi de Transacción MB5B

Hola Comunidad

Estoy en la Búsqueda de una Función o Bapi que me muestre la información de la transacción MB5B para visualizar el Stock Inicial.

Prueba esta

MB_READ_MATERIAL_STOCKS

Tambien Prueba esta
DATA: t_mdpsx  TYPE TABLE OF mdps,
      t_mdezx  TYPE TABLE OF mdez,
      t_mdsux  TYPE TABLE OF mdsu,
      t_mdinx  TYPE TABLE OF mdin.

DATA: wa_mt61d TYPE mt61d,
      wa_mdezx TYPE mdez.

* Initial screen
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
  EXPORTING
    matnr   = '000000000000000175'
    werks   = '1100'
  IMPORTING
    e_mt61d = wa_mt61d
  TABLES
    mdpsx   = t_mdpsx
    mdezx   = t_mdezx
    mdsux   = t_mdsux
  EXCEPTIONS
    OTHERS  = 1.

* Switch to period totals button
CALL FUNCTION 'ATP_BERECHNEN_MDEZX'
  EXPORTING
    emt61d = wa_mt61d
  TABLES
    mdezx  = t_mdezx
    mdinx  = t_mdinx
    mdpsx  = t_mdpsx.

READ TABLE t_mdezx INTO wa_mdezx INDEX 1.
IF sy-subrc EQ 0.
  WRITE: wa_mdezx-mng04.
ENDIF.

Este tema se cerró automáticamente 7 días después del último post. No se permiten nuevas respuestas.