Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Report-problem

former_member630092
Participant
0 Likes
795

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.

1 ACCEPTED SOLUTION
Read only

Vijay
Active Contributor
0 Likes
751

hi

have you added the logical database in attributes ??

<b>Open you report in T/code SE38> select Attributes add LDB.</b>

there are standard logical databases and you just need to select one require by you.

you can see the logical database in tx se36.

regards

vijay

<b>reward points if helpful</b>

7 REPLIES 7
Read only

Former Member
0 Likes
751

Hi,

In the program attributes you need yo give the Logical Database name, then you won't get the error

Regards

Sudheer

Read only

0 Likes
751

Hi

what does it mean "Logical Database name".

means i have to create a database for it . just give me example , if possible.

thanks

Read only

0 Likes
751

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

Read only

Former Member
0 Likes
751

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

Read only

Vijay
Active Contributor
0 Likes
752

hi

have you added the logical database in attributes ??

<b>Open you report in T/code SE38> select Attributes add LDB.</b>

there are standard logical databases and you just need to select one require by you.

you can see the logical database in tx se36.

regards

vijay

<b>reward points if helpful</b>

Read only

Former Member
0 Likes
751

.. 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.

Read only

former_member630092
Participant
0 Likes
751

Answered