Reply from divyaaagnihotri on Dec 26 at 4:24 AM ok sir, *please cosider this simple code for fetching long desp from mm02 by using FM READ_TEXT.* *REPORT ZMM02_DESP1. TYPE-POOLS: SLIS. TYPES: BEGIN OF TY_FINAL, MATNR TYPE MATNR , "J_1IRDOC1, MAKTX TYPE MAKTX, ARKTX TYPE STRING, END OF TY_FINAL. DATA : GT_MAKT TYPE STANDARD TABLE OF MAKT, GT_FINAL TYPE STANDARD TABLE OF TY_FINAL, LINES TYPE STANDARD TABLE OF TLINE WITH HEADER LINE, GS_FINAL TYPE TY_FINAL, GS_MAKT TYPE MAKT. DATA : LV_TEXT(62000) TYPE C, NAME TYPE THEAD-TDNAME, ID TYPE THEAD-TDID, LANG TYPE THEAD-TDSPRAS, OBJECT TYPE THEAD-TDOBJECT. DATA : G_MATNR TYPE MATNR. SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001. SELECT-OPTIONS: S_MATNR FOR G_MATNR . " s_AUBEL FOR G_AUBEL. SELECTION-SCREEN: END OF BLOCK B1. DATA: GT_FIELDCAT TYPE STANDARD TABLE OF SLIS_FIELDCAT_ALV, GS_FIELDCAT TYPE SLIS_FIELDCAT_ALV, IT_SORTINFO TYPE SLIS_T_SORTINFO_ALV, WA_SORTINFO TYPE SLIS_SORTINFO_ALV, GS_LAYOUT TYPE SLIS_LAYOUT_ALV, GT_SORT TYPE SLIS_T_SORTINFO_ALV, GS_SORT TYPE LINE OF SLIS_T_SORTINFO_ALV, T_EVT TYPE SLIS_T_EVENT. FIELD-SYMBOLS : <LS_FINAL> TYPE TY_FINAL. DATA: GV_REPID TYPE SY-REPID. INITIALIZATION. GV_REPID = SY-REPID. START-OF-SELECTION. PERFORM FETCH_DATA. PERFORM LONG_TEXT. END-OF-SELECTION. PERFORM DISPLAY_DATA. *&
| | | ---------------Original Message--------------- From: R. N. Wilhite Sent: Tuesday, December 25, 2012 7:35 PM Subject: ESI: Publishing Long Text More Than 132 Characters Failed Then, Divy, perhaps you should say what is meant by publishing... Neal | | Reply to this email to post your response. __.____._ | _.____.__ |