2020 Jun 23 4:47 AM
Is it feasible that when sales order being created then one header condition become active automatically (so that some value can we updated to it)
Usually while creating the sales order we go to header tab then select the header condition and enter value or from vk11.
My requirement is when sales order is being created then on of the header condition become active automatically ( not to go to header tab and select condition) so that i will update a value to it based on some condition.
After the user can press active tab to activate.
2020 Jun 23 5:48 AM
You already posted the same question Sales Order Header Condition and you wrote that the problem is solved. If this is true - why do you post the same question again? If this is not true, then please continue the discussion in the original question. Cross posting is not allowed according to the Rules of Engagement.
2020 Jun 23 7:16 AM
Ok. This is not the same question as previous, In previous thread i was asking about technically part. that i did the enhancement and part is complete.
Now the requirement is function based that is auto active header condition.
in which i have to updated value.
So i posted separate post.
If you feel this is wrong , in future will post in same thread.
2020 Jun 23 9:48 AM
You cannot be sure that your custom code works without testing it.
You cannot test adding automatically a header condition and populating a value for it without having the required configuration in the system.
By required configuration I mean defining in V/06 your condition type as a header condition and then assigning it in the pricing procedure in V/08.
"Actual" header conditions cannot have access sequence, which means that you cannot determine these via condition records (VK11). This is also explained in note 876617 - FAQ: Header conditions or header condition screen .
There is a blog Header condition type with condition record? that mentions a workaround (also described in note 17217 - No access sequences for header conditions) - setting item condition checkbox in V/06, but in this case this is not exactly a header condition in the sense of note 876617 and not what most consultants would understand when you ask about header condition determination. And if you have determination via pricing conditions you do not really need custom code.
I would strongly recommend that you speak with your functional SD consultant to understand what is the setup and what needs to be done by you (I assume that you are responsible for developing some custom logic, not for the customizing activities).