Webdynpro Tutorial and Training || SAP webdynpro abap tutorial || Webdynpro course

preview_player
Показать описание
Webdynpro abap is one of the web technology of SAP to create browser based application.

Call us on +91-84484 54549

You can download the ppt of this session from below

"online webdynpro training"
"webdynpro abap training"
"webdynpro training"
"webdynpro tutorial"
Рекомендации по теме
Комментарии
Автор

Thank you for your valuable information about webdynpro

alperbarisisir
Автор

Dear sir, i need your help in logic that i am trying to apply.

Basically i am trying to calculate Average Rate (let's say it as avg_rate).

If material is same then I need to do the sum of Bill_Price column and divided by count.

Here count is how many times the material is repeated.

And then multiply by 60%.

My logic written is below but not working.

Issue : I am getting 0.00 value for all the line items in output.

it_finalnew[] = it_final[].
Delete adj duplicates from it_finalnew comparing MATNR.

Loop at it_finalnew into wa_fnew.
Clear : wa_final.
Loop at it_final into wa_final where matnr = wa_fnew-matnr.
At new matnr.
Count = 0.
Endat.
Count = count + 1.
cal_avg_rate = cal_avg_rate + wa_final-bill_price.

At end of MATNR.
Wa_final-avg_rate = ( cal_avg_rate / count ) * 60 / 100.
Endat.
Modify it_final from wa_final.
Endloop.
Endloop.



Requesting your support sir. Thank you.

शीतल-पङ
visit shbcf.ru