Skip to Content
0

Why is the difference in ALV Grid display and List view?

Nov 15, 2016 at 06:03 PM

53

avatar image
Former Member

Hello Gurus,

In my project, we are having inventory extractors in ECC which is being loaded to non-sap warehouse system. There is one field called Stock Category in MSEG which is having a strange issue - for some records this field Stock Category is showing value as " A" and for some records it is showing as "A" (without initial spaces) in that non-sap warehouse system.

On further analysis on ECC, I understood that when I view the MSEG table content through ALV Grid view, it is showing the field value without initial space as "A", but its showing as " A" in list view.

Similarly, when i check the datasource 2LIS_03_BF through RSA3, in RSA3 Grid display it is showing as "A" and in List view it is showing as " A".

Can anybody tell me why it is showing like this? I am not sure whether the issue is related to this. Can anybody please share your knowledge on this?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Mario Tibollo Nov 16, 2016 at 09:25 AM
0

if your talking about the field BESTQ, this is a CHAR(1) in ECC. So the space is not coming from the DB.

Normally the list view shows the data as is in the DB and the alv grid takes in account the conversion routines.

if you're talking about another field, let us know.

M.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello Mario,

The field name is J_4KSCAT (Retail specific) and the length is 16 for this field.

Thanks

Renjith

0