Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Header condition in Sales order automatically become available

former_member605939
Participant
0 Kudos
2,145

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.

3 REPLIES 3

VeselinaPeykova
Active Contributor
1,075

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.

former_member605939
Participant
0 Kudos
1,075

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.

VeselinaPeykova
Active Contributor
0 Kudos
1,075

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).