USER-EXIT - sales order, credit block

Moderator message: moved to correct forum.  In future please use meaningful subject.
my requiremnet is, Delivery for an sales order should be created even if it is a credit block i.e even the credit check is unsuccessful the order should be deliverd when we deliver the order from salesdocument->deliver.
i need a user-exit for this to put this check.
can ne one help me.
regards,
pavan,

Hi,
According to Std SAP if in case credit mgmt is activated system will check for credit limit for that customer before delivery.You will be trying to change the std scenario which is not advisable.
However,
Try user exit MV45AFZZ & in that
FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
Also check other exits related to delivery & credit mgmt from
SPRO->Sales & Distr-> System Modifications->User Exits
and check out the documentation part next to each exit in that category.
Regards,
Amit

Similar Messages

  • To release the sales order credit block by Customer Group

    Hi,
    1. I want to release the sales order credit block based on the Customer Group.
    Normally we release the credit block using the t.code VKM3.
    2. When i am maintaining the credit using the FD32, under the status screen of Credit control area Tab, the field "Credit Horizon Date", when i am creating the credit limit on 17/05/08, the system will take this field by default ie 16/07/08. I have maintained as 12 months in horizon ie OVA8.
    If any one could let me know, how the system is taking this date.
    Regards
    Ravishankar M

    Hi Ravi
    Sap default horizon time is 2 month,thats why systym is taking  two months time,so if you want to change this as 12 month you can go to
    OMO1 and select S66 then change it as month you want.
    Reward if it helps you
    thanks
    Utpal

  • RFC/BAPI For Sales Order Credit Block Release like vkm3 (very urgent )!!

    hi experts,
    I need the RFC/BAPI For Sales Order Credit Block Release like vkm3 function ,please help
    thanks
    Godspeed

    hi
    can get the list of all the bapis..
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Reward if USeful
    Thanx & regards.
    Naren..

  • Sale Order Credit Block due to open credit memo

    Dear All,
    System is blocking sale order for open items(credit). And the only open item is credit memo.
    Can we avoid credit note to be considered as open item?
    Thanks
    Arun

    Dear Arun,
    Do not think this is possible in standard.
    I would suggest the following way.
    Currently system is giving a message during sales order creation . right?
    Ask your abaper to find an EXIT before that point.
    There write a code to exclude CREDIT MEMO document types from BSEG of the customer code.
    It is possible as i have worked in similar requirement.
    Check and revert back.
    Thanks & Regards,
    Hegal K Charles

  • Sales Order Credit Block stopping Projects to get created

    Hi All,
    We have a specific scenario as follows :
    1.Whenever we create a Sales order, Project System will create Project in background. There is one to one correspondence between a Sales Order and Project System.
    2.We are able to restrict the automatic creation of Projects by putting a customized Delivery Block. We have observed that if we have a Delivery Block in the Sales Order which does not allow Confirmation, the project does not get created. ( Delivery Block config -->Block Confirmation)
    Now , what we are observing is if there is a credit block on the Sales Order, it is also not allowing Project to be created automatically. Only when we release the Credit Block, then it is allowing Project to get created.
    Can anybody put some light on how the Credit Block is stopping Projects. Where are the settings, if any ? Could anybody suggest a workaround ?
    Thanks in advance.

    When a sales order is credit blocked, an assigned project is deleted.
    When you release the sales order, the project is new created.
    This new creation of a project during credit release happens in a
    background processing. Therefore it is not possible to send a popup.
    That means the project can not be created in background, if there
    is a mandatory field which has to be filled by a user.
    This is described also in the notes 583707 and 396791. This is
    standard system behaviour.
    The solution is,
    1. Either we have to make sure, that there does not
    come a popup during project creation.
    2.Onother solution idea might be, not to delete the project in case
    of credit block.
    I just wanted to find out from my fellow practitioners if they have come across such a scenario and have worked on any of the solutions mentioned above.
    Thanks in anticipation.

  • Output fax not getting triggered when sales order credit block is released

    Hi Experts,
    I am working on an issue.
    I have one sales Order which has credit block.
    when we release the credit block via vkm3, then the output fax gets triggered.
    I have another sales order which has credit block,
    when we release the credit blcok via vkm3 , the output fax is NOT getting triggered.
    If any of you has worked on this setting, request your input on where to find the settings/coding for the same.
    Any advice on this please.
    Regs,
    SuryaD.
    Edited by: SuryaD on Oct 21, 2010 9:34 PM

    Hi Brad,
    Thanks for your response.
    Order 1: Issues output fax(ZFAX) correctly when block is released.(i see output zfax in te output screen)
    Order 2: Fails to issue output fax(ZFAX) even when the block is released.( i dont see any output in the output screen)
    I went to Go to -Determine analysis for both orders 1 and order 2.
    in both the analysis i am able to see the output ZFAX.
    *Analysis Output*
    *Order 1                                                                    Order 2*
    1. ZFAX                                                                   1.   ZFAX
        10(Z010)                                                                 10(Z010)
           0000122426                                                              0000122427
    2.  ZFAX                                                                   2.   ZFAX
    When i click, D.Click on the output type ZFAX on both the order Analysis output screen, i see similarities.
    There in just 2 differences as below.
    In the above screen,
    1.Order 1 ==> has some value 0000122426
    2.For Order 1==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    Diagnosis
    Output ZFAX has already been issued. Multiple issue for this output type is forbidden in Customizing.
    In the above screen
    1.Order 2 ==> has some value 0000122427
    2.For Order 2==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    No more information is available.
    Please guide as to how to initiate the debug for output processing ?
    Which screen where to switch on debugger.
    where to look further?
    Regards,
    SuryaD.
    Edited by: SuryaD on Oct 22, 2010 11:41 AM

  • Release sales order credit block using VA02

    Dear experts,
    By any chance can we release the sales order from credit block using VA02 instead of VKM3?
    I could see an example wherein the change log shows that the Overall Credit Status has been changed to Approved using VA02.
    Could you please assist me with all the available methods of releasing the sales order from credit block.
    KR,
    Tawsif Chogle

    Hi Tawsif,
    I dont thing that is possible, once you released the order from VKM3, it suppose to show VKM3.
    But if you say that your order shows in VA02 for credit release then might be somebody change the price in order, so the order price comes lower the credit limit and order got released.
    Hope it helps.
    Regards,
    MT

  • Sales order credit block - No credit master data maintain

    Hi ,
    I have a sales order blocked for credit check. But i have not maintain any credit master data for this customer. Customer and payer is same.
    I want to know why credit check is carried out for this customer and what basis system carry out credit check ?
    Pl respond.
    Nitin

    Nitin
    Hope this piece of info could help you in reaching out to come conclusion, in case where you don't carry out any explicit credit check, still system does so...
    Changes Made to Critical Fields
    The credit check is triggered by changes made in the document to values in any of the credit-sensitive fields. According to your Customizing settings, the system runs a check credit between changes or differences in the sales order data against the default values in the customer master record. Examples of such fields are terms of payment and fixed value dates.
    Kalpesh

  • User exit: sales order  VA01: Customer number

    Hi friends,
    While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
    which should contain
    1)customer(sold-to -party?KNEX-KUNNR)
    2)partner function PARVW (VBPA-PARVW?)
    3)country LNDEX KNEX-LNDEX
    Functional spec says, 1)V45A0002
    2)V45A0003
    3)V45S0001
    4)V50EPROP User exits can be levaraged.
    1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
    2)V45A0003: i am able to fetch KUNNR, LNDEX(land1), and able to validate KNEX Fields.
    But I need to fetch partner function (PARVW), which exist in VBPA , KONP etc tables. But I am not able to write the query, which sould have all the primary keys of the table.
    Please help me the way.
    i) the above user exits can be used?if not, help me with user exit name.
    ii)if yes, how to fetch PARVW ..as all the primary keys must be used in the select query.
    Please help me ASAP.

    You can try with the form USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ (this program contains the userexits for SD).
    You can access work aread VBAK and internal tables XVBAP, XVBPA with latest data for that transaction.
    Regards,
    Naimesh Patel

  • User exit - sales order

    Hi Gurus,
    We need to have specific requirement while creating or changing a the sales order.
    In the sale order if the line items are BOM material, then the system should ensure that confirmation of the qty between the BOM materials (both header and sub utems ) are same.
    We wanted to achieve this with the help of a User Exit, which will look at the confirmation qty of each line item and then changes confirmation qty of all the line items if there exist a difference.
    So wanted to which is the actual user exit which we can use to achieve above requirment.
    Regards,
    Babs

    system should ensure that confirmation of the qty between the BOM materials (both header and sub utems ) are same.
    Is this means that you want to compare the quantity in the Sales Order with BOM Master.
    Else you can sue User Exit as MV45AFZZ.
    Best Regards,
    Ankur

  • User exit sales order change (VA02)

    Hi 
    For certain users , field shipping conditions  VSBED (Header)  needs to be  in display mode only in T-code Va02
    i am creating a security object and that will be assigned to those  user roles.
    I need user exit which can be used to trigger this change ( executing security object)
    Sri

    Hi Please check these
    Userexit
    SDTRM001                                Reschedule schedule lines without a new ATP check
    V60F0001                                SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001                                SD Customer functions for resource-related billing
    V45W0001                                SD Service Management: Forward Contract Data to Item
    V45S0004                                Effectivity type in sales order
    V45S0003                                MRP-relevance for incomplete configuration
    V45S0001                                Update sales document from configuration
    V45P0001                                SD customer function for cross-company code sales
    V45L0001                                SD component supplier processing (customer enhancements)
    V45E0002                                Data transfer in procurement elements (PRreq., assembly)
    V45E0001                                Update the purchase order from the sales order
    V45A0004                                Copy packing proposal
    V45A0003                                Collector for customer function modulpool MV45A
    V45A0002                                Predefine sold-to party in sales document
    V45A0001                                Determine alternative materials for product selection
    Business Add-in
    BADI_SD_SCH_GETWAGFZ             Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing

  • New include proram -user exit- sales order

    hi
    i have to create a new screen which has to be displayed as a pop up
    from the user exit "<u>userexit_save_document_prepare"</u> which is present in MV45AFZZ
    the processing logic for the screen should be written in include program which is to be included in the specified userexit.
    the include program which i created while syntax checking shows
    "include <u>prg-name</u> is not accesible".
    why this is occuring.
    Another question is whether can i write the modules for pbo,pai and the subroutines i.e form & end-form all in the include program which iam creating.
    It is showing incorrect nesting. write end-form for the form before moduele.
    whether i have to write PBO,PAI,subroutines in independent include programs.
    Please give reply ASAP.

    in that case then
    call like this
    perform check (in program).
    <b>what i am thinking is THIS program in Update Mode may be bcos of that.</b>
    Regards
    prabhu
    Message was edited by:
            Prabhu Peram

  • User exit for updating delivery block of Sales order before Delivery

    Hi  Folks,
    Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
    I have got an exit in Program SAPMV45A
    MV50AFZ1
    FORM USEREXIT_REFRESH_DOCUMENT.
    that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
    Now i want now how to change the Delivery Block indicator of Sales order in that exit
    any FM available ?
    Thanks n regards
    Sonal...

    Hi  ,
    How did you solved this issue?
    I am having similar scenario in which while pressing the save button  delivery block should update if multiple schedule line exist.
    Tried by two different approaches in various user exit without any success.
    AFAIK we have two ways to achieve this functionality.
    1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
    This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
    2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
    If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
    Multiple schedule line indicator is not populate so can not use 2nd approach.
    If I write code in  USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
    If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
    the condition of fcode but it also fails in some condition.
    If fcode eq 'SICH'.
    Read table xvbap with key epmeh = 'X'.
    IF SY-SUBRC = 0.
    VBAK-LIFSK = '03'.
    Else.
    VBAK-LIFSK = ' '.
    Endif.
    Endif.
    Please help me to get the desired functionality working for all cases.
    1) One line item with multiple schedule line                                              
    2) Two line item with multiple schedule line                                             
    3) One line item having one schedule line and second one having multiple
    4)Two line item both with single schedule line.

  • 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

  • User Exit or BADI for Blocking process orders from R/3 to APO?

    Dear Experts,
    I am looking for a user exit or badi to block the process orders from R/3 to APO. As per standard it is not transferring orders which are clsd(closed status). Means that it is not updating live cache but its reading from R3.
    We are facing some problems in cif queues which are not correctly maintained in R3 side. We dont want to touch those orders bcoz its very old data which is not required for planning.
    There will be huge data which needs to be deleted while transferring through cif.
    Please give any user exit (outbound intial transfer) from R/3.
    Or any sugg. I apprecite your inputs...
    Thanks
    Cris

    Hi Cris,
    You can use user exit APOCF004 - Inbound Processing: Production Order/Planned Order in APO to prevent orders coming to APO by deleting orders which are not intended to goto APO from internal tables IT_ORD and IT_OUT.
    Hope this helps.
    Best Regards,
    Ramesh M

Maybe you are looking for

  • Multiple family mbrs, multiple ipods, multiple accnts, multiple computers

    I have a family of 6, we each have various ipods (iphone, ipod, nano, shuffle, etc), and we have multiple computers -- some Mac and some PC. We need to understand what factors impact the ability to put a particular track on one or more devices, manag

  • Confirm hypothesis: bad DVD's & print to tape due to external drive format

    I bought anexternal drive about three months ago. Ever since that purchase my DVD's have had continuous errors. (locking up, massive pixelation, just won't be recognized). The interesting part was not all DVD players had a problem-some played fine. W

  • BPM Alert/email

    Hi all, I have a BPM which sends alerts in RWB.How to convert this/,so that the alert message or the payload can be sent to user email accounts using email adapter.any step by step process is greatly appreciated. thanks, RR

  • How can i insert an anchor in edge reflow ?

    Hello, All in my subject :-) Then, if i can create an anchor, will it be visible in the link window (near the status) ? Ty for your answer

  • How to send automatic emails to lotusmail from forms 10g

    hi iam new to oracle forms 10g...as i have developed complaint module. now i need to send automatic emails from my forms 10g to my department heads depending on complaints assigned, to their lotus mail... as iam totally new to this can any one tell m