4 Replies Latest reply: Feb 19, 2009 8:55 PM by Michael Appleby RSS

Workbench freezes on call to BAPI_PRODORDCONF_GETLIST Request/Response XML

Michael Teti
Currently Being Moderated

I have created a simple transaction in MII 12.0.6 with three JRA actions: Start Session, Function Call, and End Session.  From the configuration dialog of the Function Call action, I confirmed the existance of BAPI_PRODORDCONF_GETLIST via a BAPI search. I attempted to select this BAPI only to have the Workbench freeze up.  This BAPI works flawlessly in SE37. I checked the logs and saw that the following error message was thrown:

 

com.sap.mw.jco.jra.JRA$ResourceException: Couldn't execute interaction. Transaction rolledback due to connection interruption...

 

I am using the same JRA connection to call BAPIs in other transactions without any issues.

 

Has someone ran into a similar issue before that could assist me in resolving this?

 

FYI...my objective is to obtain a list of confirmations, including the confirmation number and confirmation counters, from the output of this BAPI which will be inputted into BAPI_PROCORDCONF_GETDETAIL to maintain a count of the yield and scrap already confirmed for that particular operation/phase.

 

Thanks,

 

Michael Teti

Senior Solutions Consultant

SeeIT Solutions, LLC

  • Re: Workbench freezes on call to BAPI_PRODORDCONF_GETLIST Request/Response XML
    Michael Appleby
    Currently Being Moderated

    Hi Michael,

    Some time ago another person posted a message with the same problem.

     

    [WB Freezes|Re: Socket timeout / Read time out error]

     

    The first question is why do you want all the confirmations?  If you are trying to check what has been confirmed against a particular order or group of orders, there is a much, much better method.  I laid it out for Amol in the link, but it essentially uses BAPI_PRODORD_GETDETAIL.

     

    Good luck,

    Mike

    • Re: Workbench freezes on call to BAPI_PRODORDCONF_GETLIST Request/Response XML
      Michael Teti
      Currently Being Moderated

      Michael,

       

      It was my understanding (via customer confirmation) that the returned Yield and Scrap located in the Phase tables of the BAPI_PROCORD_GET_DETAIL Bapi are the Planned Operation Yield and Scrap for that operation and not the Yield and Scrap already confirmed.  The Help documentation in the BAPI Explorer does not verify this one way or another.

       

      Also, after numerous attempts of trying to pull down the BAPI_PROCORDCONF_GETLIST Request/Response XML, the configuration dialog actually closed.  It tooke quite a long time to complete.  My guess is that it timed out because when I look at the BAPI structure, there was none.

       

      I did see the other thread prior to my submission but since that thread was referring to a JCO connection and a timeout wasn't actually confirmed on my end, I decided to creat a new one.

       

      Thanks,

       

      Michael Teti

Actions