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

Error in the code

Former Member
0 Likes
1,205

Hi All,

this is Sangeet,I'm new to this community.I've been facing a problem regarding the following code--

*********************************************************

SELECT lfa1~lifnr

lfa1~name1

ekko~ebeln

ekpo~ebelp

ekko~aedat

ekpo~matnr

mseg~menge

mseg~meins

ekpo~netpr

mseg~waers

mseg~erfmg

ekbe~dmbtr

INTO TABLE itab

FROM ekko INNER JOIN lfa1

ON ekkolifnr EQ lfa1lifnr

INNER JOIN ekpo

ON ekkoebeln EQ ekpoebeln

INNER JOIN ekbe

ON ekkoebeln EQ ekbeebeln

INNER JOIN mseg

ON ekkowaers EQ msegwaers

WHERE ekko~aedat IN s_aedat

AND ekpo~matnr IN s_matnr.

IF sy-subrc NE 0.

MESSAGE 'DATA NOT FOUND' TYPE 'E'.

ENDIF.

***************************************************

It shows a runtime error like--storage_parameters_wrong_set n that when the OS requested for memory there was memory shortage.

Can anyone pls help me out ?

Regards.

Sangeet.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,174

Yes you should make like this

INNER JOIN ekbe

ON ekkoebeln EQ ekbeebeln

INNER JOIN mseg

ON ekkoebeln EQ msegebeln

Regards

Sebastien

12 REPLIES 12
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,174

Moved to ABAP Forum.

Regards,

Rich Heilman

Read only

0 Likes
1,174

Hi Rich ,

thanks for ur reply .

Could u pls direct where should i check for ABAp forum ?

Anyways, my query has been resolved .

Thanks.

Sangeet.

Read only

0 Likes
1,174

Please check this link for ABAP Forum:

/community [original link is broken]

Kind Regards

Eswar

Read only

0 Likes
1,174

Hi Eswar,

thanks for ur link.

regards,

sangeet.

Read only

0 Likes
1,174

Hi Eswar,

thanks for ur link.

regards,

sangeet.

Read only

Former Member
0 Likes
1,174

You are attempting to select too many records from database.

Remove

"INNER JOIN mseg

ON ekkowaers EQ msegwaers"

You should replace waers with document number in this condition.

Read only

0 Likes
1,174

Hi Tomasz,

thanks for ur reply .

But I guess since waers is not a key field n that I'm preparing the report basing on the document No. so waers I suppose could not be used.

Anyways, my query has been resolved .

Thanks.

Sangeet.

Read only

Former Member
0 Likes
1,175

Yes you should make like this

INNER JOIN ekbe

ON ekkoebeln EQ ekbeebeln

INNER JOIN mseg

ON ekkoebeln EQ msegebeln

Regards

Sebastien

Read only

0 Likes
1,174

Hi Sebastien,

thanks for your reply .

It was very useful ..as when I applied ur suggestion to my problem.I could prepare the reportn I was perhaps selecting too many records.Thanks for your timely reply.Thanks.

Regards,

Sangeet.

Read only

Former Member
0 Likes
1,174

Hi All,

can anybody suggest me how could I enter text say for e.g; an address in the footer area in Smart Form.

Coz on right clicking it I could find nothing except creating table line, flow logic n folder.

Thanks.

Sangeet.

Read only

0 Likes
1,174

Hi sangeet

Click right button on footer window and write whatever u want

You will get Text when u click right button on footer window

Read only

0 Likes
1,174

Hi r k,

but when I right click I don't get anything except table line, flow logic n folder ,,n no scope for creating a new window.Thats the problem.

regards.

sangeet.