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

sapscript

Former Member
0 Likes
1,204

HI EXPERTS !

will u plz tell me how to get program for sapscript in se71. i m not able to get its coding but able to see this z form .

10 REPLIES 10
Read only

abdulazeez12
Active Contributor
0 Likes
1,182

u will get the form from SE71..use NACE transaction code to get the program name for the respective forms..

Read only

Former Member
0 Likes
1,182

Hi Ranjna,

You can see the Print Program of that zform in TNAPR Table.

Regards,

Satish

Read only

Former Member
0 Likes
1,182

do you know in which tcode this sapscript is attached?

Read only

Former Member
0 Likes
1,182

1. Go to Trxn SE71 enter your form name.

In menu Bar Form -> Check-> Text.Press Enter here you will get the Print

Program name.

2. Go to Transaction NACE.Select the Application Area->Output Types-> Processing Routines.Here you will get the Form Name and Print Program name

Read only

kiran_k8
Active Contributor
0 Likes
1,182

Ranjana,

TTXFP is the table which gives the info of the driver program w.r.t a form.

K.Kiran.

Read only

Former Member
0 Likes
1,182

ok here are the steps.

Goto se71 and save(in Clipboard) the name of the form to which you want to find the driver program.

Then goto TA: SE16.

Input TNAPR at tablename.

On next screen, in field FONAM paste your clipboard and press F8.

you should get at least 1 record. in the field pgnam you will find the name of your dirver program.

to view it use TA: SE80 or SE38

Read only

Former Member
0 Likes
1,182

Hi Ranjna,

You can use tables <b>TNAPR</b> as well as <b>TTXFP</b> to get the script form names & corresponding print program names.

Table <b>T001F</b> gives form(sap script & smart form) names based on the company codes.

Reward if useful.

Regards

Sayee

Read only

Former Member
0 Likes
1,182

hi ranjna sharma ..

just go se71->Form->Check-> text..

here u can able to see the driver program assigned to that form..

if it meet ur needs reward the points

Read only

Former Member
0 Likes
1,182

hi ranjna sharma ..

go to se71-> enter ur form name

then goto menu form -> check->text

Read only

Former Member
0 Likes
1,182

Hi ranjna ,

If you taking about a standards SAP Forms then open T-CODE NACE and see SAP standards Forms programe name & write a program name in code in T-CODE SE38

Then you will see the code.

But, if you want to create Zform then goes ABAP Editor write Program for Zforms

You required mainly three Function and call these Function

OPEN_FORM

WRITE_FORM

CLOSE_FORM

For example:

call function 'OPEN_FORM'

EXPORTING

FORM = ' '

.

if sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

call function 'WRITE_FORM'

EXPORTING

ELEMENT = ' '

FUNCTION = 'SET'

TYPE = 'BODY'

WINDOW = 'MAIN'

.

if sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

call function 'CLOSE_FORM'

if sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

Only change this or uncommented that.

Kshitij