Needs R/3 User-exit help when PO/PR created in Backend system

Hi SRM/MM Experts,
We are using ERP2005 and SRM 5.0 with classic scenario. Shopping cart converts the Purchase Requisition and Purchase Order in the backend system.
R/3 system had a custom logic to blank out the Account assignment category, cost center information when particular material group(ZZZZ0001), plant(Z0001) and storage location(Z01) used in the PO/PR that are created by SRM SC. The custom logic is used in user-exit- EXIT_SAPLMEWP_002- INCLUDE ZXMEWU06 and
EXIT_SAPLMEWQ_001-INCLUDE ZXMEWU04 of R/3 system. But now this custom functionality is not working. And I found out that when PO/PR is created by SRM’s SC, include- ZXMEWU06 & ZXMEWU04 are not being called.
In which user-exit we should put custom logic in the R/3 system, so that it will be called for blanking out the Account assignment information, when SC is converted into PO/PR in the backend system
Thank you!
MP

Disha,
I figured out that we have to use user-exit:EXIT_SAPL2012_003 in R/3 system. Now here is what I am doing... If it is at non-stock material and it uses account assignment category-K and Cost Center-Z1000001, then I am blanking out the POITEM-ACCTASSCAT and POACCOUNT-DELETE_IND = 'X', but still it is not blanking out or deleting the account assignment information from PO.
Please let me know if this is the correct BADI to use to blank out the account assignment information in PO created by SC(SRM 5.0) in ECC 6.0. If yes, what should I need to do to blank out the account assignment information.
Any help is appreciated!
Thanks!
MP

