cancel
Showing results for 
Search instead for 
Did you mean: 

Script Modification

Former Member
0 Kudos

1. Can anybody tell me how to copy existing sap script and how to add the print program and how to execute the our new script

Please tell me step by step i am learning on my own. I want in detail.

I am trying medruck form

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

!. For copying the exisitng script to new one follow the following steps.

Goto SE71 -> Utlities -> Copy from client

Next enetr the require fields

Form name :this is exisitng script form name

Source client: Client no of the existing form

Target form:this is new form which u are creating

Check the original language and Action log check buttons.

2.TO add print program to the new one u can do it in nace.

Try out examples and let me know if u face any problem.

Regards

Former Member
0 Kudos

i have dont as you said.

But after attaching print program to script. What i have to do the execute the script.

I mean how can i see the output of my new script

Former Member
0 Kudos

Hi ,

There are mainly two ways in general to trigger a script.

1). Using output types which are assigned to business transactions like sales order, delivery, invoice etc

2). From a report kinda program which basically calls OPEN_FORM and WRITE_FORM and CLOSE_FORM function modules.

In real time it is the first option that is mostly used. You can explore the transaction NACE to see how a sapscript is assigned to the output type.

Cheers

VJ

Former Member
0 Kudos

HI,

You can find the link between SAPSCRIPT and PRINTPROGRAM in table TNAPR. Copying of scripts in SE71 and printprogram SE38.

Former Member
0 Kudos

Hi ,

Check this

Regards,

Raghav