How to place a credit block on a Sales order

Hi All,
I am creating a scenario for testing in which I have to place a credit block on a Sales order. How do I do that. Please help.
Regards,
Shanu

>
Shanu Jain wrote:
> Hi Ravi,
>
> Thank you for the response. If I want to get the error of credit block while creating the Sales order itself (when I am trying to save the Sales order) what settings we need to do besides making the credit limit zero for that customer in FD32?
>
> Regards,
> Shanu.
Hi Shanu,
Just do simple debugging and change the field  value , it will automatically solve your purpose , with this there is no need to change the configuration etc.
pls put the break point at ..
1) Goto tcode se38. Here input SAPLVKMP and then press display.
2) here you can see lot of includes , here pls double click on the include LVKMPF0A.
3) Here you will see the code like..
open values  > creditlimit
  IF SCC_SUM_OPENS GT SAV_KNKK_KLIMK.     :> place the break point here
    PERFORM MESSAGE_EXCEEDED_VALUE USING SCC_FLG_ORDER SCC_SUM_OPENS.
    MOVE CON_RC_NOK TO SCC_RC.
  ENDIF.
4) And now do the sales order , the cursor reaches here , then in the debugging mode change the value of SCC_SUM_OPENS  to more than SAV_KNKK_KLIMK.
5) And then press f8 , now you will get the desired result , ie your order will have a credit block.
Hope this will help you.
Regards,
Vvieks

