cancel
Showing results for 
Search instead for 
Did you mean: 

smartform - calculating total discount

Former Member
0 Kudos

Hi All,

I need to print total discount for line items in purchase order form.

I have two conditions: RB00 and RC00

how to calculate total discount using these two conditions?

Accepted Solutions (0)

Answers (4)

Answers (4)

Bhushan_hs
Participant
0 Kudos

Just loop the internal tale add the values & print it..

Bhushan_hs
Participant
0 Kudos

Hi kalandar,

you can get the conditionds value in KONV

the process of getting Condition value is first from EKKO Table fetch the condition record number based on your PO Number & with that condition record number you can get the condition values in the KONV table.

Regads,

Bhushan

Former Member
0 Kudos

could you please explain how to code and add to total varialbe in smart from?

Thanks

kalandar

former_member217544
Active Contributor
0 Kudos

Hi Kalandar,

check, if this helps you in calulating the total:

http://wiki.sdn.sap.com/wiki/display/ABAP/Togetsubtotalsoneachpagein+smartforms

Use conditions tab or program lines node to keep the required conditions.

Regards,

Swarna Munukoti

former_member778253
Active Participant
0 Kudos

you can put the pricing conditions in the code and then place the conditon in conditon tab and then display the discouunt in the form