Solution to the exercise on printing Invoices

...Previous

Step 10 :

Displaying contents in MAIN (Main Window)

Create a Table under the node MAIN.

Give Name for the table and Description. Right click on %LTYPE1 and rename the Line as Line1.

Since we have to display 5 columns,  LINE1 has to be divided into 5 cells. To draw lines Select the button Draw Lines and Columns.

Now create a Table line under the node Header and give the Line Type as Line1.

As soon as you give the Line type as Line1 and press ENTER you can see that under the %ROW1   5 Cells namely  %CELL1……%CELL5 are created. Now Rename each of these as shown below:

 

Now under each Cell create TEXT for Displaying the Column Headings.

 

Repeat the same steps for the node Main Area.

Define a Table line. Give the Line Type as LINE1.

As soon as you give the Line type as Line1 and press ENTER you can see that under the %ROW1   5 Cells namely  %CELL1……%CELL5 are created. Now Rename each of these Cells and Create Texts under each Cell to display the Details from VBRP. After Creating all these your screen should look like this :

In the Main Area Drag and Drop the fields from the field string IM_FS_VBRP to print the Item Details. So in the Text ITEMNO1 it will be &IM_FS_VBRP-POSNR& and so on… as shown above. 

Since we have to display the Total amount in the Footer area, Create a Table Line with one Cell.  To create a Table Line Right Click on the Line 1 à Insert à Empty line underneath . An empty Line appears after Line 1. Name this Line as Line2.

Create a Text under the cell TOTAL. Give the Line type as Line 2.  The Following screen appears

 

In order to calculate the Total (W_TOTAL) go to the Table ITEMDET. Select the Tab Calculations and give the details as shown in the screen shot below:

Go back to the Footer à Text for Displaying the TOTAL. Drag and Drop W_TOTAL from the Global Data. To display the field list Click on the button   Field list on/off.

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image