Sun-microsystems eWay SAP BAPI Bedienungsanleitung Seite 79

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 123
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 78
Chapter 6 Section 6.5
Reviewing the Sample Projects Building and Deploying the prjBAPIOutbound Sample Project
eWay™ Adapter for SAP BAPI User’s Guide 79 Sun Microsystems, Inc.
Figure 49 jcdFlightGetList Collaboration
8 The resulting collaboration should display the following code:
package prjBAPIOutbound;
public class jcdFlightGetList
{
public com.stc.codegen.logger.Logger logger;
public com.stc.codegen.alerter.Alerter alerter;
public com.stc.codegen.util.CollaborationContext collabContext;
public com.stc.codegen.util.TypeConverter typeConverter;
public void flightInput( ud1.CustBAPI_1621432015.CustBAPI input,
ud1.CustBAPI_1621432015.CustBAPI output, flight.Flight Flight_1 )
throws Throwable
{
Flight_1.getGetList().getImportParams().setAIRLINE( input.getTest1() );
Flight_1.getGetList().getImportParams().setMAX_ROWS( 3 );
Flight_1.getGetList().execute();
if (Flight_1.getGetList().hasRETURN()) {
for (int i1 = 0; i1 < Flight_1.getGetList().countRETURN(); i1 += 1) {
output.setTest1( "OUTPUT : Type = ".concat( Flight_1.getGetList().getRETURN( i1
).getTYPE() + " ID = " + Flight_1.getGetList().getRETURN( i1 ).getID() + " NUM = " +
Flight_1.getGetList().getRETURN( i1 ).getNUMBER() + " MESSAGE = " +
Flight_1.getGetList().getRETURN( i1 ).getMESSAGE() ) );
}
}
}
}
Seitenansicht 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 122 123

Kommentare zu diesen Handbüchern

Keine Kommentare