Skip to Content
0

abap select date returns null

Jun 16, 2017 at 08:12 AM

34

avatar image
Former Member

hi every one am beginner in sap

i want to extract field date from DSO the field contains for example 12.04.2003 the problem when i do select /BIC/ZNUMC /BIC/ZDATEL INTO TABLE t_hashed from /BIC/AZDSO200.

it returns 00.00.0000

please give me solution

thanks

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

1 Answer

Frédéric Cincet Jun 16, 2017 at 08:45 AM
0

Hi Anas,

Null value doesn't exist in the SAP netweaver world. You only have initial values which is 00000000 for dates.

Regards,

Frederic

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

thanks for your reply but i don't understand for me i want a solution i want to extract the date field in the DSO but Abap returns 00000000 for all records and in my DSO there is no line contains 00000000 for all lines contain a valid date like 12.03.2016

0

So you have an issue with your ABAP (and its location). Hard to help without this information.

Regards.

0
Former Member

but for other field it works fine there no problem just the field date who has the problem thanks

0