CREDIT MANAGEMENT - EXPOSURE CALCULATION USER EXIT

Hello Folks
I am looking for a solution to a peculiar problem we have in credit management.
In case of Drop Ship sales order life cycle, the system automatically creates two line items per sales order - one each for Freight and Handling Fees. these are NOT relevant to schedule line delivery, nor are they billed to the customer along with the material billing. The default update rule for credit control area concerned is 12. The system, on finding line items not relevant to schedule line delivery automatically switches from rule 12 to 18. This leads to Open Deliveries field (S067-OLIWW) being updated instead of Open Orders (S066-OEIKW) on saving the sales order.
Once the sales order is billed for the material, the system should logically display net value as zero for the open order (as the 2 lines of fees and freight are not yet billed, the order is still open). But the system considers this figure at SALES DOCUMENT HEADER level and considers the net value as the total value of the sales document (including the material that is already billed).
What I am looking for is if there is an exit available whereby the system considers only those line items whose billing status indicator is "not complete". As such, the net value should be updated to the S067-OLIKW field net of the billed items.
Please advise if there is any such user exit available. Also, is there a way to customize this? We are exploring this at our end, but would appreciate an expert advise. Right advise will be awarded with brownie points
Regards
Mandar Barve

Hi,
Actually I have got some User exits for credit checks...
LVKMPTZZ
LVKMPFZ1: USER_CREDIT_CHECK1
LVKMPFZ2: USER_CREDIT_CHECK2
LVKMPFZ3: USER_CREDIT_CHECK3
And trying with that also but looking for any other solution if it is available..
And using another Sales Document Type is not possible in this case..
Any inputs...?? anybody???
Thanks..
HP

