on 03-09-2013 11:33 AM
Hi Experts !
Around 8 months before we developed one pricing requirement routine . The logic in this routine was when condition type X appears in pricing then only Condition Y should appear. For first 5 months we did not face any issue but recently in last three months we have three cases where condition Y was determined though X was not available in pricing .
-For all the three cases, in Sales order , condition Y was not determined but in invoice it got determined .
-Item pricing analysis is shown twice for condition type Y . In first analysis -condition Y ignored (Requirement not fulfilled) but in second one shows- condition record has been found .
-Pricing type in copy control for 'Delivery document to billing document' is -G.
-Among the three invoices, two Invoices have only one line item and third invoice has two line items where issue happened for first line item only .
-We have assigned this routine to multiple pricing procedures but issue is happening only in case of one pricing procedure .
I don't understand why the issue not happening for all cases but only for for few .Please help me to solve this issue .
Thanks in advance !
Rachana
Rachna -
Also check that, Did user made changes in those Billing/sales order.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Among the three invoices, two Invoices have only one line item and third invoice has two line items where issue happened for first line item only .
-We have assigned this routine to multiple pricing procedures but issue is happening only in case of one pricing procedure .
1. First of all , I want to know ,How many Line Items ,did you maintain in Sales Order ?
2. May I know , which Pricing Procedure is flowing in Sales order and in Billing ?
3. In Routine , with what Logic ,Did developed with your ABAPer ?
-Item pricing analysis is shown twice for condition type Y . In first analysis -condition Y ignored (Requirement not fulfilled) but in second one shows- condition record has been found .
Did you maintain Condition Records for that ( Only for that Condition Type ) Condition Type in Two Tables in VK11 ? ( You have to check this in VK12 ) .
If you have any doubts please let me know .
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naren,
Pls note
1. First of all , I want to know ,How many Line Items ,did you maintain in Sales Order ?
--Sales order created with 10 line items .
2. May I know , which Pricing Procedure is flowing in Sales order and in Billing ?
-Same pricing procedure determined in both SO and invoice .
3. In Routine , with what Logic ,Did developed with your ABAPer ?
--Logic in routine: If X condition found in komv then the requirement is fulfilled else not .
Just FYI-
IF sy-subrc EQ 0
AND lv_act_flag EQ 'X'.
READ TABLE tkomv WITH KEY kschl = 'X'
kposn = komp-kposn.
IF sy-subrc NE 0.
READ TABLE xkomv WITH KEY kschl = 'X'.
IF sy-subrc NE 0.
sy-subrc = 4.
ENDIF.
ENDIF.
ENDIF.
4.Did you maintain Condition Records for that ( Only for that Condition Type ) Condition Type in Two Tables in VK11 ? ( You have to check this in VK12 ) .
---Condition record is maintain for this condition in only table and every time this has been determined .
Thanks ,
Rachana
Rachana,
-For all the three cases, in Sales order , condition Y was not determined but in invoice it got determined .
Please check the pricing type in VTFL (I presume that the billing is delivery related billing), at item level.
Check if the same pricing procedure is determined at sales order and billing.
-Item pricing analysis is shown twice for condition type Y . In first analysis -condition Y ignored (Requirement not fulfilled) but in second one shows- condition record has been found
Check the data (in the sales order), to see why the requirement was fulfilled, in the second case.
If you can not clearly identify the cause, then take the help of an ABAPer, and debug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi TW,
Please check the pricing type in VTFL (I presume that the billing is delivery related billing), at item level.Check if the same pricing procedure is determined at sales order and billing.
- Pricing type is -G (Copy pricing elements unchanged and redetermine taxes). Also same pricing proc.determined in both SO and billing . Our condition is a tax condition type and it should appear in pricing when X is present . There are chances that due to pricing type-G this must be getting redetermined in invoice but then question is why its not happening for all the invoices .
Check the data (in the sales order), to see why the requirement was fulfilled, in the second case.
-Logic is working properly in Sales order, issue is only in invoice .
Thanks !
Rachana
User | Count |
---|---|
87 | |
7 | |
6 | |
4 | |
3 | |
3 | |
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.