Send E-mail to Buyer and Requisitioner while doing GR for a Purchase Order

Hi All,
I  would like to send automatic notification messages to buyers and Requisitioners when goods receipt is completed for Purchase orders (Document type ZE). Notification should be sent only for the purchase requisitions that are created manually.
Notification message should contain the following info:
u2022 Purchase order number
u2022 Purchase requisition number
u2022 Purchase requisition line item number
u2022 Vendor
u2022 Material Number
u2022 Short Text
u2022 Goods Receipt quantity
u2022 Batch number
u2022 Storage Location
Notification messages should send to an email address, requisitioneru2019s SAP address and e-mail address that was maintained SAP user profile.
If goods receipt document contains more than one line and those lines related to more than one requisition the system should generate one message per requisitioner.
There is standard fonctionality in message determination that enables sending a message to the buyer when GR is performed on a PO. But not to requisitioner.
would this require Worfklow or is there a user exit available at Goods Receipt time to do this kind of notification?
Please let me know
Thanx in advance.

Hi,
You can send the mail in the BADI MB_DOCUMENT_BADI.
But i suggest to check with your functional consultant to set up a routine in output determination.
In this routine you can add the code to send the mail.
Regards,
Ankur Parab

Similar Messages

  • Error while doing delievry against Return Purchase order

    HI Experts
    I am getting error "PO NO XXXXXX is incomplete. You cannot save the delivery" while creating delivery against a return order using T code VL10B.
    Please note that I am able to create delivery for one vendor, material & plant combination, but cannot create against another vendor, material and plant combination.
    Please let me know the check points where I can check.
    Thanking you in advance.
    Regards
    Bhavesh Mistry

    Please check the setting in IMG.
    - Logistics Execution->Shipping->Basic Shipping Functions->
      Incompletion Control for Deliveries->Define Incompletion Procedures
    Then, please check in the document according to the incompletion list

  • Error while doing outbound delivery against Purchase Order

    hello
    i m getting error while doing Outbound delivery for purchase order as follows
    EKPO-SOBKZ=E; EKPO-UMSOK=_; EKPO-KZBWS<>_ EKPO-KZVBR<>E (Note 305582) not supported (check your entry)
    Message no. M7146, i m not getting wht will be the reason,
    Regards
    NISHJ

    Please go through the note - 305582. It is clearly given the direction.
    Symptom
    You try to post a goods movement for a stock transport order from the unrestricted-use stock into the sales order stock or project stock.
    During the goods issue, the system displays error message M7146 with a text along the lines of "EKPO-SOBKZ=E; EKPO-KZVBR<>E; ... not supported".
    Cause and prerequisites
    In the goods issue for the stock transport order, the system may have to create a stock in transit which is deconstructed during the goods receipt. If the withdrawal takes place from the special stock, it is clear which is the receiving stock.
    However, if the withdrawal is carried out from the unrestricted-use stock ("Collective requirements", controlled by the dependent requirements indicator MARC-SBDKZ in the material master of the issuing plant), this results in the design problem that the control tables of the goods movement do not have any key field for the receiving stock. Therefore, the control for the receiving stock is controlled via the consumption indicator in the account assignment category of the purchase order. The consumption indicator therefore requires a specific default setting (you may have assumed you could change the design of these control tables, however this is not possible).
    Using an inappropriate consumption indicator then causes for the goods issue an incorrect or no stock in transit to be created so that the goods receipt fails.
    Solution
    Implement the program change in accordance with the correction instructions.
    Afterwards implement Note 413908 immediately if this is relevant for your release.

  • Error while doing miro of network purchase order ( no funds center entered/

    Hi,
    we are facing one problem while doing miro of network  service purchase order. System is giving message 'No funds center entered/derived in item 00030'.
    We have activated funds management in Jul'10. The said network service PO belong to previous year. Also we have changed
    commitment item of GL account related to concerned service order in Jul'10 & posted GRN one in apr'10 & one aug'10.
    System is not allowing to cancel the service entry sheet.
    Can anybody help on this.
    regards
    abhishek

    we had activated the trace facility for FMDEIRIVE & found that all FC/Commitment item derived correctly. But while posting the document it is throwing an error.
    Regards
    Abhishek

  • Add restriction while create item by "Old Purchase Orders and Templates"

    We are consider to add restriction while create shopping cart item by "Old Purchase Orders and Templates".  After implement such restriction, create item by copying old shopping cart item is not allow for particular matereial group number.
    Is there any BADI can be used in our case?  If there is no, could modify HTML template the only solution?
    Regards,
    Donald

    Hi,
    If the restriction is for certain group of people,then you  have 2 options:
    1.Make the link invisible for those group of people by implementing the BADI BBP_SC_MODIFY_UI.In the BADI,first check the user attributes like particular role and based on that make the link invisible.
    2. Assign certain role to the  group of users who should not see the link "Old Purchase order and templates".You can hide this link in the MENU by removing this from the lits of trasctions in that particular role.In PFCG,go in that role and then under MENU tab,remove the entry for "OLD PURCHASE ORDER AND TEMPLATES".
    BR,
    Disha.
    Do reward points for useful answers.

  • Error while doing  GR for scheduling aggrement

    Dear Experts,
    We are facing error while doing GR for scheduling aggrement.
    we have done the following steps.
    1) Scheduling aggreement in ME31L
    2) Released in ME35L
    3) Mainatined Sch.Agmt Schdule in ME38 for todays and date 200 qty and other line is 800 qty.
    When we are trying to do GR in MIGO system is giving the following message.
    Document 5500000152 does not contain any selectable items
    can I know what I have missed in the above steps.
    Please guide me to resolve this.
    Regards,
    Prasad

    Hi,
    Please check Please check if Gr is already done against this document.  Also please check whether you have attached SA in the source list with line items.
    T-code:ME01
    Enter Mat.code & Plant.
    In the next screen pl.do the following:
    Valid from - commencement date of the SA
    Valid to - End date of the SA
    Vendor - Vendor on whom the SA is released
    POrg - Your purchase organisation
    PPL - Leave it blank(This is only for interplant)
    OUn - Ordering unit
    Agreement - SA number
    Item - 1
    I hope this will resolve your issue. Thanking you

  • I am getting error while doing MFBF for semifinisg good

    Hi,
    i am getting error while doing MFBF for semifinisg good
    Existing standard cost estimate cannot be used
    Message no. RM175
    Diagnosis
    This error appears under the following circumstances:
    The existing standard cost estimate cannot be used for backflushing activities as the repetitive manufacturing profile was not maintained correctly when the standard cost estimate was carried out.
    The standard cost estimate must come from product costing. Other cost estimates (such as base object controlling) are not possible.
    Procedure
    The repetitive manufacturing profile assigned to the material at the time of the planned cost estimate must be a profile for repetitive manufacturing with product cost collector.
    Use product costing to create the standard cost estimate.

    I had already check REM profile repetitive mfg profile final backflush w. activities.
    this particular material is semifinish material attached in BOM of finish material.
    backflush of finish good is possible but now new requirement is to do production booking for the semifinish material.
    i had assign production version , done routing and maintain REM profile,
    created material cost with quantity structure ck11n then run the costing in ck40n.
    still getting the error what else is to done to able to book this thru MFBF.

  • Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE

    Hi All,
    I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
    Goods movement not possible with mvmt type 601
    Can anyone suggest me what will be the solution for it?
    Regards,
    Raghuraman.k

    I tried with the above BAPI but it is not working.
    In my case a delivery has one line item with batch split and other line item without batch split.
    Below is my code :
    DATA : gwa_header_data TYPE bapiobdlvhdrcon,
           gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
           lv_delivery     TYPE bapiobdlvhdrcon-deliv_numb,
           git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
           gwa_item_data TYPE bapiobdlvitemcon,
           git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
           gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
           git_return    TYPE STANDARD TABLE OF bapiret2,
           gwa_return    TYPE bapiret2.
    *Header data
    gwa_header_data-deliv_numb = '0808000002'.
    *Header Control data
    gwa_header_ctrl-deliv_numb = '0808000002'.
    gwa_header_ctrl-post_gi_flg = 'X'.
    *Delivery Number
    lv_delivery = '0808000002'.
    *Item data and its corresponding control data
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900002'.
    gwa_item_data-dlv_qty         = 4.
    gwa_item_data-dlv_qty_imunit  = 4.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900002'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900003'.
    gwa_item_data-dlv_qty         = 6.
    gwa_item_data-dlv_qty_imunit  = 6.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900003'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '000020'.
    gwa_item_data-dlv_qty         = 10.
    gwa_item_data-dlv_qty_imunit  = 10.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '000020'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    BREAK-POINT.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
      EXPORTING
        header_data    = gwa_header_data
        header_control = gwa_header_ctrl
        delivery       = lv_delivery
      TABLES
        item_data      = git_item_data
        item_control   = git_item_ctrl
        return         = git_return.
    BREAK-POINT.
    IF git_return IS INITIAL.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.

  • Getting the error while doing PGI for depot delivery

    Hi
    I am getting the below error while doing PGI for Depot delivery. This error is happening only when I taking the materials from stock transfer order which has more than 10 line items. Same issue is not happening when I am taking one material in Stock transfer order in & same material in depot delivery. Please see the screen shots below attachment. I have already maintained no range for the object J_1IDEPINV for year 2014.
    Regards
    PK

    Moved from SAP ERP SD Sales to Internationalization and Unicode.  Please post all your CIN related queries here.  Also ensure that before posting, you made efforts in searching in SCN or Google.  The reason for this indication is the issue you posted has already been discussed many times here and you will get some clue had you searched.
    G. Lakshmipathi

  • What are the main steps to be taken care while doing recording for LSMW

    Hi,
    I am facing problem in LSMW.
    Can anybody suggest me that What are the main steps to be taken care while doing recording for LSMW for recording mm01 ?
    thanks'
    naresh

    Hi,
    Recording in LSMW is similar as SHDB.
    in LSMW after you give Project-Subproject and Object.
    1)Go to-> Maintain Object Attributes -> double click
    2)Press Display/Change Button at top left to make editable mode.
    3)Select radiobuton -> Batch Input -> Give Recording name say Z_mm01
    4) Click the Recording Overview boton on right -> Give TCode which u want to record....
    Rest refer the Document link attached.
    Please find the links to various threads on the same.
    Re: LSMW - Using a BAPI
    BAPI, IDOC in LSMW
    Upload the data in LSMW using BAPI
    This one is the most complete document for the same
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://service.sap.com/lsmw.
    Regards
    Kiran

  • Problem while doing bdc for fv60

    Hi frends,
       I got problem while doing BDC for fv60 tcode.i have given
    header items:
    vendor number
    invoice date
    posting date
    amount
    item data:
    g/l acc no: 100000
    amount 1000 whatever
    these are all given in recording
    in recording after all giving this data if we click on park it is telling "parking not possibe duiring batch input".
    can any body tell me the process for recording shdb and after that in bdc how can we give multiple line items for fv60
    thanks,
    naveen.

    I don't think you can use FV60 in batch input. Your options are to use transaction FBV1 or bapi BAPI_INCOMINGINVOICE_PARK.
    Rob

  • How to create new requisitioner in sap mm for raising purchase requisition?

    How to create new requisitioner in sap mm for raising purchase requisition?

    Hi Dear,
    There is some link will help you to create Purchase Requisition and other MM Documents.
    http://www.docstoc.com/docs/11307932/SAP-MM-Manual-Create-Purchase-Requistion
    http://www.r3.duke.edu/training/stepbystep/#purch
    http://sapdocs.info/sap/materials-management-2/download-sap-purchasing-user-training-ppt-material/
    Regards
    Aamir

  • Error while doing IV for Service Delivery Payment

    Dear Support,
      There is Problem while doing Invoice for delivery Payment(Agent commission) in case of Service Order having without
    account assingment.
    While doing Invoice for that Delivery cost , system is giving a error message 'Enter a GL Account'.
    Pls provide some solution regards .
    Ragerds
    Mukesh

    Hi,
    if your service order is a service purchase order, please read the following:
    Planned delivery costs are not supported for service orders.                    
    There is no plan to change this in the near future.  
    Delivery costs are generally not supported in external services                
    management and in case of blanket purchase orders, item category D or B.       
    Instead of representing delivery costs via conditions, in case of              
    service documents, freight costs and other, SAP recommends to add in           
    additional service lines. (note 381030 )                                                                               
    For the future we recommend to use additional service line instead              
    of planned delivery costs condition. There is no problem to post                
    invoice for different vendor for particular SES created for service             
    line that constitutes delivery costs.    
    Regards,
    Edit

  • Reduction logic while doing PGI for Delevery

    Hello all,
    we have one requirement to make the consumption for MTO(Make to Orders) while MRP running through MD04. We have done some changes in enhancement spot to made the consumption forcifully for MTO's.
    But while accessing MD63 for VSF(Planning with Final Assembly) MTO's we are not able to display the reduction quantity while doing PGI for particular Delivery.But this functionality is working fine for VSE(Planning without Final Assembly) MTO's as SAP standard.
    Please help me out to achieve the same functionality for VSF(Planning with Final Assembly) MTO's .
    Thanks and Regards,
    Siva.

    Hello all,
    we have one requirement to make the consumption for MTO(Make to Orders) while MRP running through MD04. We have done some changes in enhancement spot to made the consumption forcifully for MTO's.
    But while accessing MD63 for VSF(Planning with Final Assembly) MTO's we are not able to display the reduction quantity while doing PGI for particular Delivery.But this functionality is working fine for VSE(Planning without Final Assembly) MTO's as SAP standard.
    Please help me out to achieve the same functionality for VSF(Planning with Final Assembly) MTO's .
    Thanks and Regards,
    Siva.

  • Error while doing MIGO for a sub-contracted item

    Hello to Everybody,
    I am facing below problem -
    Error : Incorrect CCtr <Cost Center Code> with this account (CCtr category must=D) for
    <Item Code> , while doing MIGO. (for receiving sub-contracted item from vendor).
    May I request for possible solution to above error ?
    regards,

    Dear Sanjay,
    You can determine the cost object for the posting of the  costs in the transaction OKB9.
    Following thread should resolve this issue:
    Re: cost of subcontracting
    Regards,
    Naveen.

Maybe you are looking for