‎2007 Oct 31 10:29 AM
can any one tell me...... what is the purpose of Return parameter in BAPI ?
‎2007 Oct 31 11:21 AM
RETURN parameter in BAPI is used to return messages error or success or warning which may occur during the execution of BAPI.
This is there because the BAPI being an RFC cannot raise an error message since this is not allowed in RFC. So the BAPI will return error/warning or success message in this parameter.
Hope this clarifies
Regards
Nishant
‎2007 Oct 31 11:21 AM
RETURN parameter in BAPI is used to return messages error or success or warning which may occur during the execution of BAPI.
This is there because the BAPI being an RFC cannot raise an error message since this is not allowed in RFC. So the BAPI will return error/warning or success message in this parameter.
Hope this clarifies
Regards
Nishant
‎2007 Oct 31 11:24 AM
it return all the Message's ,Exceptions ,etc
it is a kind of
Catch ..... endcatch & Try & endtry what ever message's (S,E,A,I,W)it will capture and maintain in the strucuture called BAPIRETURN (or)BAPIRETURN2.
Reward points if it is usefull ..
Girish
‎2007 Oct 31 2:26 PM
Thanks Nishant & Girish Kumar 4 ur answers.....my doubt was cleared...
Also I rewarded points for both of u....