2013 Mar 19 2:02 PM
Hi all,
I want to add one condition type in sales order VA01 Header.
For Example ZIHC cond.type is available for Header area.
normally how we are proceeding means, we have to go condition tab and press insert button and added that condition and value.
but i need to be add those things through program.
any user exit is available for these? also anyone provide sample code for adding condition type in header using enhancements.
Regards,
Bastin.G
2013 Mar 19 2:11 PM
2013 Mar 19 2:15 PM
Yes Raymond thanks for the reply,
Read it already,and found some of the exits like USEREXIT_PRICING_PREPARE_TKOMK.
now i want to add my condition type there with the values in header area.
Any Sample code for that?
2013 Mar 20 10:27 AM
2013 Mar 25 6:42 AM
Hi,
You can get the values of the header from XVBAK YVBAK structure and use them in the user exit which you have mentioned.
Regards,
Ravi.
2013 Mar 25 8:50 AM
Hi Ravi,
if i add those corresponding values in XKOMV structure also,
its appending in XKOMV structure but values are not stored and didnt get output
Regards,
Bastin.G
2013 Mar 25 11:33 AM
Hi Bastin,
Try with requirements (VOFM subroutines) in your pricing procedure. Do the proper settings for the condition in V/06 (header condition, and so on), and create your own VOFM subroutine and manage if it works or not. Set this VOFM requirement in your pricing procedure (V/08). For further information, please, see these notes
SAP Note 156230 - Requirements: What is permitted, what is not?
SAP Note 327220 - VOFM function and its objects
I hope this helps you
Regards
Eduardo
Message was edited by: Eduardo Hinojosa
2014 May 16 4:46 PM
Hi Bastin,
I now have the same requirement. Did you found a way to insert the header condition in the sales order?
Kind regards,