cancel
Showing results for 
Search instead for 
Did you mean: 

To find the abap print program

Former Member
0 Kudos

hi,

I have an sap script form, and i need to find the the abap print program for that? How can i do that?

Thanks

Vinu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Vinu,

GO into any of the text elements and place the cusror on the variable.Then click on the where used list on the top of the window. It will take you to the print program. Most of the times, this works. Please give it a try.

I hope this helps.

Thannks,

Kalyan

Former Member
0 Kudos

I figured it out. Thanks anyway.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can carry out the following steps:

1. Goto Report "RSNAST" through SE38 and set a break point at line number 811 in the report.

2. Run your script,

3. when you reach the break point in the debugger, enter the fieldname as

tnapr-fonam, the value we get is the form name, enter the fieldname as tnapr-pgnam, the value we get will be the driver program name.

Hope this will be of help.

Regards,

Divya

Former Member
0 Kudos

hi how to find the driver program actually if either check->texts or TNAPR does not contain the driver program name for the sapscript form...

i tried using the following procedure also

<u>You can carry out the following steps:

1. Goto Report "RSNAST" through SE38 and set a break point at line number 811 in the report.

2. Run your script,

3. when you reach the break point in the debugger, enter the fieldname as

tnapr-fonam, the value we get is the form name, enter the fieldname as tnapr-pgnam, the value we get will be the driver program name.</u>

but there is no program as RSNAST ...

is there any other ways to find the driver program name

Former Member
0 Kudos

I think you have not tried this

There are two ways...

1) You can use NACE transaction->

Select the application type, and Click Output Types->

Choose the Output type and Click on Processing Routines

Here you can find the Driver program and Script.

2) Go to Script program -> Use Where used list to know where the Script program has been called.

Regards,

suresh

sreemsft
Contributor
0 Kudos

Hi Vinu,

It depends on how the Scripts program is called.

There are two ways...

1) You can use NACE transaction->

Select the application, and Click Output Types->

Choose the Output type and Click on Processing Routines

Here you can find the Driver program and Script.

2) Go to Script program -> Use Where used list to know where the Script program has been called.

Please close the post if your issues has been solved.

Thanks,

Sreekanth

Former Member
0 Kudos

hi how to call SapScript in Dialogue program..

for example i hv created a Print button in my screen and if i will click tat button it should cal my SAP script form(i.e,output of driver program).

Thanks in Advance..

Former Member
0 Kudos

HI Vinu,

Please take a look at the NACE transaction where all the output conditions will be configured. Drill down into you specific application and you should be able to find the print program as well as the smart form name.

Steps..

Use NACE and follow procedure as follows

1)Choose Application from list(eg PO)

2)Click OP type

3)Chose one OP type from Right pane.

4)Click on processing routines

and you got it

Reward points if this helps.

Manish

Message was edited by:

Manish Kumar