‎2007 Jun 11 11:36 AM
hi friends,
i need to print the information message of long text of say 90 characters is it possible? how? r else if so is there any FM for pop-up a window to have the text of 98 characters...
reply soon urgent.
advance thanks.
‎2007 Jun 11 11:39 AM
hi, try this
TYPES: BEGIN OF LT_SVAL.
INCLUDE STRUCTURE SVAL.
TYPES: END OF LT_SVAL.
TYPES: T_IT_SVAL TYPE STANDARD TABLE OF LT_SVAL.
DATA: LIT_SVAL TYPE T_IT_SVAL.
DATA: LWA_SVAL TYPE LT_SVAL.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = ' '
POPUP_TITLE = 'RETURN VALUES FROM EAI'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE =
TABLES
FIELDS = LIT_SVAL
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2
.
reward points if helpful
regards,
venkatesh
‎2007 Jun 11 11:40 AM
Hi,
You can use the following FMs
BAPI_MESSAGE_GETDETAIL
WRITE_MESSAGE_NEW
MESSAGE_TEXT_BUILD
K_MESSAGE_TRANSFORM
or even easier to use the following statement:
message .. into.
then you can move the long text to a text98 field....of course it will be truncated.
Best regards,
Peter
‎2007 Jun 11 11:51 AM
friend,
this message is no way related to the tables to retrieve, just in a program using standard message class can i print the text of 90 characters.
thank u friend do this for me.
‎2007 Jun 11 11:55 AM
yes,
you can do this using message clas.
just create a class using se91 and specify it in your program.
in message class for messages maximum length could be 132 chars.........
regards,
ruchika
Reward if useful.........................
‎2007 Jun 11 11:41 AM
HI
U CAN CREATE A MESSAGE CLASS AnD In DAT CLICK LONG TEXT BUTTO AD GIVE UR TEXT IN THAT.
RGDS
Message was edited by:
abapuser
‎2007 Jun 11 11:42 AM
Hi Purna ,
You can use the FM , but you will have to split the text into 2 parts and pass it to the parameters TEXTLINE1 and TEXTLINE2 of the FM.
Regadrs
Arun
*Assign point if helpful
‎2007 Jun 11 11:42 AM
Hi,
you can simply write s001.
if you will double click it will ask to create a text elemnt. you can create here maximum of 132 chars.
direct path is goto-text element-text symbols.
s is message type, like this you can also use e for error and i for information.
regards,
Ruchika
reward if useful...........