Application Development 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: 

STD SCRIPT

Former Member
0 Kudos

HI,

How can i modify a SAP program RVADINI01 and SAP Script RVINVOICE01 to Produce declared invoice on posting billing document in SD. I did modification .

But i do not how use NACE and how can check modified out put .

what is the tcode to check , application , and output type?

please explain in detail

thank you

Ashok kumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

NACE

NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).

You should know the Application of a document first Like:

for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.

so first select the Application type (ex: EF) for PO and press OUtput types

then a list will come in that you should know the related output type for PO.

in this case it is NEU,

select that and click on the processing Routines button on the left side

it will display the Medium, Driver Program and the Script form or smartform related to that document..

Script Modification:

There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.

I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...

To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.

You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.

Ex: Go to SE71,

on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing

Form name:

Source Clinet:

Target Form:

give Form name as usedefined form name EX: ZFORM1

Source client as 000 and

Target form as MEDRUCK.

execute.

Now, the standard from MEDRUCK is copyied to your form ZFORM1.

NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.

Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.

Go to NACE Transaction.

on Applications select EF for purchase order and click Output types button on application tool bar.

now select NEU as output types dobule click on Processing Routines.

now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.

go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .

you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.

Reward points for useful Answers

Regards

Anji

Message was edited by:

Anji Reddy Vangala

4 REPLIES 4

Former Member
0 Kudos

Hi

NACE

NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).

You should know the Application of a document first Like:

for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.

so first select the Application type (ex: EF) for PO and press OUtput types

then a list will come in that you should know the related output type for PO.

in this case it is NEU,

select that and click on the processing Routines button on the left side

it will display the Medium, Driver Program and the Script form or smartform related to that document..

Script Modification:

There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.

I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...

To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.

You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.

Ex: Go to SE71,

on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing

Form name:

Source Clinet:

Target Form:

give Form name as usedefined form name EX: ZFORM1

Source client as 000 and

Target form as MEDRUCK.

execute.

Now, the standard from MEDRUCK is copyied to your form ZFORM1.

NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.

Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.

Go to NACE Transaction.

on Applications select EF for purchase order and click Output types button on application tool bar.

now select NEU as output types dobule click on Processing Routines.

now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.

go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .

you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.

Reward points for useful Answers

Regards

Anji

Message was edited by:

Anji Reddy Vangala

varma_narayana
Active Contributor
0 Kudos

Hi..

NACE settings has to be configured by Functional.

Take their help..

regards

Former Member
0 Kudos

you cannot change SAP standard print report or SAP script. Generally you have to copy SAP print report and Script to Z report and SAP script, and do necessary modification.

then ask functional consultant to attach this Z report and script to invoice output type. this is functional consultant job.

kiran_k8
Active Contributor
0 Kudos

Ashok,

Go to nace.

select v3 billing.

click output types

click on position.

in the output type give rd00.

now select rd00

click on processing routines.

clik on change button.

now give the print program and the form name.

save it .

For more contact the functional consultant.

K.Kiran.