cancel
Showing results for 
Search instead for 
Did you mean: 

longtext

Former Member
0 Kudos

hi guru's,

we have one long text to display in form medruck footer.

how will we achive it. is it required to write subroutine.explaine me with code.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

amit_khare
Active Contributor
0 Kudos

first upload the text file into standard text name in SO10 transaction code and transport that in se78 and call it in the form

INCLUDE standardtextname OBJECT TEXT ID ST

Regards,

Amit

Reward all helpful replies.

Answers (3)

Answers (3)

SuhaSaha
Advisor
Advisor
0 Kudos

Hi Surendra,

I dont think we need to write a subroutine.

Can you tell me exactly which long text you want to display?

Regards,

Suhas

Former Member
0 Kudos

Hi,

You can do like in your form you can write like:

perform long_text.

double click long_text it would create the form and you can use the FM read_text to read the text and display the same.

Regards,

Himanshu

Former Member
0 Kudos

Hi,

We need to call the function module read_text. By calling it we can display long text.

Reward points if useful.

Thanks & Regards,

Vasudeva Rao.

former_member196280
Active Contributor
0 Kudos

Yes, if you don't have driver program in your control then call sub-routine from your form and use FM, READ_TEXT.

Ex.

/: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>

/:USING &<field name>&

/:CHANGING &<field name1&

/:ENDPERFORM

Then create subroutine pool program and you have to write the code.

FORM ><subroutine name> tables int_cond structure itcsy

outt_cond structure itcsy.

data : value(20), value1(20). "do your own declarations

Read int_cond table index 1.

value = int_cond-value.

value1 = value1 + value.

Read outt_cond table index 1.

outt_cond-value = value1.

Modify outt_cond index 1.

ENDFORM.

Just rough idea given above.

Regards,

Sairam