Similar Messages

  • Sales Order Line Items User Exit - Credit Management/ Exposure Calculation

    Hello Folks
    I am looking for a solution to a peculiar problem we have in credit management.
    In case of Drop Ship sales order life cycle, the system automatically creates two line items per sales order - one each for Freight and Handling Fees. these are NOT relevant to schedule line delivery, nor are they billed to the customer along with the material billing. The default update rule for credit control area concerned is 12. The system, on finding line items not relevant to schedule line delivery automatically switches from rule 12 to 18. This leads to Open Deliveries field (S067-OLIWW) being updated instead of Open Orders (S066-OEIKW) on saving the sales order.
    Once the sales order is billed for the material, the system should logically display net value as zero for the open order (as the 2 lines of fees and freight are not yet billed, the order is still open). But the system considers this figure at SALES DOCUMENT HEADER level and considers the net value as the total value of the sales document (including the material that is already billed).
    What I am looking for is if there is an exit available whereby the system considers only those line items whose billing status indicator is "not complete". As such, the net value should be updated to the S067-OLIKW field net of the billed items.
    Please advise if there is any such user exit available. Also, is there a way to customize this? We are exploring this at our end, but would appreciate an expert advise. Right advise will be awarded with brownie points
    Regards
    Mandar Barve

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • Credit Check- exposure calculation comprehensive of Vendor Items

    Dear Gurus,
    my question is: how is possible to comprehend in the Customer Exposure's calculation, also Vendor items, if the Customer is also a Vendor.
    An example
    Customer  code: 12345; in master data has the vendor code:  00001
    Vendor code 00001; in master data has the customer code: 12345
    Customer 12345 exposure: 50.000 dollars
    Vendor 00001 open items: 5.0000 dollars
    In FD32 i would like to see as accounting exposure the difference between 50.000-5.000= 45.000
    Is it possible?
    Thank you in advance.
    Sonia.

    Hi,
    I was not able to find a user exit for credit exposure determination but you can follow this. You need help from FI guys. Now since: Credit exposure = open ordersopen deliveriesopen billingtotal receivablesspecial liabilities.
    Now ask FI guys to calulate total receivables for this customer and subtract vendor open items and update the KNKK-SKFOR or KNKK-SSOBL field. So either you can create a custom program to do this or a user exit within FI.
    Once that is done. credit exposure should be what you wanted to set.
    Thanks
    Robin

  • Set Credit control status in user Exit LVKMPFZ1

    Dear all
    we like to set the credit control status in the above mentioned user exit. Is there a better way than
    *VBUK-CMGST = 'B'.
    MODIFY *VBUK.
    Is there a FM, Bapi or something that can be used?
    Thank you
    Herbert

    User Exits For Credit Checks And Risk Management
       Credit Check
         If you want to carry out your own individual credit checks, that differ
         from those in the standard system, you must define them in the following
         user exits:
         o   LVKMPTZZ
         o   LVKMPFZ1: USER_CREDIT_CHECK1
         o   LVKMPFZ2: USER_CREDIT_CHECK2
         o   LVKMPFZ3: USER_CREDIT_CHECK3
         User exit for availability check
         User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
         This user exit allows you to determine whether the system should or
         should not carry out an availability check after a blocked document has
         been released or after a new credit check.
       Risk Management for Receivables
    Regards
    Prabhu

  • Credit Management Routin - Credit Exposure User Exit

    Dear SDNs,
    I have requirement in Credit Management.
    I have activated Credit Management and working fine. Client requirement is: To deactivate Cedit Check if it is the case of LC (Letter of Credit). I have written a routin in OVA8 > Document Controlling > No credit check. Here I have checked the field LCNUM of Table VBKD which is there in Sales Order > Billing Tab (Header) > Financial doc. no.
    It is working fine again. But here this LCNUM activates Foreign Trade. So we used other Z-Field called ZLCNUM. Again it is working fine. But after using ZLCNUM we noticed that the Credit Exposure has started getting updated.
    So now I am looking for the solution.
    Can I go for any User Exit of Credit Exposure?? If yes, which User Exit can I use.??
    If any other solution is there.. Do respond.
    Quick reply would be highly appreciable...
    Thanks,
    HP

    Hi,
    Actually I have got some User exits for credit checks...
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    And trying with that also but looking for any other solution if it is available..
    And using another Sales Document Type is not possible in this case..
    Any inputs...?? anybody???
    Thanks..
    HP

  • What are the user exits available related to Credit Management?

    What are the user exits available related to Credit Management?
    <b>I have blocked users from releasing SO through Tciode VKM3 , now I want to block
    the same (releasing of SO through VKM4) ,I want VKM4 to be used only for releasing delivery orders. Can anyone help me in configuring the same?.</b>
    Thanx in advance,
    Regrds,
    Binayak

    Hi,
    User Exits For Credit Checks And Risk Management
    Credit Check
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Risk Management for Receivables
    RVKMPUS2
    Using this user exit, you can define new forms of payment guarantee.
    Regards,
    Amrish Purohit

  • Using user exit. ( LVMPTZZ, LVKMPFZ1). used in Credit Management

    Hi
    How to find  using user exit. ( LVMPTZZ, LVKMPFZ1). used in Credit Management .
    Plz provide path
    Regards
    Rohit

    Hi,
    You can find exits through transactions# SMOD & CMOD also.
    Regards
    Chandra

  • Credit Management: User Exit LVKMPTZZ and LVKMPFZ1

    Hi,
    I'm trying to implement crdit management and have a special requirment which is not satified by the standard risk control checks.
    Hence i'm planning to implement the USER1 check in the risk catogery.
    I'm aware that some ABAP code has to be done to activate and the user exits are LVKMPTZZ and LVKMPFZ1.
    Where should be the code written LVKMPTZZ or LVKMPFZ1.
    I guess the code has to be written in LVKMPTZZ  and call the exit LVKMPFZ1 which in turns call the function module SD_ORDER_CREDIT_CHECK.
    Am I true in my understanding.
    Does editing LVKMPTZZ SAP access key.
    Please help.
    Thank you in advance.

    Hiii
    You can write the code to call the funtion module for credit check in LVKMPTZZ but for same you need Access key from SAP to edit the Include.
    Regards
    Shambhu Sarkar

  • User Exit for credit management  at confirmed quantity in sales order

    Dear All ,
    kinldy tell how to define a user exit and where i can write for credit check to be done to the confirmed quantity in the sales order .
    Also pls tell me that how to define the user exit and attach to customer reserve field in the customising for automatic credit control .
    regards
    Baranidharan Ramar

    Hi
    The following is the information from the sap documentation...you can also refer from IMG - SD - System modification - userexit - userexit for credit check
    Credit Check
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Thanks,
    Ravi

  • User Exit in Credit Managment - Urgent

    Dear All,
    One of our customers want to use option of Oldest of open Items overdue in the Automatic credit check.
    WIth the only difference that he does not want the field  " Days oldestItem ( Table Name V_T691F / Field Name OITOL)" within IMG. He wants that field to be available in the customer master.
    In order to achieve this we have thought of following solution --
    1. Add new field in the customer master using screen exit in " General Data / Company Code" Tab for capturing  " Days oldestItem ( Table Name V_T691F / Field Name OITOL)"
    2. Use user exit LVKMPFZ1. Build following logic into the same.
    Refer table for Open Line Item (Table BSID)
    Due date = Document Date (Field BLDAT) + Days 1 (Field ZBD1T)
    If, Due date + Field in Customer Master added through screen exit (in no. of days) < Today, Credit Check will be active & depending on the setting in Automatic Credit Check, we can get either warning message or error
    Please check if above logic is OK. If you wish to suggest any changes, you are most welcome to do so. Points will be rewarded for any valuable suggestion. But please hurry up. Unfortunately we do not have much time.
    Regards
    Nikhil

    Hi,
    TRY THIS PROGRAM MAY BE HELP U,
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Thanksmate,
    Reward if helpful,
    Phani

  • User exit for Credit Management check on SD document

    Is it possible to enhance and put in some custom logic during CREDIT check on SD documents?
    Can some one tell me which User exit can I used?

    Hi,
    Yes, I think you can do. Here is what SAP help says....
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Hope this helps
    Thanks
    Mukund S

  • User exits LVKMPTZZ and LVKMPFZ1 in credit management

    Hello all,
    We want to activate these user exits but it looks like this is only possible by registring and amending the standard includes. There is no call to a 'Z' function which you find in other user exits.
    Am I correct in this and has anyone implemented these user exits before ?
    Thanks and regards,
    Arend

    That is correct.  That is the way User Exits used to work in the <i>old days.</i>  Customer Functions (CMOD) didn't come along until the 3.x days.

  • How to exclude open items by credit exposure calculation

    Dear all,
    as anybody idea about how to exclude by the credit exposure calculation some old items (in our case all items having document date lower than 01.10.2005).
    These are the basic assumptions:
    i cannot use a special G/L indicator because some of them already have one and i cannot change it;
    i cannot use the reason code field because it doesn't appear on all items (e.g., negative amount open items, and some others)
    some items are positive, some other are negative, some have a special g/l indicator and some others not.
    therefore i am forced to change rules of calculation. Is there any user exit o bte?
    thanks a lot!
    Edited by: Alessandro Casarico on Aug 31, 2010 8:36 PM

    Alessandro
    I think your only option is 'user exits for credit checks':
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    Good luck.

  • Credit Mgmnt - User Exit Logic

    Dear Experts
    Automatic credit mgmnt settings  are completed . Customized authorizations  required is like below:
    The reqt is like
    1) Rs 0- Rs 50 Lakh - Person A
    2) Rs50 Lakhs-Rs 1 Crore - Person B
    3) Rs 1 Cr- Rs 2.5 Cr- - Person C
    4) Rs 2.5 Cr & above - Person D
    I presume that this can be done by using user exit... Field of 'Credit Limit'- KLIMK
                                                                                    'Credit Exposure'. OBLIG       [from FD32]
    Help/suggestions request ASAP.
    Rgds
    Sumanth.G

    hi,
    this is to inform you that,
    you can solve your issue with an ABAPER,
    he will write a big code for this.
    these are the steps:
    please write a piece of code in USER_EXIT_SAVE_DOCUMENT_PREPARE, which saves a document and triggers an email and stops proceeding further.
    1) if the credit limit in KNKK reaches 50 lakhs mark you have to trigger a mail through a work flow to person ARs 0- Rs 50 Lakh - Person A
    read the data basing on CCA/CREDIT LIMIT OF THE CUSTOMER/CUSTOMER NUMBER by catching user id who is preparing the sales order goto PA0105 to get the employee number and using employee number go to get the manager for amployee number using Z_GET_MANAGER a function module. after getting manager id from PA0105 trigger an standard function module called EFG_GEN_GET_USER_EXIT to get teh mail id of the manager - and trigger to approve the mail.
    for this you have to link WORK FLOW event also in Z_GET_MANAGER function module.
    here you have to create
    1.new function module : Z_GET_MANAGER - which gets the total details of persons who are working in the whole organization.
    2. 2 HR tables to get the details upto manager : PA0001, PA0105.
    3. use standard FM : EFG_GEN_GET_USER_EXIT
    4.finally link WORK FLOW EVENT which triggers an mail id to manager's in box with approval infomation.
    hope this should help you
    regards,
    balajia
    Edited by: balaji timmampalli achari on Nov 30, 2010 12:06 PM

  • User exit for merging the credit limit in different credit control area.

    Dear All,
    Please provide user exit for the merging the credit limit in different credit control area as well as logic for the same.
    I have to merge the overall credit limit of the customer for some divisions. At this time in one company code we have created 9 credit control area as per product line. While creating customer master data and Credit management (FD32) user has assigned the different limit with respective to credit control area e. g Customeru2019s total limit assigned is 10 laks.  For credit control 1100 Limit is Rs. 3 laks and for credit control area 2200 limit is 7 laks. Now the user wants to merge the credit limit for only above two credit control area. The sales orders should get created in any credit control area up to 10 laks.
    Regards,
    Suresh

    Dear Damodhar/All,
    Would you please explain me prerequisite setting from functional side for these user exit?
    I want complete functional setting prior to ABAP application so that it work properly post configuration.
    Regards,
    Suresh

Maybe you are looking for

  • Time out error in F.13

    Hi , We are getting time out errror in  F.13 Please see below screen shot. Please help me in sorting this out.

  • Indesign CS5 : blocs de texte parallèles

    Bonjour à tous, Il me faudrait mettre en page un long texte en latin et sa traduction en français. Pour cela, je veux faire deux colonnes par page, avec le français d'un côté et le latin de l'autre. Jusqu'ici pas de problème, mais : - Il faudrait que

  • LSO - Follow up for WBT Courses

    Hi Experts, I have created a WBT Course which is accessed by the learner. My question is how do you manage course follow up for Web Based Training from the Instruction and Tutoring tab on the portal? What all relationships are to be maintained to do

  • HT201210 error 3194

    cant restore my iphone 4s

  • Safari loads like snail mail after upgrading to MS Office 2008 SVP1

    I installed the latest Microsoft update to office today. Immediately after that Safari came to a grinding halt. It takes forever to get to any page. Anyone seen similar problem?