on 11-21-2006 12:56 AM
Hi everyone this is Neethu here I am very new to sap script ...when i see the print preview of the form the fields are shown as XXXXXXX for eg. in place of the customer name XXXXXXXXX and the customer number XXXXX
can some one please help me in resolving the probelm i am not able to understand why the fields are not read from the table KNA1.
though i call the form from the program which i create using se38 the fields are not be displayed....
the functions that i call are in order
open form
start form
write form
stop form
close form
please help since i have a requirement.....
Hi neethu,
Did you use AT events(AT END OF, AT NEW) in any internal table in the print program?
If you use these events, all field values before AT event field will contain '*'
If this is not the case, put break-point in the program where you are calling WRITE_FORM for printing customer details and check the data.
Make sure that you have provided sufficient space for printing these fields.
Thanks
Ramakrishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neethu,
you can try to debugg the sap script and see if the values are being passed correctly from the print program.
to activate the sap script debugger use SE71 --> Utilities --> Activate Debugger.
To find good documents on sap script please explore www.sapsuperusers.com site where you will find the SAP SCRIPT MADE EASY guide book which is very handy while workign with Sap scripts.
Cheers
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are the other fields getting displayed correctly..
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i did try everything but still i am facing the same problem could u please send me a nice tutorial on sap script ....
please help...
thanking in kind regards,
neethu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neethu,
2 things possible in your case.
1. you might have executed the SAPscript in SE71, you wont get values there.
2. If you are executing it from SE38, then you would have given different work area in SE38 and SE71. have you done Like this ,
<b>SE38.</b>
<b>SELECT SINGLE * FROM KNA1 INTO WA WHERE KUNNR EQ P_KUNNR.
CALL FUNCTION 'WRITE_FORM</b>
<b>SE71</b>
<b>&WA-KUNNR&,,&WA-NAME1&</b>
The WA might me different, just check it out.
Regards:-
Santosh.
Mark Usefull Answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.