‎2007 Oct 16 2:50 AM
Hi,
I have one local variable declared in the print program for one SAP-form. I want to print it in some window of that form.
How do i pass that variable to the form for printing ?
Thanks & Regards
Hrishi
‎2007 Oct 16 3:56 AM
If that variable is not in subroutine then Declare same kind of variable in form and when you call the form pass that value from local variable to form variable.
If your variable is not in subroutine then first transfer it to globle and then pass to from variable.
Minal
‎2007 Oct 16 3:56 AM
If that variable is not in subroutine then Declare same kind of variable in form and when you call the form pass that value from local variable to form variable.
If your variable is not in subroutine then first transfer it to globle and then pass to from variable.
Minal
‎2007 Oct 16 4:26 AM
thanks for the reply minal.
can you give some example. How do i declare something in a form ?
see i have var A and var B. I want to print (A-B) How do i do that ?
Thanks again
Regards
Hrishi
‎2007 Oct 17 11:56 PM
Problem solved
EXCL_VAT is a quantity field and the value field in ITCSY is a Character field, so had to change the code in the following manner.
write EXCL_VAT to outtab-value.
condense outtab-value.
Regards
Hrishi