‎2011 Sep 28 5:59 AM
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 !
‎2011 Sep 28 6:30 AM
Hi ,
Declare that Variable in Global and not in form . ENDFORM .
that's why you are not getting value in SAPscript .
regards
Deepak.
‎2011 Sep 28 7:35 AM
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.
‎2011 Sep 28 7:40 AM
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.
‎2011 Sep 28 7:51 AM
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