Wednesday 15 February 2012

SAP Flight Bookings Data Model - where is the data

As a developer, when you get access to a brand new sap system, the first thing you want to do is to test out some of the new features with some test apps.
I've just started at a new customer site with lots of new goodies - such as NetWeaver 7.30 systems.
To test out some of the new features in WebDynpro for ABAP  (and the look & feel) I wanted to write a couple of test apps.
What data should I use? Its a brand new system so there isn't much.
This is where you often rely on the good old Flight data model which SAP provides just for this purpose - learning and testing.

Problem. The flght data model tables (such as SFLIGHT) are all empty.

Solution: Run the program: SAPBC_DATA_GENERATOR in SE38.



This program will populate the entire flight data model for you based on a few simple selection criteria (you would typpically leave the default settings).
You can now use SE16 to confirm that the flight tables have been populated...