Skip to Content
author's profile photo Former Member
Former Member

EP 5.0 JCO Client Service

Hello,

Does anyone have a coded example of a dynpage/jspdynpage that makes multiple calls to an SAP BAPI or RFM in different methods of the dynpage/jspdynpage. I've read the SDN document and would like to ensure conceptually, I've got everything right. Mainly, ensuring that I'm optimizing the JCO client service in the following scenario:

public void onHeaderClick(Event event) {

// make call to SAP upon header click

using JCO client service... call BAPI

}

public void doProcessAfterInput() throws pageException {

// make call to SAP

using JCO client service.. call same or another BAPI while optimizing JCO client service

}

Thanks for all your help,

Michael

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 21, 2004 at 10:11 PM

    dont do that.

    Maybe it works, but it is an horrific desgin.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      LOL... another thought... just cause it took a while to get a response last time I want to make sure that I get the answer I'm looking for. My original scenario should have been as such:

      public void onAnEvent(Event event) {

      // make call to SAP upon header click

      using JCO client service... call BAPI

      }

      public void onAnAnotherEvent(Event event) {

      // make call to SAP upon header click

      using JCO client service... call BAPI

      }

      My real concern with this scenario was whether or not there were any thread safety concerns/optimiztions that I should be on the lookout for. As for design, how else to go about the above scenario? THANKS AGAIN for following this dude on his path to Portal wisdom 😉

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.