Dear Rahul,
In
the file <tablename>hdlr.c file, you have a function named
<tablename>processRequests() which returns SUCCESS / FAILURE
depends on the operation performed in the external application . If the
external application fails to do the requested operation, then the
external application construct a pdu with return failure with
errorStatus and errIndex.
the function
<tablename>ProcessRequests() also forward the result which is
SUCCESS / FAILURE to the function ProcessRequests() which is called in
the file pdureqhdlr.c file.
Here the value is assigned to the
variable retVal which holds the value SUCCESS / FAILURE depends on the
external application response.
If it returns FAILURE then it gets the value errStatus and errIndex values and sent it to the manager.
Kindly
look into the function call ProcessRequests() in the function
pdureqhdlr.c file at line no : 1013 which might help you to understand
the scenario.
Hope this helps. Do revert back to us for further queries.
Thanks and Regards,
- Subarayan -