Create custom data when releasing a Purchase Order

Hello people,
The customer uses ME28 to release the Purchase Order.
They have, for instance, two release estrategies: W1/01 and W2/02, that differ about the price.
The scenario is:
When the customer releases a Purchase order from W2/02 strategy using ME28 transaction, we need to do some verifications in Z tables and create a record in another Z table. If for some reason the purchase order will not be released, this Z data does not have be saved.
And if some error occurs and the data don´t be saved, the estrategy must remain blocked (not released).
In which EXIT is the best point to do this?
Thanks a lot!

hey
try these 2 user exits
MM06E005 - ZXM06U43 which is called from exit EXIT_SAPMM06E_012. This code is hit at the time you check or save.
M06E0004 - Changes to communication structure for release purch. doc - EXIT_SAPLEBND_002

Similar Messages

  • Eror when release the purchase order

    hello,
    any body pls explain me. my client requires when they going to release the purchase order it should check the chapter id. if it is not maintained it should allow to release. is it possible. it yes please explain me.
    thaks
    bhakta

    The message you are looking for is actually available only for me21 &
    not for ME21N due to technical constraints.
    However you can make use of the following logic & customise the message
    to appear during PO creation through me21n.
    This is how the system works as of now. In ME21 this can be captured
    as an error message and the sytem displays it so. In ME21N the
    output of message is on the 'last in first out' process. In this case if
    there are any standard messages then the particular CIN message would
    not be shown. In case there are no other messages then this message
    is shown out. Customers can capture this mesage on a priority basis
    by making some adjustments at the time of display of this message
    in function module J_1I6_DETERMINE_EXCISE_RATE.
    You can write your own code to display the 'chapter id missing' error.
    In 'FV64A352' include program, we are calling the function module
    'J_1I6_DETERMINE_EXCISE_RATE'.In this module we are getting the
    'chapter id missing' exception when chapter id is not maintained for
    a material.So in 'FV64A352' just after this function module call, you
    can catch this exception(chapter_id_missing     = 1) and display your
    own error message there.
    This will be a customer modification from SAP standard, so please think twice before going ahead

  • Q41 IWrong sales order data when joining to purchase order

    No matter what I try I am getting sales order numbers that are not relevant to the purchase order number, I suspect it is to do with the joins but can't figure it out..............
    SELECT
    t2.cardcode as 'Customer',
    t2.docnum as 'Sales Order',
    t0.docnum as 'Purchase Order',
    t0.docduedate,
    t1.itemcode,
    t1.dscription as 'Item Description',
    t1.quantity
    FROM
    opor t0
    inner join por1 t1 on t0.docentry = t1.docentry
    inner join ordr t2 on t0.docentry = t2.docentry
    WHERE
    t0.docduedate >= '[%0]' and
    t0.docduedate <= '[%1]' and
    t1.itemcode >= '[%2]' and
    t1.itemcode <= '[%3]' and
    t1.whscode = 'DSHP'
    As always any help greatly appreciated.
    Robin

    Updated:
    SELECT Distinct
    t3.cardcode as 'Customer',
    t3.docnum as 'Sales Order',
    t0.docnum as 'Purchase Order',
    t0.docduedate,
    t1.itemcode,
    t1.dscription as 'Item Description',
    t1.quantity
    FROM
    opor t0
    inner join por1 t1 on t0.docentry = t1.docentry
    inner join rdr1 t2 on t2.PoTrgentry = t0.docentry
    inner join ordr t3 on t2.Docentry = t2.docentry
    WHERE
    t0.docduedate >= '[%0]' and
    t0.docduedate <= '[%1]' and
    t1.itemcode >= '[%2]' and
    t1.itemcode <= '[%3]' and
    t1.whscode = 'DSHP'

  • Create outbound delivery with reference to purchase order

    Hi,
    I've created new plant and when i make purchase order i cant see the PO in VL10B, and there for i cant create outbound delivery.
    In the PO in Item Detail there is no shipping category.
    What i need to do ?
    Thank you.

    Step1: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Define Shipping Data for Plants.
    Define the Customer number, Sales Org, Distribution channel and Division for the Plant.
    The Customer you are assigning for the Plant has to be created in the System to create the outbound delivery.
    Step2: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Assign Delivery Type and Checking Rule.
        Then Assign the PO type and the supplying plant to the Delivery Type which is NL (for inter company) and Checking Rule.

  • Pull Service tab data from Contract to Purchase order

    Hi All,
    I Just want to know if is possible to pull service tab data from contract to purchase order. When i create PO w.r.t Service Contract the data from the service tab is not pulled. So need help on how can I pull.
    Please help..
    Thanks,
    Ros

    Hi if u r referring service contract maintain it in the line item (Outline agreement no). All the other details will copied from Contract.
    Check it out
    Regards,
    Raman

  • Can't release an purchasing order

    Dear experts!
    Thank you for your attention!
    I can't release an purchase order when I processed a " 3rd party order with shipping nocification" .
    The purchase requisitions has been created automantically and been assigned and also been converted to PO.
    However, I can't release the purchase order with no reason.
    hint: the material is not define for the vendor.
    Where did the problem come out?
    Best regard!
    Tangdark

    Hi
    maintain info records in ME11
    and also sourcelist in ME01
    release in Me28 or Me29
    regards

  • Release Strategy - Purchase Order

    I have configured the relevant settings for creating the purchase order.
    I am now able to create the purchase order and email the same.
    However, the requirement is to release the purchase order by a Superior in the organization.
    I have come across the transaction code ME28.
    Can you please let me know the configuration and user transaction steps in order to follow he release strategy of the purchase order.
    Thanks in advance for your inputs.
    Regards,
    Ravi

    hi,
    Few points:
    1. Po can be released only at header level..
    2. For configuartion, go to SPRO >> IMG >> MM >> Purchasing >> PO >> define release strategy for PO >>
    here you shd set up your new release strategy ...for that you need to edit characteristics, class...
    first maintain your characteristics ie. from "EDIT characteristics" ...here create your own characteristics and enter the suitable data here...enter class type '032' for the same...
    reference the fields from CEKKO structure...and add your require release relevent fields...
    then go to EDIT CLASS...here define your new class and maintain same class type as 032...
    3. After this maintain release strategy...click on release group option..go inside...link your req. release group to class...so that the classified characteristics will seems while releasing the document...
    4. Maintain release codes...
    5. maintain release indicator...
    6. then maintain inside Release strategy tab...
    here define you already maintain group and codes...maximum 7 rel. codes are possible...
    then maintain preriquisite...
    In side classification, maintain the fields based on which you wanna release the PO...
    and maintain the other req. things on diff. tabs...
    7. after doing this check your rel. strategy at OMGSCK tcode ie. given in tree path at same place inside SPRO path define above..
    Try making a PO and check whether its working or not...
    regards
    Priyanka.P

  • Why can I only create 4 forms when I have purchased the entire package at 100+ dollars?

    Why can I only create 4 forms when I have purchased the entire package at 100+ dollars?

    FormsCentral can be used from anywhere, but to purchase a subscription you need a credit card with the mailing address in one of the countries supported for purcahse:
    http://forums.adobe.com/docs/DOC-1375
    The partner can purchase if they have access to a card in one of those countries.  Alternatively they do not need to purchase a subscription to edit forms that you've created, they do in order to create multiple forms of their own, but by your sharing forms with them at the "Co-author" level they have access to the editing.  Here are the instructions to share a form:
    http://forums.adobe.com/docs/DOC-2462
    Thanks,
    Josh

  • Enterprise Services for release a Purchase Order

    Hello,
       Im looking in the ES Workplace an enterprise service for release a purchase order but I cant find it. Someone knows the name?
    Thanks
    Regards
    MG

    Hello Venu,
      Thanks for the response. I am doing what you said, I have exposed the BAPI as a web service, activate it (sicf), configurating the endpoint (soamanager), publish to the service registry (wspublish). But I have 2 problems,
       1. When I try to test it from the service registry it shows me this error: "Invalid transport binding settingsHTTP Client, does not have endpoint url specified", and I saw and the enpoints are configured.
       2. When I consume the web service through Web Dynpro, after I deploy and run, the applications show me this error, "java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel"wsexample1.wsexample1_model.Wsexample1_model.<init>(Wsexample1_model.java:124)".
    Regards
    SU

  • Can we create outbound delivery with reference of purchase order

    Hi All,
    can we create outbound delivery with reference of purchase order?

    dear friend,
    as far as i know you can create it with the following references:
    -to sales order;
    -to STO;
    -to subcontract order;
    -to project;
    -without any ref
    are you talking about stock transport order ?
    regards,

  • Function module to create Inbound delivery with reference to Purchase Order

    Hi experts,
    I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100.
    If I am showing report for Purchase Order with select option and if I select first 5 line items 10, 20, 30, 40, 50 then my program should be create one Inbound delivery for selected line items only. I have tried BDC for Tcode VL31N, but its not worked. Is there any Function module to create Inbound delivery with reference to Purchase Order for selected line items????????

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • How to create a smart form using the purchase order

    hi everybody............
    i have created one purchase order, i want to print that PO using smartforms rather than scripts. how can i do it, can anyone help me out in solving the issue. i am using the version sap 4.7
    Edited by: mhyderali on Aug 21, 2009 4:08 PM

    Hi,
    Before answer your question few things i would like to kno:
    1. currently is there any script is printing while displaying output.
    2. do u allready hae a smartform or you are going to develop a smartform.
    3. if you dont have a smartform and there is a script attached then you can convert script into smartform and then you can change in the smart form accordingly.
    4. after devloping a new smart form or converting script into smartform what you need to do is go to V/83 transaction give Output Type which is associated with script and Application area (for purchase order i.e. EF). then press ok screen will display here you can change the name of your form name under the form column.
    6. if you dnt have the Output type then you need to create a output type for the purchase order.
    Please let me know if you have still some question.
    Thanks
    Narendra

  • A report showing all release  refused purchase orders

    Dear SAP Gurus
    Please assist, I need to run a report showing a list of release refused purchase orders.
    CN

    Hi,
    I dont think there is a standard report for that.. you can have the details from table EKKO with release indicator as 1 (EKKO_FRGKE)
    Regards
    Merwyn

  • How to Release Mass Purchase order in production server

    Hi
    i have to release mass purchase order can any one help me how to that
    thanx

    Hi,
    Tcode ME28 will sove your problem,
    Enter:
    Release Code
    Release Group
    and press F8.
    Now here click on Release + Save button.
    Cheers
    utsav

  • When creating entry sheet,the error raise:purchase order incomplete(parked)

    dear all:
    When I create entry sheet of one po with tcode ml81n,the error raise:purchase order incomplete(parked)message id:se215.
    How to solve this?Thank you!
    maojian

    hi Jian,
    Go into the PO using ME22N, check whether there is any warning message in it.Complete the PO and then only save it.
    Also check whether the PO is to be released,if it is yes then Release it and then create Entry Sheet using ML81N.wrt PO.
    Also check whether you are referencing a park or hold PO.
    Hope it will help you.
    Cheers
    Manoj K Singh

Maybe you are looking for