Skip to Content
avatar image
Former Member

EH & S: BAPI_BUS1077_GETDETAIL uncatchable message/error

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 11, 2009 at 12:33 PM

    hi,

    Try using FM C1E7_BUS1077_GETDETAIL

    thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

      Sven

      Edited by: Sven Schuberth on Mar 11, 2009 2:06 PM

  • avatar image
    Former Member
    Apr 07, 2010 at 11:06 AM

    by my own

    Add comment
    10|10000 characters needed characters exceeded