‎2010 Jan 21 8:24 AM
Hi,
Do we need to check the master data before passing the internal table to function moodule.If the master data is not existing then anyway the bapi will give error , then why do we need to check the master data before passing the internal table to bapi FM.
Rgds,
Sanjay
‎2010 Jan 21 1:58 PM
HI Generally BAPI does all the validations same as available in the standard transaction.
But i have also faced some situation in CMS module BAPI's , the plausibility checks were done independently.
‎2010 Jan 21 8:41 AM
Hi,
if you set proper checks within the program there won't be any unnecessary function calls or method call or subroutine call
which can cause exceptions, performance issues and longer processing time.
As in your case BAPI would handle the exception if there are no contents but still if you don't a check point it will call the BAPI simply and execute it right.
Regards,
Ranjith Nambiar
‎2010 Jan 21 1:38 PM
Hi,
Generally , I have found programs doing the checks before passing to BAPI , is it proper practice or it is not required .I want to use BAPI_ACC_DOCUMENT_POST , so should i check the master data like gl/account,cost centre before calling the bapi.
Rgds,
‎2010 Jan 21 1:58 PM
HI Generally BAPI does all the validations same as available in the standard transaction.
But i have also faced some situation in CMS module BAPI's , the plausibility checks were done independently.