Skip to Content
0
Former Member
Jul 31, 2006 at 07:08 PM

Error messages accumulate

39 Views

Hi:

I am wondering why the number of error message increase with each request once there is an error?

I have WDTable in my view, on a selected action I execute a bapi call.

If there are validation erros in the input from the user we are diplaying the error messages (for ex 3 error messages as following) from return structure (Bapiret2).

<b> UNIT: Time unit hr does not exist filed: UNIT id: CRM_SERVICE_I log_msg_no: 000000 log no: num: 207 row: 1 param: type: E

ORDER_NUMBER: Type W of cost center 0002437111 is not allowed fo filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 1 param: type: E

ORDER_NUMBER: No information was found filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 1 param: type: E</b>

The issue is, when the user click on action button again with out modfying anything, Instead of getting 3 error messages, I am getting 9 error messages.

<b> UNIT: Time unit hr does not exist filed: UNIT id: CRM_SERVICE_I log_msg_no: 000000 log no: num: 207 row: 1 param: type: E

ORDER_NUMBER: Type W of cost center 0002437111 is not allowed fo filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 1 param: type: E

ORDER_NUMBER: No information was found filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 1 param: type: E

UNIT: Time unit hr does not exist filed: UNIT id: CRM_SERVICE_I log_msg_no: 000000 log no: num: 207 row: 1 param: type: E

ORDER_NUMBER: Type W of cost center 0002437111 is not allowed fo filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 1 param: type: E

ORDER_NUMBER: No information was found filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 1 param: type: E

UNIT: Time unit hr does not exist filed: UNIT id: CRM_SERVICE_I log_msg_no: 000000 log no: num: 207 row: 2 param: type: E

ORDER_NUMBER: Type W of cost center 0002437111 is not allowed fo filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 2 param: type: E

ORDER_NUMBER: No information was found filed: ORDER_NUMBER id: ZSM_MESSAGES log_msg_no: 000000 log no: num: 099 row: 2 param: type: E

</b>

Any help would be greatly appreciated!

Thank in advance...