medruck change

6
Create Scripts of Your Own Using Standard Scripts  All Standard Scripts are in client '000'. We have to copy them to '800'. (this is your own company define client no)  All Standard Scripts and their respective print programs are listed in table 'TNAPR'. Ex: FORM MEDRUCK has the Driver Program SAPFM06P. NOTE: Never make any changes to the Standard Driver Programs STEP 1. ---------- Goto Transaction Code <SE71> and select from Menu UTILITIES ->Copy from Client. Enter the Standard Form Name, It source Client 000 and the target Form Name that you want it to be saved as on your client. Say you are naming it as zme druck1. Click on EXECUTE. STEP 2. --------- Converting form to English. Open zmedruck1 in <SE71> With language DE. Then goto UTILITIES -> Convert Original Language from DE to EN. Then you can modify the layout for example, chaging the logo, or changing the headers, or adding any new code to do some calculation etc., SAVE THE CHANGES AND ACTIVATE. Then select from t he menu FORM -> CHECK -> TEXT. SELECT your driver program name from the list adn click on COPY. If you don't see the program name in the list then click on 'APPEND PRINT PROGRAM' and add your program name and then select it from the list and click on COPY. STEP 3: Assigning our form to the standard print program. ----------- Start Tr.Code <NACE>. In our present case since we are working on 'Purchase order' we have to select EF and click on the button Output Types. Then on Right hand side, scr oll down and select NEU - New P O Printout. (This may change for different programs). Then Double click on Processing Routines on Left hand side. Change from Display -> Change Mode. Give your form name (zmedruck1) for p rintoutput and SAVE. STEP 4: ---------- Start Tr.Code <ME22N> since you are working on Purchase order and click on print Preview to make sure your layout e tc., changes are OK. If not again you have to make the changes accordingly.

Upload: rama-krishna-b

Post on 07-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

8/3/2019 Medruck Change

http://slidepdf.com/reader/full/medruck-change 1/6

Create Scripts of Your Own Using Standard Scripts

 All Standard Scripts are in client '000'.

We have to copy them to '800'. (this is your own company define client no)

 All Standard Scripts and their respective print programs are listed in table 'TNAPR'.

Ex: FORM MEDRUCK has the Driver Program SAPFM06P.

NOTE: Never make any changes to the Standard Driver Programs

STEP 1.

----------

Goto Transaction Code <SE71> and

select from Menu UTILITIES ->Copy from Client.

Enter the Standard Form Name, It source Client 000 and the target Form Name that you want it to be saved as on your client.

Say you are naming it as zmedruck1.

Click on EXECUTE.

STEP 2.

---------

Converting form to English.

Open zmedruck1 in <SE71> With language DE.

Then goto UTILITIES -> Convert Original Language from DE to EN.

Then you can modify the layout for example, chaging the logo, or changing the headers, or adding any new code to do some calculation etc.,

SAVE THE CHANGES AND ACTIVATE.

Then select from the menu FORM -> CHECK -> TEXT.

SELECT your driver program name from the list adn click on COPY.

If you don't see the program name in the list then click on

'APPEND PRINT PROGRAM' and add your program name and then select it from the list and click on COPY.

STEP 3: Assigning our form to the standard print program.

-----------

Start Tr.Code <NACE>.

In our present case since we are working on 'Purchase order' we have to select EF and click on the button Output Types.

Then on Right hand side, scroll down and select NEU - New P O Printout.

(This may change for different programs).

Then Double click on Processing Routines on Left hand side.

Change from Display -> Change Mode.

Give your form name (zmedruck1) for printoutput and SAVE.

STEP 4:

----------

Start Tr.Code <ME22N> since you are working on Purchase order and click on print Preview to make sure your layout etc., changes are OK. If not

again you have to make the changes accordingly.

8/3/2019 Medruck Change

http://slidepdf.com/reader/full/medruck-change 2/6

SAP provides standard forms for all kinds of applications. If the client/Customer is not satisified with the

layout of the form, then New forms are created. The same driver may or may not be used for the new

forms. Once the forms are developed, output type is created for driver program and Form for the

applications.

Check the following SAP Standard programs.

RVINVOICETH - Invoice/Tax Invoice

MEDRUCK - Purchase Order

WASCHEIN - Goods Issue Slip

INVENT - Physical Inventory Document

SD-SALES-SUMMARY - Sales Summary

The standard sap script is SD_INVOICE_LIST for invoice list

Medruck Change:

STEP 1.

Goto Transaction Code <SE71> andselect from Menu UTILITIES ->Copy from Client.Enter the Standard Form Name, It source Client 000 and the target Form Name that you want it to besaved as on your client.Say you are naming it as zmedruck1.Click on EXECUTE.

STEP 2.

Converting form to English.Open zmedruck1 in <SE71> With language DE.

Then goto UTILITIES -> Convert Original Language from DE to EN.Then you can modify the layout for example, chaging the logo, or changing the headers, or adding anynew code to do some calculation etc.,SAVE THE CHANGES AND ACTIVATE.Then select from the menu FORM -> CHECK -> TEXT.SELECT your driver program name from the list adn click on COPY.If you don't see the program name in the list then click on'APPEND PRINT PROGRAM' and add your program name and then select it from the list and click onCOPY.

