Checking for a locked purchase order.

We are running SRM 4.0 SRM Server 5.0 with a 4.7 R/3 backend in extended classic mode.
I'm looking for a way to check if a purchase order is locked.  By locked I'm referring to the purchase order being modified by another individual.  Since we are running extended classic mode, I'm only interested in business object type BUS2201.  I do not want to set a lock, I just want to inquire if a lock is set.  Is there a function module that will fit this need?  Or is there a table I could query to get this information.
Best regards,
Shawn O'Connor

I am not sure of the function module, which reports if a given PO is locked! but I have a alternate way.
Transaction : SM12 (locks)
Enter the table name as : CRMD_ORDERADM_H
When you execute, it lists all the lock entries for rows in this table with the details of the user.
As you know all the business objects in SRM is stored with GUID, you can use the GUID displayed to find out which PO is locked, by opening transaction SE16 and the same table CRMD_ORDERADM_H and the GUID number. You will now get the purchase order number.
Just for your information
CRMD_ORDERADM_H  - Header table for all the business documents in SRM
CRMD_ORDERADM_I   - Item table for all the the business document headers in table CRMD_ORDERADM_H
Do reward points if useful.
Thanks
Kasee Palaniappan

Similar Messages

  • How to setup a release strategy for store generated purchase order

    Hi there,
    Does anybody know how to setup a release strategy for store/plant generated purchase order? I have a request from our client, but I never cross this before. Please help and let me know the step with every single detail.
    Greatly thank for your help.
    Kind Regards,
    2tea

    Please go thru the below Release Procedure and check whether you have maintained all the settings properly.
    PO RELEASE STRATEGY
    The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).
    Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.
    e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.
    CT04 - Create Characteristic e.g. NETVALUE
    Click Additional data Table name CEKKO Field name GNETW and press enter
    (for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)
    In the Basic data (X refers to tick),
    X Mutliple values
    X Interval values
    In the Value data, in the Char. value column, type >10000 and press enter
    Save your data
    CL02 - Class
    Class - Create REL_PUR
    Class type - 032
    Click Create
    Description - Release Procedure for Purchase Order
    In the Same Classification section, click Check with error
    In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class
    OMGS - Define Release Procedure for Purchase Order Type
    Release Group - New entries
    Rel.group Rel. Object Class Description
    02 REL_PUR Rel. Strategy for PO
    Release codes - New entries
    Grp Code
    02 01
    Release indicators
    Release indicators Release Description
    0 Blocked
    1 X Release
    Release Strategy
    Release group 02
    Rel.strategy 01
    Release codes 01
    Release status 01
    Classification Choose your check values
    OMGSCK - Check Release Strategies
    (make sure there are no error messages)
    Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.
    Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.
    In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.
    The person with the release authorization have to use ME28 to release the Purchase Order.
    Regards,
    Ashok

  • BAPI needed  for  Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    We have a requirement where in we need to post the documents throuh BAPI for Goods receipt Purchase order(Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    use 'BAPI_GOODSMVT_CREATE'
    Check this sample.
    code
    REPORT ZRICH_0001 .
    Structures for BAPI
    DATA: GM_HEADER TYPE BAPI2017_GM_HEAD_01.
    DATA: GM_CODE TYPE BAPI2017_GM_CODE.
    DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.
    DATA: GM_ITEM TYPE TABLE OF
    BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.
    DATA: GM_RETURN TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
    Setup BAPI header data.
    GM_HEADER-PSTNG_DATE = SY-DATUM.
    GM_HEADER-DOC_DATE = SY-DATUM.
    GM_CODE-GM_CODE = '04'. " MB1A
    Write 971 movement to table
    CLEAR GM_ITEM.
    MOVE '412' TO GM_ITEM-MOVE_TYPE .
    MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
    MOVE '3800533484' TO GM_ITEM-MATERIAL.
    MOVE '1' TO GM_ITEM-ENTRY_QNT.
    *MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
    MOVE '1060' TO GM_ITEM-PLANT.
    MOVE '0007' TO GM_ITEM-STGE_LOC.
    *MOVE '0901' TO GM_ITEM-MOVE_REAS.
    MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
    MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
    APPEND GM_ITEM.
    Call goods movement BAPI
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    GOODSMVT_HEADER = GM_HEADER
    GOODSMVT_CODE = GM_CODE
    IMPORTING
    GOODSMVT_HEADRET = GM_HEADRET
    MATERIALDOCUMENT = GM_RETMTD
    TABLES
    GOODSMVT_ITEM = GM_ITEM
    RETURN = GM_RETURN.
    IF NOT GM_RETMTD IS INITIAL.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ELSE.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ENDIF.
    WRITE:/ GM_RETMTD.
    LOOP AT GM_RETURN.
    WRITE:/ GM_RETURN.
    ENDLOOP.
    [/code]
    Also check the Bapis
    BAPI_PO_CREATE --> To create Purchase Order
    BAPI_PO_CHANGE --> To change Purchase Order
    BAPI_PO_GETDETAIL --> Todisplay Purchase Order
    Regards,
    Raj.

  • Goods receipt through Inbound delivery for Sub-Contracting Purchase order

    Hi
    I am trying to do goods receipt for the inbound delivery /shipping notification created for a sub -contracting Purchase order. The Finished product and the component part are batch managed, When I try to perform PGR in VL32N , I am getting a blank screen as error message and Goods receipt is not getting triggered . I checked for OSS note and found 645119 close to my issue but not an exact match . We are in ECC 6.0 with EHP 4. Can some one clarify whether it is possible to post GR through inbound delivery for a Subcon Purchase order .
    Thanks in advance for your immediate response.
    with regards,
    Joseph Anand B

    Hi, The issue may be due to this - the component is batch managed but the batch data is blank in the component list of the Purchase Order Item. Or a batch is maintained in the PO item component list but the stock for the same batch is not available with Vendor, i.e. stock with some other batch may be available.
    In a receipt for Sub-cont PO, 101 happens for FG and 543 happens for component. But there is no option to provide the component details in a delivery. So in standard system, when 101 happens via a delivery, 543 will be posted in the background. So any error in posting 543 will result in a blank screen without any error message.
    You can fix this by maintaining correct batch in the PO component list.
    But there is another issue - you cannot do 'cancel posting' and 'return delivery' for this receipt. Only you can reverse the inbound delivery and you should know that the  recevied stock shouldn't have been processed to do reversal of inbound delivery.

  • Authority check on Creation of Purchase order usin badi BBP_ITEM_CHECK_BADI

    hi all,
    i have to apply authority checks on creation of Purchase order and shopping cart in SRM using badi BBP_ITEM_CHECK_BADI.
    i have applied checks on creation of shopping cart   using this badi which have some filters but how to apply on purchasing order using BBP_ITEM_CHECK_BADI.

    hi,
      You can use the BBP_DOC_CHECK_BADI.
    BR,
    Disha.
    Pls rewar points for useful answers.

  • Can anyone give me user exit name for create/update purchase order partners

    Hello guys
      Can anyone gives me user exit name for create/update purchase order partners?
      Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N)  by using user exit.

    hi,
    check these exits.
    Transaction Code - ME21N                    Create Purchase Order
    Enhancement/ Business Add-in            Description
    Enhancement
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number

  • Freight cost condition for the whole purchase order (Header relation)

    Maybe you could help me out with the following difficulty regarding freight costs for the whole purchase orders from the mass maintenance transaction MEK1 for pricing conditions.
    I try to have one freight condition for the whole purchase order.
    For instance, I maintained in the transaction MEK1 for the condition FRA1 the key combination vendor and purchasing organization (table 44) and entered an absolute value of X EUR.
    Unfortunately this condition will not pulled as header costs in the purchase order, because I would have had defined an access sequence in the condition type, but this is not allowed for header conditions in general.
    Do you have any workaround to maintain an item condition, which works like a header condition, so that I am allowed to have an access sequence and be able to maintain MEK1?
    Any comments and help are very welcome.
    Many thanks in advance
    Sabrina

    Hi,
    Fright and discount conditions are called supplement conditon type and  they are always matained with main condition type.
    Please check PB00 condition type in m/06 transaction. You will find pricing procedure assinged as RM0002 to PB00 condtion type.
    So you can maintain fra1 and other supplement condtions in main condtion only in MEk1 trasnaction.
    By selecting the line item and then shift + F7 you can maintain fright or discount condtions for PB00 condition types with out having access sequence for supplement condtion types.
    Regards,
    shailesh Mackwan

  • How to create a Inbound delivery type for a special  purchase order type

    Hi,
    I try to create a special Inbound delivery type for a special purchase order type (a transfer purchase order).
    In SD module, I can créate a special outbound delivery and precise the sale order type, but I don't manage to do it for a Inbound delivery type.
    Do you know if i can do it without specifiq?
    Regards,
    Roselyne

    Hi Roselyne,
    What you experienced is standard system behavior. Inbound delivery type is uniquely assigned to confirmation control key. You can only specify confirmation control key on item level in PO. The assignment of Delivery type can be seen in the following table:
    T163D
    IBTYP EBTYP LFART  RETDLV
    1        AB                      X
    2        LA        EL           X
    3        GW       EG
    The field T163D-IBTYP is checked in different programms. For example in programm RM06ENAB (TA: ME92F). If you insist to customize the determination of delivery type by PO type, I strongly suggest you discuss with the Application consultants before making the modifications to ensure it won't impact other areas.

  • Table name for shipping details for the given purchase order

    Hi,
    Table name for shipping details for the given purchase order
    regards,
    vijay

    Had anybody seen that this question was raised 5 years ago?
    And the question was about where are the shipping details of a purchase order stored.
    The discussion owner hat marked the the discussion a year ago as solved, but did not mark any correct answer and did not tell himself what the solution was.
    The correct answer was given by Amitkumar yesterday, it is EKPV
    I am locking the discussion to avoid that even more wrong answers are added to this particualr question

  • Standard data sources for Delivery and Purchase order quantity.

    Hi gurus ,
    Are there any standard data sources available for Delivery and Purchase Order quantity in Purchasing area .
    Thanks in advance .

    Hi,
    If you are looking for SD Scenario: Check this : https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E
    Happy Tony

  • Inbound NR2CLNT300: No IModel active for cat. Purchase Orders and Purch.R

    Dear ,
    Please i got this error  "Inbound NR2CLNT300: No IModel active for cat. Purchase Orders and Purch.R"
    Appreciate your Effort
    Regards
    Rami

    Hi Rami,
    Just check whether the purchase order contains one of the item in
    IM and the other not.  In such case, you will face the error.
    When you exclude two items from IM, check whether IMs already
    exists for those items initially and later you had excluded it.  In
    such case, you need to delete all master data and transactional
    elements from APO before excluding the items from model
    Regards
    R. Senthil Mareeswaran.

  • MULTI LEVEL REPORT FOR STOCK TRANSPORT PURCHASE ORDER

    Hi,
    I will have lot of stock transport purchase orders,like md4c transaction where we get multilevel report for sale order/production order,is there any report for stock transport purchase orders.its urgent kindly help

    goto purchase order history tab
    you can see all the details of PO-deluvery-GI, GR, imvoice. Click on delivery, you can see the billing document throughdocument flow button.
    This function is not availilable for production order, hence we have MD4c.

  • Acct determination for Account-assigned purchase order with keys not define

    Hi,
    I'm trying to post an IDOC of type BBPIV through XI to an R/3 system.
    The posted idoc in R/3 is in status 51 (Application document not posted) with the error message "Acct determination for Account-assigned purchase order with keys not defined in chart of acts WP2P"
    As per my understanding this is something related to FI.
    Long text of the error is "The system cannot generate an automatic posting because there is no account determination defined for Account-assigned purchase order with keys   in chart of accounts WP2P.
    Correct the account determination for Account-assigned purchase order"
    Please help me how to solve this.
    Regards,
    Rashmi

    Hiya,
    This looks like its a MM posting / transaction.
    You need to go to OBYC and maintain the account assignment. If you provide the business scenario (GR into Stock, Subcontracting, etc.) for the process, I may be able to help.
    VKOA is for SD account assignment and I don't believe you can use that here.
    Cheers.

  • Goods Receipt for Account-assigned Purchase Orders

    Hello,
      We want to make Goods Receipt for Account-assigned Purchase Orders. When we try, SAP gives the error 'Account determination for entry PCOA KBS 0001 not possible'. According to SAP online help, account assignment is adopted from the purchase orders for the transaction/event 'KBS' and we cannot assign transaction key 'KBS' to an account using transaction OBYC. How do you make it work? Any solution pointers will be appreciated and rewarded.
    Thanks,
    Venu

    create an implicit enhancement point in function module CKMV_AC_DOCUMENT_CREATE.
    IN STRUCTURE IT_ACCIT U CAN MODIFY THE gl ACCOUNT IN RUN TIME .

  • Badi/user exit for sales and purchase order

    HI folks,
    I have to export the value of order type to a memory id for create and change transaction of sales order and the purchase order, I serached a lot for badis in purchase order and created implementation for that, but it didnt work. Please help me out....
    thanks in advance

    Hi,
    As written I need to export the value of order type into a memory id at the moment below transactions are hit:
    va01,va02, me21n, me22n.
    for va01 first u need to enter the order type and then press enter...at this event I need to export its value,
    for va02 the value of order is entered and then press enter,
    similarly I have to export the purchase order type during execution of ME21n and ME22n.
    I hope u will understand the problem better....If not please tell me

