User-Exit OR a BAdi for the Purchase order create.

Hi,
I am looking for a User-Exit or a BAdi which is fired when the Purchase order is being created in the SRM server via Web template. The requirement is as follows:
There is a flag(Check box) at the the item level, Basic Data tab. This flag is called as Unlimited Overdelivery Allowed. It is with the tolerances field. Now I want this flag to be always set for a PO of a material of certain type.
Can anyone tell me which User-Exit OR Badi I should use to always set this flag?
The Technical field name is UNLIMITED.
I tried a lot but could not get any.
Regards,
Deepak.

Hi Deepak,
  Did you try doc_change badi? THis badi is available in all the bus objects.
thanks,
Ashwin

Similar Messages

  • User Exits or BAdis' for the Service Order create Transaction

    Hi all,
              I need to Replace a field, "Product" in the "Item Details" area  of the create Service Order Transaction(CRMD_BUS2000116) with some custom field.
    Are there any Exits/BAdi which will help me in doing this..
    Thanks in advance
    Sethu

    Hi Sethu,
    The user exits / BADI's for the Transaction(CRMD_BUS2000116 are not avaliable:
    The following info from one forum to search user exits / BADI's  that you can use: There are multiple ways of searching for BADI.
    • <b>Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).</b>
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.
    Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    <b>Go to TCode: SE84->Enhancements->Business Add-inns->Definition</b>
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Also have a look at below report which will list BADIs.
    REPORT  Z_FIND_USER_EXITS.
    TABLES : TSTC,TADIR,MODSAPT,MODACT,TRDIR,TFDIR,ENLFDIR,SXS_ATTRT ,TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
                 P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
      IF NOT P_TCODE IS INITIAL.
        SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
      ELSEIF NOT P_PGMNA IS INITIAL.
        TSTC-PGMNA = P_PGMNA.
      ENDIF.
      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 EQ ENLFDIR-AREA.
            MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
          ENDIF.
        ENDIF.
        SELECT * FROM TADIR INTO TABLE JTAB
        WHERE PGMID = 'R3TR'
        AND OBJECT in ('SMOD', 'SXSD')
        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:/(105) SY-ULINE.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
          sort jtab by OBJECT.
          data : wf_txt(60) type c,
          wf_smod type i ,
          wf_badi type i ,
          wf_object2(30) type C.
          clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
          LOOP AT JTAB into wa_tadir.
            at first.
              FORMAT COLOR COL_HEADING INTENSIFIED ON.
              WRITE:/1 SY-VLINE,
              2 'Enhancement/ Business Add-in',
              41 SY-VLINE ,
              42 'Description',
              105 SY-VLINE.
              WRITE:/(105) SY-ULINE.
            endat.
            clear wf_txt.
            at new object.
              if wa_tadir-object = 'SMOD'.
                wf_object2 = 'Enhancement' .
              elseif wa_tadir-object = 'SXSD'.
                wf_object2 = ' Business Add-in'.
              endif.
              FORMAT COLOR COL_GROUP INTENSIFIED ON.
              WRITE:/1 SY-VLINE,
              2 wf_object2,
              105 SY-VLINE.
            endat.
            case wa_tadir-object.
              when 'SMOD'.
                wf_smod = wf_smod + 1.
                SELECT SINGLE MODTEXT into wf_txt
                FROM MODSAPT
                WHERE SPRSL = SY-LANGU
                AND NAME = wa_tadir-OBJ_NAME.
                FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              when 'SXSD'.
    For BADis
                wf_badi = wf_badi + 1 .
                select single TEXT into wf_txt
                from SXS_ATTRT
                where sprsl = sy-langu
                and EXIT_NAME = wa_tadir-OBJ_NAME.
                FORMAT COLOR COL_NORMAL INTENSIFIED ON.
            endcase.
            WRITE:/1 SY-VLINE,
            2 wa_tadir-OBJ_NAME hotspot on,
            41 SY-VLINE ,
            42 wf_txt,
            105 SY-VLINE.
            AT END OF object.
              write : /(105) sy-ULINE.
            ENDAT.
          ENDLOOP.
          WRITE:/(105) SY-ULINE.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No.of Exits:' , wf_smod.
          WRITE:/ 'No.of BADis:' , wf_badi.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(105) 'No userexits or BADis exist'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(105) 'Transaction does not exist'.
      ENDIF.
    AT LINE-SELECTION.
      data : wf_object type tadir-object.
      clear wf_object.
      GET CURSOR FIELD FIELD1.
      CHECK FIELD1(8) EQ 'WA_TADIR'.
      read table jtab with key obj_name = sy-lisel+1(20).
      move jtab-object to wf_object.
      case wf_object.
        when 'SMOD'.
          SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        when 'SXSD'.
          SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
          CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
      endcase.
    Hope it will help you.
    Regards,
    Arjun
    <b>Reward points if it helps</b>

  • User exit or a badi for checking the vendor email id in me22n on me29n

    hi all,
    can anybody suggest me a user exit or a badi  for checking the email id of the vendor in me21n or me22n or me29n.
    i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
    plz suggest me a solution its urgent.
    regards,
    santosh

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • How to creat deadlock for the purchase order in SAP Workflow

    How to creat deadlock for the purchase order in SAP Workflow

    Hi Ben,
    Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date?  If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
      DATA: vf_doc_date(10),
                 internal_date TYPE d.
         vf_doc_date = sy-datum.              "Document date.
         internal_date = vf_doc_date.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
        EXPORTING
          date_internal            = internal_date
        IMPORTING
          date_external            = vf_doc_date
        EXCEPTIONS
          date_internal_is_invalid = 1
          OTHERS                   = 2.
    Regards,
    Vivek

  • Return receipt for the purchase order through mail

    Hello Friends,
    Can anybody tell me How to receive the return receipt for the purchase order through mail.

    What is the type of Inbound document? Is a Return receipt mail can post in to SAP. I have done for my company thro' Idoc after carefully considering many ways. PO only can be triggered to supplier thro' mail.I am not sure.
    Cheers!

  • QC51:No certificate is required for the purchase order item

    Dear all.
    I want to create an certificate Receipt In the T-CODE QC51.After input the purchase order and item and press return,the SAP show an error message:
    No certificate is required for the purchase order item.
    Message no. QC508
    My question was where to control the purchase order item to require certificate or not?
    Regard
    Yoda

    Hi
    For this you have to maintain Certificate req in Material master.
    MM01>Enter your material->Quality view-->Tick on QM procurement->Certificate require-Mension kind of certificate req.
    like
    E21     Cert. of conformity "2.1"  EN 10204
    E22     Test certif. "2.2"         EN 10204
    E23     Works test certif. "2.3"   EN 10204
    E31A     Insp. certificate "3.1.A"  EN 10204
    E31B     Insp. certificate "3.1.B"  EN 10204
    E31C     Insp. certificate "3.1.C"  EN 10204
    E32     Inspection report "3.2"    EN 10204
    Q001     Conformance Report
    Q002     Plating Certificate
    Q003     Test Report
    Q004     Certificate through Web
    Q005     Chemical / Physical Test report + QC
    etc.....
    Customizing for this can be done in
    SPRO->Quality Management->QM in Logistics--->Define Keys for Certificate Processing.
    This will ask you during MIGO or during UD/confirmation possible thro' QC21
    Regards
    Sujit S Gujar

  • Creating inbound delivery for the purchase order line items

    Hi Experts,
    Please let me know how can I create inbound delivery for the purchase order line items?  Say, I have a purchase order with 5 line items in it.  I wanted to create an inbound delivery for only 2 line items at this point of time.  Which SAP Standard transaction I have to use and what all  data I need to populate?  I would appreciate any help on this and will reward the right answer.  Please let me know.
    Thank you in advance.
    with regards,
    Muthu Ganapathy.

    Hi,
    While creating the inbound delivery (VL31N), intially all the items will be shown, see the advance shipping notfication - from the vendor for which he has send confirmation & rest items you can delete simply & save. & next time when the vendor sends rest advance shipping notifcation (confirmation), you can receive them.
    Hope this answers your query.
    Regards
    Irfan.

  • What is a Statastical Good Receipt for the Purchase Order?

    Hi,
    What is a Statastical Good Receipt for the Purchase Order?
    What are the effects of the same in the documents like the po,stock (quantity and value), invoice verification etc?
    Thanks
    Regards

    Hi,
    In general the Statical GR done for Thirdparty Purchase Order.
    As no stocks updated at plant, its only record purpose.
    If you don't  done this GR , also you can able to do MIRO.
    The MIRO passed without any error.
    Regards

  • User exit/BADI for updating Purchase Order Item

    I am would like to update the purchase order item - specifically field EKPO-REPOS in a user exit or BADI. I haven't been able to find one that allows you to update the purchase order item.
    Any input would be appreciated.
    Derick

    You can use BADI ME_PROCESS_PO_CUST for you requirement
    Method PROCESS_ITEM
    * Retrieve item data.
        CALL METHOD im_item->get_data
          RECEIVING
            re_data = v_data_item.
    Do you validations and changes here
    *update changes
    CALL METHOD im_item->set_data( v_data_item ).

  • User-exit on APO side for the deliveries that are coming from R/3

    Hi,
    When a delivery is created in ECC for a VMI customer, it creates an EI order in APO. We need to record some details of these orders on the APO side.   Can you please let me know the user exit/BADI that gets triggered when a delivery comes to APO through CIF which we can use for our requirement?
    Thanks in advance.

    Hi,
        You can use APOCF006(EXIT_/SAPAPO/SAPLCIF_PU_001) CIF User exit on APO side for CF_OBJECTTYPE = B(Delivery).
    I hope this will help you.
    Regards,
    Saurabh

  • User Exit to add line item in Purchase Order

    Hi SAP Gurus,
    Can any body tell me which user exit is used to add the line items in Purchase Order. I want to link the Packaging material (material type - VERP) to the header material (Material type - FERT) in PO for order type NB or UB. Because our requirement is what, when we enter the finished material in PO then packaging material linked with that finished material should automatically comes into PO as a line item.
    Please help me for the same.
    Thanks in Advance.
    Regards,
    Sujay

    Hi,
    You can use Function Module for this requirement.
    BAPI_PO_GETDETAIL1
    Bye,
    Muralidhara

  • Regarding Error Message for the purchase order

    Hello SRM Experts,
    The Status of the purchase order is Archived and PO is not transferred to the backened system.  I ran the transaction bbp_pd_po_transfer_exec in P36 and check the error message in T-Code RZ20, i get the following error in RZ20 for the PO as:
    1.  Error reading the export data for EXEC of purchase order
    2.   and in P36 system, when i press F5, popup message appears - Error while reading PO in backened system. Inform System administrator.
    I want to know, why this problem appears and how to resolve this issue ?
    Thanks in Advance,
    Regards,
    B.Satyanarayan Reddy

    Hello,
    I checked in the bbp_pd and there also i got the popup message as Error while reading PO in backened system. Inform System Administrator.
    I also checked with the backened team, everything seems to be fine there.
    The thing is that PO is not transferred to the backened system since 13.02.2008 to till date and it stuck up in the EB system.
    Kindly let me know, why this problem occurs and what should i do to resolve the issue.
    Thanks in advance,
    Regards,
    B.Satyanarayan Reddy

  • Fieldname and tablename for the purchase order ( deliverd or not )

    hi,
       how to find out whether the purchase order is delivered or not,
       (whats table, whats fieldname) please tell its urgent
        points assured

    Hello,
    Check this field in EKPO field
    <b>
    EKPO-ELIKZ = 'X'
    </b>
    or
    <b>
    EKET-MENGE = EKPO-MENGE
    </b>
    If any one of the condition is satisfied then the PO is completed delivered.
    Vasanth

  • User exit of\r badi for co11

    Dear Gurus,
      i need a user exit or badi for transcation co11 after creation of batch .
    tx
    raj

    Hi Raj,
    Following are the user exit for co11:
    CONF0001            Enhancements in order confirmation                          
    CONFPI01            Process order conf.: Calculate cust.specific default values 
    CONFPI02            Process order confirmation: Customer spec. input checks 1   
    CONFPI03            Process order conf.: Cust. spec. check after op. selection  
    CONFPI04            Process order conf.: Customer specific input checks 2       
    CONFPI05            Process order conf.: Cust. spec. enhancements when saving   
    CONFPI06            Process order confirmation: Actual data transfer            
    CONFPM01            PM/SM order conf.: Determine cust. specific default values  
    CONFPM02            PM/SM order confirmation: Customer specific input checks 1  
    CONFPM03            PM/SM order conf.: Cust. spec. check after op. selection    
    CONFPM04            PM/SM order conf.: Customer specific input check 2          
    CONFPM05            PM/SM order conf.: Cust. specific enhancements when saving  
    CONFPP01            PP order conf.: Determine customer specific default values  
    CONFPP02            PP order conf.: Customer specific input checks 1            
    CONFPP03            PP order conf.: Cust. specific check after op. selection    
    CONFPP04            PP order conf.: Customer specific input checks 2            
    CONFPP05            PP order conf.: Customer specific enhancements when saving  
    CONFPP06            PP Order Confirmations: Actual Data Transfer                
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens   
    CONFPS01            PS confirmation: Determine customer specific default values 
    CONFPS02            PS confirmation: Customer specific input checks 1           
    CONFPS03            PS confirmation: Customer specific check after op. selection
    CONFPS04            PS confirmation: Customer specific input checks 2           
    CONFPS05            PS confirmation: Customer specific enhancements when saving 
    Hope this will help you...

