Application Development and Automation 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: 
Read only

Item Text printing in SAPScript form

Former Member
0 Likes
1,831

Hello Experts,

I am printing the item text using below syntax:

/: INCLUDE &EKPO-MATNR& OBJECT 'MATERIAL' ID 'BEST' LANGUAGE E

This prints from the left margin in the form. But I need to have spaces on the same line before printing this text.

For example:

Item     Material     Desc

00010   100000      description

This is the long item text.

But I need in this way:

Item     Material     Desc

00010   100000      description

                            This is the long item text.

Any inputs on getting spaces before item text?

Appreciate your help!

Thanks!

Sandy

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
1,625

Hi,

define a paragraph type with left space ..

regards

Fred

Hello Experts,

I am printing the item text using below syntax:

/: INCLUDE &EKPO-MATNR& OBJECT 'MATERIAL' ID 'BEST' LANGUAGE E

This prints from the left margin in the form. But I need to have spaces on the same line before printing this text.

For example:

Item     Material     Desc

00010   100000      description

This is the long item text.

But I need in this way:

Item     Material     Desc

00010   100000      description

                            This is the long item text.

Any inputs on getting spaces before item text?

Appreciate your help!

Thanks!

Sandy

7 REPLIES 7
Read only

FredericGirod
Active Contributor
0 Likes
1,626

Hi,

define a paragraph type with left space ..

regards

Fred

Read only

0 Likes
1,625

Hi,

Thanks for your reply!

If we use paragraph type in the command line, the include will not execute right?

We need to provide '/:' in the command line for include to execute.

Please let me know if I am missing something here.

Thanks!

Sandy

Read only

0 Likes
1,625

Just add the info in the command line Sandy  :

/: INCLUDE &EKPO-MATNR& OBJECT 'MATERIAL' ID 'BEST' LANGUAGE E PARAGRAPH C1

Fred

Read only

0 Likes
1,625

Can you fetch the value from table and write the value using Paragraph format?

Arivazhagan S

Read only

0 Likes
1,625

Thanks for the helpful answer. It worked fine.

Sandy.

Read only

Former Member
0 Likes
1,625

Hi Sandeep,

Go to paragraph format create a new paragraph , on the tabs declare your tab positions with left alignment .

Use this paragraph(T3) to display your line on script editor.

Thanks

Nidhi

Read only

0 Likes
1,625

Hi,

Thanks for your response too.

I am going to create a new paragraph format.

Sandy.