Call Object Error Handling
System errors on a call object are reported in the returnCode element. The numeric code is returned in the code attribute, and the corresponding text is returned as a child text node of the returnCode element. The standard jdeCallObject return codes are used for the code attribute.
<?xml version='1.0' ?> <jdeResponse type='callmethod' user='steve' pwd='xyz' role='*ALL' environment='prod' session=''> <callMethod name='myfunc' app='P42101' trans='t1'> <params> <param name='CostCtr'> 1001</param> </params> <returnCode code='0'>Success</returnCode> </callMethod> </jdeResponse>