Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Purchase Requisition

Former Member
0 Likes
979

Hi All

How to get the Purchase Requisition Header text. And in which table it stores..

Please help me.

1 ACCEPTED SOLUTION
Read only

Pawan_Kesari
Active Contributor
0 Likes
932

Assuming 10000018 is PR number use

DATA lt_text TYPE TABLE OF tline .

  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      id       = 'B01'
      language = sy-langu
      name     = '0010000018'
      object   = 'EBANH'
    TABLES
      lines    = lt_text.

Hi All

How to get the Purchase Requisition Header text. And in which table it stores..

Please help me.

4 REPLIES 4
Read only

Former Member
0 Likes
932

Hi,

Use the function module

READ_TEXT

Example in ME53N for a PR Go to the SAP script editor of the Header text.

Choose Goto --> Header

These will give the parameters for passing to the function module

Regards

Read only

Pawan_Kesari
Active Contributor
0 Likes
933

Assuming 10000018 is PR number use

DATA lt_text TYPE TABLE OF tline .

  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      id       = 'B01'
      language = sy-langu
      name     = '0010000018'
      object   = 'EBANH'
    TABLES
      lines    = lt_text.

Read only

0 Likes
932

Hi pawan..

If I am doing in such a way then it gives error like

" Text 0010000008 ID B01 language EN not found "

Plz help me.

Read only

Former Member
0 Likes
932

table -


STXH

use f.m READ_TEXT to get the value....