cancel
Showing results for 
Search instead for 
Did you mean: 

Help with SAPScripts

Ash_ok
Contributor
0 Kudos

Hi gurus,

I've just developed a SAPSsript form in Training and Events management that is acting up strangely. On printing, the contents of the main window is displayed twice.This seems to be happening only on one of the DEV clients. Has anyone come across a similar problem such as this earlier ? Is there a solution out there ??

Cheers,

Ashok.

Accepted Solutions (0)

Answers (3)

Answers (3)

Ash_ok
Contributor
0 Kudos

Hi guys,

Thanks for your replies.

I found the problem to be a concatenation of two variables.

Date,,:,,&VAR1& and &VAR2&

- made all the contents on main window print out twice.

Date,,:,,&VAR1&

- made all the contents on main window print out only once.

Cheers,

Ashok.

Former Member
0 Kudos

Hi Ashok

this is due to buffering problem..............

to avoid this problem sap evolved the concept of "ELEMENT" which is defined in script editor should be invoked by se38 programs.

to invoke the sap script u should use following function module....

OPEN_FORM

WRITE_FORM

CLOSE_FORM

Former Member
0 Kudos

Hi Ashok,

It may not be related to client specific problem.But before concluding. can u show me ur driver program code for the main window. so that we can have an idea on the logic to be changed.

Regards,

CodeMax