on 08-26-2011 1:02 AM
Hello,
Not sure what's wrong but my MWST won't come in to the sales order unless I go to the header and run "Update conditions" when its an item condition. Everything is in place 1 for customer 1 for MM, access sequence, condition records, pricing procedure but this is what I see in "Analysis" in the Sales Order:
08 010 Access not executed (Requirement 008 not fulfilled)
10 002 Access not made (initialized field)
20 010 Access not executed (Requirement 008 not fulfilled)
Oh and one thing more for the invoice for this order MWST came in just fine. Its just that at the Sales Order there is this error.
Please suggest.
Regards,
George
Dear George Angelo,
This MIGHT be because of the pricing requirement routine 008 (check if it is assigned for your condition type.)
Now in the routine, following is the code
Export / Import transaction
form kobed_008.
sy-subrc = 4.
check: komk-aland ne space.
check: komk-land1 ne space.
check: komk-aland ne komk-land1.
if ( komt1-koaid eq 'D' ) . "Only for tax conditions
if ( at005-xegld eq 'X' ) and "participant european community
( et005-xegld eq 'X' ) and
( komk-stceg is initial ) .
exit.
endif.
endif.
sy-subrc = 0.
endform.
Prestep
form kobev_008.
sy-subrc = 4.
check: komk-aland ne space.
check: komk-land1 ne space.
check: komk-aland ne komk-land1.
sy-subrc = 0.
endform.
Here KOMK fields might not be filled during sales order.
That maybe the reason.
You can ask your abaper to put a breakpoint in the above code and run the cycle in the debug mode.
It will solve your doubt.
Thanks & Regards,
Hegal K Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
I am still stuck. Why would the system do all its checks and pick up the condition record during invoice processing while not during sales order processing.
Below is what I get in the Sales order:
Condition type Message Description
MWST 010 Access not executed (Requirement 008 not fulfilled)
Access Message Description
08 010 Access not executed (Requirement 008 not fulfilled)
10 002 Access not made (initialized field)
20 010 Access not executed (Requirement 008 not fulfilled)
And in the invoice the same pricing procedure finds it on Access 10 as below:
Condition type Message Description
MWST 208 Condition record has been found
Access Message Description
08 010 Access not executed (Requirement 008 not fulfilled)
10 208 Condition record has been found
20 010 Access not executed (Requirement 008 not fulfilled)
Please suggest.
-George
Dear GeorgeAngelo,
As explained earlier, the access is determined by the routine 008.
It will get filled only during the invoice (after delivery).
008 routine is for export scenario and it needs values for the destination country/Departure country .
The same gets filled after delivery (foreign trade)
Thanks & Regards,
Hegal K Charles
Thanks Hegal . K . Charles.
We are using routine 10 for MWST with the code looking like this:
Plant or departure country is set
form kobed_010.
sy-subrc = 4.
if komp-kposn ne 0.
check: komp-werks ne space or komk-aland ne space.
endif.
sy-subrc = 0.
endform.
Prestep
form kobev_010.
sy-subrc = 0.
endform.
When debugging I can clearly see that the code stops here in the Sales Order and the Invoice both. Still no clue why the record is found in Invoice but not in SO.
Thanks for your help so far Hegal. It's certainly propelling to move forward.
Regards,
George
Check the routine assigned in the field Alternative formula for condition base value in the pricing procedure against the MWST condition type. Probably, the netvalue may not be calculated initially.
I also recommend to check any other user exit/enhancements is affecting the population of the plant/destination country details in the sales order.
Regards,
You are right Shiva! On the BasType column there is a routine assigned # 16 (Net Value + XWORKD) which only triggers at the time of Invoice and not Sales Order. The code for it is:
Net value minus the cash discount (cash discount is a negative value)
form frm_kond_basis_016.
xkwert = komp-netwr + skonto.
endform.
I guess the only part that now remains to figure out is that why it doesn't trigger during the Sales Order (I checked in debugging for this). Do you know why?
Regards,
George
Hi
Also ensure that Plant must determine in the Sales Order automatically. If you are maintaining the Plant manually then you will have to update the Price Condition in Sales Order.
Thanks and regards,
Amitesh Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the replies guys. There is no change to the plant manually. Also on header billing tab it doesn't default from Customer master i.e. the "Alt.tax classific." field and it shouldn't anyway. Material master classification is there on item tab. VK11 records are maintained and like I said if I go to the header conditions and do an update then MWST comes in but not while creating the order.
Regards,
George
Hi,
Check sale header billing tab
Tax classification must flow from customer master
Check sales item billing tab
Tax classification must flow from material master
And at last condition record should be maintained with above combination of tax class in VK11
kapil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.