Application Development and Automation 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: 
Read only

Getting customized value from standard BAPI

Former Member
0 Likes
891

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

5 REPLIES 5
Read only

Former Member
0 Likes
820

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

Read only

sivaganesh_krishnan
Contributor
0 Likes
820

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

Read only

former_member196651
Contributor
0 Likes
820

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
820

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

Read only

Former Member
0 Likes
820

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.