We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] ESI: Publishing Long Text More Than 132 Characters Failed

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from R. N. Wilhite on Dec 26 at 9:48 PM
You haven't told us what your forms do.

Neal

---------------Original Message---------------
From: divyaaagnihotri
Sent: Wednesday, December 26, 2012 4:26 AM
Subject: ESI: Publishing Long Text More Than 132 Characters Failed

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.


*&

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
R. N. Wilhite  

Senior Project Manager
32 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language