Purchaser Order Locking Problem In PROXY interfaces

Hello Experts,
Scenario is as follows
landscape is  : NON SAP system ->> PI --> ECC
Documents flowing is Purchaser order create and change
Problem is like when i receive same purchase order for change in few fraction of seconds and multiple time as i am already processing the same same PO the next interface goes into a error saying that the PO is locked by user so and so.
What could be possible solution for to avoid  locking in first place .
Note its a asynchronous interface XML proxy message.
Thanks and Regards,
Anup Deshmukh
Still waiting for the inputs...!
PS : Moderators please move it to PI forum if it has to something with PI also

Self Answered... ! Sorry Closing Old Thread.

Similar Messages

  • Issue with BAPI_PO_CHANGE: purchase order locked

    I'm experiencing problems with the following scenario:
    1. change purchase order with RFC BAPI_PO_CHANGE
    2. wait 30 seconds
    3. post goods issue using IDoc MBGMCR01
    When performing step 3, I get in 20% of the cases the error that the PO is still locked by the RFC user in the R/3 system (user PIREMOTE already processing purchase document 123456789). I have tried to extend the wait step to 10 minutes, but the same issues still remains.
    I've also tried executing BAPI_TRANSACTION_COMMIT (with and without wait) and BAPI_DOCUMENT_DEQUEUE between step 1 and 2. Neither worked.
    Debugging BAPI_PO_CHANGE using SE37 didn't give any results. I noticed that the PO was still locked even when the processing of BAPI_PO_CHANGE in SE37 had finished. Somehow R/3 is locking the purchase document for a very long time in 20% of the cases. During the execution of the module enough work processes are available and no jobs are running.
    Has anyone ever experienced something like this and has an idea where to look next?

    So that should be BAPI_TRANSACTION_ROLLBACK in my case, since I have to use remote enabled functions. What does this function do? It looks like it's rolling back the performed transaction, thus reversing the changes, and that's not my intention.
    Edited by: Iddo Rijsdijk on May 25, 2008 1:09 PM

  • Purchase orders and requisitions - R12 user interfaces

    Hi,
    I see that the purchase order can be registered in the system by two different interfaces (I'm running R12.1.1): Using Oracle forms (Navigation path: Purchasing Super user: -> Purchase orders -> Purchase orders) and using Java html pages (Navigation path: Purchasing Super user: ->Buyer workspace ->Orders).
    I have two questions:
    1. The second option (using java pages) is not documented in the usersguide. Is it fully in production or they are still developing it? Why there are two different interfaces for the same purpose?
    2. I see that from Java pages interface I can only see requisitions, but I cannot enter new ones (Navigation path: Purchasing Super user: ->Buyer workspace ->Requisitions). Should I enable somewhere this or the requisition is not developed using Java pages interface?
    Thank you

    993322 wrote:
    Hi,
    I see that the purchase order can be registered in the system by two different interfaces (I'm running R12.1.1): Using Oracle forms (Navigation path: Purchasing Super user: -> Purchase orders -> Purchase orders) and using Java html pages (Navigation path: Purchasing Super user: ->Buyer workspace ->Orders).
    I have two questions:
    1. The second option (using java pages) is not documented in the usersguide. Is it fully in production or they are still developing it? Why there are two different interfaces for the same purpose?
    2. I see that from Java pages interface I can only see requisitions, but I cannot enter new ones (Navigation path: Purchasing Super user: ->Buyer workspace ->Requisitions). Should I enable somewhere this or the requisition is not developed using Java pages interface?
    Thank you
    http://docs.oracle.com/cd/E18727_01/doc.121/e13410/T446883T443956.htm
    http://www.apps2fusion.com/training_demo/puneetk/Professional-Buyer-Work-Center.pdf
    HTH
    Mahendra

  • Purchase Order Printout Problem

    Hi Everyone,
                    Purchase Order print out is coming in one Laser jet printer and not coming in another laser jet printer.
    1st printer is a Network printer so configured like this:Access method: C and host printer and host name given since it is configured in our SAP Server.
    2nd printer is connected to a Notebook so, Device type: SAPWINJP, Access Method:F, and host path given.
    Normal SAP Printout is coming but only Purchase order designed for Laserjet is not coming. I checked with Document type and all. No default printer assignment is given.
    I have assigned this as a Default Printer in SU01.this is for your information. Error Msg im getting is here:
    (6:26:17 PM) Number of processors: 2
    (6:26:17 PM) Icon DLL loaded.
    (6:26:17 PM)
    (6:26:17 PM) Network Communication via SAP-NiLib
    (6:26:17 PM) Hostname: siva
    (6:26:17 PM) IP Address: 12546920.2089886680.32.1223880
    (6:26:17 PM)
    (6:26:17 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (6:26:17 PM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
    (6:26:17 PM) Copyright © 1992-2001 SAP AG
    (6:26:17 PM)
    (6:26:26 PM)
    (6:26:26 PM) Receive job for printer
    192.168.255.63HP_M1319 (Berkeley LPD protocol / RFC1179)
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) Job 000000262500001.DEV for user BS2PRAKA queued.
    (6:26:26 PM) Start printing job 000000262500001.DEV on printer
    192.168.255.63HP_M1319
    (6:26:27 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
    (6:26:27 PM) Error: The printer
    192.168.255.63HP_M1319 is unknown to Windows Print Manager.
    (6:26:27 PM) The following printers are currently defined:
    (6:26:27 PM) Printer = HP LJ P3005
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    ANILHPHP_ M1319
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    KAVITHAHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    SURESHHPHP LASERJET M1319F MFP
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VARALAKSHMIEPS_VARAL
    (6:26:27 PM) Printer =
    VARALAKSHMIXEROX PHASER 3116
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VIJAYKUMARHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    Here, 
    192.168.255.63HP_M1319 this is the Machine IP and its printer available in the LAN. Its been shared and marked as default in my Desktop.
    Please give solution for this
    Regards,
    Siva

    somebody could help in this issue?

  • Purchase order locking issue

    Hi ,
    We are processing IDoc. The IDoc FM does GR of STO by using MIGO transaction via BDC , then FM also does GR of STO Delivery number by using VL02N transaction . MIGO transaction is successful but while doing GR of STO Delivery number via VL02N we are getting an error like ' Purchase order XXXXXXXXXX is currently locked by user XXXXXX .
    This happens if we process the IDoc in background . If I process the IDoc in foreground  by putting breakpoint at MIGO and VL02N , it executes successfully .
    I feel it is a locking issue . I tried using FM DEQUEUE_ALL , MM_DEQUEUE_DOCUMENT after MIGO but it did not work out .
    Please suggest for any pointers on this locking issue .
    Regards,
    Kiran.

    Forget about WAIT statement.
    Use:
    set update task local.
    ...before starting MIGO.
    regards

  • Purchase order create problem

    Hi Reiner,
    I am testing out a scenario with BAPI_PO_CREATE, encountered a few problems:
    1. Errors with Date field in some structures.
    --> I changed the date field name to ZDATE and that
        fixed it, I remember this was also a problem in
        Connector 1.0. I can only imagine that the Date
        name used clashes with some reserved system date
        field in VB.Net
    2. Purchase order schedule lines are being populated
       via structure BAPIEKET and into a table. I have
       declared a BAPIEKET structure and a table but i seem
       to have errors trying to even populate the first field
       of the BAPIEKET structure. The error is as follows:
    An unhandled exception of type 'System.NullReferenceException' occurred in <application>
    Additional information: Object reference not set to an instance of an object.
    The code is:
            Dim strPoItem_Schedules As BAPIEKET
            Dim tblPoItem_Schedules As New BAPIEKETTable
            'schedule lines
            strPoItem_Schedules.Po_Item = "00001"
            strPoItem_Schedules.Serial_No = "0001"
            strPoItem_Schedules.Deliv_Date = "20040407"
            strPoItem_Schedules.Quantity = CLng(1.0)
            tblPoItem_Schedules.Add(strPoItem_Schedules)
    Hope you can help coz I did the same with the PO line items table and it is fine...not sure why it is behaving like this for the PO SChedule lines.
    Cheers

    Reiner, no worries. I fixed it. My bad....careless, I  declared the BAPIEKET structure wrongly.
    Cheers

  • Purchase Order releated problem.........

    Hello friends,
             We are using SRM 5.0 ( ECS) . I am facing a problem when I am creating Purchase Order in SRM.  When I am clicking on Item tab getting u201CInternal TSKH error, session terminatedu201D  .   Previously it was working fine but now it is generating this error.
    Exception is
    1. The following error text was processed in the system SRD : Internal TSKH error, session terminated
    2. The error occurred on the application server srmdev_SRD_03 and in the work process 0 .
    3. The termination type was: TH_RES_FREE
    4. The ABAP call stack was:
    Form: GET_PRICING_PROCEDURE_INFO of program SAPLPRC_INT
    Function: PRC_INT_CREATE of program SAPLPRC_INT
    Function: PRC_INT_OPEN of program SAPLPRC_INT
    Function: PRC_PD_OPEN of program
    SAPLPRC_PRICING_API
    Form: PRC_LINK_READ of program SAPLBBP_PDPRC
    Function: BBP_PDPRC_GETDETAIL of program SAPLBBP_PDPRC
    Form: ITMPROC_F_GETDETAIL of program SAPLBBP_PDIGP
    Function: BBP_ITMPROC_GETDETAIL of program SAPLBBP_PDIGP
    Form: ITEM_F_GETDETAIL of program SAPLBBP_PDIAD
    Function: BBP_ITEM_GETDETAIL of program SAPLBBP_PDIAD
    I am not sure about this problem related with basis or Pricing procedure.  Even i am not getting any run time exception in ST22 . Please give me suggestions.
    Thanks in advance.
    abhijeet

    Please check your pricing conditions in SRM:
    SAP Implementation Guide
    ->Supplier Relationship Management
    ->SRM Server
    ->Cross-Application Basic Settings
    ->Pricing
    ->Check Technical and Customizing Settings for Conditions
    Check the below two option:
    Further Checks
          Simulation of Pricing with Manual Price
          Generation of Access Programs
    Regards
    Kathirvel

  • Purchase order tax % problem - urgent

    Hi Gurus,
    I have created a tax code with service tax and sales tax in one tax code. It is for AMC invoice. My financial entry is perfectly getting posted. 12.35%+10%
    But PO dispaly is only 11.25%. How is it possible?
    How to solve this problem. Useful answer will be assigned with points.
    Regards
    SAP

    yes prabakar.. but iam confused..
    You can get step by step workflow for PO using standard workflow
    Release of Purchase Order :WS20000075
    And for two levels of approvals you have to configure in SPRO the path is
    Purchase Order:
    SPRO> Material Management->Purchasing->/Purchase order-->Release procedure ---> Procedure with classification ---> set up procedure with classification ---> double click on Release strategies and Workflow.
    If you don't know about this configuration, you have to confirm with your MM consultant.
    after finish this iam triggering events using pftc
    in that pftc iam choosing business object bus 2012 for po release..
    i think thats enuf..
    After that it is possible to trigger workflow.. when iam create purchase order..
    Thanks
    Gowrishankar

  • Purchase order creation problem.. me21n

    Hi All,
    I have the following requirement in creation of PO.
    When the Purchase Order of some type, say for eg. in my case its a custom type ZNB denoting intercompany pricing is created from a Purchase Requisition, the system should check the Account Assignment Category of the Items in Purchase Requisition. For the Item that has an account assignment category 9 indicating that the item is for free ( for eg. if a cylinder of chemical gas is considered , them the cylinder/ container should not be billed ), the flag Free should be ticked for this particular item. As a result the Pricing will not be applicable for such an item.
    I would like someone to please throw light on how this can be achieved. is there any user exit to get this done ?
    Thanks in advance ..
    Sharat.

    Hi Sharat,
    the Badis ME_PROCESS_PO_CUST & ME_PROCESS_PO may be helpful to u...

  • Purchase Order Printing problem

    Hi All,
    I am printing a zform of medruck for purchase order.its working fine and the output is as shown below
    Order 4500045698
    item            Qty          Price             Date
    10               1,000       $5.50             03/28/2008
    But when i c the print preview for other purchase order its output is different as shown
    order 4500045699
    Item            Qty         Price             Date
    10               1.000      $5,50             28.03.2008
    Instead of comma in qty its howing dot and vice versa in price also the date format is changed.its only for a particular PO
    could anybody tell me why it is happening/
    Regards
    Lalit

    hi,
    please check your user setting.
    in menubar got
    system -
    > user profile -
    > owndata-->default (tab)decimal notification
    From menubar go to system then from their user profile then owndata and from their use the default tab , in the default tab u find the decimal notation change the decimal notification.
    Regards.
    Praveen.

  • Purchase Order price problem

    Hi experts, i have the system customized so a purchase order needs to have a purchase requisition linked to it, for example i have the purchase requisition 300000015 with material 1000, qty 10 and price per unit 10 USD,
    when i make the purchase order and link the PR 300000015 i get the material, qty, etc, but it lets me change the price, i need to make the price on the PO not changeable unless its a 5% difference, how can i do that? thanks in advance.

    Hi,
    In PR the Price will be picked from the Material master.
    But in PO the price will not pick from the Material master, it will be always different.
    If you adapt the PR to convert to PO system will not pick the Price from PR to PO, but you need to input the net price or system will pick from the Old PO or Info record.But here if the Price is different than the Material price system will issue a warning message number 06207 which is because of variance in tolerance keys which is configured in PO " PE".
    If you want to adopt the material price you can set this Message number 06207 from warning to Error message, so that system will not allow you to input the price other than material price.
    But this is not good practice as PO has other conditions which should consider like discounts, frieght etc..
    rgds
    Chidanand

  • Purchase order Creation Problem

    Dear All
                  For Local purchase NB order creation SAP Asking the Account assignement category.
    for only particular plant ,It should ask only Service orders. but why its asking the NB orders.
         Even Valuation grouping code already assigned for that plant.
    Any other settings required..
    Please guide..
    Regards
    Kumnar

    Dear All
    For Local purchase NB order creation SAP Asking the Account assignement category.
    for only particular plant ,It should ask only Service orders. but why its asking the NB orders.
    Even Valuation grouping code already assigned for that plant.
    "System Throughout the error "Account assignment mandatory for the material 200011"
    The material type is verp. and accounting view already extented for this plant
    Any other settings required..
    Please guide..
    Regards
    Kumnar

  • Purchase order currency problem

    Hi,
    I created the PO and i see the details in BBP_PD, the net price of the PO is 378,90 EUR for the same PO if i seethe detail in  ITS or portal screen it shows 37,890  EUR is dislpayed.
    What would be the problem??
    Plz help me on this..
    Thanks....

    check BBP_PDIGP ur table ?for your po..
    what ois the value here it must be sort it out. good catch
    check your currency settings in spro too..
    sap web appplication server
    general seetings
    set decimal places for currencies
    very carefull.. check with finance guys...........
    are you dev server..
    br
    muthu

  • For Purchase order CIF Problem

    Hi APO experts
    For PO, to  change the INCO Terms Fields and this Field has added in User Exit of CIFPUR01 of structure custom Structure CIFPUORCUSe (No other Fields has changed)  then CIF the PO INCO Terms Has not updated in APO System..
    Suppose If iI change the QTy value then PO Data has updated in APO System ..
    Please let me know what is best solutions..
    Thanks
    Kanth

    Hi Vikas,
    For INCO Terms fields in not in User exit  EXIT_SAPLMEAP_001 (enchancement Name is CIFPUR01 we can add the custom fields in structure CIFPUORCUS I added Custom fields in both systems
    My question is suppose if I change the INCO terms only Then CIF won't trigger and IF i change the QTy value then CIFis trigger ...
    Please let me know how to do CIF Trigger if I change the INFO Terms no other field..
    Thanks,
    Kanth

  • Purchase order lelease problem

    whenever ZPRO PO's for Lexar are created & released, the respective qty of the child parts are automatically moved to stock provided to vendor with Movement type 541.
    If buyer reduce the quantity of the PO after the above movements, then after the release of the PO,542 movement of child part should be done from the stock of material provided to vendor to Unrestricted use stock with the same qty of what is reduced from PO
    Rao Found that if buyer reduces the Quantity of PO, then respective movement of child part was done with 1 more quantity, please refer the below examples of PR1
    PO 4501092084 Mat Doc# 4962219539, Rubina reduce this PO and it moved 851pcs back to the SVxx location when it should be 850pcs.
    PO 4501075170 Mat Doc# 4961830326, system moved 14,541pcs should be 14,540pcs
    PO 4501103606 Mat Doc# 4961956656, system moved 7pcs should be 6pcs.

    somebody could help in this issue?

Maybe you are looking for