Issue during pricing in invoice

Hello everyone,
I have a question regarding pricing during invoicing.
We have a tax condition type used to calculate VAT on free goods sale. As we want tax to be computed based on 'sales order reason' entered during sales order, i created a new condition table with one of the fields as 'order reason' AUGRU assigned from structure KOMV. This table is assigned to existing access sequence and the tax based on order reason is correctly picked up during the order creation.
But this tax condition is missed during the billing creation. The copy control settings are set such that tax conditions are redetermined during billing. Hence the system is trying to redetermine the tax based on order reason. As it is failing to find the order reason during billing, the retrieval of condition record is failing.
I guess the issue is because the order reason is maintained at header level in order but at item level in invoice. In the field catalog of access seq, as i assigned AUGRU to header structure KOMV, the system is failing to find the order reason during invoice as its maintained at item level. I tried to assign AUGRU to item structure KOMP but that field is not available in KOMP.
Please let me know how to get around the problem.
Thanks,
Kits008

I have a full cycle testing.
Now, I understand where is problem occurred.
For sales order pricing, the order reason can pass to KOMK from order header and can be used in pricing determination procedure.
But for billing document, the order reason in "VBRP-AUGRU_AUFT", if you carry out a new pricing , then the system caused a problem like the post.
I suggest you implement the user exit (USEREXIT_PRICING_PREPARE_TKOMK (module pool SAPLV60A, program RV60AFZZ))
If you have further problem, please reply the post.
Flex Yang
FI/CO, MM, SD Certificated

