2009 Jun 08 3:38 PM
Hi Guru's,
We have developed VOFM routine to Calculate the Gross Margin of the Sales Order.
In the sales order, there are 2 fields, one is Amount Field (KBETR) and another one is condition Value (KWERT).
We need to update both the fields, but if you try to update the both fields we are not getting proper values.
Now business decided to get rid of the KBETR Field value, i want to display the value as 0.00.
Can you guys please guide me how can i change the value after executing the VOFM Routine???
It is calling the Standard Program (SAPLV61A) in the include LV61AA55 it is modifying the values.
How can i do it??? is there any user exit or anything which can change the value in the sales order after the execution of VOFM routine??
Thanks,
Adi.
Hi Guru's,
We have developed VOFM routine to Calculate the Gross Margin of the Sales Order.
In the sales order, there are 2 fields, one is Amount Field (KBETR) and another one is condition Value (KWERT).
We need to update both the fields, but if you try to update the both fields we are not getting proper values.
Now business decided to get rid of the KBETR Field value, i want to display the value as 0.00.
Can you guys please guide me how can i change the value after executing the VOFM Routine???
It is calling the Standard Program (SAPLV61A) in the include LV61AA55 it is modifying the values.
How can i do it??? is there any user exit or anything which can change the value in the sales order after the execution of VOFM routine??
Thanks,
Adi.
2009 Jun 08 4:19 PM
You may try to use the User Exit USEREXIT_XKOMV_BEWERTEN_END in program RV61AFZB. Here you have an access of entire XKOMV internal table.
Regards,
Naimesh Patel
2009 Jun 08 7:48 PM
Hi try this,
loop at xkomv.
clear: xkomv-kbetr. "making the kbetr value as 0.00
modify xkomv.
endloop.
This you need to write in the routine which u've created in VOFM.......i guess u need to create a new routine number say 920 and then assing this in RV61AXXX include as RV61A920.
here in this form routine write the above code.
Get back if you still have problems
2009 Jun 08 7:55 PM
if you are looking to change the values for particular condition type then a routine need to be created and just clear the value where you don't need.
XKOMV-KBETR = space.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |