11-07-2006 9:02 PM
How can a string be continued in the next line ... in the below function call for popup_title i have to give 'Enter Sold-to party's Postal code and Region'
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = ' '
POPUP_TITLE = 'Enter Postal code and Region'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE =
TABLES
FIELDS = IVALS
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I appreciate your response
11-07-2006 9:13 PM
Are you having a problem because of the apostrophe?
If so, do like this:
'Enter Sold-to party<b>''</b>s Postal code and Region'
Note the two single quotes in the title.
11-07-2006 9:05 PM
Please try.....
<b>data: title_string type string.
title_string = 'Enter Sold-to party<b>''</b>s Postal code and Region'.</b>
call function 'POPUP_GET_VALUES'
exporting
* NO_VALUE_CHECK = ' '
<b>popup_title = title_string</b>
start_column = '5'
start_row = '5'
* IMPORTING
* RETURNCODE =
tables
fields = ivals
* EXCEPTIONS
* ERROR_IN_FIELDS = 1
* OTHERS = 2
.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Regards,
Rich Heilman
11-07-2006 9:13 PM
I see that the problem is because of 's in sold-to party's ... how can that be corrected
11-07-2006 9:13 PM
Are you having a problem because of the apostrophe?
If so, do like this:
'Enter Sold-to party<b>''</b>s Postal code and Region'
Note the two single quotes in the title.
11-07-2006 9:17 PM
11-07-2006 9:24 PM
Rich,
Thatz not working,but i have give two single quotes and its working now.Thanks anyway
11-07-2006 11:58 PM