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 form printing

Former Member
0 Likes
1,122

Hi,

I am a junior ABAP dev. and first time sapscript user. I want to customize the Purchase Order form.

I copied MEDRUCK and then customized the copied form by using subroutine pools and calling them from the Text Element/s.

Is it possible to use the standard SAP print program SAPFM06P for this customized form? If not then how do I modify the print program? What changes do I need to make?

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
962

Hi,

You need not change the standard print program, Instead you need to assign the custom sap script layout to the standard print program in the IMG/Configuration.

Get in touch with your functional personal or search SDN for the path to configure the script layout.

Once you have done the changes in config, instead of MEDRUCK, your custom layout will be called by the std print program...

Hope this helps

Regards

Shiva

Read only

Former Member
0 Likes
962

Hi

you can do like this

If you want to change the driver program

just copy the standard driver program to z program

Go to TCode nace and 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) and program name as zprogram(copied one) and SAVE.

In that See from Which include you need to change the data .. Then copy that particular include program

to Z inside the program and do changes and comment the orginal include ..

Hope this helps you ..!!

All The best..!!

With Regards

Vinu.R

Read only

Former Member
0 Likes
962

Hi,

You can goto NACT t-code and give 'EF' as applicaiton and enter inside that,

Select 'NEU' or any Z-output type (if any) that has been created by your functional guy for this purpose.

double click on 'processing routines' , Now you can see the driver programs, Scripts and corresponding output meduim.

If your output medium is 'Printout' , then in the respective row, remove MEDURCK form & five your own z-form.

This zform will be called for your requirement. So you need not change the standard driver program for this.

Rgds,

Sripal

Read only

Former Member
0 Likes
962

Thanks all. That was really helpful.