Maybe you are looking for

  • Systemcopy problem by installing the central instance

    Hello, i am trying to make a Systemcopy from the PRD System to QAS System (Release R/3 4.7 X200) , and got a error message duringsapinst.exe at Input section: Error by Dbo objects check Database QAS contains user objects belonging to system user dbo;

  • Remote Desktop Connection status supervise

    Dear Developers, my level status in java programming is a little bit higher than beginner, and I know I have a lot to learn, this is why I'm trying to develop new project, some of my ideas, with your help. Let me start this project description. The i

  • How do I create 2 separate iPhone profiles on one computer

    I'd like to sync 2 iPhones to a single Mac desktop. One is an iPhone 4 and the other is an iPhone 5. I want to sync music, apps, calendar and contacts. I went to the support page :  http://support.apple.com/kb/ht1495  and there are options, but I'm n

  • Lot of noise from laptop audio output

    I'm getting a lot of noise from the audio output of my Macbook Pro (early 2008) OS 10.8.5 when I connect an external firewire 800 drive that uses a power cord. I get more of the same noise when I connect an external video monitor. The noise is a digi

  • Product Basic text to catalog item text

    Hi, I’m trying to use product standard texts (Basic text and inspection text) in product catalog. Under text object PCAT_ITM, I’ve defined a text determination procedure with “changes=C” and “Transfer Type=C” associated to an access sequence which ha