on 2006 Nov 30 7:22 AM
Hi,
I have renamed FBCJ to ZFBCJ so that I can split between Cash and Cheque datat output on the deposit slip.
Before the WRITE_FORM subroutine the variables have values in them, but in the layout set debugger these fields are empty?
Usually this means that the variables aren't declared in global data. However, in this case they are, I have copied FBCJ as is to ZFBCJ and renamed all objects therein to Z*.
<u>Code portion:</u>
febsca-schnr = itcj_check_postings-check_number. "Check no 13
febsca-ausst = itcj_check_postings-check_issuer. "Issuer
febsca-bnklz = itcj_check_postings-bank_key. "Bank Key
febsca-bankl = itcj_check_postings-bank_key. "Bank Key
PERFORM write_formu_list.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'
element = '501'
EXCEPTIONS
element = 1.
regards,
Warren.
Request clarification before answering.
Hi Warren,
make sure that u have passed the variables correctly to the script and also check for clea and refresh conditions.
Hope this h elps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your suggestions.
I have debugged the script... this is where I see that the variables are now empty!
I am not doing any 'clear' or 'refresh' as I have copied FBCJ to ZFBCJ exactly as is. I have also copied the layout set to a Z* name.
Ravindranath is you can assist my email warrenbjorkman@yahoo.co.uk
Thank you.
Regards,
Warren.
Then Debug ur script and see.I think the varibles are being cleared in the script.
Steps to Debug a script,
Goto SE71
Give script name and then
Utilities -> Activate Debugger
Try debugging and let me know if u face any problem.
Give me ur mail id so that we can have detailed discussion on this.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
30 | |
8 | |
7 | |
6 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.