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

Fields not getting displayed in Sapscript

Former Member
0 Likes
1,147

Hi Guyz,

I have a customized Sapscript form ZPV_INVOICE and its print program RVADIN01. This form outputs the Sales Invoice. When the print preview is triggered, Material number (MATNR) is not getting displayed on the form. However, when the form is debugged, MATNR values are properly fetched and showed (while debugging only, not in output).

Can somebody please let me know the reason, why the MATNR is not getting displayed on the output, even though it is showing values while debugging.

Thanks in advance !

4 REPLIES 4
Read only

deepak_dhamat
Active Contributor
0 Likes
657

Hi ,

Declare that Variable in Global and not in form . ENDFORM .

that's why you are not getting value in SAPscript .

regards

Deepak.

Read only

0 Likes
657

Hi Deepak,

It's a standard program. However the values are properly showing in the form , but only while debugging. But if we see the output , the MATNR is coming as blank.

Till last week , it was showing properly.

Read only

0 Likes
657

Hi ,

Then check matnr field which is display is same what you are checking in debugging .

COnfirm the field and check whether data stays till end of module .

regards

Deepak.

Read only

Former Member
0 Likes
657

Hi Reshma,

Please check whether you have included that MATNR field under any IF conditions or being skipped in any of the condition in your Form and is cleared anywhere in print program. Also check if this MATNR field is included within in the '&' symbol as --> &MATNR&

Regards

Saravanan