03-01-2009 11:17 AM
Hi all,
when i am passing some value to DIAGNOSE _OBJECT import parameter and executing the FM its showing **No Long Text Found***.
can anyone let me know the solution for this...
thanks
ravi
03-01-2009 1:38 PM
Hi Ravi,
First u have to create this object in SE61. Then only u can use it.
Below is the extract of FM documentation.
The document passed must be created with the Documentation maintenance transaction (SE61) as a "Text in dialog" class document. No check is made that all parameters used in the text document are passed in the internal table PARAMETERS. Missing parameters are not displayed. You should use numbered texts to make the parameter values translatable.
Try with this sample code.
call function 'POPUP_TO_CONFIRM'
exporting
titel = 'Title for POPUP_TO_CONFIRM'(A01)
diagnose_object = 'TEXT1_ZUM_POPUP_TO_CONFIRM'
text_question = 'Do you want to carry out this
fantastic test?'(A02)
text_button_1 = 'Yes'(A03)
ICON_BUTTON_1 = 'ICON_OKAY'
text_button_2 = 'Cancel'(A04)
ICON_BUTTON_2 = 'ICON_CANCEL'
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL = ''
userdefined_f1_help = 'TEST_TEXT_ZUR_SPO1'
START_COLUMN = 25
START_ROW = 6
importing
answer = answer
exception
TEXT_NOT_FOUND = 1
others = 2.
Thanks,
Vinod.
03-01-2009 12:38 PM
03-01-2009 1:38 PM
Hi Ravi,
First u have to create this object in SE61. Then only u can use it.
Below is the extract of FM documentation.
The document passed must be created with the Documentation maintenance transaction (SE61) as a "Text in dialog" class document. No check is made that all parameters used in the text document are passed in the internal table PARAMETERS. Missing parameters are not displayed. You should use numbered texts to make the parameter values translatable.
Try with this sample code.
call function 'POPUP_TO_CONFIRM'
exporting
titel = 'Title for POPUP_TO_CONFIRM'(A01)
diagnose_object = 'TEXT1_ZUM_POPUP_TO_CONFIRM'
text_question = 'Do you want to carry out this
fantastic test?'(A02)
text_button_1 = 'Yes'(A03)
ICON_BUTTON_1 = 'ICON_OKAY'
text_button_2 = 'Cancel'(A04)
ICON_BUTTON_2 = 'ICON_CANCEL'
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL = ''
userdefined_f1_help = 'TEST_TEXT_ZUR_SPO1'
START_COLUMN = 25
START_ROW = 6
importing
answer = answer
exception
TEXT_NOT_FOUND = 1
others = 2.
Thanks,
Vinod.
03-06-2009 9:33 AM