‎2011 Mar 16 10:54 AM
hi all,
Please understand my requirment first .
i am displaying Material PO text description -- in SAPscript LAyout ,
it is ok i am displaying upto 10 lines but for displaying ten lines i have taken 10 variable
but need to display 100 lines if data is present in 100 lines .
so to avoide using multiple variable is ther any other option
Logic i am using is
/: PERFORM KTSL_LONG_TEXT IN PROGRAM ZMMLAYOUT1
/: USING &EKPO-EBELN&
/: USING &EKPO-EBELP&
/: CHANGING &TDLINE1&
/: CHANGING &TDLINE2&
/: CHANGING &TDLINEK3&
/: CHANGING &TDLINEK4&
/: CHANGING &TDLINEK5&
/: CHANGING &TDLINEK6&
/: CHANGING &TDLINEK7&
/: CHANGING &TDLINEK8&
/: CHANGING &TDLINEK9&
/: CHANGING &TDLINEK10&
/: ENDPERFORMZMMLAYOUT1 IS DRIVING PROGRAM FOR PERFORM .
‎2011 Mar 16 11:23 AM
Hi Deepak
Did you try the option of concatenating all the variables separated by carriage return/line feed attribute from cl_abap_char_utilities.
Regards
Ranganath
‎2011 Mar 16 11:23 AM
Hi Deepak
Did you try the option of concatenating all the variables separated by carriage return/line feed attribute from cl_abap_char_utilities.
Regards
Ranganath
‎2011 Mar 16 11:39 AM
Why would not not put this READ_TEXT in the driver program, then loop at your text table and do the WRITE_FORM with the correct element name for each row in your text table. Going to be a MUCH better fix than what you're trying to do here.
‎2011 Mar 16 11:52 AM
HI ,
Actually i am priting this in main window .
Regards
Deepak.
‎2011 Mar 16 11:55 AM
The create a text element /E text_line in Main window ...
In the Driver Program call read text...
and the call the Text element windoe in the driver program by putiing the Loop .
See the belwo Links
http://help.sap.com/saphelp_nw70/helpdata/EN/d6/0db538494511d182b70000e829fbfe/content.htm
D@s
‎2011 Mar 16 11:45 AM
Hi ,
try this way..
Include &Object-ID& &Text-id& &text-name&
INCLUDE &ORDCONF_TEXT& OBJECT TEXT ID ZSD PARAGRAPH A1
By this you can print multiples lines present in the Text.
D@s