11-08-2006 10:44 AM
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
11-08-2006 10:56 AM
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
11-08-2006 10:56 AM
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
11-08-2006 11:24 AM
Hi,
Copy the standard script to a new ZScript.
goto se71 and now you can modify the standard script
check following links
this one is very simple example tutorial.
http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
http://help.sap.com/saphelp_46c/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/f4/b4a54b453611d189710000e8322d00/frameset.htm
hope this helps ...
11-08-2006 11:15 AM
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
11-08-2006 11:32 AM
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^
11-08-2006 11:50 AM
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 ?
11-08-2006 12:03 PM
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