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

Printing Text In SAP Script

Former Member
0 Likes
390

Hi all,

I have a requirement to print Sales Condition Texts which can run into 10 lines ,

and i can print all the 10 lines items using the command

INCLUDE &SALES_TEXT& OBJECT VBBP ID ZPAG PARAGRAPH Z4

But my requirement is to Print only 5 lines , Can anybody please guide me on how to proceed.

with rgds

Ranjith Singh

Hi all,

I have a requirement to print Sales Condition Texts which can run into 10 lines ,

and i can print all the 10 lines items using the command

INCLUDE &SALES_TEXT& OBJECT VBBP ID ZPAG PARAGRAPH Z4

But my requirement is to Print only 5 lines , Can anybody please guide me on how to proceed.

with rgds

Ranjith Singh

1 REPLY 1
Read only

Former Member
0 Likes
360

Hello Ranjith,

     To obtain that result.

     >Create a report and a subroutine in it to edit the text and output the only part of the text you      want  to print ( 5 lines of the text in your case ).

    >Store this edited text in a new standard text that you created in the subroutine.


    >Return the key of this new standard text to the SAPScript.

     >Then you can include the new standard text in your SAPScript and print it.    

Regards,

Ashish