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: 

SAP SCRIPT Question

Former Member
0 Kudos

Hi,

I have a simple question, Yet I am struggling with it

I have a text element and a logo.

I need to place the text element and logo next to it.

In simple terms I wanna place to two standard texts side by side

one which holds caption and other which holds logo.

I wanted to put them only in MAIN window.

Statement 1 which prints some text.

INCLUDE &tesxt1& OBJECT TEXT ID ADRS LANGUAGE &SY-LANGU& PARAGRAPH

statement 2 which prints logo

INCLUDE &logo& OBJECT TEXT ID ADRS LANGUAGE &SY-LANGU& PARAGRAPH

I wanna print both the statements on the same line Is this possible?

Any ideas would be very much appreciated.

Thanks

Martin.

2 REPLIES 2

Former Member
0 Kudos

Hello Martin,

You are right: The question is simple, but it does highlight some of the limitations of SAPScript.

What you COULD try (although I am not sure it would be the right thing), is to set up your Main window to use 2 columns; in the Page Windows view in SE71, you can try add another Main window (which allows for newspaper-style columns) - double click Main, and you will see next to Window Type, there is a field specifying the column number. The trick of course, would be to get the second text object to overflow to the next main window at the right time.

What will you be using this SAPscript for? Is it an output for a document, like a Sales Order? If not, I would recommend you look into something like Dynamic Documents (using HTML), the documentation for which you will find under SAP Web Application Server -> Controls and Control Framework -> Dynamic Documents (depending on your release, of course).

Cheers,

Martin

0 Kudos

Hi Martin & Martin

I agree with you. The solution I found for some SAPscripts that have logo&text is to build separate windows (not necessarily both of them have to be MAIN: one or both of them can be VAR.

I hope it helps. BR,

Alvaro