‎2005 Aug 18 5:41 PM
Hi everyone!
I hope you all fine.
Now, my question regards to sapscripts forms, 'cause I'm new on this type of programming, so I need to edit the sapscript Z form and the Z program that controls it to extract the exact information, but what I don't know is what and where I'm supposed to change fields and sentences between sapscript form and program, I know if I edit the program to extract the correct information obviously I need to edit the SAPscript and vice versa, but I don't know where and how to do it, so if anyone can help me to do this, I'll really appreciate it!
Thanks for your time and have a good day!!!
Message was edited by: Guillermo España
‎2005 Aug 18 5:54 PM
Hi,
The standard SAPSCRIPT forms and corresponding print programs should not change. You need to make a copy of the form and print program with Z for customer objects and go ahead and modify the Z programs and forms.
Thanks
bala
‎2005 Aug 18 6:18 PM
Hi Guillermo
In your print program, identify the 'ELEMENT' which is responsible for printing the desired information ( you will find the ELEMENT name in CALL FUNCTION WRITE_FORM ..). You may be having a number of such statements in your program for writing data using different 'Element'.
Then, look for this element in your Sapscript form (SE71), you will find exactly which field to change/ where to change.
You can also debug your script for finding the desirable ELEMENT. You can debug your form by: Goto SE71, write form name, goto Utilities -> debugging on. And, now try running your print program. Now, you will see information one by one that is getting printed on the form.
Also, check the following link, it will help you (may be in future)in assigning different program name to your script or vice versa:
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://
Regards
Ashish Jain