Update  Customer's Credit Exposure amount when saving sales order

Hi All,
My requirement is to update the Credit Exposure amount(KNKK-SKFOR) of the Payer based on the open items for the payer when saving a sales order.
I checked the UserExit USER_CREDIT_CHECK2 however this is not working when I am trying to update the KNKK-SKFOR value in this userexit.
Please help.
Thanks.

Dear Debashish
As per my understanding, this is because the credit limit check is always applicable at 2 levels only i.e. Sales Order and Delivery.
u r talking about Open Billing Doc and Open Items, but this is also covered within Open Sales Orders and Deliveries, isn't it?
Hope this will help u.

Similar Messages

  • I need a Badi that is triggered when saving Sales order in both Va01 and Va

    Hi
    I need a Badi that is triggered when saving Sales order in both Va01 and Va02
    I tried with the following BADI's
    BADI : BADI_SD_SALES
    Implementation : /BEV1/SR_SALES_ORD_1
    Method SAVE_DOCUMENT
    Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
    It is asking for Access key. Which i do not have.
    Should i create a implementation and then create a method and then put my code there?
    Anybody plz help.

    You will probably not find a BADI to suit your needs.  However if you look at include program MV45AFZZ you should find two subroutines:  USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.  You can put the code you need directly into these subroutines.  If these have not been changed yet on your system, you will need an access key to make these changes.
    Please read the documentation in the header of the subroutines for furtner information on when they are called.
    Best Regards,
    Chris H.

  • Direct production order when saving sales order.

    Hi,
    How to create a production order from sales order.ie. When a sales order is saved production order automatically created.
    Thaks and regards
    Harish

    Hi
    For the product that you need to have the production order once the sales order is saved
    Maintain the planning strategy     82     Assembly processing w. production orders  in material master / mrp 3 view
    So once the sales order is created, system automatically do the bom explotion and availability check, routing in background and create the Prodcution order.
    so in Md04, you can see the production order for you sales order qty.

  • Error:G/L account missing when saving Sales order

    Hi Guys,
    I will appreciate your input on this.
    Whenever I try to save a Standard order for a particular material I get the error"G/L account missing. I have checked all the Account assigment settings and they are correct.
    I faced this issue while creating an order for downpayments.This error occurs when we use the material of the kind "make to order".
    Regards

    Hi Pvarinder,
    First please check the customer account assignment group at your sales order header level and material account assignment group at your item level.
    If they are ok then go to Environment->Analysis->Account determination
    As you said the entries are ok in VKOA, so my guess is I think you have some condition type which is not getting the right G/L account.
    Please check and revert with your findings.
    Regards,
    MT

  • When saving sales order Error determining local currency: ER type 'M' date

    Hi experts
    we have created new sales area for intercompany billing process. we are doing testing for this.
    Update was terminated    
    after saviing sales order express document update was terminated received from author
    sales order Error Info...   M2 802: Error determining local currency: ER type 'M' date 02.08.2011.
    i need your input
    thanks

    Dear Manoj Verma,
    Check the pricing date of the sales order.
    Check the valid from date for the currency types/exchange rate type M in OB08
    Now check whether the pricing date in sales order is before the valid from date in OB08.
    If so , make the valid from date in OB08  as the pricing date in sales order in OB08 and then save.
    Thanks & Regards,
    Hegal K Charles

  • User exit not active when saving sales orders

    while creating a sales order (VA01)   i need  to update  the  storage location  based on  division . for this the badis  and user exits  are not triggering   while creating a sales order for the above requirement
    any solution........
    <removed by moderator>
    thanks in advance..
    <Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>
    Edited by: Mike Pokraka on Aug 7, 2008 8:38 AM

    JVP,
    MV45AFZZ this is the include which is trigger while creating SO.
    use  FORM USEREXIT_FIELD_MODIFICATION   to write code.
    your code look like if sy-tcode = 'VA01'.
    update field.
    endif.
    Amit.

  • Credit management how to block amount on particular sales order

    hi,
    Client want to block amount on sales order.
    If customer is having credit limit of 100000 n there are 3 sales order , sales order 1 amount is 50000,sales order 2 amount is 30000 and sales order 3 amount is 40000...
    Now customer is coming n saying I want 40000 amount material of sales order 1.here my client want to block 50000 for sales order 1 so customer can not use amount for other sales order , system will check credit limit is 100000 and out of 100000 system should block 50000 for order 1.
    Solution required...
    If this is not possible then suggest me possible solution.
    please suggest...

    please note what you require is not possible in SAP.
    Therefore there is no standard solution.

  • Run Time Error on Saving Sales Order

    Hello,
    We are facing problem when saving sales order. When order is created and save button is pressed, it saves sales order and gives Order  Number. But while saving the order during update it gives dump due to Data duplication in VBFA while inserting data to VBFA table
    Looking at ST22 log this error is in form VBFA_BEARBEATEN
    Kindly guide.
    Thanx in advance.
    Regards

    Check the Sales Order Number Range.
    It seems either the Number Range is exhausted (completed) or a document with same number is already created in system in past...
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Credit exposure updating even when the sales order is blocked

    Hi,
    We are using FSCM credit management. We observed that the credit exposure is updated even when the sales order is blocked. When we investigated it is found out that SD has removed the requirement 101 in the subsequent functions. The reason is they want the confirmed quantity to be updated even though the order is blocked. This will allow the Material Planning to go ahead and purchase the goods. Is there a way around it where we can have MM see the confirmed quantity in the order and it will not updated the credit exposure?
    Thanks and Regards
    Madhu Vutukuri

    Hi Sravan,
    Please let us know, whether the document is really getting reflected in the blocked documents list for a particular kind of block and you are releasing that particular block in the specified area as we have different areas for releasing blocks. Chances are that in the mean time, the concerned block might have been removed in the system and not updated as it might have been. It will be of great help, if you can provide us with the screenshots of the process followed.
    Regards,
    Aman

  • Trigger an Idoc when a sale order is been opened in VA02 & saved

    Hi Experts
         I have a requirement to trigger an Idoc when a sale order is been opened in VA02 transaction and saved.
    Now that I have attained the same through Message Control Settings and Nace out put type settings with Multiple Issuing.
    Here in the Idoc will be triggered when the user makes any changes in the order based on the NAST table entry.
    Now my requirement is that the Idoc has to be processed even if there is no changes made to the document when the user opens the sale order and clicks save.
    This is the process been carried out to re-process the Idoc.
    Now that the Idoc is triggered using the path ---> menu - extras -output - header- edit & save.
    Now that the user need to process the Idoc by just opening the order  in VA02 and  click save.
    How can this be attained ? is there any configuration for it ?
    Or is it possible to handle the same in any of the user exit ?
    the problem is the user exit save gets triggered only when there is any change in the document else it throws a msg " No changes made"

    Hi Niraj
       Thanks for your Response.
    Now that the output control works fine when there is any change made to the document.
    Now that i need to configure such a way that the output control triggers even if there is no change to the document and save   button is clicked.
    Can U please elaborate how do i make settings in VOFM-> Output Control ?
    Thanks
    Sathish

  • When MSKA (Sales Order Stock) table get updated?

    Hi,
    May I know when MSKA(Sales Order Stock)  table get updated?
    Regards,
    thiyagu

    suppose a sales order has been created of 10 MTS and Production Person give me 5 MTS against the sales order by creating Planned Order& Production Order wrt Sales Order,then 5 MTS will be updated into Unrestricted - Use.
    If suppose Material is Return Delivery ,then after MIGO , it goes to Quality Inspection,then this Quantity will Updated in to Stock in Quality Inspection .
    Hope ,it will help you.
    Best Regards,
    Ankur

  • When copying sales order, its coming as booked (Using custom workflow)

    Hi,
    While copying sales order using custom workflow, if the source sales order is booked, the new sales order is also coming as booked only.
    But in standard workflow, its coming as Entered. Any idea which parameter I need to check?

    Hi Asit Garg,
    Correct me if i am "X".
    You want to trigger the workflow for two different scenario that is 1. when the sales order is changed 2. when the sales order is created with delivery block.
    For the 1. As you said it is working fine.
    For the 2. sales order created with delivery block.
                 Make your workflow to work like this, Whenever the sales order is created trigger the workflow and at first step check for the condition weather the sales order have the delivery block or not if not terminate the workflow through terminating event if not proceed as you wish.
    Hope it will helps you,
    Regards
    Balaji E.

  • Unable to block or throw credit limit message while posting Sales Order.

    Dear All,
    I hv created new customer and extended credit limit through FD32, assigned Risk Categeory and set the limit to 10,000/-.
    When i am posting Sale Order with 15,000 or more value, i am not getting any warning or error message while saving Sale Invoice. No block was set against delivery or billing in Sale Order.
    Kindly guide me, which step i am missing. FYI, customer dont hv any open item or credit exposure as of now becoz he was new customer.
    Regards,
    Venkat

    Option 1
    If your requirement is to go ahead with warning message and allow saving the sales document, maintain A in VOV8 for credit limit check.
    If you want to restrict creating sales order when credit limit exceeded maintain B in VOV8 for credit limit check.
    Option 2
    Now in OVA8 if you click on dynamic option. Make sure you satisfy these requirements
    The customer's credit exposure is split into a static part - open items, open billing, and delivery values - and a dynamic part, the open order value. The open order value includes all not yet or only partially delivered orders. The value is calculated based on the shipping date and the credit horizon you specify in the adjacent field. For the purposes of evaluating credit, you want the system to ignore all open orders that are due for delivery after the horizon date. The sum of the static and dynamic parts of the check may not exceed the credit limit.
    I would recommend with option 1, still if you want to go for option 2
    Then click on Static and make sure you also select open orders and open deliveries.
    This will happen if you select static
    The customer's credit exposure may not exceed the established credit limit. The credit exposure is the total combined value of the following:
    Open sales documents
    Open delivery documents
    Open billing documents
    Open items (accounts receivable)
    You can specify in the adjacent fields whether the system takes into account all open orders and all open deliveries.
    Regards
    Ravi.
    I am sorry i wont be able to add further input than this.
    Dont forget to reward points if you think it was successful

  • Credit Check while creation of Sales Order for Item Category Purchase Req

    Hi Experts,
    We are creating Sales Order using an Order Type ABCD for a material 1000. While creating Sales Order, we use Item categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO).
    Credit Check settings are there at Order Type ABCD as well as all the Item Categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO). We are trying to test a scenario where a customer does not have enough credit limit while creating a sales order.
    When we create a sales order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP), credit check fails because our customer does not have enough credit limit, so that Sales Order gets created and Delivery does not get created (This is what we want), then we go into VKM1 manually and relase the sales order and then if we go to VA02 and check the status of the Sales Order, it says sales order status is complete. My Sales Team is saying here also Purchase Requisition is getting created.
    When we create a sales order for Item category ZOBO, it is going into Purchase Requisition screen. Once we give another plant in the create purchase requisition screen and save it we are getting a message that cannot create Purchase Requisiton because of Credit Block.
    The settings were same for all the Item categories.
    1) What made difference to complete Purchase Requisition for Item Categories (ZOVD, ZOVB,ZOST,ZOVP) and not for Item Category ZOBO when my customer is not having enough credit Limit.
    2) Why Purchase Requisition screen is not coming for us when we create an Sales Order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP). We only get Create Purchase Requisiton Screen for Item Category ZOBO.
    Thanks
    Rajanikanth

    Hi,
    None of the Item Categories has Create PO Automatically.
    Thanks
    Rajanikanth

  • Credit check not reflecting in sales order level

    Hi,Experts,
    I have configured a dynamic credit check,but even if the credit limit for the customer is crossed,still it is not reflecting in the sales document level,and allows me to create the sales order.please guide me as where should I check the error in the system,
    Thanks in advance,
    A.Chakraborty

    yes it is active for order type,and active for item category,as well as the dynamic credit check setting that is the combination of
    risk categoryccaccgrp(for sales order) ,is also done,still when the sales order is created,and even though the credit limit has crossed it is not throwing any message ,which is supposed to appear in the sales order,when we are going to save...
    please revert bach to me,to guide me about any further areas i need to explore within the particular area so far as the setting is concerned.
    Many thanks,
    Anshuman

Maybe you are looking for