Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hi, Searching text by Object and Value select * from stxh into table lt_text_header where tdobject = im_object and tdname in im_names and tdspras = im_language. Where, in this case im_object = 'EKKO' and im_name = range of 'PONumbers' loop at lt_text_header assigning <lf_text_header>. append initial line to re_texts assigning <lf_text>. select single tdtext from ttxit into <lf_text>-tdtext where tdspras = <lf_text_header>-tdspras and tdobject = <lf_text_header>-tdobject and tdid = <lf_text_header>-tdid. try. <lf_text>-data = zcl_text=>find_by_key( im_id = <lf_text_header>-tdid im_language = <lf_text_header>-tdspras im_name = <lf_text_header>-tdname im_object = <lf_text_header>-tdobject ). catch zcx_text. endtry. endloop. method find_by_key.. call function 'READ_TEXT' exporting id = im_id language = im_language name = im_name object = im_object importing header = ls_header tables lines = lt_lines exceptions id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 others = 8. ............ endmethod. It's a good starting point. Regards, Pierre
| | | ---------------Original Message--------------- From: smslearn Sent: Tuesday, October 04, 2011 5:07 PM Subject: How to Download the Texts? I want to get the data of Header Text & Header note from SAP. Is there any transaction code available for it where I can give the Input of PO number and get the required data? Thanks in advance. | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Pierre_Richer SAP Development Helper
Posted helpful replies on 5 threads in a group to earn a Bronze Achievement Popular White Papers In the Spotlight _.____.__ |