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.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALE BAPI and more

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

Hi Sudha,

Thank uuuuuuuuuuuuuu