BAPI_REQUISITION_RELEASE

i am using this BAPI BAPI_REQUISITION_RELEASE
and i got the following error
Release outside field of responsibility
kindly help

Hi
This error you are getting as error in the FM "CALL FUNCTION 'ME_SET_RELEASE' " error you are getting is "responsibility_fail    = 3 "
Conclusion is "You might not be Responsible for release " or
authorization problem.
For more clarification provide the input field.
If helpful please reward the point.
Regards
DSS

Similar Messages

  • BAPI_REQUISITION_RELEASE  not updating FIXKZ (Fixed indicator) in EBAN

    I am using the BAPI "BAPI_REQUISITION_RELEASE " to release a Purchase Requisition. However after the excution the field FIXKZ (Fixed indicator) is empty in EBAN.
    Cam inputs as to why the fixed indicator is not updated
    Thanks
    Titu

    Hi Titu,
    Please check again after calling BAPI_TRANSACTION_COMMIT.
    Please also check the below SE37 documentation.
    This method enables you to release (signify approval of) purchase requisitions item by item.
    This is necessary if a purchase requisition item satisfies the conditions defined in a release strategy
    Example: all purchase requisition items with a value exceeding $10,000 must be released (approved) before they can be issued.
    The requisition number and item and the release code must be passed on. The new release status and the new release indicator are returned.
    Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
    If you wish to release all the items of a purchase requisition at the same time, use the Release method for the business object PurchaseRequisition.
    Check the below sample code from program LMEREPI19
            CALL FUNCTION 'BAPI_REQUISITION_RELEASE'
              EXPORTING
                number            = ls_outtab-banfn
                rel_code          = l_frgab
                item              = ls_outtab-bnfpo
                use_exceptions    = space
              IMPORTING
                rel_status_new    = l_frgzu
                rel_indicator_new = l_frgkz
              TABLES
                return            = lt_return.
    Thanks
    Ramakrishna

  • Function Module to fetch Release Code for PReqs

    Hi,
    Is there any function module to get the current release code applicale by passing the requisition number?
    Example : If we have 4 levels of approval, say A1,A2,A3 and A4, and I want to know with what release code shall I release the requisition.
    If release has benn effected for the requisition with codes A1 and A2 and if I query with the function module what is the current release code applicable, then it should give A3 or atleast a result that A2 has been the last release code effected.
    Also where is the release related info stored ? I mean which tables...
    Not the release strategy related info but the release effected info.
    Dont worry about points...

    Hi
    Pur requisition Release Codes are stored in <b>T161E</b> table
    Release code is linked with Release strategy in <b>T161F</b> table
    Link the code with Release strategy field in <b>EBAN</b> table
    Also check the fun modules
    MM_CHECK_RELEASE_CODE_EQUAL_KI
    MM_CHECK_RELEASE_CODE_NOT_KI
    ME_RELEASE_REQUISITION
    BAPI_REQUISITION_RELEASE
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Purchase Req to Purchase Order

    Is there a transaction in SAP where a user can both release a purchase requisition AND create a purchase order from that same req without having to leave that transaction and go into another?

    Hi,
    A suggestion:
    Create a Z program for combining both the needs by using the below BAPI's
    BAPI_REQUISITION_RELEASE - Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RELEASE_GEN - Release Entire Purchase Requisition
    BAPI_PO_CREATE - Create Purchase Order
    BAPI_PO_CREATE1 - Create Purchase Order
    I am not aware of a BAPI or FM which can create a PO w.r.t a PR, but maybe one of the above BAPI on PO create can be used.
    Check with your abaper if there a FM which can create a PO from PR, then you use it.
    There is one FM - OIJ_EL_DOCG_CREATE_PO_PR, check if this can be used.
    Regards,
    Vivek

  • BAPI to reject purchase requisition

    Dear All,
    Iu2019m looking forward a BAPI to reject purchase requisition. I found below BAPIs for purchase requisition but I couldn't  find any BAPI to reject requisition? I wonder whether a BAPI exists to reject purchase requisition or not. Thanks in advance.
    - BAPI_REQUISITION_RELEASE
    - BAPI_REQUISITION_RELEASE_GEN
    - BAPI_REQUISITION_RESET_RELEASE
    - BAPI_REQUISITION_RESET_REL_GEN
    - BAPI_REQUISITION_CHANGE
    - BAPI_REQUISITION_CREATE
    - BAPI_REQUISITION_DELETE
    - BAPI_REQUISITION_GETDETAIL
    - BAPI_REQUISITION_GETITEMS
    - BAPI_REQUISITION_GETITEMSREL
    - BAPI_REQUISITION_GETRELINFO

    aarioglu,
    I am facing to the same problem.
    Did you solve it?
    Thanks in advance.
    Felipe Fernandes

  • Bapi for ourcahse requisition

    hi all
    i need names of all the bapi 's related to purchase requisition i.e bapi for purchase requisition release, refuse etc .
    regards
    navjot

    HI,
    BAPI_REQUISITION_RELEASE - Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RELEASE_GEN - Release Entire Purchase Requisition
    BAPI_REQUISITION_RESET_RELEASE - Cancel Release of Purchase Requisition Items
    BAPI_REQUISITION_RESET_REL_GEN - Cancel Overall Release of Purchase Requisitions
    BAPI_REQUISITION_CHANGE - Change Purchase Requisition
    BAPI_REQUISITION_CREATE - Create Purchase Requisition
    BAPI_REQUISITION_DELETE - Delete/Close Purchase Requisition
    BAPI_REQUISITION_GETDETAIL - Display Purchase Requisition Details
    BAPI_REQUISITION_GETITEMS - Read Purchase Requisition Item
    BAPI_REQUISITION_GETITEMSREL - List Purchase Requisitions Awaiting Release
    BAPI_REQUISITION_GETRELINFO - Display Detailed Release (Approval) Information on Purchase Requisition
    Regards,
    Padmam.

  • BAPI for ME55 or ME28

    Hi,
    Is there any FM available for transactions ME55 or ME28?
    I want to get all open purchase requisitions and purchase orders, which need to be released?
    I want to have the selection only by release code...
    any tip or help*?
    Help will be rewarded
    BR
    Saso

    Hi,
    recently I faced the same problem and these two BAPI's did the job:
    Get Purchase Requisitions by Release Code: BAPI_REQUIREMENT_GET_LIST
    Release Purchase Requisition by Release Code, Req. number & item: BAPI_REQUISITION_RELEASE
    Regards!

  • BAPI to approve/reject Purchase Requsition

    Hello all - I need some help from SAP gurus.
    I am looking for two BAPIs - one to approve and one to reject Purchase Requsition item. I am using BAPI_REQUISITION_GETDETAIL and need to approve and reject the purchase requsition that I bring up using said BAPI. Does anyone know if such BAPIs exist? If not, how do you approve or cancel purchase requisition?
    I'd greatly apprecaite your help.
    Thank you
    Halston

    Hi
    I am not sure of the your complete requirement, but you can try this
    BAPI_REQUISITION_RELEASE       Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RELEASE_GEN        Release Entire Purchase Requisition
    BAPI_REQUISITION_RESET_RELEASE       Cancel Release of Purchase Requisition Items
    BAPI_REQUISITION_RESET_REL_GEN        Cancel Overall Release of Purchase Requisitions
    Thanks !
    E.Avudaiappan

  • BAPI for release strategy

    Hi Guys
    I need know one bapi for release strategy.
    Anybody can help me?
    Thanks Comunitty.

    Hi Ronaldo,
    Could you be more specific? Do you need to Release a PR, or you need to read/check the strategy or what?
    If you need to release a PR, check this ones (and others in FuGr MEWF):
    BAPI_REQUISITION_RELEASE       Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RELEASE_GEN   Release Entire Purchase Requisition
    Cheers,
    Custodio

  • Need Function Module or Bapi....

    Can you please tell me function module or bapi which can create RFQ (Request for Quotation) from PR(Purchase requisition)
    thanks and regards,
    Hetal

    hi,
    BAPI_ACC_PURCHASE_REQUI_CHECK Accounting: Check Purchase Requisition
    BAPI_ACC_PURCHASE_REQUI_POST Accounting: Post Purchase Requisition
    BAPI_REQUISITION_RELEASE Release Purchase Requisition Item by Item
    BAPI_REQUISITION_CHANGE Change Purchase Requisition
    BAPI_REQUISITION_CREATE Create Purchase Requisition
    BAPI_REQUISITION_DELETE Delete/Close Purchase Requisition
    BAPI_REQUISITION_GETDETAIL Display Purchase Requisition Details
    BAPI_REQUISITION_GETITEMS Read Purchase Requisition Item
    rgsd
    Anver

  • How to update some fields of EBAN in ABAP code

    Hi, all
    In my ABAP program, I have to update two fields of EBAN .
    But I could not find any function or BAPI about it.
    Would anyone out there be able to help.
    Many thanks
    Aysenur

    Hello,
    Try with these FM.
    Function group                 Function group short text
    Name of function module        Short text for function module
    MEWF                           BAPIs for Release of Requisition/PO
    BAPI_REQUISITION_RELEASE       Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RELEASE_GEN   Release Entire Purchase Requisition
    BAPI_REQUISITION_RESET_RELEASE Cancel Release of Purchase Requisition Items
    BAPI_REQUISITION_RESET_REL_GEN Cancel Overall Release of Purchase Requisitions
    MEWQ                           BAPIs Requirement Coverage Request
    BAPI_REQUISITION_CHANGE        Change Purchase Requisition
    BAPI_REQUISITION_CREATE        Create Purchase Requisition
    BAPI_REQUISITION_DELETE        Delete/close purchase requisition
    BAPI_REQUISITION_GETDETAIL     Display Purchase Requisition Details
    BAPI_REQUISITION_GETITEMS      Read Purchase Requisition Item
    BAPI_REQUISITION_GETITEMSREL   List Purchase Requisitions Awaiting Release
    BAPI_REQUISITION_GETRELINFO    Display Detailed Release (Approval) Information on Purchase Requisitio
    If useful reward points.
    Vasanth

  • Workflow: Approval BAPI

    Hi,
    After to load all purchase orders from a system to SAP-SRM, the manager changed his mind about the workflow. He does not want to approval all purchase orders documents loaded, as workflow asks to. So, he asked me to make a program witch could make that instead him.
    I could not find any BAPI or any way to do that by configuration at WF as well.
    Does anybody know how could I do that?
    Thansk for any help.
    Karla.

    hai karla,
    here are some bapi's to cancelapproval all purchase orders documents loaded.
    BAPI_REQUISITION_RELEASE --Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RESET_RELEASE--- Cancel Release of Purchase Requisition Items
    BAPI_REQUISITION_CHANGE----Change Purchase Requisition
    hope this is helpful.
    regards,
    praba.

  • UWL Batch Processing

    The UWL How-to Guide talks about batch processing in the UWL (via Submit Decisions action), and has examples for three different handlers: user decision, terminating event, and container update.
    I want to provide a new batch processing view for requisition release using SAP-supplied standard task TS00007986.  The method used is BUS2009.SingleRelease, which in turn calls transaction ME54.  I'm having trouble figuring out how to use the UWL batch processing capability for this type of object and method.  None of the handlers seems exactly appropriate.
    We are running EP6 SP2 Patch 31 and a 4.6C R/3 system.
    My guess is that I will have to modify the existing workflow to add a 1-from-2 split for this step.  The new leg would include a listen for event step (requiring a new event for BUS2009) and a new step (and BUS2009 method) to perform the release in background.  With these changes to the business object and workflow definition made, I could then use the terminating event handler.
    Is this correct?
    Thanks for any help!
    John

    Hi John,
    You are correct in thinking that your workflow/task needs to be able to respond correctly to whatever multiple exeuction "batch processing" mechanism you use, as is usual with any multiple execution scenario regardless of which workflow inbox you use.
    Of course you should copy the workflow and modify your copy rather than change the standard workflow.  Its usual to treat the standard workflow as a starting point.
    Your main problem is going to be to find a background routine for updating the release step on the requisition - as this needs to be provided by the application.  The rest is simple enough to include in the workflow.
    In 4.6c you should have function module BAPI_REQUISITION_RELEASE, check it works ok in your release/support pack level, as this should do what you need.
    Rather than have a 1 from 2 split you could also add a new terminating event to your task TS00007986. However its six of one half a dozen of the other as you still need to include the background update after the event is raised.
    You'll probably also need two terminating events - one for approval and the other for rejection.
    Regards,
    Jocelyn

  • BapiCreateFromData Release Strategy

    How can I set the Release Strategy in the Purchase Requisition? I'm creating a Purchase Requisition using the Bapi BapiCreateFromData from the business object Purchase Requisition, but there's no such parameter to set the Release Strategy as far as I can see.

    check there BAPI to set
    BAPI_REQUISITION_RELEASE
    BAPI_REQUISITION_RELEASE_GEN
    for more info just go thru documentations of that BAPI.
    It comes from Confirg , u cannt define ur own strategies while creating the PR .
    check in SPRO----> MM---> Purchasing ---> PR---> release procedure.
    Regards
    Prabhu
    Message was edited by: Prabhu Peram

  • ALL   BAPIs  used in  MM  Module

    Hi  Gurus,
    could Anyone  tel  me  what are the  BAPIs used  in MM  Module
    Thanks in Advance.

    Hi,
    BAPI_SERVICE_GET_LIST     List display for service master records
    BAPI_SERVICE_GET_DETAIL     Read detailed data for a service master record
    BAPI_ENTRYSHEET_RESET_RELEASE     Cancel release of entry sheets
    BAPI_ENTRYSHEET_RELEASE     Release entry sheet
    BAPI_ENTRYSHEET_GETRELINFO     Release information relating to entry sheet
    BAPI_ENTRYSHEET_GETLIST     List of entry sheets
    BAPI_ENTRYSHEET_GETDETAIL     Entry sheet: detailed display
    BAPI_ENTRYSHEET_DELETE     Delete entry sheet
    BAPI_ENTRYSHEET_CREATE     Create entry sheet
    BAPI_SOURCEDETERMIN_GETSOS     Determine sources for material/material group
    BAPI_PROCOPERATION_GETINFO     Analysis of objects to be generated in Purchasing
    BAPI_PROCOPERATION_GETCATALOGS     Determine valid catalogs as F4 help
    BAPI_REQUISITION_RESET_RELEASE     Cancel release of purchase requisitions
    BAPI_REQUISITION_RESET_REL_GEN     Cancel release of purchase requisitions
    BAPI_REQUISITION_RELEASE_GEN     Release purchase requisition
    BAPI_REQUISITION_RELEASE     Release purchase requisition
    BAPI_REQUISITION_RELEASE     Release purchase requisition
    BAPI_REQUISITION_GETRELINFO     Detailed release information on purchase requisition
    BAPI_REQUISITION_GETITEMSREL     List purchase requisitions awaiting release
    BAPI_REQUISITION_GETITEMS     Read purchase requisition item
    BAPI_REQUISITION_GETDETAIL     Display purchase requisition details
    BAPI_REQUISITION_DELETE     Delete/close purchase requisition
    BAPI_REQUISITION_CREATE     Create purchase requisition
    BAPI_REQUISITION_CHANGE     Change purchase requisition
    BAPI_REQUIREMENT_GET_LIST     Read requirement coverage request
    BAPI_REQUIREMENT_CREATE     Create requirement coverage request
    BAPI_PO_UPDATE_HISTORY     Update PO History from Delivery
    BAPI_PO_RESET_RELEASE     Cancel Release of Purchase Orders
    BAPI_PO_RELEASE     Release Purchase Orders
    BAPI_PO_GETRELINFO     Detailed Release Information on Purchase Order
    BAPI_PO_GETITEMSREL     List Purchase Orders for Release
    BAPI_PO_GETITEMS     List Purchase Order Items
    BAPI_PO_GETDETAIL     Display Purchase Order Details
    BAPI_PO_GET_LIST     List Purchase Orders - Only up to 4.0A
    BAPI_PO_DELETE_HISTORY     Delete PO History from Delivery
    BAPI_PO_CREATE1     Create Enjoy Purchase Orders
    BAPI_PO_CREATE     Create Purchase Order
    BAPI_PO_CHANGE     Change Enjoy Purchase Orders
    BAPI_INFORECORD_GETLIST     Display purchasing info records
    BAPI_INCOMINGINVOICE_SAVE     Invoice Verification: Flag Invoice for Background Processing
    BAPI_INCOMINGINVOICE_RELEASE     Invoice Verification: Release Invoice
    BAPI_INCOMINGINVOICE_PARK     Invoice Verification: Park Invoice
    BAPI_INCOMINGINVOICE_GETLIST     Invoice Verification: List Invoices
    BAPI_INCOMINGINVOICE_GETDETAIL     Invoice Verification: Display Invoice
    BAPI_INCOMINGINVOICE_CREATE     Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_CANCEL     Invoice Verification: Reverse Invoice
    BAPI_SVCHANGE_GET_ITEMS     "Read retail revaluation document for store, key date, item status"
    BAPI_SVCHANGE_CHANGE_STATUS     Enter count quantity and change item status from A to B or C
    BAPI_RESERVATION_GETITEMS     List reservations
    BAPI_RESERVATION_GETDETAIL     Display reservation
    BAPI_RESERVATION_DELETE     BAPI to delete individual reservations
    BAPI_RESERVATION_CREATE1     BAPI to create individual reservations
    BAPI_RESERVATION_CREATE     Create reservation
    BAPI_MATPHYSINV_POSTDIFF     Post differences
    BAPI_MATPHYSINV_GETLIST     List of phys. inv. doc. header records
    BAPI_MATPHYSINV_GETITEMS     List of phys. inv. docs with headers and items
    BAPI_MATPHYSINV_GETDETAIL     Read header and items of a phys. inv. doc.
    BAPI_MATPHYSINV_CREATE_MULT     Create phys.inv.docmt(s)
    BAPI_MATPHYSINV_CREATE     Create physical inventory document
    BAPI_MATPHYSINV_COUNT     Enter count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_CHANGECOUNT     Change count for particular items of a phys. inv. doc.
    BAPI_GOODSMVT_SAPCREATE     SAP Internal Cross-System Flow of Goods
    BAPI_GOODSMVT_GETITEMS     Display detailed list of material documents
    BAPI_GOODSMVT_GETDETAIL     Display details of goods movement
    BAPI_GOODSMVT_CREATE     Post goods movement
    BAPI_GOODSMVT_CANCEL     Reverse goods movement
    BAPI_PRICECATALOGUE_SAVREPLICA     Store instance of price catalog
    BAPI_PRICECATALOGUE_GETDETAIL     Detailed information for a price catalog
    BAPI_PRICECATALOGUE_EXISTCHECK     Check existance of a price catalog
    BBP_INVOICE_CREATE     EBP Create Invoice
    Regards,
    Chandra

Maybe you are looking for