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: 

how to get the same total amount for debit/credit by using bseg table, what logicwe need to write

0 Kudos
1,256
 IF wa_final-indicator = 'S'.
        wa_final-amount = wa_bseg-dmbtr.
      ELSEIF wa_final-indicator = 'H'.
        wa_final-amount = wa_bseg-dmbtr * - 1.
      ENDIF.

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
884

Sorry, but it's impossible to understand your question.

faisalatsap
Active Contributor
0 Kudos
884
 IF wa_final-indicator = 'S'.
        wa_final-amount = wa_bseg-dmbtr.
      ELSEIF wa_final-indicator = 'H'.
        wa_final-amount = wa_bseg-dmbtr * - 1.
      ENDIF.

In this case total will be Zero.

FredericGirod
Active Contributor
0 Kudos
884

It is normal, it is the base of FI logic

You have to separate Debit & Credit to have the two values

faisalatsap
Active Contributor
0 Kudos
884

Get subtotal on DMBTR

Thanks and Best Regards,

Faisal