Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Standard Text printing in SAP Scripts

Former Member
0 Kudos
112

Hi All,

Iam printing data from Standard Text it is printing

but i need like 


                        Bank            ICICI

but the below is giving 
                       Bank
ICICI

AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
/:       INCLUDE &V_ACC& OBJECT TEXT ID ST LANGUAGE EN

Can you please tel me how to do

5 REPLIES 5

Former Member
0 Kudos
75

Hi,

there´s a forum for Form printing, this one is for ABAP programming.

It might be that the window is too narrow for your information.

0 Kudos
75

Here the include statement is in next line so it is printing in second line not problem with window or some thing

Former Member
0 Kudos
75

Your /: statement for the text is going to start a new line...

You could insert a /: PERFORM .... ENDPERFORM and get the value from the text into a variable, then do the print, like:

/ ,,,,,,,,BANK,,,,,,&some variable&

former_member585060
Active Contributor
0 Kudos
75

Hi,

How your are creating the Standard text V_ACC in transaction SO10? create it with Contineous text, defailt will be as Command line(/:), thats why all the Standard texts will be printed on New line.

Tcode : SO10

Text Name :- V_ACC

Text Id :- TEXT

Language:- EN

The text should be

ICICI                       "For Continues text paragraph format will be blank

not as below

/:  ICICI                       "For New line text paragraph format will be /: 

Now call the standard text in your Sapscript

AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
/:       INCLUDE V_ACC OBJECT TEXT ID ST

Just check the tab spaces after Bank statement, if it is more Included text will be in next line.

Regards

Bala Krishna

Former Member
0 Kudos
75

Solved by Self