Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 21, 2004 at 10:11 PM

    dont do that.

    Maybe it works, but it is an horrific desgin.

    Add 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 😉