cancel
Showing results for 
Search instead for 
Did you mean: 

BADI for Currency

Former Member
0 Kudos

Hi All,

We are working on standalone scenario and PO have to pick currency based on company code the standard as of now is the currency gets selected from the vendor master data.

Please let us know if there is any BADI for currency?

Thanks,

Ravi Varma

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Try using BBP_DOC_CHANGE_BADI. It's quite easily possible.

P.S. Read the corresponding SAP Documentation using SE18 Transaction, before implementing the BADI.

Regards

- Atul

Former Member
0 Kudos

Hi Atul,

We are working on a standalone scenario SRM 4.0 and we have central purchasing organization for our two company codes(USD & INR). Our direct purchase order is created with the currency INR but if we confirm the INR gets overwritten as USD and it is in display mode.

We tried to change this standard functionality thru. the BADI and thought it will be a simple task. But,

the above mentioned BADI

BBP_DOC_CHANGE_BADI

seems does not have a currency field in export parameters. Before this BADI triggers wrong currency is populated.

Any suggestions or some more BADIs/Userexits to achieve our requirement for the above mentioned scenario.

As per our understanding the confirmation BBPCF02 gets details from the purchase order but if our abaper debugged and says it is coming from the vendor master. In purchase order it is manual entry, so only for confirmation why does the system picks the vendor master currency?

Any thoughts suggestions pls.

Best Regards,

Sridhar.

Former Member
0 Kudos

Hi Sridhar,

Do you manage to solve your problem? We have currently the same problem, but what we can see is that only the currency code is incorrect, there is no amount convertion.

Thanks,

Regards,

Ana

Former Member
0 Kudos

Hi

We managed to do the same long time back easily using BBP_DOC_CHANGE_BADI. But you need to logic your currency conversion as per you business requirements.

Refer to Currency conversion Function modules

BAPI_CURRENCY_CONV_TO_EXTERNAL

BAPI_CURRENCY_CONV_TO_EXTERN_9

BAPI_CURRENCY_CONV_TO_INTERNAL

BAPI_CURRENCY_CONV_TO_INTERN_9

- for more details.

Hope this will give you some idea. Take help of ABAP person in coding this BADI accordingly.

Do let me know.

Regards

- Atul