I'm currently working on report MM - purchase order header text. My task is to display header text "F01" of MM-purchase order.
After execute the report, under field heading "Header Text", the description of item shows,
STYLE SYSTEM <H>Terms and Conditions:</> This Purchase Order is given to you subject to the terms and conditions.
I just need to display only Terms and Conditions:This Purchase Order is given to you subject to the terms and conditions.
I have searched many FM to hide STYLE SYSTEM <H> </> but no able to get the desired output.
Here is the sample of the coding:
FORM GET_TEXT_HEADER USING TDNAME CHANGING WA_LONGTX."WA_TLINE.
CALL FUNCTION 'READ_TEXT'
ID = 'F01'
LANGUAGE = 'E'
NAME = TDNAME
OBJECT = 'EKKO'
LINES = IT_LINES
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT IT_LINES.
CONCATENATE WA_LONGTX IT_LINES-TDLINE INTO WA_LONGTX
SEPARATED BY SPACE.
* MOVE WA_LONGTX TO WA_TLINE.
Appreciate for your response, really grateful.
Urgent since user want to use it.