cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform

Former Member
0 Kudos

Hi,

How to print the header text of RFQ in smartform.

regards

shazia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you have to use READ_TEXT Function module in program or smartform by using text id,text name ,language..

see the example program how to call READ_TEXT Function module

REPORT zread_test.

DATA: it_lines LIKE TABLE OF tline WITH HEADER LINE.

CALL FUNCTION 'READ_TEXT'

EXPORTING

id = 'LTXT'

language = sy-langu

name = '000001100184'

object ='AUFK'

  • IMPORTING

  • HEADER =

TABLES

lines = it_lines

EXCEPTIONS

id = 1

language = 2

name = 3

not_found = 4

object = 5

reference_check = 6

wrong_access_to_archive = 7

OTHERS = 8.

IF sy-subrc = 0.

Data: mystring type string.

LOOP AT it_lines.

concatenate mystring it_lines-tdline into mystring

separated by space.

ENDLOOP.

pass ur text id,text object and so on

Reward Points if it is helpful

Thanks

seshu

Answers (0)