[SAP] Text Objects and ID 정리

Text Object   Tcode : SE75

항목             구분 ID NAME OBJECT

Material Master Basic Text GRUN 0000000000+자재코드 MATERIAL

  PO Text BEST 0000000000+자재코드 MATERIAL

  Info Record Note AT Info Record No. EINA

  PO Text BT Info Record No.+10000+Plant EINE

– Source

[#M_더보기|접기|

CALL FUNCTION ‘READ_TEXT’

    EXPORTING      client                  = gv_mandt

                            id                      = ‘AT’

                       language                = sy-langu

                        name                    = gs_thead-tdname

                         object                  = ‘EINA’

        TABLES      lines                   = gt_tline

  EXCEPTIONS      id                      = 1

                       language                = 2

                        name                    = 3      

                       not_found               = 4

                         object                  = 5

                   reference_check         = 6

              wrong_access_to_archive = 7

                     OTHERS                  = 8.

   gs_thead-tdobject = ‘EINA’.

    gs_thead-tdname = gt_text-infnr_new.

    gs_thead-tdid = ‘AT’.

    gs_thead-tdspras = sy-langu.

    CALL FUNCTION ‘SAVE_TEXT’

      EXPORTING        client          = sy-mandt

                            header          = gs_thead

                       savemode_direct = ‘X’

          TABLES        lines           = gt_tline

    EXCEPTIONS        id              = 1

                          language        = 2

                           name            = 3

                            object          = 4

                        OTHERS          = 5.

_M#]

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments