‎2014 Mar 25 6:04 AM
Hi Experts,
How to get customized resulting value in standard BAPI?
For ex. If i pass some parameter to bapi and i will get resulting exporting value from standard BAPI.
How can I get customized value along with the exporting value from standard BAPI.
Thanks,
Ani
‎2014 Mar 25 6:18 AM
Hi Anil,
If you meant that you want to have customized field in the exporting parameter of BAPI then you can not add there. Instead try to generate customize value in some user-exit (In case a standard transaction) or in your code (in case of Z object)
Thanks,
Sachin
‎2014 Mar 25 6:35 AM
hi anil,
if you want to have customized output then its better to create your own custom bapi or find any user exit if your working on standard transcation .
Regards,
Sivaganesh
‎2014 Mar 25 6:55 AM
Hai Anil,
If you want to get the values of the custom fields, then you can get if from EXTENSIONOUT parameter of the BAPI.
Thanks & Regards,
Abijith
‎2014 Mar 25 7:08 AM
Read some documentation on EXTENSION[IN,OUT] on BAPI, e.g. Enhancing the BAPI by Including Additional Customer Database Tab in Customer Enhancement and Modification of BAPIs (CA-BFA). Often you have to implement a BAdI to manage those customer structures during BAPI execution, sometimes (lucky) only a specific structure must be defined and the system fill it with a MOVE-CORRESPONDING or similar statement, so read the documentation of the BAPI EXTENSION[IN,OUT] parameter or BAPI/FM documentation.
Regards,
Raymond
‎2014 Mar 25 12:22 PM
Hi Anil,
Your question and example are not clear. Please be specific with BAPI name.
In case it is regarding passing custom (Z) fields in BAPI, then some BAPIs allow it and not all. Those BAPIs which have EXTENSIONSIN & EXTENSIONSOUT parameters only allow it.
Eg: BAPI_MATERIAL_SAVEREPLICA.
BR.