on 07-31-2006 8:08 PM
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...
Hi Raja,
Do you clean Bapiret2? Like wdContext.nodeOutput().invalidae() after model.execute()?
best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.