STEP 3: Assigning our form to the standard print program.

Start Tr.Code <NACE>.In our present case since we are working on 'Purchase order' we have to select EF and click on thebutton Output Types.Then on Right hand side, scroll down and select NEU - New P O Printout.(This may change for different programs).Then Double click on Processing Routines on Left hand side.Change from Display -> Change Mode.Give your form name (zmedruck1) for printoutput and SAVE.

8/3/2019 Medruck Change

http://slidepdf.com/reader/full/medruck-change 3/6

STEP 4:

Start Tr.Code <ME22N> since you are working on Purchase order and click on print Preview to make

sure your layout etc., changes are OK. If not again you have to make the changes accordingly.

Re: SAP Standard Scripts ( how to Modify Standard Scripts)

Go to transaction OMFE. Tell me what you see there for the output type you are interested in. Let me

take the standard output type NEU. The entry looks something like this.

NEU Purchase order 1 SAPFM06P ENTRY_NEU MEDRUCK.

The first one is your output type, next is its description, next is the medium, then the program, routine,

and the form name.

You already copied the layout MEDRUCK to ZMEDRUCK. Now copy SAPFM06P to ZZSAPFM06P. Now

ENTRY_NEU routine is in the include FM06PE02. You need to make your changes here to accommodate

for the new field. So copy this include to ZZFM06PE02 and make your changes. Also, in ZZSAPFM06P,

change the line where it says INCLUDE FM06PE02 to INCLUDE ZZFM06PE02.

Now in this routine ENTRY_NEU, there is a function module call ME_READ_PO_FOR_PRINTING which

reads in the PO data from the tables. We need to copy this function module as well as this is where you

will do your extra selections for the new fields. You will do the same with the other function call

ME_PRINT_PO, if you need to change anything on the print.

after this to define output type...

NACE

You can track the form and the print program used for that form

NACE is used to create output type while creating the output type you will mention forms, and driver

program.

that will be maintained in the table TNAPR.if you create the output type using NACE then it will be

automatically visible in table NAST and TNAPR.

http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm https://forums.sdn.sap.com/thread.jspa?forumID=50&threadID=120165&messageID=1344901#1344901 

EX--in simple terms..take a transaction say ME21N ( Purchase Order ), u can see a Print icon there. now when u

click on this icon, it has to print the PO document. Now how does it do that? when u click Print, the control getstransffered to a print program, now which program gets triggered is decided by what program name u specify inNACE.So in NACE-->EF-->Output Type-->NEU-->processing routine--> u can see some standard program alreadyconfigured( maybe SAPFM06P n form MEDRUCK )..these are the programs n sapscript that gets executed wen usay "PRINT" in the transactrion...so u can customise the print program for customer changes over here by copyingthe standard program n form into a Z/Y one and replacing the program names in NACE.

8/3/2019 Medruck Change

http://slidepdf.com/reader/full/medruck-change 4/6

8/3/2019 Medruck Change

http://slidepdf.com/reader/full/medruck-change 5/6

a form to generate the document. Most correspondence and document generation in the SAP System are

handled by way of print programs.

A print program selects the text elements that are to be printed in the windows of a form. It may also

collect information from the user or ask the user to input text directly, as in some correspondence

functions. The print program may also provide data for variables defined in the form.

Finally, the print program uses the form to format the document for display or printing.

Check this link...

http://help.sap.com/saphelp_erp2005/helpdata/en/d1/802d7d454211d189710000e8322d00/frameset.htm 

STANDARD SCRIPT AND INSERT A LOGO IN ITSuppose RVDELNOTE is your standard scriptfirst copy the script into ZRVDELNOTE.

in menu bar we have option UTILITIES > COPY FROM CLIENT.

go to SE78 and upload logo.go to SE71 > Open your window > Text Elements >Insert > Graphics

==================*************************

Download / Upload SAP scripts in different clients with

different namesPosted: Apr 16, 2010 9:15 AM

Reply 

Hello Folks,

I want to download and upload one SAP script from Production server to development server.. Both the

systems are different.

I have used RSTXSCRP program and downloaded to desktop . Now i need to upload the script in

development client..But with different name.

I think its not suggestable to change the formname in the notepad.. I need to change in the source system

but the problem here is source system is a production system.. I cannot create a form there..

is tehre any way to do this?? I have other idea that create the form in development server instead ofproduction then use it...

I just need is there any other workaround...

Regards,

Raj

8/3/2019 Medruck Change

http://slidepdf.com/reader/full/medruck-change 6/6

You can upload your downloaded sapscript to development server with the same name. Now, create a

sapscript with the new name and save it. In change mode, goto FORM->COPY FROM. Copy from the

script uploaded earlier and delete it. You can use the copied form with new name.

Also, check whether the sapscript is available in any other client in your development system. May be the

script is not available in the client you are using. If it's available in any other clients, then program

RSTXFCPY can be used to copy it to your client in the same system.

I'm not sure of your requirement. But, if the sapscript is renamed the configurations also need to be made

with the new name

Downloaded the script with different name in development server in one system and upload the same inother development system