SAP MM Table to read PO Header text and item text

SAP MM Table to read PO Header text and item text

[Question]

I want to know the table in which we can read the PO header and item text.

[Solution]

1>If you read directly from the table then for getting HEADER TEXT STXH & item text STXL. 

2>Better would be to use Function Module READ_TEXT  

    CALL FUNCTION 'READ_TEXT'

      EXPORTING

        CLIENT                  = (Client ID)

        ID                      = (Text ID)

        LANGUAGE                = (Language)

        NAME                    = (PO Number)

        OBJECT                  = 'EKKO' for Header & EKPO for Item

      TABLES

        LINES                   = (Internal Table of type lines)

      EXCEPTIONS

        ID                      = 1

        LANGUAGE                = 2

        NAME                    = 3

        NOT_FOUND               = 4

        OBJECT                  = 5

        REFERENCE_CHECK         = 6

        WRONG_ACCESS_TO_ARCHIVE = 7

        OTHERS                  = 8.

 

请使用浏览器的分享功能分享到微信等