Title: ERROR HANDLING FOR YOBCASTNEX
SAP NetWeaver Portal
PROBLEM DESCRIPTION:
There is no proper error handling in place while type casting from
non-numeric character to numeric data using YOBCASTNEX. Hence the below
exception message was thrown when non-numeric data is being casted to numeric
:
"A character representation of a numeric value is in error. "
PROBLEM CAUSE:
Introducing error handling to YOBCASTNEX with the fallowing considerations.
1. When the input string does not contain proper numeric value for the progra
m YOBCASTNEX then a system generated message with severity 99 was being
written to the joblog.
i. I have made changes so that now a more informative message with a severity
40 will be written to the joblog. The message text will be like "Input start
ing "123A " is not a valid number." "Only a valid n
umeric value is allowed."
2. Customer wanted to have a message with a severity lower than 99.
i. Even though he suggested if we could have a message with severity 20, we c
ould only create a message with severity 40 as that is the severity of the ge
neric message code. . It would not really make much of a difference though.
but, if the customer really wants to have an even lower severity then we will
have to think of something different.
3. The customer wanted the name of the calling program
i.I have made the code changes so that name of the calling program will be w
ritten as a separate message in the joblog. The text of the message will be l
ike "The calling program is ProgramName."
CIRCUMVENTION:
NO
HYPER:
NO
PRODUCTS AFFECTED:
CA Plex r6.1 (All versions | up to PTF610.043.040)
CA Plex r7.0 (All versions | up to PTF700.038.012)
CA Plex r7.1 (All versions | up to PTF710.026.002)
Published Solution:
Related Solution #10 Release:7.0 APAR #RO83146
Related Solution #6 Release:7.1 APAR #RO80468