cancel
Showing results for 
Search instead for 
Did you mean: 

A SAP Script Issue

Former Member
0 Kudos

Hi folks,

i do have an issue in SAP Script.

My job is to create & design a formular. In that particular formular i do have a "main" part this main part contains n - positions with several data like you can find it on a bill for example.

The next thing i did was separating the data in columns like:

Pos. Nr | ArticleNr | ArticleTitle .... and so on.

The issue is that every position i would like to print on that form should fit in one row, except the column of ArticleTitle, ther it should be possible to have n-line in a row for each position. The Problem is that everytime i do call the WRITE_FORM out of my ABAP Program SAP Script prints only one row for every position without any additional row for the ArticleTitle Column.

Example(pic):

[POS DATA|http://rudi-henschel.net/sap/pos_data.jpg| Example Position Data]

So is there a possibility to do that? If so i would be very happy for any idea that will come up.

Thanks a lot for every answer.

Rudi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rudi,

I think you need two elements in your main window, one for the complete line (position, article, title etc) and one for the title on its own.

For example;

/E POSITION

&POS&,,&ART&,,&TITLE_LINE&,, etc

/E TITLE

,,,,&TITLE_LINE&

This will also need you to change the print program, probably introducing a loop around the internal table containing the text. For each pass of the loop call the element TITLE.

Regards,

Nick