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

SAP SCRIPTS

Former Member
0 Likes
1,069

Hi All,

I have few SAP scripts created in the system. I need to make changes to the scripts.

I am able to see the custom created SAP scripts in SE71 . How can i get the program assigned to it and how can i proceed to add some text on the form .

Give me the steps to find the details required to modify the sap script object .

Cheers,

Reddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,039

Hi Nanda,

1. Goto Se11

2. Provide table name TNAPR (Display)

3. Goto table contents

4. In the selection screen against FONAM give SAP Script name

5. Execute, then u can see the Application, Output type, Medium, Print Program, Sub routine name for that SAP Script.

6. Now do the changes in the window of the script in which u want to do.

7. Now goto NACE

8. select Application and go with Output types

9. Now select the Output type and go with Processing routines on the left hand side

10. There u can add your Changed Program and Script

Reward me with points, if it is helpful.

Regards,

Sagar

10 REPLIES 10
Read only

Former Member
0 Likes
1,039

Hi

Yu have to copy the standard script to zscript .

In tcode NACE,you can see the output types and can see the program attached to it.

Thanks

Read only

Former Member
0 Likes
1,039

hi,

check the table TTXFP.

Read only

kiran_k8
Active Contributor
0 Likes
1,039

Kishore,

Use TTXFP to get the print program corresponding to a form.

TNAPR.

K.Kiran.

Read only

paruchuri_nagesh
Active Contributor
0 Likes
1,039

hi

nanda

check table TTXFP

you can find corresponding print program

regards

Nagesh.Paruchuri

Read only

Former Member
0 Likes
1,039

Hi Nanda,

to check the program attached to a script, follow these steps..

1. goto transaction NACE.

2. select your application. ( ex. Sales - V1)

3. click on output types. You get different output types

4. select an output type. Ex.. BA00 for order confirmation

5. Click on Processing Routines. you can see different processing routiens..

6. check Print Output.. program... form routine..

But you have to modify standard script. For this you have to write performs in the script, which connect to your Z program.

Reward points if useful.

Regards,

Dhanunjaya Reddy

Read only

Former Member
0 Likes
1,039

Hi Reddy,

Using t-code NACE you can find out print program assigned to particular form...but in most of issues you can fix with in form itself with out changing print program..

to make changes to form open form in SE71 (Change mode...if it is Z form) ....

there you can find windows...if your issue related to MAIN window..then click on EDIT button..then make changes , save & activate....

Message was edited by:

Perez C

Read only

Former Member
0 Likes
1,039

Hi Kishore,

First you need to copy your standard script to Zscript for tht follow these steps.

Go to se71 -> Utilities ->Copy frm client - >

form name : Standard script name

source : 000 (Always the satndard scripts are copied frm 000 client)

Target form : Zscript

Now execute.Now you will find your script here you can make changes accordingly.

In order to find out the Driver Program.

Go to Tcode : NACE

Select your application.I mean if it is Purchase Order select EF Application and click on output types button.For PO NEU is the output type select tht and click on Processing routines on your left hand side.Here you can find the form name and the driver program name.Now copy tht prg to Zprg and make changes.

In order to call your driver prg to you form go to se71 give your form name and make necessary changes.Now go to Form -> check -> texts ->press ok now click on append print program button and say copy.And finally activate the form.

Hope i am clear.

Reward if helpful.

Regards,

Harini.S

Read only

Former Member
0 Likes
1,039

Goto TNAPR table if the script is assigned thru output type.

In other case normally see the driver program. find open_form. or in itcpo structure. U will get the script name.

Now open the script thru se71 in change mode( language EN or DE). open page window. keep cursor on page window & goto text element. u change or add & then back & activate.

Don't reward if not helpful.

Srimanta

Read only

Former Member
0 Likes
1,039

Thanks .

I am not looking to create a new SAP script .

I have few Zsapscripts.

For example

my sap script name is "ZEmployeeDetail" .

I dont have any print program details in TTXFP table for this SAP script . I want to run this and see which print program is associated with this .

Cheers,

Reddy.

Read only

Former Member
0 Likes
1,040

Hi Nanda,

1. Goto Se11

2. Provide table name TNAPR (Display)

3. Goto table contents

4. In the selection screen against FONAM give SAP Script name

5. Execute, then u can see the Application, Output type, Medium, Print Program, Sub routine name for that SAP Script.

6. Now do the changes in the window of the script in which u want to do.

7. Now goto NACE

8. select Application and go with Output types

9. Now select the Output type and go with Processing routines on the left hand side

10. There u can add your Changed Program and Script

Reward me with points, if it is helpful.

Regards,

Sagar