Skip to Content
author's profile photo Former Member
Former Member

difference..

hello everyone,

what is the exact reason for which there are no exceptions mentioned in a bapi function module when compared with normal fm ? in a bapi why the BAPIRET table is maintained to store the exceptions ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 06:36 AM

    Hi,

    BAPI's are basically RFC's and RFC Function modules are designed to be called from non-sap system. Non-sap system cannot handle the exceptions and as exceptions cannot be passed to the other non sap systems thus all the RFC's do not have any exceptions defined.

    BAPIRET table is maintained to handle exceptions as it is not possible to do it via defining exceptions in the function module itself.

    Hope this explaination helps.

    Regards,

    Kate

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2007 at 06:22 AM

    Hi,

    The main reason is they are supposed to be called from NON-SAP systems, so if we raise an exception it cannot be propagated onto to the calling NON-SAP systems.

    Normal FM's are supposed to be called within SAP system unless they are marked as Remote-Enabled in which case its not advised to delare Exceptions for them.

    SO its a guideline that they should not raise any exception but return the status in BAPIRET.

    Regards,

    Sesh

    .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 06:24 AM

    Hi ,

    Bapi return help's u to tell which and all record's are updated successfully , which and all are not updated successfully .............

    If msgtyp = 'E' the record's are not updated successfully ....

    Thanks & Regards

    Bhaskar rao.M

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.