This content has been marked as final. Show 2 replies
Saw your query and don't know if this is still an issue for you ?
You are calling a BSSV from within a C BSFN meaning you are consuming from that BSSV an external web service.
The E1MessageList generated in the BSSV you can not return as such to the calling BSFN.
I would suggest you simply create a new logging BSFN suitable for your specific purposes with a DSTR reflecting the parameters of the E1MessageList object such as ErrorAlphaDescription, ErrorDataDictionaryItem, ErrorFileName, ErrorGlossaryText, ErrorLevel, ErrorSourceLineNumber, etc...
Just before the finishInternalMethod you can read through the E1MessageList array and parse out the data. For every element found you call your custom logging BSFN which in turn can then write this data to a file or whatever.
Hope this helps!
The Jan's solution is good but there are times when we need to know into the C context the return of the operation.
If this is your requierement just ad into the value object of the BSSV the field you want to know from E1Messages class and, after the execution, parse the content into your C bsfn.
I hope to add more value to the previsus proposed valuable solution.