Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Copy a sap Scripts

Former Member
0 Likes
2,612

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

1 ACCEPTED SOLUTION
Read only

sandeep_katoch
Contributor
0 Likes
2,341

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

7 REPLIES 7
Read only

sandeep_katoch
Contributor
0 Likes
2,342

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

Read only

0 Likes
2,341

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

Read only

0 Likes
2,341

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

Read only

0 Likes
2,341

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

Read only

0 Likes
2,341

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

Read only

gaurav_tripathi3
Explorer
0 Likes
2,341

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

Read only

0 Likes
2,341

Hi Gaurav

Thanks Bro!!