Skip to Content
author's profile photo Former Member
Former Member

Smartform: Calculations on specific wagetypes

Hey Experts,

I have some issues filtering some data out of a loop. I'm creating a payslip for a Dutch company.

Now i want, in the employee data section, his basic wage. This is the sum of 2 specific wagetypes 1000 and 1020.

Now i tryed to filter them out using conditions on the loop, programming rules etc, keep getting value 0.00.

I use this portion of code to filter the correct values out of it.

IF wa_net-wagetype_key-wagetype EQ '1000'

OR wa_net-wagetype_key-wagetype EQ '1020'.

basicpay = basicpay + wa_net-pay_amount.


Importing parameters are the workarea with the data wa_net and the global variable i defined to put the solution in.

In the textfield below i put &basicpay& (i used &basic(C)& also ) and it keeps giving me blanks.

If anyone has a good solution on how to add multiple specific values from a loop into a custom variable, it would help alot.



Edited by: Grinnam on Oct 11, 2010 11:05 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2010 at 06:41 PM


    WHere u r calculting this value ...

    If it is with in the loop statement (TABLE OR loop)it will calculate, if it is other than the looping read the internal table with the wagetype and calculate it..

    Let me know if u have any concerns...



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.