Application Development 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: 

How to set an default value into VL03n->HeaderInformation->Conditions ?

shiz0frenik
Participant
0 Kudos

Hi, experts.

How to set an default value into VL03n->HeaderInformation->Conditions ?
I want ZF00 to count aotomaticly (2.5 %) , like zwb1 ( 20%) .
When i add ZF00 manually and press reacticate it counts correctly (second line of ZF00 at img2), but do it automaticly.

shiz0frenik_0-1712732803367.png   

shiz0frenik_2-1712733013071.png

 

 

 

3 REPLIES 3

DominikTylczyn
Active Contributor

Hello @shiz0frenik 

Looks like you have customized ZF00 condition type but you are missing the condition type determination settings. A condition is automatically determined with Condition Technique 

loioa165ca5341c07114e10000000a174cb4_LowRes

However the catch is that your condition type is a header level one. As per SAP Help on Header and Item Conditions:

Header Conditions
Automatic pricing does not take header conditions into account; you can not create condition records for them in the standard system. Header conditions are entered manually in order processing.


So you want a condition type to be determined automatically you need to defined it as an item level condition.

Best regards

Dominik Tylczynski

 

0 Kudos

Hi, @DominikTylczyn 
I tried to change it to item level, the only thing that changed - i cannot add it manually anymore.
ZWB1 - doesn't have any access seq.
And i still don't understand where it getting 20%.
The ZW01, which  occurs earler at procedure has the access type - ZMWS. But there no values like 20%.(img2).

shiz0frenik_0-1712740584156.png

shiz0frenik_1-1712741053621.png

P.S. I found maybe it getting from OBQ1 t-code (img3), Tax Code - E3.
I copied Cond.type (ZWB1 to ZF00 ) , but there are no record for access in it

shiz0frenik_0-1712750066618.png

 

Solved with adding ZF00 into OBQ1 t-code, with the same access seq. as at ZWB1 
And add a percentage into FTXP t-code.
I don't have an access seq. at V/06 and i think it's getting from OBQ1 in this case.
But application type has changed to TX, it was V before.

shiz0frenik_0-1712833061423.png