cancel
Showing results for 
Search instead for 
Did you mean: 

MWST not in SO but OK in Invoice.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member209761
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks Hegal but like I said the system finds the condition in the Invoice but not in the Sales Order. So the same routine gets executed in the Invoice but not in the Sales Order...strange.

I still can't figure it out.

Thanks for your inputs,

George

Lalit
Participant
0 Kudos

Hi George.,

Requirement routine checks the departure and receiver country in sale order to verify if the sale is domestic or a export. but i think it doesent work at the time of invoice creation where pricing is redetermining.

Regards,

Former Member
0 Kudos

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

Shiva_Ram
Active Contributor
0 Kudos

Check whether OSS 1456169 - Error "Access not made (initialized field)" in pricing analysis for a sales document could help or not.

Regards,

Former Member
0 Kudos

Dear Shiva,

That doesn't help because I am using standard fields (MWST in this case). It's still helpful to know about the OSS note.

Any other suggestions?

George.

former_member209761
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Shiva_Ram
Active Contributor
0 Kudos

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,

Former Member
0 Kudos

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

Answers (2)

Answers (2)

former_member188076
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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