Hello experts,
I was facing one problem. Iam getting the text properly but in case of text in two lines ima getting only first line text.i tries all ways but i was getting only single line.here is my code:
loop at it_ekpo.
concatenate it_ekpo-ebeln it_ekpo-ebelp into p_name.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = p_spras
name = p_name
object = 'EKPO'
TABLES
lines = t_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6.
ENDIF.
READ TABLE T_LINES INDEX 1.
endloop.
in me23n my text is like this :
loop at it_ekpo.
concatenate it_ekpo-ebeln it_ekpo-ebelp into p_name.
'Unbrako make-TEXT DUMMAY DATA IN DEV CHANGED BY ABAP1 AND TESTED IN DEV
FOR 1ST ITEM'.
I was getting only frist line i.e.,
''Unbrako make-TEXT DUMMAY DATA IN DEV CHANGED BY ABAP1 AND TESTED IN DEV "
Iam not getting second line 'FOR 1ST ITEM'.
Also there may be a chance to have more than 2 or 3 lines.
so please help me.