Here netpr is getting added properly...but the material sequence is wrong...line 2 matnr is coming first...line item 1 matnr should come first then second and so on...
Hi Sir, I am getting dump while calculating summation of one column field . As amount it too large means it is adding 12000000 to another same type digit getting dump. Mycode : base_val = reduce dmbtr ( init lv_bs = '0.00' for ls_bseg in it_bseg Next lv_bs = lv_bs + ls_bseg-dmbtr ).
Useful scenarios discussed. Thanks
You're welcome
Very useful. Well explained. Thanks
You are welcome
very nice and useful tutorial Ram!!!
Thanks a lot
illuminating! good job!
👍
Very helpful
👍
Good job!
Thank You!
Good job👍
Thank you Zubin 😊
Good job 👌
Thank you so much 😀
Good job
Thanks
Hi Sir, Can we used reduce operator inside the for loop ?
Yes, you can
Here netpr is getting added properly...but the material sequence is wrong...line 2 matnr is coming first...line item 1 matnr should come first then second and so on...
Just swap ls_vbap-matnr with lv_matners it will correct
Hi Sir,
I am getting dump while calculating summation of one column field . As amount it too large means it is adding 12000000 to another same type digit getting dump.
Mycode : base_val = reduce dmbtr ( init lv_bs = '0.00' for ls_bseg in it_bseg
Next lv_bs = lv_bs + ls_bseg-dmbtr ).
What is the dump . Might be your result variable not capable of handling the result .
Reduce operator not working if we give more than one validation in where condition , can u help sir?
Can you past your code to see what exactly you are doing
?