|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Step-by-step approach in creating a PO Layout using Smart Forms
Similarly add one
Text for the remaining columns.
For the Third Column Text also You need only to select the
“New cell” Check box.
the 4th Text for the 4th Column, we have to calculate the
Amount by Multiplying the Quantity and Unit Price and for the same we have to
insert “Program Lines” by Right clicking “OI_DISPLAY ORDER ITEM DISPLAY”
calculate the subtotal by adding the totals and calculate the grand total by
adding the subtotals.
Before doing the calculations, declare variables for total,
subtotal and grand total in Global definitions.
InputParameters: WA_EKPO-MENGE,WA_EKPO-NETPR &
OutputParameters: V_TOTAL,V_SUBTOTAL, V_GRDTOTAL.
Now add the 4th
Text to display the 4th column in the Form.
For the Fourth Column Text also You need only to select the
“New cell” Check box.
In order to
display the Subtotals (which has been created earlier i.e. refer to step no 52)
of all the Line Items for each Purchase Order, we have to Insert a separate Text
Under the Table OI_DISPLAY ORDER ITEM DISPLAY” by right clicking the same.
Enter the Name
and Description for the Inserted Text (e.x. Text = “SUB_TOTAL_DISPLAY” and
Description = “SUB_TOTAL_DISPLAY” and populated the value for subtotal.
purchase order, the Variable V_SUBTOTAL has to be refreshed, In order the clear
the subtotal variable we have to insert “Program Lines” by right clicking
the “OI_DISPLAY ORDER ITEM DISPLAY”.
Enter Name and
Description for the Program Lines (%CODE1 New program lines 1) Inserted (e.x.
Program lines = “CLR_VAR” and Description = “CLEAR SUBTOTAL VARIABLE”.
Input parameters = “V_SUBTOTAL”. Clear the variable as shown below:
Now, we have to
display the Grand Total (i.e. summation of all the subtotals). Insert “Text”
under the “PO_LOOP PURCHASE ORDER NUMBER LOOP” by right clicking the
Text “%TEXT1 New text1” gets inserted. Now enter the name
and description for the same and also populated the value for grand total
Text = “GRD_TOT_DISP”, Description = “GRAND TOTAL
DISPLAY” and Variable V_GRDTOTAL has been populated to display the grand total
in the form.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards