cancel
Showing results for 
Search instead for 
Did you mean: 

Is it the program variables inside the form should be in Capital letters

senthil_kumar29
Participant
0 Kudos

Hi All,

I am designing form, variable values are not passed from program to sap script, I have used small letter to refer variables with in form. like &caufv-aufnr&.

is it right.. or Is it the program variables inside the form should always be in Capital letters.

Cheers,

Sam

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

No, there is no need to capitalize as source code is not case sensitive. There is something else which is causing the problem. Are you variables defined in a global area in your print program as opposed to defining them locally in a FORM....ENDFORM. They should be in the global area at the top of the program.

Regards,

Rich Heilman

Answers (2)

Answers (2)

senthil_kumar29
Participant
0 Kudos

thanks

aris_hidalgo
Contributor
0 Kudos

Hi Ram,

As Rich said, there is no need to capitalize the variables. However, in my personal opinon, I always capitalize my variables since I am used to it. Debug your sapscript to see if values are passed from your report driver to the form.By the way, this also applies to smartforms as well. I hope this helps...

P.S. Please award points for useful answers.