Similar Messages

  • NEED VL02N VL09 USER-EXIT FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER

    I NEED VL02N VL09 USER-EXITS FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER POSITIONS.
    F.X: IF POST QUANTITY 10, BUT PURCHASE ORDER POSITION QUANTITY 30, I NEED AT ANY CASE TO SET DELIVERY COMPLETE INDICATOR FOR RELEVANT OUTBOUND DELIVERY AN P. ORDER POSITIONS.
    THANKS/

    Hi Malka,
    It's possible set the system to mark automatically the delivery completed indicator.
    First you need to set the under delivery and over delivery tolerances.You do this in customizing:
    Materials Management under Purchasing -> Material Master -> Define Purchasing Value Keys.
    Once you set this, you can insert this value keys on Material Master Record for the materials.
    When you create the PO with a material with this value keys set the system will check the under delivery and over delivery set on customizing.
    In customizing you also have the option to let the system mark automatically the delivery indicator based on delivery tolerances set.
    In Customizing for Inventory Management and Physical Inventory under Goods Receipt -> Set Delivery Completed Indicator, you can determine for each plant whether the system automatically sets the delivery completed indicator for delivery quantities within the underdelivery and overdelivery tolerances.
    You can test setting the under delivery for 0 (with a warning message) and see if the system will only mark delivery complete only for over delivery.
    You can also work with the following Badi: MB_GOODSMOVEMENT_DCI. This Badi also allows custom logic for setting the delivery completed indicator in a PO item.
    Message: M7 433 (The "delivery completed" indicator is set for the purchase order item)
    Regards,
    Rodrigo

  • BADI or User Exit required when a Task is created in a Transport

    Hi Experts,
    Could you please tell me is there any BAdi or User exit Triggered when a task is created in transport by any other users.
    I need to track if some one simply adds task under others transport.
    Thanks and regards,
    Venkatesh

    Hi venkatesh,
    put a breakpoint into method GET_INSTANCE of class cl_exithandler.
    Then do what you want to supervise. The method is called for all BADIs triggered. You will find out which one can be used.
    Please excuse the generic nature of my answer. I didn't know what you already tried.
    Regards,
    Clemens

  • User exit  or Badi for VL31N (create inbound delivery)

    Dear friends.
              I wish to add a check before saving in the transaction VL31N for that  i need to know user exit or BADI..can you help me to know what possible user exit or badi available for this task.. your suggestion and article will be greate help of mine,
    thanking you
    regards,
    Naim

    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of stock for POs for shipping due date list
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    BADI
    <b>DELIVERY_PUBLISH</b>regards
    vinod

  • User Exit / BADi for TCode -  IMA11 (Create Appropriation Request )

    Hi friends ,
                Can anyone help me in finding the User Exit / BADI for Transaction IMA11 (Create Appropriation Request , Module - FI ).I want to create search help for field "Partner" in table control "Person Involved" present in this transaction.
    Thanks in advance.
    Regards
    Nand Kishor

    Hi,
      The following user exits are available :
    Exit Name           Description
    AAIR0001            IM-IS: User value fields in app.req. reporting
    AAIR0002            IM-FA: User fields for app. requests
    AAIR0003            IM: Workplace assignmt when creating PM order from app.req.
    AAIR0004            IM Drilldown: Definition of User-Defined Characteristics
    AAIR0006            IM-FA-IA: Data Transfer from App. Req. to WBS Element
    regards
    Aveek

  • Help needed in "V45A0003" User Exit

    Hello All,
    I have one problem doing Userexit "V45A0003" for VA01.
    I want to disable one field in VA01 Screen no. "4900" when order type is "RE". I try mentioned Exit for the same and i am able to disable that field for all order type but i am unable to get order type value and unable to disable field, so i want your valuable help to get the order type value given at very first screen (101) of VA01.
    So, Please i request all of you to help me in this.
    Thanks & Regards,

    Hi,
    If you want to get the Sales order no in your exit you can make use of below code.
    data:wa_vbak type vbak.
    field-symbol <FS> type any.
    ASSIGN (' (SAPMV45A)VBAK') to <FS>.
    If sy-subrc eq 0 and <FS> is assigned.
    wa_vbak = <fs>.
    endif.
    Now in wa_vbak-AUART you will get the sales order type given initial screen of sales order.
    You can also use below form in User exit include MV45AFZZ for your requirement.
    FORM userexit_field_modification.
    ENDFORM.
    Here you will all sales order data and no need to use above field symbol assignment to read vbak data.
    Regards,
    Pawan

  • User Exits-Help Needed

    Hi friends,
    I need a small help.I am implementing a custom enhancement for Sales Orders.
    For this,I am using the User Exit SAVE_DOCUMENT_PREPARE in the standard program MV45FZZ(Include in SAPMV45A).I wrote a small logic,that gets triggered each time a Sales Order is created or Changed through VA01 or VA02 respectively.
    For <b>VA02</b> i.e., <b>change</b> my logic works pretty well.I am capturing the current Sales Order Number using <b>XVBAP-VBELN</b> and implementing my logic.
    But while <b>creation</b> i.e., <b>VA01</b>,I am using the same logic and trying to capture current Sales Order through <b>XVBAP-VBELN</b>(not yet saved).
    But,<b>XVBAP-VBELN</b> is blank when I am debugging.
    Where does the Sales Order Number get saved,while it is being created i.e., before being saved.
    Regards,
    Imran.

    check the value of <b>vbak-vbeln</b> in the subroutine <b>userexit_save_document</b>
    Also make a note of the following
    <b>USEREXIT_SAVE_DOCUMENT</b>
    Use this user exit to fill user-specific statistics update tables.
    The user exit is called up by the FORM routine BELEG-SICHERN before
    the COMMIT command.
    Note
    If a standard field is changed, the field r185d-dataloss is set to
    X. The system queries this indicator at the beginning of the safety
    routine. This is why this indicator must also be set during the
    maintenance of user-specific tables that are also to be saved.
    <b>USEREXIT_SAVE_DOCUMENT_PREPARE</b>
    Use this user exit to make certain changes or checks immediately
    before saving a document. It is the last possibility for changing or
    checking a document before posting.
    The user exit is carried out at the beginning of the FORM routine
    BELEG_SICHERN.

  • Help needed in Substitution & User Exit.

    Hi Experts,
    I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
    The user need to enter the bank key and acc no and  need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
    Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
    Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
    <b>Can any one of you by any luck have a feasible solution for this ?</b>

    hi Saurav.
    there are 14 user exits in thsi transaction. these are as follows
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    check if anyone of them meets ur requiremnt
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Does MV45AFZZ user exit trigger when CRM sales order is replicated into ECC

    Hi All,
    When a Sales order is created in CRM, it is replicated automatically using BDOCS from CRM into ECC.
    I have requirement to code the logic during the process, when sales order is replicated into ECC.
    So I need to know the BAPI which is actually triggered to create sales order in ECC, while replication takes place.
    If I could atleast know, if USEREXITS in MV45AFZZ would trigger or not, when CRM order is replicated into ECC, then I could determine, If I could code my logic in those user exits.
    Please help me on this.

    please check this link
    keremgomi=wordpress=com
    Rgds
    Raj

  • Need to find user exit for Auto TO creation

    Dear SAP WM experts
    I need to filter the TR getting converted into TO automatically
    I can see, in configuration, that an exit is suggested for the same:
    This configuration refers to OMKZ transaction, package LVSC
    When I search using the same in SMOD, I do not get any entries
    Any help would be appreciated!
    Thanks
    Yogesh.

    Hi Yogesh!
    For "Automatic TO creation (background processing)", the following user exits are available:
    MWMTOAU1 Selection of requirements for automatic creation of orders.
    MWMTOAU2 Reference number assignment.
    MWMTOAU3 Selection of posting change notices for automatic creation of transfer orders.
    See Develop User Exits for Warehouse Management - Warehouse Management - SAP Library
    My guess is, that the MWMTOAU1 user exit is the one you are looking for.
    The SAP documentation says:
    "With this user exit, you can select transfer requirements for the
    automatic TO creation according to your own criteria by means of report
    RLAUTA10."
    Best Regards!
    Tim Lutz

  • Need info regd User exits use with examples

    Hi!
    I'm SD consultant and I need some user exits info along with some examples. They are as follows
    USEREXIT_FIELD_MODiFICATION
    USEREXIT_MOVE_FIELD_TO_VBAK
    USEREXIT_MOVE_FIELD_TO_VBAP
    USEREXIT_PRICING_PREPARE_TKOMK
    USEREXIT_ACCOUNT_PREP_KOMPCV
    USEREXIT_FILL_VBRK_VBRP
    Thank you in advance

    Hi,
    Please check this link
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/automatically-populating-the-sales-order-field-in-va01-1623468
    http://help.sap.com/saphelp_40b/helpdata/pt/ff/f52c7dd435d1118b3f0060b03ca329/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/08/f62c7dd435d1118b3f0060b03ca329/content.htm
    Best regards,
    raam

  • Need BADI or user exit to check info record on MM41/MM42.

    System:  SAP ECC 6.0 Retail
    Problem:  During article maintenance (MM41/MM42), we want to check certain fields on the info record (EINA) for only one valuation class.
    Steps already taken: 
    Checked the current BADi.  The current BADi, BADI_MATERIAL_CHECK, did not contain a parameter for EINA.  (It did contain parameters for MARA, MARC, MBEW, MKVE, etc.)
    Searched for other user exits and/or BADiu2019s.  In SPRO/IMG under Logistics General, Material Master, Retail Specific Settings, Settings for Core Master Data and BADi: Additional Checks and Data Adjustment, I found u201CWRF_MAT_MAINTAINDATAu201D which contains a method u201CMODIFY_INFORECORD_DATAu201D.  This looked like it may be what I was looking for.
    So I created an implementation ZWRF_MAT_MAINTAINDAT.  It insisted on defined filters.  So I set up the following filters:
    01     Core Article  Master Data Maintenance
    02     Article Copy Functions
    03     Article Mass Maintenance
    99     Not Specified
    Then I activated it.
    I put a break into the method, but the transaction MM42 (nor MM41) would stop at the break point.
    Did I miss a step?  Is this the wrong BADi?  Are the filters wrong?
    Can anyone help?

    There is BAdI for this.
    However, a SAP consultant provided the following:
    In IF_EX_BADI_MATERIAL_CHECK~CHECK_DATA_RETAIL
    METHOD if_ex_badi_material_check~check_data_retail.
    * Implementation of BADI_MATERIAL_CHECK
    * Author: Syama Srinivasan, SAP Retail
    * Date:   December 17, 2008
    * Description:
    * Check EINA fields in Purchasing View of Article Master Create/Modify using MM41 & MM42.
    * If "Valuation Class" in the "Basic View --> General Data" field is 3100, then ensure
    * that the "Var. Order Unit" OR "Return Agmt" fields in "Purchasing Veiw --> General
    * data for each vendor" are not blank.
    * Work area declaration.
      DATA: l_eina  TYPE eina,    "Purchasing Info Record: General Data
            l_maw1  TYPE maw1.    "Article Master: Default Fields and Special Retail Fields
    * Local variables
      DATA: lv_eina    TYPE char30 VALUE '(SAPLMGMW)EINA',      "EINA Work area
            lv_maw1    TYPE char30 VALUE '(SAPLMGMW)MAW1'.      "MAW1 Work
      DATA: ls_errdat  TYPE merrdat.
    * Field symbols
      FIELD-SYMBOLS: <fs_xmaw1> TYPE maw1,
                     <fs_xeina> TYPE eina.
      ASSIGN: (lv_maw1) TO  <fs_xmaw1>,
              (lv_eina) TO  <fs_xeina>.
      IF sy-tcode = 'MM41'
      OR sy-tcode = 'MM42'.
    * Perform the check only if "Valuation class" is 3100
        IF <fs_xeina> IS ASSIGNED AND
           <fs_xmaw1> IS ASSIGNED.
          IF <fs_xmaw1>-wbkla = '3100'
          AND <fs_xeina>-lifnr IS NOT INITIAL.
            IF <fs_xeina>-vabme IS INITIAL OR
               <fs_xeina>-rueck IS INITIAL.
    *        MESSAGE e009(z1id) WITH <fs_xmaw1>-wbkla.
              ls_errdat-msgid = 'Z1ID'.
              ls_errdat-msgty = 'E'.
              ls_errdat-msgno = '009'.
              ls_errdat-msgv1 = <fs_xmaw1>-wbkla.
              APPEND ls_errdat TO rt_errdat.
              MESSAGE e009(z1id) WITH <fs_xmaw1>-wbkla.
            ENDIF.
          ENDIF.
        ENDIF.
    * Perform the check only if "Valuation class" is 3100
        IF <fs_xeina> IS ASSIGNED AND
           <fs_xmaw1> IS ASSIGNED.
          IF <fs_xmaw1>-wbkla = '3100'
          AND <fs_xeina>-lifnr IS NOT INITIAL.
            IF <fs_xeina>-vabme NE '2'.
    *        <fs_xeina>-vabme = '2'.   This doesn't work
              ls_errdat-msgid = 'Z1ID'.
              ls_errdat-msgty = 'E'.
              ls_errdat-msgno = '010'.
              ls_errdat-msgv1 = <fs_xmaw1>-wbkla.
              APPEND ls_errdat TO rt_errdat.
              MESSAGE e010(z1id) WITH <fs_xmaw1>-wbkla.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDMETHOD.

  • User exit help..

    Hi All,
        UPF_VARIABLE_USER_EXIT is example for user exit for variable of type characteristic.  If variable type is attribute then is there any such example available?
        Also characteristic user exit variable "VALUE(ITO_CHANM) TYPE  UPC_YTO_CHA" is defined for import. Similar statement for "ITO_ATTR" is necessary, then what will be type for this.
        Thanks for your help.
    Regards,
    Shankar.

    Hello Shankar,
    For the "ITO_ATTR"  TYPE  UPC_YTO_ATTR
    you can find all the details of import and export parameters in the F1 help of exit variable.
    These are steps to find import and export parameters for exit function module.
    Step 1 : Take any Planning area ,double click on that area.
    Step 2 : go to the varibles tab ,and select one of your exit variable.
    step 3 : Double click on the exit variable ,place the cursor on the exit function module name check box  then press F1 ,then you will get details of  how many types of exit varibles we can create in the BPS,and what are the import and export parameters for exit function module.
    I hope this helps.....
    Thanks & Regards,
    Devi.
    Thanks for your help.
    Regards,
    Shankar.

  • User exit overlooked when Inbound ORDERS is triggered immediately

    If I set the ORDERS Idoc for 'Trigger Immediately' in WE20, the user exit EXIT_SAPLVEDA_011 is overlooked but when I set it up for 'Trigger by background process', the user exit is passed through.
    does anyone have an idea why this could be happening?
    I cannot put the stop sign and debug, since the Idoc comes via RFC, and thus it is impossible to debug in case of 'Trigger Immediately'.

    Hi,
    the exit function is called at the end of processing FM 'IDOC_INPUT_ORDERS'. There is definitely no difference between immediate or delayed background processing. Your question could be answered if we know the coding of include ZXVEDU13. If it is used for the designed purpose, it should do nothing if the error table DERRTAB is empty.
    You can code an endless loop in the include:
    data wait type c value 'X'.
    while wait is not initial.
    endwhile.
    Then process your Idoc. In SM50 you can send the process to debug mode. Clear field WAIT in debugger and step through to see whats happening and why.
    Reards,
    Clemens

  • Need Fcode in User Exit For Infotype

    Hi,
    I am writing a User exit for Infotype 0002 at Customers Site. I need Fcode to realize a specific logic. I am using the exit PBAS0001 for this purpose. can anyone tell me how to I get Fcode so that I can use it in the code ?
    Regards,
    Suma

    Hi Suma,
    sorry that i posted the false BAdI.
    You have to use HRPAD00INFTY. That is for PA.
    The BAdI HRBAS00INFTY is for PD/OM.
    Regards
    Bernd
    But there is no paramter ok_code
    Message was edited by:
            Bernd Köhn

