on 10-10-2007 9:56 AM
HI:
I want to write some error messages in PR exit, But while checking the PR ,only one error message would be displayed when many items for this PR could not met the needs of the condition writen in PR exit. Does there a way we can use to display error message per item.
Hope someone can help me.TKS.
Hi:
Do you mean I can not display all errror messages in transaction?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi:
Thank you for your reply.If I do not set the error message in loop,how can I display one error message per item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure what exactly do you need, if you set the E message in looping ,then when the system loop and find 1 item and meet the error msg logic,then the system will exit from the looping, in this case if there 10 item in PR, and the 1st item error , then it'll pop out the error msg w/o check another item.Also the error message text is so short to cover all item error message,you should find another workaround ,like you check per item if meet the condition that you store it to table,then in the end of the check you put the error message if the table if filled.so the user can check the error in a report,not on the spot in transaction.
Dear Hong pan,
Its becaused you loop the condition per PR item and set the error message in the looping, the behaviour is when an error message occured, the system'll stop checking another item, and also the customize error message is not long enough to output all the error, you can change your logic by set the error message after looping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
does someone kown how to do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.