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's training-purposed sapscript examples

Former Member
0 Likes
1,173

What are the layout sets provided by sap and their caller programs?

All results will be appreciated.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
912

Hi

See some of the Important one that we use very frequently

for others see the SE71 tcode and press F4 and see

SD

SALES ORDER

Output type : BA00

ScriptForm Name : RVORDER01

Driver Program Name : RVADOR01

smartform name

DELIVERY NOTE

Output type : LD00

ScriptForm Name : RVDELNOTE

Driver Program Name : RVADDN01

smartform name : LE_SHP_DELNOTE

Smartform Driver Pgm: RLE_DELNOTE

INVOICE

Output type : RD00

ScriptForm Name : RVINVOICE01

Driver Program Name : RVADIN01

smartform name : LB_BIL_INVOICE

Smartform Driver Pgm: RLB_INVOICE

MM

PUCHASE ORDER

Output type : NEU

ScriptForm Name : MEDRUCK

Driver Program Name : SAPMF06P

smartform name : /SMB40/MMPO_L

smartform driver program: /SMB40/FM06P

FI Forms

Account Statement : F140_ACC_STAT_01

Cheque Printing : F110_PRENUM_CHEK

Balance Confirmation: F130_confirm_01

check the link below it provides steps to convert sap scripts to smartforms

http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf

SMARTFORMS -Driver Program

PO: /SMB40/FM06P

SO: /SMB40/RVADOR01

GR: /SMB40/M07DR

<b>Reward points for useful Answers</b>

Regards

Anji

6 REPLIES 6
Read only

Former Member
0 Likes
912

<b>Create Scripts Of Your Own Using Standard Scripts</b>

The folloiwng info may be useful for those who are new to SAP:

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.

SAP Sapscripts Tips and Tricks

The standard system come with all the standard sapscripts for you to print invoices, delivery orders or sales order etc. You can further enhance the form with SAPscripts which is the standard SAP form design tools for user to developed customized form printing format such as purchase orders, invoices, checks, labels.

With the combination of third party barcode software (barcode.dll) or printer with bardimm, you can print barcode directly using SAP scripts.

To create SAPscipts goto tcode : SE71

Once your SAPscripts are created, you have to used an abap program to called the sapscripts form.

<b>also refer

http://www.sap-img.com/sapscripts.htm</b>;

<b>for the below topics

</b>

SAPScripts Reference Books

SAPscript Made Easy 4.6

ABAP Certification Books

ABAP Programming: A Guide to the Certification Course

Introduction

SAPScript Transaction codes

SAPScript Important Programs

Commands

Reading Text in SAPScripts

Boxes/Lines/Shading

Printer commands in SAPScripts

Different font on the same line

Print Footer notes only on the last page

Orientations in SAPSCRIPT

Protect...Endprotect

Retrieving data without modifying the original called program

SAPscripts How to calculate Totals and Subtotals

Conversion

Developing SAPScript in different languages

Useful Program Tools

How to convert Sapscript spools request to PDF?

How to Upload graphics (IMAGE) to your Sapscript?

Import/Export SapScript form from PC file

Common Problems

Picture doesn't show in Print Preview

Delete Load program for SAPScript

Barcodes

Details information about SAP Barcodes

SapScripts Frequently Asked Questions

SapScript Question

FAQ for Sap Scripts

Questions on PO SapScripts MEDRUCK

Create Scripts Of Your Own Using Standard Scripts

A Sample SAP Scripts Reports

Sample Sapscripts Label Printing Program

regards,

srinivas

<b>*reward for useful answers*</b>

Read only

Former Member
0 Likes
913

Hi

See some of the Important one that we use very frequently

for others see the SE71 tcode and press F4 and see

SD

SALES ORDER

Output type : BA00

ScriptForm Name : RVORDER01

Driver Program Name : RVADOR01

smartform name

DELIVERY NOTE

Output type : LD00

ScriptForm Name : RVDELNOTE

Driver Program Name : RVADDN01

smartform name : LE_SHP_DELNOTE

Smartform Driver Pgm: RLE_DELNOTE

INVOICE

Output type : RD00

ScriptForm Name : RVINVOICE01

Driver Program Name : RVADIN01

smartform name : LB_BIL_INVOICE

Smartform Driver Pgm: RLB_INVOICE

MM

PUCHASE ORDER

Output type : NEU

ScriptForm Name : MEDRUCK

Driver Program Name : SAPMF06P

smartform name : /SMB40/MMPO_L

smartform driver program: /SMB40/FM06P

FI Forms

Account Statement : F140_ACC_STAT_01

Cheque Printing : F110_PRENUM_CHEK

Balance Confirmation: F130_confirm_01

check the link below it provides steps to convert sap scripts to smartforms

http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf

SMARTFORMS -Driver Program

PO: /SMB40/FM06P

SO: /SMB40/RVADOR01

GR: /SMB40/M07DR

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
912

Thanks all repliers...

Landscape or portrait layout?

What is the difference?

Read only

Former Member
0 Likes
912

hi

go to transaction NACE and then any of the application and select any of the output type and then click on processing request u can get the caller program and respective layout sets as well