cancel
Showing results for 
Search instead for 
Did you mean: 

problem with text line on sapscript

Former Member
0 Kudos

Hello, i have a sapscript with a windows who has 5 text lines hardcoded like this:

LINE1  aaaaaaaaaaa

LINE2            bbbbbbbbbbb

LINE3            ccccccccccc

LINE4  dddddddddddddddd

LINE5 (blank)

LINE6 eeeeeeeeeeeeeee

the problem come when, at the production system, the user printed the sapscript because the LINE 4 does not show and LINE 5 and 6 go up one row. This not happen in the QAS system.

any ideas?

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member213851
Active Contributor
0 Kudos

Hi Hitman,

While  printing the Line4 contents ,you just need to add logic such that if Line 4 contents are not Blank then display as it is else display a blank line .

Eg:


IF  &DKADR-PSTLZ& EQ ' ' .

*-------Display Blank line.

ELSE

/:
  POSTCODE    &DKADR-PSTLZ&

Regards,

Sachin

Former Member
0 Kudos

hi Sachin, thanks for the answer but in this case ALL the lines have the values HARDCODED in the sapscript, there is not any variable in this case.

thats the crazy thing

former_member213851
Active Contributor
0 Kudos

Hi Hitman,

I think all the Transport Requests are not imported to Production system .

If this is not the case then the Sequence in which Tranport Requests had been imported is incorrect.

There may be 2 separate transports in which Line 4 and  data is added to script.

What might had haapened is that while importing , the Transport with Line5 contents is Imported FIRST and then  line4. 

Thus changes for Line 4 got overwritten and that's why it is shoeing Line4 data in the QAS and not in the production.

Also if you are using S010 objects for Line4 ,check if they are maintained on production and corresponding Requests have been imported properly on Production with correct sequence.

So please check Sequence of Transports which are imported on production and if still persists then Re-import the Sequence and check again.

Regards,

Sachin