cancel
Showing results for 
Search instead for 
Did you mean: 

Netweaver 2004s No data in DB

Former Member
0 Kudos

Hello everyone,

I have installed my Netweaver7.0 2004s Testdrive. Perfectly running on Linux SLES 10. SAPGUI Client running fine and following tips from Manfred Lutz (which I find them fantastic). The problem I found is that the tables in my DB are empty(or looks like at least), no data at all. Below is the code of my program( which is basically Mandfred's exercise), it compiles with no errors. When the selection screen prompt for a value for p_carrid, I do F4 and get a message at the bottom of the screen "No Values Found", therefore no data displayed.

My server reads... N4S database started

/usr/sap/N4S/SYS/exe/run/startdb completed successfully ....

...

REPORT  Y_SELECT_F_SFLIGHT_AD_1.

DATA: itab_flight TYPE STANDARD TABLE OF sflight,
      wa_flight TYPE sflight.

parameters: p_carrid type s_carr_id.

FIELD-SYMBOLS: <wa_comp> TYPE ANY .


SELECT * FROM sflight INTO TABLE itab_flight
WHERE carrid = p_carrid.



LOOP AT itab_flight INTO wa_flight.
  DO.
    ASSIGN COMPONENT sy-index OF STRUCTURE wa_flight TO <wa_comp>.
    IF sy-subrc <> 0.
      SKIP.
      EXIT.
    ENDIF.
    WRITE <wa_comp>.
  ENDDO.

I'll appreciate any help and thanks in advance,

Carlos Gonzalez

Edited by: Carlos Gonzalez on Feb 5, 2011 5:27 AM

Accepted Solutions (1)

Accepted Solutions (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Carlos,

the Testdrive delivers SAP technology, but no SAP business content. If you want to have content, you need to buy IDES for example or you create the data yourself.

Regards,

Hannes

Former Member
0 Kudos

Hello Hannes,

Thanks for you help and sad to hear about this not so good news.... Manfred Lutz tips don't mention creating your own data or buying IDES... can it be because he is using examples for Netweaver 2004s for Windows?( I'm running on Linux) as per his exercises data is already there .

...." The table SCUSTOM is part of the flight model that is delivered with every ABAP system and this table should contain about 1500 customers in the Demo System you use ".:....

http://searchsap.techtarget.com/tip/ABAP-for-newbies-Creating-the-database-tables

Thanks in advance,

Carlos

Edited by: Carlos Gonzalez on Feb 6, 2011 2:25 AM

MichaelTe
Contributor
0 Kudos

Hello Carlos,

you can use this program to populate the flight model tables:

SAPBC_DATA_GENERATOR

Regards, Michael

Former Member
0 Kudos

Michael,

Thanks after running SAPBC_DATA_GENERATOR got the data on the tables.

Carlos Gonzalez

Edited by: Carlos Gonzalez on Feb 8, 2011 5:25 AM

Edited by: Carlos Gonzalez on Feb 8, 2011 2:35 PM

Answers (0)