Skip to Content
avatar image
Former Member

Variant programm SAP IS-U

Hello. I do some steps in the Rate (tr.EA30).

1. QUANTI01: Consumption1 * Price1 = Amount1

2. QUANTI01: Consumption2 * Price2 = Amount2

After that I need: Amount1 + Amount2 = Amount3.

But I can't find needed variant program. There is COMPUT02 but this doesn't allow sub-transaction.

So what should I use?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 05, 2017 at 06:20 AM

    Make a copy of variant COMPUT02 and check the checkbox 'Line item rel. post' in the Variant-General Data.

    This should then allow you sub-transactions.

    Hope this helps.

    Cheers,

    Rakesh..

    sapisurdg.wordpress.com

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 03, 2017 at 09:51 AM

    Hi Alexsandr - how about COMPUT04 ?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      But this variant add two operands, which have type "FACTOR". And I need add two operands type "AMOUNT"

  • Jul 03, 2017 at 11:00 AM

    It sounds like you would need to use COMPUT02 as you said and then add another line of logic to get main/sub. Maybe you could share details of the calculation?

    Add comment
    10|10000 characters needed characters exceeded