cancel
Showing results for 
Search instead for 
Did you mean: 

How-to Build an Agentry Based Mobile App from Scratch Connecting to an SAP Back-end Part 1

Former Member
0 Kudos

i All

I use next document

How-to Build an Agentry Based Mobile App from Scratch Connecting to an SAP Back-end Part 1

How-to Build an Agentry Based Mobile App from Scratch Connecting to an SAP Back-end Part 1

to understand How-to Build an Agentry Based Mobile App from Scratch Connecting to an SAP Back-end Part 1

I use

- Java 8 update 66

- Eclipse Version: 4.2.2

Build id: M20130204-1200

- Agentry Editor Plugin 70.10.0.9 com.syclo.agentry.editor.feature.feature.group SAP AG

from Agentry_70.10.0_EditorPlugin_x86_64.zip

On a page 2 it is read


The business logic and BAPI Wrapper is made available to you by a template class (Z00_GET_FLIGHT_SCHEDULE) and template BAPI Wrapper (Z00_BAPI_GET_FLIGHT_SCHEDULE), for which the source code is available in the Appendix section of this document.

I try to create Z00_GET_FLIGHT_SCHEDULE class in our ERP system but get error.

Type "ZFLIGHT_SCHEDULE" is unknown

We don't have ZFLIGHT_SCHEDULE table in our system.

We have Component Version    SAP ECC 6.0

Where can we get definition for ZFLIGHT_SCHEDULE table?

Accepted Solutions (1)

Accepted Solutions (1)

stephen_kringas
Active Participant
0 Kudos

Hi,

You'll need to create the structure - ZFLIGHT_SCHEDULE

Looking at the code you'll need the fields highlighted below from pg. 116

  • CARRID
  • CONNID
  • CARRNAME
  • FLDATE
  • PLANETYPE
  • AIRFROM
  • AIRPTO
  • CITYFROM
  • CITYTO
  • COUNTRYFR
  • COUNTRYTO
  • PRICE
  • CURRENCY

Looking at the join above you can see which table the field is from - SFLIGHT, SPFLI SCARR

lt_flt_schedule is a TABLE TYPE of the structure ZFLIGHT_SCHEDULE.

Stephen

Answers (0)