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

SAP Script output different

former_member202771
Contributor
0 Likes
3,346

Hi Experts,

I have made changes in a sapscript, it is working fine in development, but not working in quality/

Paragraph formats are same in both environments.

Error comes after &PAGE& of &SAPSCRIPT-FORMPAGES(C4)&. please see screen shot 1. it doesn't display value it shows value as ' . ' for all characters.

Thanks,

Anil

1 ACCEPTED SOLUTION
Read only

former_member201275
Active Contributor
0 Likes
3,057

This error occurs often between systems. Check all your printer settings and drivers etc. on both sytems, transaction SPAD.

Also... are you using the same printer? If you are using different printers on Dev and QA then you will need to check the software also on both machines.

18 REPLIES 18
Read only

nmkarthikeya
Active Participant
0 Likes
3,057

Hi Anil,

Did you activate the script before moving to quality?

Regards,

Karthikeya

Read only

0 Likes
3,057

Yes Karthik.

Thanks,

Anil

Read only

former_member201275
Active Contributor
0 Likes
3,058

This error occurs often between systems. Check all your printer settings and drivers etc. on both sytems, transaction SPAD.

Also... are you using the same printer? If you are using different printers on Dev and QA then you will need to check the software also on both machines.

Read only

0 Likes
3,057

Hi Glen,

I have checked for Printer settings. both printers have different device type.

I have RSTXPDFT4 to download PDF, and it looks fine. My basis team is working with printer settings.

Only confusion is why this behavior is from middle of the line.

Thanks,

Anil

Read only

Former Member
0 Likes
3,057

Did you debug to see if there is any value coming in both development and Quality?

Another wild guess is are both the output types same in devel and quality?

Read only

0 Likes
3,057

Hi Abhijit,

Debugging shows the values in both systems and output types are also same.

Thanks,

Anil

Read only

0 Likes
3,057

Hi,

is it a standard driver programm /Sapscript? is it a mass/job where empty outputs are displayed lets say between ordertyp change. Did values get selected and executed in "write_form" in the driver programm?

what was your changes?

does the formular print the same data than the old 1?

are the ... lines same paragraph format as the headline?

maybe you find an error checking this points

regards

Stefan Seeburger

Read only

Former Member
0 Likes
3,057

Maybe there is a Problem with the driver STN2? Maybe you can get some more Infos from Node 19807 to solve your problem.

Regards

M. Mütze

Read only

0 Likes
3,057

Thanks Marcel.

Will check and get back.

Thanks,

Anil

Read only

0 Likes
3,057

Hi Marcel.

The Driver i am using is SAPWIN.

Issue still persits. checked many notes.

The same taken PRINTOUT shows proper output.


Thanks,

Anil

Read only

VijayCR
Active Contributor
0 Likes
3,057

Are u checking the output with same no of pages in both systems.

Read only

0 Likes
3,057

Hi Vijay,

I have checked with same number of pages as well. But still, issue is in dev and not in quality.

any more pointers ?

Thanks,

Anil

Read only

0 Likes
3,057

Hi Anil,

What is the print program or Transaction code you are using to execute this.and is that you have additional pages with .... (Dots) in Quality than in Development system ?

Thanks

Sri

Read only

0 Likes
3,057

Hi Srilakshmi,

I am triggering through COR2. dots comes even if the PO is single page or multiple page. This problem is only in quality, in Dev all is well.

Thanks,

Anil

Read only

0 Likes
3,057

Hi Anil,

When you configure your form and the driver program/Print program, can you please check if there is any setting or parameter like  "no. of Test prints or no. of Prints " which might be causing the issue.

When there are No. of Test prints has some value, then there would be pages with XXXX or ...... along with original output.

Hope this helps.

Thanks

Sri

Read only

0 Likes
3,057

Hi Srilakshmi,

no copies.

only one spool will be generated with original copy.

Thanks,

Anil

Read only

Former Member
0 Likes
3,057

Hi Anil,

Do you want o check by hard coding a value so as to make sure nothing else is overwriting the page no?

Read only

former_member202771
Contributor
0 Likes
3,057

Hi Experts,

I am still unable to solve this issue. Please help me with your inputs.

Does &SAPSCRIPT-FORMPAGES(C4)& compression variable has to do with the error.

Thanks,

Anil