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 order Item note

Former Member
0 Likes
2,721

Hi,

I am displaying a Purchase order report. I need to display the Purchase order Item Note.Using read text i am unable to find out can any one suggest me how to find out.

Regards,

Raghu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,798

Try below code

data : it_address type table of tline with header line.
        call function 'READ_TEXT'
          exporting
            client                  = sy-mandt
            id                      = 'F01'
            language                = sy-langu
            name                    = <CONCATENATE PONUMBER &PO LINE ITEM>
            object                  = 'EKPO'
          tables
            lines                   = it_address
          exceptions
            id                      = 1
            language                = 2
            name                    = 3
            not_found               = 4
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            others                  = 8.

Regards

Vinod

Hi,

I am displaying a Purchase order report. I need to display the Purchase order Item Note.Using read text i am unable to find out can any one suggest me how to find out.

Regards,

Raghu

6 REPLIES 6
Read only

Kanagaraja_L
Active Contributor
0 Likes
1,798

Check the parameters, That you have passed to Function Module READ_TEXT so that

1. Open the Purchase Order TCODE ME22N

2. Click On the Item , in bottom screen go to TAB TEXTS

3. Double click on the Text (Which one entered), It will navigate to New screen

4.From menu bar GOTO->HEADER Get Text Name(PO Number + Item Number),Language(SY-LANGU),Text ID(F01),Text Object(EKPO)

Verify those parameter with FM READ_TEXT

Kanagaraja L

Read only

Former Member
0 Likes
1,799

Try below code

data : it_address type table of tline with header line.
        call function 'READ_TEXT'
          exporting
            client                  = sy-mandt
            id                      = 'F01'
            language                = sy-langu
            name                    = <CONCATENATE PONUMBER &PO LINE ITEM>
            object                  = 'EKPO'
          tables
            lines                   = it_address
          exceptions
            id                      = 1
            language                = 2
            name                    = 3
            not_found               = 4
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            others                  = 8.

Regards

Vinod

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,798

Hi,

Check table STXH. Language is important. In whatever language language, it is created, Read_text or STXH table should be looked for that language.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,798

Use fm BAPI_PO_GETDETAIL1

Check the return tables POTEXTHEADER , POTEXTITEM

Read only

Former Member
0 Likes
1,798

answered

Read only

Former Member
0 Likes
1,798

answered