‎2012 Oct 11 8:43 AM
Hello experts
Hi all of You.
I m trying to make a z copy of the sap scripts F110_in_AVIS for payment advice.
I did many attempts but i m not able to understand where to perform changes in the zcopy and still i m not sure that my zcopy is correct or not in Language prospect .
Please help me how to copy a script from SE71 and How to perform changes on the Z sap scripts.
Thanks and Regard
Bipin shukla
‎2012 Oct 11 9:01 AM
Hi Bipin,
When you are copying your form do not select the original language checkbox.
Check the check box that appears next to the Flow trace.
After doing this you will get the trace of all the languages in which the form is available.
Do not worry about the language as all the languages which were supported by the standard script will be supported by your script also.
Now when ever you wnat to make a change in sapscript select the coresponding window and point where yu need modification.
Simply write your logic there or if you want some performs then write a program and write your complete logic there and just call the perform from SAP script with using and changing parameters it will call the corresponding perform and wiill perform the changes.
Hope this helps.
rgds,
Sandeep katoch
‎2012 Oct 11 9:01 AM
Hi Bipin,
When you are copying your form do not select the original language checkbox.
Check the check box that appears next to the Flow trace.
After doing this you will get the trace of all the languages in which the form is available.
Do not worry about the language as all the languages which were supported by the standard script will be supported by your script also.
Now when ever you wnat to make a change in sapscript select the coresponding window and point where yu need modification.
Simply write your logic there or if you want some performs then write a program and write your complete logic there and just call the perform from SAP script with using and changing parameters it will call the corresponding perform and wiill perform the changes.
Hope this helps.
rgds,
Sandeep katoch
‎2012 Oct 11 9:39 AM
Hi Sandeep
Thanks for reply!
according You i have to change with the program not with the script lay out.
I did not get it properly
Thanks and Regard
Bipin shukla
‎2012 Oct 11 10:33 AM
Hi Bipin,
No I did not say that
Actually I am saying that there are two options in which you can add custom logic to your copied form
1: Directly in SAP Script by inserting code comment their.
Like here the symbol */ is for comment line
/E denotes a begin of new element
AS and IN are the font and paragrapg related
/: dennotes the code lines or executable lines in Script.
So write your code in SapScript.
2: Second way I told you is to make use of performs within Script.
It is similar as we do in reports. You just have to give the Perform statement with using and changing parameters as we do in reports.
You can write code to that perform in a repport and from Sapscript by jsut calling that subroutine you will be able to call the subroutine.
For more details you can refer to the following link
http://wiki.sdn.sap.com/wiki/display/profile/External+Subroutines+in+SAP+Script
Hope it is clear now
Rgds,
Sandeep Katoch
‎2012 Oct 11 11:34 AM
Hi Sandeep
Thanks once again...!!
U realy champ bro...!!
I am following your steps..!!
one more thing can We change the Position of the logo in the copy of standard Sap Script?
Thanks and Regard
Bipin shukla
‎2012 Oct 11 11:46 AM
Hi Bipin,
Yes of course you can change. But please remember to align it such that it does not overlap any other window.
For this you need to check the position of all the windows.
Once you do the change and activate it you can directly check it vai TCode se71 wherein you just need to go to utilities--->Printing Test----> Give Locl printer name and click on print preview u will be able to se the design of the form you just created.
So you can check whether the window position is correct or not.
Rgds,
Sandeep katoch
‎2012 Oct 11 10:47 AM
Hi Bipin,
Tcode - SE38-->Program Name RSTXSCRP for copy scripts layouts and
Check given options and try 'EXPORT' for Docwnload and 'IMPORT' for upload
case sensitive
Thanks
Gaurav
‎2012 Oct 11 11:35 AM