Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

EH & S: BAPI_BUS1077_GETDETAIL uncatchable message/error

0 Kudos

Hello all,

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?

Greetings, Sven


Former Member
0 Kudos


Try using FM C1E7_BUS1077_GETDETAIL


0 Kudos

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

0 Kudos

by my own