Similar Messages

  • Credit block in a sales order

    Hi All,
    Is it possible to find out who has released a credit block in a sales order. Is there any table or T-CODE .
    Normally , it is displayed in the Change log of  the sales order . But in our case  the change log is not showing any details of the credit block . Can there be any reason why it is not showed in the Change log .
    Please help .
    Regards,
    Pallavi

    Hi
    Please try this:
    Pass  VBELN to CDHDR table as OBJECTID along with OBJECTCLAS = VERKBELEG To Fetch CHANGENR (Document number) 
    Pass CHANGENR, and VBAK-VBELN, OBJECTCLAS =VERKBELEG, TABNAME=VBAK and FNAME=FAKSK into CDPOS table to
    Fetch CHANGENR
    Pass the CDPOS-CHANGENR as CHANGENR and OBJECTCLAS = VERKBELEG into CDHDR table again to get change details.
    P.S. If sales order was blocked and unblocked by some one, it should display in Change log of sales order.

  • Credit Blocked 3rd Party Sales Order confirm quantity change discrepancy

    Hi,
    I am facing the below 3rd party SO qty change issue. Please check and advise me.
    Step 1:
    Created one 3rd Party SO for item A - 10 qty.
    Step 2:
    PO is created with reference of PR number (item A- 10 qty).
    Setp 3:
                Again I am changing the SO item A qty from 10 to 20 (i.e. SO value is increased).
                Due Sales order value increase the credit check performed and due to customer credit
                limit the system shown Static Credit Block message (SO  blocked for Credit approval).
    Setp 4:
    I have saved the SO with the Credit Block message (still SO Credit Blocked).
    Issue :
    I have not released the Credit block in SO, Even the system has updated the SO confirmation qty as 20
    and subsequent PR and PO also changed from 10 to 20 qty.
    Regards
    Baskar

    See, the Credit Management System is designed to work in the SD side & not on the MM side.
    Once PR is created, it is updated every time Tird party Sales Order changed which is basic requirement.
    Once PR is created / updated, system (Credit Management) cannot the creation of PO & subsequent documents. This is becaus Credit Management is desinged to block creation of Sales Order, Delivery Document & PGI & nothing more.
    That is why I suggested you to go to Z-Development & apply a User Exit.
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • Regarding work flow for credit block release in sales order

    Dear Experts,
    Kindly help me with work flow-
    my scenario is if customers credit limit of 5000$ exceeds in sales order it should be blocked and notification should go to authorize person through simple mail to release this block.
    for this i have done settings in out control i have used output type krml and determined partner as employee responsible to release block in customer master but mail is not triggered to authorized person for credit block and how i can create work flow for this so that authorized person should get notify for credit block as well he releases block also.
    Regards
    Supriya

    Dear supriyaparimal,
    Please find the below points to fix your issue.
    1. Configure the out put determination by using the condition type KRML.(Hope oyu have done it already).
    2.Maintain the condition records in VV11 for condition type "KRML"
    3.Then select the condition record and click the communication tab .
    4. If you want to give any information you can use "Note for recipient".
    5. If the information has to be sent to relevant person you recipient name in the recipient column.
    Save the documnet.
    If you raise the sales order and if it is blocked then system automatically send the information to respective person.
    You can get this in formation in ""SBWP" transaction code.
    Check the in box, the information what you have mentioned in the condition records will be appeared.
    Please let me know if you have any clarifications
    Thanks&Regards
    raghu.k

  • Credit Block for released sales order

    Dear All,
    I have got one issue. There is a sales order which was created earlier say 15 days back. It went into the credit block at the time of saving it. It was released through VKM3 too.
    Now when i change any field in the sales order today, it is going into the credit block. We are not changing any value of any of the item. Just maintaining the Billing block in it or remobving the Billing block.
    The number of days maintained in the OVA8 are 182. So as per the standard functionality it should not go into the credit block for any change in the sales order like changing the billling date or changing the billing block.
    Can you please let me know what might be the reason for this sales order to go into the credit block..??? Any help is very much appreciated.
    Thanks and regards,
    Vishi.

    Dear Vishi
    Please check if you have checked the critical fields option.
    Credit check against critical fields (fixed value dates)
    The indicator controls the critical field check. If the field is selected, the system checks whether critical fields have been changed.
    Use
    If a check is carried out, the following fields are relevant:
    Payment terms
    Additional value days
    Fixed value date
    Note
    Use this type of check for sales documents only.

  • How to see masked Credit Card number in Sales Order !!

    Hi,
    In our SAP system credit card enceryption is activated. Certain users want to see the credit card number in the sales order change/display screen.We are in SAP ECC 6.0.
    Please let me know how we can achieve this.
    Thanks
    Ambuj

    Dear Ambuj,
    There is no possibility to view the credit card number unmasked in the sales order. You will always get the masked number even if you have C4 authorisation ('C4' action for the V_VBAK_AAT authorisation object). You can view the unmasked credit card number in transaction XD02/XD03.
    If you use BAPISDORDER_GETDETAILEDLIST to view the order then the C4 authorisation will be checked and the unmasked number will be displayed (if the user has this authorisation).
    If you have access to OSS notes then please check 836079 (FAQ: Credit card encryption and master data) and 766703 (FAQ: Credit card encryption in R/3 systems).
    I hope this helps.
    Best regards,
    Ian Kehoe.

  • Availibility check not happening after credit block is removed for order

    Hi All,
    When  we are removing the credit block on  a sales order through report RVKRED09, the availibility check is not performed again because the qty in sales order is not confirmed.
    As per my understanding when the report RVKRED09 is run, the sales order is called in background and the credit status is changed  and then subsequently, the user exit MV45AFZF is called. In this exit, the values in wa-ybuk-cmgst is compared against wa-xbuk-cmgst. if  i think wa-ybuk-cmgst is A and wa-xbuk-cmgst is B, then it means the credit blocked is removed and the return code is 8 which means availibility check is to be performed.
    However in our case availibility check is not happening since the values of wa-ybuk-cmgst and wa-xbuk-cmgst  are same which is B i..e the credit block is not removed...but however the report RVKRED09 shows that cedit status is changed.
    Something is happening somwhere  which is causing this. could any one guide. Also what is the program name which confirms the availibility check in sales order and also what is the program name  which changes the credit status  for a sales order in VBUK table.
    regards
    sachin

    Hi
    So as per your query , you have gone with the user exit in the program MV45AFZF , so check wheather any subprogram has been included where availability check wont happen.So just take the help of ABAP;er and then check wheather any program has been included related to availability check.
    Regards
    Srinath

  • How/ where to  check output type while saving sales order for confirmation

    Hi All,
    Could you anyone pls let me know How/ where to  check output type while saving sales order for confirmation.
    Present scenario : when the Sales Order is created the Order confirmation is sent irrespective of credit block of the sales order.
    Requirement : Order confirmation “ZA00” sent to the partner only for those Sales orders which does not have credit block and ZCLE sent to the partner if the order has credit block.
    Now i want to know where exactly to check the output types "ZA00" and 'ZCLE' based on the credit block to send the confirmation to partener.
    Quick help highly appreciated......
    Preetham

    Hi Santosh,
    Thanks for the info. But here in this case I have to send the confiramation based on credit limit check. If credit limit check exceeds "ZCLE' should go as confirmation else 'ZA00' should go as confirmation.
    Where can we check the credit limit whether it exceeded or not. My doubt is whether it is config issue or do we need to write code user exit or routine to send the specific output type for confirmation.
    Thanks & Regards,
    Preetham

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • How is a Billing Block on a Sales Order manually removed?

    Hi friends,
    I want to know,How is a Billing Block triggered on Sales Order due to pricing intolerances is manually removed,even if the intolerances are not corrected.
    Regards,
    Imran.

    u have to check ur config setttings , it depends ?
    Regards
    Peram

  • How to block inventory at sales order level

    Hi to all,
                i am using sapb1 2005 pl36 i want to block invetory at sales order level means what i want, if any user create sales order of item1 if instock qty of that item1 is 10 and commited is 10 then availabale inventory is 0 nos .means sales order  should not posted it should be block at sales order level.so how it can possible .if it possible through addon pls send code of perticular.i will await for positive reply .
    Regards,
    Vishal

    Vishal,
    You can use Application_FormDataEvent to block the add.
      Private Sub Application_FormDataEvent(ByRef args As SAPbouiCOM.BusinessObjectInfo, ByRef bubbleEvent As Boolean) Handles MyApplication.FormDataEvent
        If args.BeforeAction Then
          Select Case args.EventType
            Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
              ' get document form
              Dim form = MyApplication.Forms.Item(args.FormUID)
              ' get docucment matrix
              Dim matrix = DirectCast(form.Items.Item("38"), SAPbouiCOM.Matrix)
              For row = 1 To matrix.RowCount
                ' get ItemCode
                Dim ItemCode = DirectCast(matrix.Columns.Item("1").Cells.Item(row).Specific, SAPbouiCOM.EditText).String
                ' Do a query on inventory or use Company object
                ' If a line is not allowed block adding the order:
                bubbleEvent = False ' order is now blocked!!
              Next row
          End Select
        End If
      End Sub

  • Check Credit and Stock on Sale Order

    Hi All
    Could you please tell me how to check Credit and Stock on Sale Order.
    Thank and Best Regard
    Thang

    How To Do Configuration For Credit Management
    Credit and risk management takes place in the credit control area. According to your corporate requirements, you can implement credit management that is centralized, decentralized, or somewhere in between. 
    An organizational unit that represents the area where customer credit is awarded and monitored.   This organizational unit can either be a single or several company codes, if credit control is performed across several company codes. One credit control area contains credit control information for each customer.
    For example, if your credit management is centralized, you can define one credit control area for all of your company codes. 
    If, on the other hand, your credit policy requires decentralized credit management, you can define credit control areas for each company code or each group of company codes. 
    Credit limits and credit exposure are managed at both credit control area and customer level.  You set up credit control areas and other data related to credit management in Customizing for Financial Accounting. The implementation guide is under Enterprise Structure -> Definition or Assignment -> Financial Accounting and then Maintain credit control area. You assign customers to specific credit control areas and specify the appropriate credit limits in the customer master record.
    Settings for determining the credit control area of a document.  The settings of items 1 - 4 are taken into account according to their priority.  The credit control area found is stored in field VBAK-KKBER.
    1. Transaction OB38
       Check which credit control area is assigned to the company code.
       Company code:
       Credit control area:
    2. Transaction OVFL
       Check which credit control area is assigned to the sales area.
       Sales area:
       Credit control area:
    3. Transaction XD02 or VD02
       Check which credit control area is assigned to the payer.
       Payer:
       Credit control area:
    4. Transaction SE37
       Is user exit EXIT_SAPV45K_001 being used?
    5. Transaction OBZK
       For the settings under items 2 - 4, field "All company codes" must be marked in Transaction
       OB45, or the credit control area must be entered under the relevant company code in table
       T001CM of the credit control areas allowed.
       Company code:
       Credit control areas allowed:
    6. Settings for the credit checks
    7. Transaction OVAK
       Which settings do exist for the sales document type used?
       Sales document:
       Check credit:
       Credit group:
    8. Transaction OVAD
       Which settings do exist for the delivery type used?
       Delivery type:
       Credit group for delivery:
       Credit group for goods issue:
    9. Transaction OB01
       Credit management/Change risk category
       Definition of the risk category for each credit control area. This risk category can be
       assigned to a credit account by using Transaction FD32.
    10. Transaction OVA8
        Here, the individual credit checks for key fields
        o credit control area
        o risk category
        o credit group are set. Take these key fields from the above settings and go to the detail
          screen. In particular, check whether fields "Reaction" and "Status/block" are set
          correctly. To carry out follow-up actions in case of a credit block, the credit check
          status must be set (field "Status/block").
    11. Transaction FD32
        Credit master data for the payer of the relevant document.
        Credit account:
        Credit limit:
        Risk category:
        Currency:
    12. Settings for updating the credit values Update of the credit values is required for the limit
        check (static or dynamic credit limit check).
    13. Transaction OVA7
        Update of the credit value is active for the corresponding item type if the check box is marked. This field corresponds to 
        field "Active receivable" in Transaction VOV7.
        Item type: 
        Active receivable:
    14. Transaction V/08, Pricing
        In the pricing procedure used for pricing, subtotal "A" must be entered in a line for
        determining the credit value (mark the pricing procedure and doubleclick on "Control").
        Usually, the net value plus taxes is used. This way the system is determined to use this
        subtotal for credit pricing. The credit price is stored in field VBAP-CMPRE and used for
        update and credit check.
        You can find the used pricing procedure of the order under "Item -> Condition -> Analysis".
        Pricing procedure:
        Line with subtotal = 'A':
    15. Transaction OB45
        Which update group (field "Update") do you use in the relevant credit control area? The
        default setting is "12". If you use another update group, check whether this is fine with
        you. If you open an OSS message, please tell us the alternative update group.
        Credit control area:
        Update:
    16. Transaction OMO1
        Which kind of update did you choose for structure S066? 
         In any case, "Synchronous update (1)" has to be chosen as the kind of update. 
         All other settings will lead to errors
    Regards
    Raja
    Edited by: ramanathan raja on Jul 25, 2008 4:37 PM

  • How to enable user sets from tools in sales order

    Hi,
    How to enable user sets from tools in sales order..it is greyed out..
    and is there anyway we can do to add shipsets from other place?
    Thanks

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • Credit management for Old sales orders

    Hi experts,
    pls consider the follwing example where i am facing some problem.
    I activated the Credit lock system in Sales order level (Warning message with release strategy)and in PGI. (Warning message with release strategy).
    Customer A
    C.limit : 10000
    Outstanding : 7000
    Sales value(Without pending sales order value): 2000
    Eli gable new sales order value  1000
    Pending sales order value 5000(Sales order no 111)
    Now if i process this old SO no 111 in VL01N i am getting error that Order blocked due to credit limit. But i activated dynamic credit control only in sales order and in PGI.Not activated in VL01N level.
    Awaiting for your valuable reply.
    Thanks
    SR

    Hi
    1.KIndly check in the sales order that you have maintain the payment guarentee procedure because of this the system is not allowing to do the delivery
    PATH: VA02sales order no-Go toItembilling document---payment guarentee procedure
    so kindly check that and remove or assign the financial document to that for processing the billing
    2.Check the credit lock procedure is release or not
    By doing above the issue will be resolved,kindly check and confirm.
    if you have any further clarifications let me know
    REgards
    Damu
    KIndly check the belwo

  • Blocking Quantity in Sales order

    Hi,
    We have a requirement to block Quantity in sales order.
    PP is not integrated with Sales order, its a MTO ( but actually client does not follow MTO in SAP)
    Once the production is completed for that sales order......he want to block the sales order quantity either manually or automatically ( they use a z transaction to declare production complete against sales order ) but this should not stop him doing delivery and billling.
    Please let me know how can we do this.
    Thanks
    Venkata Rama Reddy.K

    Hi,
    The Process goes this Way
    Sales order is created and confirmed ( by mail ) to PP that production should be started.
    PP completes the production and they update the qty against sales order number in a z transaction once production qty matches work order qty. the z transaction stops adding qty in this z t.code.
    What customer wants is once they update this ztransaction with complete Qty ( which equals sales order Qty) , the sales order item quantity should be locked automaticallly so that quantity can not be modified once this z transaction is completed.
    Hope this information provides clarity.
    Please suggest a solution.
    Thanks
    Venkata Rama Reddy.K

Maybe you are looking for

  • With you Help, I got my Apple TV working in the Bahamas

    Now, I'm back in the States and I brought it back with me.  Now I don't get Netflix, etc.  It must think I'm still in the Bahamas.  How do I reset the Apple TV. Thanks GP

  • NOTE TO PAYEE

    Hi The requirement is as below EBS is loaded into SAP and when it is processed, the open item gets cleared automatically and a clearing document is being generated. Client requires that the NOTE TO PAYEE info to be captured in the TEXT field of the c

  • Typo in email notifications

    In the email notifications that are sent when a thread is updated, there is a section that lists the topic of the post. There is a typo there-- POst is incorrectly capitalized. Message of the POst Subject: Re: Workaround for a Database TriggerObvious

  • Right click...copy (grabbing a picture)...???

    Another migration from Windows to Mac question. On the former, if you see a picture on a webpage that you want to take a copy of, you right click it with the mouse and then Copy/Paste it into another document. How do you do this on Mac (know right cl

  • IPhone3GS and icloud usage

    I've just uploaded the iOS 5 and iTunes gave me 2 error reports. Then, I dealed with this problem and upgraded to iOS5. Now, i would like to know if i am able to use iCloud with iPhone 3GS or what I can do for using it? Thank you.