Maybe you are looking for

  • HT1390 renatl movies not showing up on device - but do when devcice connected to computer in itunes

    I have paid for and downloaded some rentals, of the 9 that got only 3 (childrens' ones) have been downloaded to my iPad.  when I connect my iPad to the pc they all show up under rentals in iTunes, however when i look for them on the iPad they don't a

  • Problems with Spotlight searching of shared volumes

    According to: http://www.apple.com/macosx/features/300.html#spotlight, I should be able to "...search any connected Mac with Personal File Sharing enabled or a file server that's sharing its files." It doesn't specify what "file server", so I presume

  • How can i install garage band in my iPad with ios4

    Ios4 seems to work beter with Io Dock alesis than ios5 i have a ios4 iPad 2. But the gband donwload reagires iOS 5!! How can i solve this

  • Crystal layouts crashes SAP

    Good afternoon experts. I'm not sure if this goes in this section. We are having an issue with two of our clients whenever they are trying to open a Crystal Report print layout in SAP. The first one is trying to preview a Check layout made in Crystal

  • Unable To Reset Brightness On Application Exit

    Why can't I set screen brightness in applicationDidEnterBackground or applicationWillResignActive? This is my code: - (void) applicationDidEnterBackground : (UIApplication *)application) { [[UIScreen mainScreen] setBrightness:1.0]; Can't understand i