on 01-17-2007 5:57 AM
In the print program I have a variable which has been assigned a value. Straight after that I use the 'write_form'. However when it gets to the layout set this field is empty? When I debug it the field has a value in it until it goes into the sapscript debugger where it is then empty?
The program:
...
...
fbank-amount = '1000.00'.
PERFORM write_formu_list.
FORM write_formu_list.
debugging here and the field has a value of '1000.00'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'
element = '501'
EXCEPTIONS
element = 1.
ENDFORM.
The sapscript is as follows:
/E 501
T0 &fbank-amount& "debugging here the value is empty?
Hi ,
<b>Instead of T0 give the paragraph format as / to check whether the problem is in u r text elements. </b>
This is only for testing where the problem is occuring
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check - Are u are Clearing the Memory anywhere in Program ?
Regards
prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pass the value <b>fbank</b> into the perform.
PERFORM write_formu_list using fbank.
FORM write_formu_list using fbank type xxxx
endform
i hope it works..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.