I'm using the BAPI BAPI_BUS1077_GETDETAIL to get alle attributes und their values from a lot of specifications.
Now I've found an error. The BAPI shows a message C1801 as error E801, but there is no posibillity to catch this message.
I tried "catch" and "try", but nothing works. The BAPI on his own has no exceptions, only a returntable with errors. But this table can't be used, because the message aborts the programm immediatly.
Has anyone a suggestion, how to solve this problem?
Thanks, but this function doesnt work, too.
It uses the same way to determine the data. So it reaches the line 164 in report LCTMSF3L where the message is raised.
Could this be a coding-error from SAP?
I've found the solution:
I have to add a EXCEPTIONS-section to the function call and there I have to use ERROR_MESSAGE = 1
Edited by: Sven Schuberth on Mar 11, 2009 2:06 PM