Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

data is there in mseg...but sy-subrc is 4

my select statement is like this:

SELECT * FROM Mseg

INTO TABLE it_mseg

WHERE mblnr = itab-mblnr

and matnr = s_mate.

loop at it_mseg.

it_item-matnr = it_mseg-matnr.

it_item-dmbtr = it_mseg-dmbtr.

it_item-mblnr = it_mseg-mblnr.

it_item-bwart = it_mseg-bwart.

it_item-budat = itab-budat.

it_item-erfmg = it_mseg-erfmg.

it_item-rate = it_item-dmbtr / it_item-erfmg.

append it_item.

endloop.

while debugging it is showing sy-subrc is 4 and not retrieving data...

pls help me

Tags:
Not what you were looking for? View more on this topic or Ask a question