This website is not affiliated with, sponsored by, or approved by SAP AG.

DUMP generated ,ASSERT condition was violated

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

DUMP generated ,ASSERT condition was violated

Postby kunalkadamkk91 » Sun Sep 21, 2014 10:59 pm

Dump is genearted by condtion "ASSERT sy-subrc = 0".......short text-ASSERT condition was violated ..
i read theory for ASSERT condition ..but not getting exact meaning?
At this time my sy-subrc values is 4.
kunalkadamkk91
 
Posts: 10
Joined: Fri Sep 19, 2014 12:40 am

Re: DUMP generated ,ASSERT condition was violated

Postby Gothmog » Mon Sep 22, 2014 4:27 am

Well, it means that the condition "sy-subrc = 0." is not true at the time of the ASSERT, so an ASSERTION_FAILED exception is raised, and the program terminates with a runtime error.
ASSERT is used to ensure a condition is true.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1941
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home

Re: DUMP generated ,ASSERT condition was violated

Postby kunalkadamkk91 » Mon Sep 22, 2014 10:00 am

Thanku :)
kunalkadamkk91
 
Posts: 10
Joined: Fri Sep 19, 2014 12:40 am


Return to ABAP

Who is online

Users browsing this forum: No registered users and 5 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.