‎2007 Nov 28 11:46 AM
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 .
‎2007 Nov 28 11:49 AM
u will get the form from SE71..use NACE transaction code to get the program name for the respective forms..
‎2007 Nov 28 11:49 AM
Hi Ranjna,
You can see the Print Program of that zform in TNAPR Table.
Regards,
Satish
‎2007 Nov 28 11:55 AM
‎2007 Nov 28 11:57 AM
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
‎2007 Nov 28 12:04 PM
Ranjana,
TTXFP is the table which gives the info of the driver program w.r.t a form.
K.Kiran.
‎2007 Nov 28 12:07 PM
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
‎2007 Nov 28 12:13 PM
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
‎2007 Nov 28 12:15 PM
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
‎2007 Nov 28 12:17 PM
hi ranjna sharma ..
go to se71-> enter ur form name
then goto menu form -> check->text
‎2007 Nov 28 1:10 PM
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