Application Development 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: 

hot to copy a form (script) ....

Former Member
0 Kudos

Hi

All

i have been given a form to modify and was asked to change the name of the form from the existing ones to a new name, so when i select copy from client i am getting the target form name and source name and was also prompted for a source client, so my doubt what should be the source client i have to select.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

see this and do accordingly

There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.

I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...

To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.

You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.

Ex: Go to SE71,

on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing

Form name:

Source Clinet:

Target Form:

give Form name as usedefined form name EX: ZFORM1

Source client as 000 and

Target form as MEDRUCK.

execute.

Now, the standard from MEDRUCK is copyied to your form ZFORM1.

NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.

Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.

Go to NACE Transaction.

on Applications select EF for purchase order and click Output types button on application tool bar.

now select NEU as output types dobule click on Processing Routines.

now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.

go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .

you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.

this applies to SD and MM forms mostly

for Fi forms see the Tcode OB96

for PM forms see OID1 tcode

Regards

Anji

8 REPLIES 8

Former Member
0 Kudos

Hi

see this and do accordingly

There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.

I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...

To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.

You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.

Ex: Go to SE71,

on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing

Form name:

Source Clinet:

Target Form:

give Form name as usedefined form name EX: ZFORM1

Source client as 000 and

Target form as MEDRUCK.

execute.

Now, the standard from MEDRUCK is copyied to your form ZFORM1.

NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.

Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.

Go to NACE Transaction.

on Applications select EF for purchase order and click Output types button on application tool bar.

now select NEU as output types dobule click on Processing Routines.

now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.

go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .

you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.

this applies to SD and MM forms mostly

for Fi forms see the Tcode OB96

for PM forms see OID1 tcode

Regards

Anji

0 Kudos

yeah i know that but i was already given with a Zform that was there in our PRD and in DEV, so i want to know what the source client would be if it was a customized form not a standard form

0 Kudos

Hi,

For Custom forms.. you need to select the current client in your Dev box that you have logged in..

Thanks,

Suresh

Former Member
0 Kudos

All Standard Scripts are in client '000'.

Former Member
0 Kudos

Hi,

You have to select the Source client as 000 . All the standard forms as available in this client. Also make sure that you uncheck the option "Original Language only" . If you select this check box the form will be copied only in DE (German Language )

Thanks,

Suresh

Former Member
0 Kudos

hi,

the source form is nothing but the existing form which you want to copy

the target form is your new form name that you have to give to copy the existing form

please reward me points if you find the answer useful.

Former Member
0 Kudos

Hi ,

Select the client no on which you have loged on. Give the target form name . Modify the target form as per your requirement.

Former Member
0 Kudos

HI

GOOD

You can Copy the Form (SAPScript) using

Tcode SE71 : Utilities Menu -> Copy from Client (or program RSTXFCPY)

Enter the

Source Form

Source Client

Target Form

But to Copy the form from one server to another the program is RSTXSCRP

reward point if helpful.

thanks

mrutyun^