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

Form Printing Problem

Former Member
0 Likes
494

Hi All...

I copied RVORDER01 Form(SAP Script) into Z form.

Now i changed the form according to our layout.

Every thing coming right. But the total(KOMVD-KWERT) of Amount is not calculating. It is printing next to the all line item. For ex. if i order 2 items, total printing next to the 2 items. But i want to print bottom, i specified a total box. It is not printing in the are i specified to total( bottom of the page). I am doing all(Printing line items & Total) in Main Window only.

I declare line item in Main window (ITEM_LINE_PRICE_QUANTITY). Even i tried to print the total by using headers (ITEM_SUM,SUM_LINE).

Plz help me ASAP.

Thanks & Regards

Rajendra

3 REPLIES 3
Read only

Former Member
0 Likes
457

Hi Rajendra,

Populate the value in a variable "ws_total". In the Main Window, there is something called

<b>BOTTOM

&ws_total&

ENDBOTTOM</b>

Now your total will display only at the bottom. i.e your total will be the last which will displayed in that page.

The total will be displayed at the end of the page. This will work.

Reward if helpful.

Regards,

Tushar

Message was edited by: Tushar Marshall Dass

Read only

0 Likes
457

Hi Tushar..

Still i am getting same problem.

After using <b>BOTTEM...

Is there any other way.

Regards

Rajendra

Read only

Former Member
0 Likes
457

Hello Rajendra,

Print the total in a separete text element.

ie) Afetr printing the item details

In the form

/E Total

  • &TOTAL&

In the print program

After endloop.

Call the writeform for this element.

Hope this will solve ur problem.

Reward if helpful.

Regards,

Vasanth