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

ALE BAPI and more

1> what are BAPI PARAMETERS?

2> SHDB full form

3> What exactly FORMAT_MESSAGE Function Module does?

4> Mandatory fields for xd01, me21, material master , (regarding Recording)

5>what type of errors will BAPI throws.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 07:19 PM

    hi,

    1> same as Function module, import,export,table,changing, exception

    2> its a t-code, no fullform for t-code

    3> to handle errors explicitly in BDC using call transaction method

    4> check in tables

    5>In General , there are non execptions in BAPIs, because of the reason, that the exception raised in a SAP envoronment may not mean anything for a non SAP initiator. All the exception situations would only fill the return table(TYpe BAPIRET2 or something like that). If you read that table after the call to the bapi, you can understand what has gone wrong.

    Reward points if its helpful.

    neo S.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2007 at 04:06 AM

    hi,

    1.what are BAPI PARAMETERS?

    like othe rfM'S EXPOTING ,IMPORTING,TABLES ,exceptionsETC

    2. SHDB full form

    It is a tcode for recording it doesn't have any full form.

    3 What exactly FORMAT_MESSAGE Function Module does?

    generally for error handlling in call transaction we use structure BDCMSGCOll and Format_message. used to display error messages.

    CALL FUNCTION 'FORMAT_MESSAGE'

    EXPORTING

    ID = SY-MSGID

    LANG = SY-LANGU

    NO = SY-MSGNO

    V1 = SY-MSGV1

    V2 = SY-MSGV2

    V3 = SY-MSGV3

    V4 = SY-MSGV4

    IMPORTING

    MSG = LV_MSG

    EXCEPTIONS

    NOT_FOUND = 1

    OTHERS = 2.

    IF SY-SUBRC = 0.

    WRITE :/ LV_MSG.

    ENDIF.

    4Mandatory fields for xd01, me21, material master , (regarding Recording)

    to find the manditory fieldds got to paticular transaction and give values,if the system doesn't allow u to move to next screen for some fields consider those are manditory .

    5.what type of errors will BAPI throws.

    http://sapbrain.com/TUTORIALS/TECHNICAL/BAPI_tutorial.html

    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.