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 Script

Former Member
0 Likes
1,043

Hi ABAP Gurus,

i am going for traning in ABAP, my Trainer just explained how to create SAP SCript and how to modify Standard SAP Script ie MEDRUCK that too only Logo, But In Real Time what u will do with SAP Scripts ? and What is the use of transaction code NACE in sap scripts? can u please xplain me ? points will rewarded to everybody who explain my issue...

Thanks in Advance

Naveen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,003

Hai Naveen,

SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. Layout sets. - Layout set consists of the following components: Windows and pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every layout set consists of Header, paragraph, and character string. ABAP/4 program

By using NACE transaction we will assign Sap script and driver program to O/P type in an aplication for different mediums (like print/fax , mail) .

Example :

NACE--> Application EA --> means for PO > check O/P "NEU" (SAP standard)> Medium "Print" --> You can find the Driver program and Sap script associated to it.

If you have your Own o/p, Script and program. Then you will assign the by using T/code NACE. Then this will appear when you want to print PO or other.

Use T/code SE71 for get all the Standard scripts or Check Table TNAPR .

Regards,

Srikanth.

Reward points if helpful.

13 REPLIES 13
Read only

Former Member
0 Likes
1,003

<b>But In Real Time what u will do with SAP Scripts ?</b>

With SAPScripts you can generate outputs that are far better than reports.

You can generate reports which can be printed and maintained by the client for the transactions.

Read only

Former Member
0 Likes
1,003

Please read this link this will help im both SAP script and Standard text.

http://www.sappoint.com/abap/sscript.pdf

Read only

Former Member
Read only

0 Likes
1,003

hi Sanotsh,

can u xplain how to define condition types ? can u explain me in steps wise ? suppose i want to modify standard SAP script MEDRUCK..

Read only

0 Likes
1,003

NACE Transaction is used to define Condiion types and Output Types

Output types are typically assigned to a transaction that needs some output to be generated. Output determination will decide how, when and what output should be generated depending on certain conditions. Once the output type is determined, based on the configuration, system will also determine the corresponding form, processing module and the medium(print, fax, IDoc etc).

Read only

Former Member
0 Likes
1,003

Hi Naveen,

SAP Script is used to print forms..

Forms look “nicer”..

Forms can have graphic elements.

Forms can be event-triggered...

SAP documents are printed using forms.

Forms are defined and formatted using layout sets.

SAP script is a tool that SAP provides for creating layout sets..

NACE tcode controls the table TNAPR .. have a look at this table.. it will have the form name , name of the routine and the program name and also the name of the routine called..

regards

satesh

Read only

Former Member
0 Likes
1,004

Hai Naveen,

SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. Layout sets. - Layout set consists of the following components: Windows and pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every layout set consists of Header, paragraph, and character string. ABAP/4 program

By using NACE transaction we will assign Sap script and driver program to O/P type in an aplication for different mediums (like print/fax , mail) .

Example :

NACE--> Application EA --> means for PO > check O/P "NEU" (SAP standard)> Medium "Print" --> You can find the Driver program and Sap script associated to it.

If you have your Own o/p, Script and program. Then you will assign the by using T/code NACE. Then this will appear when you want to print PO or other.

Use T/code SE71 for get all the Standard scripts or Check Table TNAPR .

Regards,

Srikanth.

Reward points if helpful.

Read only

abdul_hakim
Active Contributor
0 Likes
1,003

Hi Naveen,

In real time we use sapscript for invoice printing,documentations etc.NACE is used for output determination like EDI,Fax,forms etc..

Thanks,

Abdul

Read only

vinod_gunaware2
Active Contributor
0 Likes
1,003

Hi

U can not modify MEDRUCK form. U just copy same script using se71->utilities Copy option

then u have to modify according to ur requirement.

Then goto NACE choose application

suppose purchase order then press OUTPUT type

Then select NEU or Z message type which ur using

then processing routine then spcify ur form in form coloumn.

Hope this will be useful.

Regards

vino

Read only

Former Member
0 Likes
1,003

Hello Naveen,

Welcome to SDN...

SAP script in general can be used to generate any correpondences which u would want to send to your internal and or external customer. As an e.g what ur trainer explained is MEDRUCK is SAP script which is shipped with SAP and u can use and customise this layout to generate Purchase order as per ur company requirements. Similarly there can be many other correspondences which ur company might need and which u can satisfy by creating sapscripts. There is a driver program which extracts data process data and then outputs data using SAP script.

NACE is a trx which can be used to customised for each application what all outputs( one of) u can have. and for each output type u can then assign which driver program and sap script u would be using. This is a better way which SAP provides over hardcoding in program.

Read only

Former Member
0 Likes
1,003

Hi,

Using NACE transaction we will assign Sap script and driver program to O/P type in an aplication for different mediums (eg: print/fax , mail).

Regards,

Anjali

Read only

Former Member
0 Likes
1,003

hi nAVEEN

In real time SAP SCripts are used for

Printing forms such as invoices, sales order etc.

Correspondence (e.g. letter to third party) in SAP applications

Documentation

Nace is used for mentioning the output types and condition types.

for. ex. whether the output is for print, fax, mail like that.

you have to mention the print program, forms in hte nace against each output types

regards

kishore

Read only

Former Member
0 Likes
1,003

Hi Naveen,

NACE transaction is used mostly for SD and MM.

You can configure what is the script and what is the print program for particular output type like sales(V1) etc..( you can see this in NACE tcode.

for example in sales order you want to print your own designed script when you select one material in sales order ans chose for print in the menu.

You need to configure accorging to this in nace tcode.

So your print program and script will run.

Regards

Anil Kumar K