Modifying SAP Forms Using SAPscript
PostalMethods provides email-to-post functionality for SAP R/3 and enables postal delivery from SAP. This is step 3.1 of our How To Send Mail From SAP guide.
In order to send postal mail from SAP R/3 using PostalMethod, you will need to adapt your forms (template) and/or create a new form according to the guidelines appearing in the PostalMethods "How To Place Content In The Document" guide.
You may use our SAPscript form code and upload it to SAP R/3 by using the RSTXSCRP application (Transaction Code SE38).
In SAP Standard Menu, navigate to the following path: SAP menu > Tools > Form Printout > SAPscript > SE71- Form.

Choose the Create option:

In Administrative Data: Description text box, provide a short description for the form:

In Basic Settings: select the "Letter" Page Format and the "Portrait Format" Orientation:

Now the Standard Tool bar becomes active:

Click the "Pages" button to create a new page and provide a short description in the Description text box:

Create a Window. A window is a text area where the postal addresses and content of the letter will be placed. The Main Window is created by default.

Click Create Element in the menu to create a new element:

Create the following two elements:
- Window: REC_ADRS and Description: Recipient Address
- Window: RET_ADRS and Description: Return Address

Your Windows screen should look like this:

Click the Page Windows button to associate your window with the page.

Double click on each of the window line to adjust its size. Edit each window and set its measurements:

After setting the dimensions, enter the following text in the "REC_ADRS" window:
&p_rec_name&
&p_rec_name2&
&p_rec_street&
&p_rec_post_code&
&p_rec_country&
Enter the following text in the "REC_ADRS" window:
&p_rec_name&
&p_rec_name2&
&p_rec_street&
&p_rec_post_code&
&p_rec_country&

Check the graphical window display:

