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: 

Modify Std SAP SCript

Former Member
0 Kudos

Hi All

I want to modify a standard SAP Script i want detail steps.

Take any std script and give me the steps.

I will be given this task by me TL after 3 days (he told me ) so want to prepare first.

All helpful replies will be rewarded .

Step by step, If code needed .

Waiting for positive reply.

Shailesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

we should not touch the standard script,

if we want to do any modifications then we have to copy that script and then do.

So steps to copy the script,

go to se71 give some name for the script,

click on change/create button,you will get dialog box,

(ignore it)press enter,it will take you inside the form

then click on the menu FORM-> COPY FROM

give the std script name and press enter

your new script(copy of std script) is ready to make any modifications.

or do in this way

go to se71,

click on the menu UTILITIES->COPY FROM CLIENT

give the std form name,

client name(n which client it is present)

and new form name

your form is ready

Regards,

Sowjanya

6 REPLIES 6

Former Member
0 Kudos

Hi,

we should not touch the standard script,

if we want to do any modifications then we have to copy that script and then do.

So steps to copy the script,

go to se71 give some name for the script,

click on change/create button,you will get dialog box,

(ignore it)press enter,it will take you inside the form

then click on the menu FORM-> COPY FROM

give the std script name and press enter

your new script(copy of std script) is ready to make any modifications.

or do in this way

go to se71,

click on the menu UTILITIES->COPY FROM CLIENT

give the std form name,

client name(n which client it is present)

and new form name

your form is ready

Regards,

Sowjanya

Former Member
0 Kudos

Hi,

You need to change either Form layout or Print program.Some times both.Print program contains the logic for data retrival and form processing function modules.

If you are asked to change the program,Just copy the Print program to any of ur Z--Program from se38. and modify.

Layout defines how the printout should be.If you r asked to change lay out then go to SE71.

Copy this Form to any Z--Form.Activate this form.Then u can do the changes.

Regds,

Vinsa.R

Former Member
0 Kudos

hi

good

you have not given your standard sap script name, anyway follow this process

convert that standard program to zprogram

convert the standard sapscript name to zname

design the sapscript screen as per your requirement.

change the select statement as per your requmenent

check the variable are placed properly in the sap script screen or not.

try to run the program and using the default printer lp01 and see how the result is coming.

thanks

mrutyun^

0 Kudos

Could you all plz give some more details about these steps. Like how to find print program screens . That will be helpful.

How to convert these copied object's language ?

0 Kudos

Hi Shailesh, Welcome to SDN

Generally you wont't be altering the Print program, u will only be modifying the Layout set in se71 by copying it from client 000 to your development client into a Z program, after copying it you do the modification and after that you activate the layout set and then you need to attach the Layout set to the standard transaction code(For example ME21 u will be assigning MEDRUCK), to do this you use the transaction NACE, where your find the particular components like PO, Challans,.... and attach the modified Z layout set to the corresponding Objects. While copying from client 000 you get the option of Language also there you can specify to which language you need to copy. and finally how to find the print program is in SE71, click on the Layout button, then in the application tool bar you get a button TEXTS, click on that check the checkboxes, press enter, it will display the Print program.

Hope all your doubts regarding scripts are solved to some extent.

Cheers..

Santosh.D