Similar Messages

  • Issue with Pricing in Invoice.

    Hi,
    I have one condition ZIST in my pricing. Whenever I create the invoice manually through VF01, all the items are showing up proper values of ZIST, however header is not showing the proper value (Header is showing the value which is suppose to be at the header minus correction value with respect to rounding off). But when I click on ACTIVATE button on the header pricing screen, system updates the correct value of ZIST.
    If I dont click on activate button then Invoice gets saved with wrong ZIST value at the header.
    I dont know how should I tackle this issue, Do I need to write a code somewhere to carru out the pricing again to update the right value of ZIST.
    Edited by: sanjay kulkarni on Sep 22, 2009 4:00 AM

    Thanks for ur response.
    Actually in my case netwr value is correct and all the line items are also in good shape, problem is only with header level pricing, that too only one condition is showing wrong value and that needs ACTIVATE to click to get updated with correct value.
    In my case its very diffucult to replicate the senario and the one example we have for testing is a huge invoice. Also my pricing procedure has many routines hooked to diffrent condition tyeps. Hence it would be tedious job to debug and see each and every routine from the pricing.
    Still, I would try to do it. But I would appreciate if you can let me know what did your developer do wrong in the routines so that I would also concentrate on the same line.

  • Internal error during pricing in CRM service order

    Hello Guys,
       Here is an issue when i add line item in service order, it pops up with an error message " Internal error during pricing "at header & line item. Its observed that output tax condition type MWST is not called from TTE. Pricing procedure has picked up perfectly & even TTE setting is maintained which in turn calls Tax Calculation procedure 11000. But then we are unable to trace where system is falling to call MWST condition type. Request you to guide me on the issue.
    Regards
    Devika.S

    Hi Devika,
    please refer to following SAP notes:
    559836          FAQ: tips & tricks for CRM pricing
    559876          FAQ: Tricks and hints for the error analysis in pricing
    559866          FAQ: tips & tricks for the IPC installation
    best regards,
    Johannes

  • Carry out new pricing at invoice

    Hi all,
    My requirement is to carry out pricing at invoice and not copy from sales order.
    For this, I goto tcode VTFL and opened copy control for LF to F1. I changed pricing type from C to B but still system is copying price from order and not carry out new pricing automatically at the time of invoice creation.
    please update that what needs to be done.
    Many Thanks.,
    AI.

    I changed pricing type from C to B
    First please dont post the same question related to an issue in multiple times.
    Coming to the issue, you have to test this by creating a new sale order.  Existing orders will not change once you change the copy controls.  It will have impact only on the newly created documents.
    Last but not least, as for as possible, continue your queries in the other thread and close this one.
    thanks
    G. Lakshmipathi

  • I have an issue with pricing condition ZPRO (basic price )

    Hello gurus
    I have an issue with pricing condition ZPRO (basic price ).
    users created a sales order, and the basic price ZPRO which is mannual is added twice ,now i want to put a check so that condition tpye zpro is not accepted twice by the system. please let me know how can i restrict  system from accepting condition type zpro  twice during sales order.
    regds
    Edited by: sapuser09 on Jul 26, 2011 8:44 AM

    Hi,
    Solution for this is very simple. Don't make any changes to the sales order user exit. Use condition exclusion  for the condition type.
    Do customization in the following path of IMG
    Sales and distribution---- > Basic Functions--- > Pricing--
    > Condition exclusion -- > Condition exclusion for groups of conditions
    First  In Define condition exclusion groups you have to define condition exclusion group (ZXXX)
    Then  in Assign condition types to the exclusion groups you have to assign condition type to the exclusion group (ZXXX   ZPRO)
    Then in Maintain Condition exclusion for pricing procedures select the pricing procedure where you have the problem and click Exclusion box present in Dialog structure box
    You will be faced with Change view exclusion overview screen Click new entries
    You will be faced with New entries overview of added entries screen.
    Take serial no as 10 Condition exclusion procedure  as B (Best condition with in condition type) In the exclusion group1 add the exclusion group ZXXX.
    Save it and create order.
    In the order pricing you will again observe that ZPRO appearing twice but only one will be active.
    Changing user exit for this issue is not at all required and it must be only the last resort Try replicating the issue in your sand box system. As I had mentioned it will be picked twice but only one will be active.
    Hope this helps.
    Edited by: mokirala tilak on Aug 10, 2011 10:19 AM

  • Issues during Component Batch Determination for Process Orders

    Hi,
    I am encountering a strange issue during component batch determination of process order.
    1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
    "Log cannot be saved: Object/subobject not specified"
    Message no. BL201
    *Diagnosis
    Log save cancelled because at least one log contains no object or subobject.
    Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
    If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
    Procedure for System Administration
    Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
    The possible values for object and sub object must be configured in transaction SLG0.*
    If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
    Again when the order is in REL status and do the determination, It gives the same error.
    This happens only for a specific plant, In other plants batch determination works in all scenarios.
    I checked for all plant related Config for batch determination and coudn't find any discrepancies.
    Please advise how to resolve this issue. Thanks in advance for your help
    Regards,
    Aheesh

    There Is no direct solution for your requirement just try this work around.
    While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code )  make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
    Regards,
    Ajay Nikte

  • How to find out the changes made during posting the invoice in MIRO

    Hi Friends,
    During posting an invoice in MIRO somebody changed the invoicing party which differs from the vendor which was in PO. Is there any way out to see the record of changes, like who has changed & at what time.
    Replies will be highly appreciated.
    Regards
    Rutabhadra Panda

    Hi Rutabhadra
    you can see the Document change in the Table CDHDR
    t code : SE 16
    table CDHDR
    object : IncomingInvoice
    execute this
    see the change time and name
    Regards
    Vikrant

  • Issue while posting the invoice in background using the WF-BATCH user

    Hi Friends,
      I am facing an issue while posting the invoice in background using the WF-BATCH user. I am using a invoice approval workflow where in when the approver approvers the invoice the invoice document get posted using a background method, which uses BO FIPP and Method POST and i am returning the Message Text to my workflow container from this method. When i see the log an exception is rasied from this method with an error  message "V004: You are not authorized to change this document", but WF-BATCH is having SAP_ALL and SAP_NEW authorizations. If i try to post the invoice using the method from my user id it is getting posted. What could be the issue. Please advice.

    Hi Sapient,
    The Parameter, Roles would be different for the LOGIN USER and WF-BATCH.. So ask your administrator
    to set the Roles & Parameters similar to that of LOGIN USER to WF-BATCH.
    For further refrence check in SU01 giving the LOGIN USER and then check with WF-BATCH... you would
    find the difference...
    Hope this would help you..
    Good luck
    Narin

  • How to block material issuing after sales order invoiced?

    As the subject mentioned,  could be a possible to block material issuing since sales order invoiced, or
    in the another words, after the sales order completed?
    Or could be a possible to set sales order as closed, and then material issuing related with this sales order are
    forbidden?
    Thanks in advanced,
    Zhou Zhen

    Dear Friend
    A sales order is created say order no 10000 and for material X say 10 units this order is delivered and PGIed and invoiced and the payment too has come
    That means the order 10000 is closed
    Case 1
    Now an user goes to VA02 t code and put this order no 10000 and changes the material X qty from 10 to 12 and opens up the whole order once again
    This can be controlled by using t code OVAH choosing message class the V4 message no 083 and change from warning to error
    Case2
    But to avoid the user to add material Y to the existing order say 10000 then i think we have to go for user exit
    Because the system doesnot even throw a warning message too in case 2 (according to my knowledge) and allows another line item to be added in the same order
    But you can test it if it throws any warning message we can try to convert that error
    But in case 2 it is not happening(even warning is not there)
    Regards
    Raja

  • Issue during automatic Creation of Work Order from Notification

    Hi,
    I have a issue during automatic Creation of Work Order from Notification.
    BADI implemented: NOTIF_EVENT_POST
    BAPI called in BADI: BAPI_ALM_ORDER_MAINTAIN
    I am able to create Work Order successfully but after that i need to update notification header with created work order number.
    But i am unable to update the same (VIQMEL-AUFNR).
    Can anybody provide solution for the same!
    Thanks,
    Kumar.

    Hi,
    Any inputs on above posted issue!
    Thanks in advance.
    Thanks,
    Kumar.

  • Automating Goods issue during Delivery creation

    Hi all,
    We have a requirement to automate the Goods issue creation for certain type of orders when the Delivery is getting created. The orders that need to be automatically Goods issued during delivery creation are identified based on certain plants. These plants are linked to certain output type and in the output type routine is the standard program RVADEK01 with one additonal code for automating the Goods Issue creation.
    We have a custom table that holds the status of orders and there is a code in user exit userexit_save_document_prepare which changes the status of the order as closed when the goods issue is done.
    But when the delivery is saved, in this case when an automatic goods issue needs to happen, when the flow reaches this user exit, the output type code dosenot get executed and the Goods issue is not done and so the custom table will not be updated with the closed status. So we are in need to findout a place where we can update the status of the order in that table.
    The output type code is not executed even before the other user exit userexit_save_document. The output type code gets executed and goods issue is done after the this userexit_save_document when the COMMIT statement is executed in the subroutine BELEG_SICHEN_POST in the include FV50XF0B_BELEG_SICHERN.
    I need help in finding out if any user exit or badi is called after this commit statement, so that I can add my code to close the status of the order in my custom table. Just after this commit the Goods issue happens and the VBFA table gets updated with the 'R' records for goods issue.
    Please let me know if anyone has any idea on this. The ultimate goal is to find some place after the goods issue is done to update the status of the order as closed in the custom table we have.
    Thanks,
    Packia

    Dear Siva,
    As informed yesterday I changed the language from DE to EN, to match the other shipping points settings in table V_TVST, this did not bring the solution.
    Please let me summarize, I am really desparate here:
    This is only IM related, Not WM.
    Picking lists are not printed for any Shipping Point from this warehouse, this is just a small subsidiary of my customer in Finland.
    Issue is not Aut. PGI.
    VP01SHP has not been configured for any shipping points, still there we do get the PR except for the new shipping point.
    In the deliveries of correct processed shipping points  I do not find any picking output type.
    Item category in new shipping is equal to Item category in already existing shipping points, so no need to config here.
    There is no picking block active.
    PR creation happens once I enter the pick qty in the delivery in VL02N. This is the part that we need to have automated.
    Can you please try to help me out?
    Tnx & regards,
    Chris

  • See total during creation of invoice

    Hello,
    I create an invoice using di-api. I read data from a file and insert this into the db.
    But in this file tax is rounded on 2 decimals.
    After creating the invoice it can happen that the invoice in SBO is 1 eurocent more or less then in my file.
    I want to put this cent into expenses on the invoice.
    My problem is that, during creating the invoice, I cannot see the document total. Only after creating, but then I cannot change the invoice anymore.
    rgds,
    John

    Thank you.
    I will consider this.
    Regards,
    John

  • Error 102 Access not made (initialized field) during pricing analysis in item level of Sales Order

    Hi SAP Experts,
    Good day!
    I am facing an issue in Pricing Analysis of a Sales Order Item level which is Error 102 Access not made (initialized field).
    Details for ZICT condition Type:
    Access Details:
    *ZINTER is originally used in billing and was decided to also use for order.
    There is no problem involved in billing.
    Please take note that I already found other discussions and an OSS Note regarding this issue and applied the suggested solution. But still I encounter an issue in the order created.
    After implementation of the proposed solution which is moving Material type(MARA-MTART) and Valuation Class(MBEW-BKLAS) to the corresponding fields TKOMP-MTART and TKOMP-ZZBKLAS.
    ZICT Condition Type details:
    Access details:
    As I mentioned above, I already followed steps in previous discussion.  It seems odd that there is still a problem. Can you please enlightnen me up and advice if there are things that I still  need to know.
    I am hoping for your response and help with this matter.
    *NOTE: The development Box that I am using is an ECC6 Upgrade development system

    Hi Please find the attached screenshot. Hopefully this will be of help.

  • Issue in Pricing Formulae

    Hi Sap gurus,
    I am facing one issue in pricing. I am getting this error in my effective pricing condition.
    "Inactive via formulae of incorrect". Can any body please give me some lights on the issue?
    Thanks.
              chetali

    Hi Chetali,
    As per your error mssage I came to know that this is related to some routine issue which is assigned to that 'effective pricing condition'
              So, Please check the settings related to the requirement ,alternative calculation type and alternative condition base value routines of that condition type.
    Also check the logic involed in the routines with the ABAPer help.
    I hope it will help you
    Regards,
    Murali.

  • Issue on Pricing

    HI SAP Gurus,
    Could any one help me out with an Issue on Pricing
    The need is
    Our company sells consumer goods through our website store. We introduced a coupon system. The coupn system is that if u r a coupn member (means employees of the organisation) and if u put ur coupon no then the customer will be entitled for a discount of fixed Percentage.
    How i put the values of coupn in pricing procedure,
    Could any one help me out in this procedure
    Thanks in advance
    EDIE
    Edited by: Edie Edie on Jan 8, 2008 11:24 PM

    hi warwick,
    we r not using condition records, so no acess sequence, we r manualy updating the conditions value in  the pricing.
    Is there any way to create  a service material and put in the item level of Sales  order with the name coupn, so 2 items in  sales order, 1 is the main item and 2nd the coupon
    1st item we put the price, 2nd item we put the percent discount for coupons, because we dont want to see this coupon discount in first item pricing
    thanks in advance
    Edie

Maybe you are looking for