2010 Apr 05 12:21 PM
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
2010 Apr 05 1:14 PM
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
2010 Apr 05 12:39 PM
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
2010 Apr 05 1:14 PM
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
2010 Apr 05 1:18 PM
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.
2010 Apr 05 5:31 PM
Use fm BAPI_PO_GETDETAIL1
Check the return tables POTEXTHEADER , POTEXTITEM
2011 Apr 21 11:35 AM
2011 Apr 21 11:35 AM