Maybe you are looking for

  • Is it possible to change multicam angle property? Or add video to what is seen as a audio angle?

    I'm getting footage from overseas and first I was sent just the audio files, so I assumed i could just put the audio files into a multicam clip angle and started keywording and favoriting the new clip, which i did.  Now I've received the video files.

  • [solved] associating mailto: links in firefox/openbox...

    Title is fairly self-explanatory, but I'm trying to figure out how to get firefox to open email links with claws-mail. I'm not sure how or even if it is possible to set system defaults in openbox since it is just a window manager, and there doesn't s

  • Adobe XI keeps loosing serial number on Citrix servers

    Hi All, we have a customer who has bought Adobe Acrobat XI. They have 4 Citrix servers and on all of them is the software installed. There is one serialnumber and that was bought for 11 users. The issue we face is that from time to time, on a random

  • Westel 7500 DSL Router/Modem: Cannot connect to PPPOE server

    Westel 7500 DSL Router/Modem: Cannot connect to PPPOE server My DSL connection periodically slows down to a crawl [less than 56kbps actual transfer rate]. When I reset my DSL Modem it takes 30 MINUTES to 4 HOURS to reconnect. The Main status screen s

  • Query Regarding Approval

    I am creating users and provisioning it to ad. Now I have a requirement in which a user can request for a group and a approval workflow has to be triggered.The first approver being the users manager and the second approver being the application owner