‎2007 Aug 04 8:53 AM
hi experts
i am tring to run this prog (taken from abap objects). but it is giving error regarding nodes.
can anybody explain this why ?
REPORT demo_get.
NODES: spfli, sflight, sbook.
DATA: weight TYPE p DECIMALS 4,
total_weight TYPE p DECIMALS 4.
INITIALIZATION.
carrid-sign = 'I'.
carrid-option = 'EQ'.
carrid-low = 'AA'.
carrid-high = 'LH'.
APPEND carrid TO carrid.
START-OF-SELECTION.
WRITE 'Luggage weight of flights'.
GET spfli FIELDS carrid connid cityfrom cityto.
SKIP.
ULINE.
WRITE: / 'Carrid:', spfli-carrid,
'Connid:', spfli-connid,
/ 'From: ', spfli-cityfrom,
'To: ', spfli-cityto.
ULINE.
GET sflight FIELDS fldate.
SKIP.
WRITE: / 'Date:', sflight-fldate.
GET sbook FIELDS luggweight.
weight = weight + sbook-luggweight.
GET sflight LATE FIELDS carrid .
WRITE: / 'Luggage weight =', weight.
total_weight = total_weight + weight.
weight = 0.
END-OF-SELECTION.
ULINE.
WRITE: / 'Sum of luggage weights =', total_weight.
‎2007 Aug 04 9:16 AM
‎2007 Aug 04 9:00 AM
Hi,
In the program attributes you need yo give the Logical Database name, then you won't get the error
Regards
Sudheer
‎2007 Aug 04 9:03 AM
Hi
what does it mean "Logical Database name".
means i have to create a database for it . just give me example , if possible.
thanks
‎2007 Aug 04 9:05 AM
Hi Ravi,
Give the report name in SE38 and click on radio button attributes and click on Change button, you will find a field name Logical database and give the logical database you are using for this report.
Thanks,
Vinay
‎2007 Aug 04 9:07 AM
HI,
If you click the Program Attributes for that report, then you will get the winodw to enter the attributes, there you need to enter the LDB name, for every logical dababase there would be a name with 3 charecters, you need to give that,
From se38 initial screen, clcik the Attibutes button then press changes, in that window you will see a input box to enter the LDB name
Regards
Sudheer
‎2007 Aug 04 9:16 AM
‎2007 Aug 06 4:54 AM
.. and if you go to transaction SE11, enter table SFLIGHT (as this is referenced in your code) and do a "where used" and then choose the "logical database" option, you will see those LDBs that you could choose from:
Logical Database Short Description
F1S BC: Planned flights, flights and bookings
MIV BC: Planned flights, flights and bookings
QUERYTESTLDB Test LDB for InfoSet Query
Try the first one - it is documented too.
‎2009 May 31 5:40 PM