cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Shopping cart's currency

Former Member
0 Kudos

Hello,

I've got a problem with shopping cart's currency. I create the shopping cart with 1 item currency "EUR", I see in my backend ECC 5.0 , my purchase requisition have got a currency in "CHF".

System SRM : SRM 5.5

System ECC : 5.0

The scenario for approval shopping cart is automatic, the workflow WS1000060 is active.

Can you help me please, thanks very much.

Lionel

Accepted Solutions (1)

Accepted Solutions (1)

dean_hinson2
Active Contributor
0 Kudos

Lionel,

What is the currency of the vendor? Also, if you look at the shopping cart, do you see in Basic Data section the total in CHF?

Regards, Dean.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Lionel,

what is the default currency of the vendor?

Regards,

Andreas

Former Member
0 Kudos

Hello Andreas,

Yes , the vendor's default currency is "CHF", I agree with you.

Me, with SRM shopping cart, I don't tranfer a purchase order but a purchase requisition.

If I create a purchase requisition directly in backend, I can put any currency, the system don't put automatically the vendor's default currency.

I want :

- If I create a item SC with currency "EUR" in SRM -> in backend ECC I want a item purchase requisition with currency "EUR".

- If I create a item SC with currency "CHF" in SRM -> in backend ECC I want a item purchase requisition with currency "CHF".

Thanks for help.

Lionel

Former Member
0 Kudos

Hi Lionel,

Did u find any solution to the issue ?

regards,

Zam

Former Member
0 Kudos

Hi Sambit,

Yes I found the solution.

You must implemente this BADI BBP_CREATE_BE_RQ_NEW with method FILL_RQ_INTERFACE.

You can see my code :

METHOD if_ex_bbp_create_be_rq_new~fill_rq_interface.

DATA : wa_requisition_items TYPE bbps_badi_rq_item,

wa_item TYPE bbp_pds_transfer_item,

w_tabix TYPE sy-tabix,

w_check.

LOOP AT cs_rq_document-it_requisition_items INTO wa_requisition_items.

w_tabix = sy-tabix.

READ TABLE is_sc_document-item INDEX w_tabix INTO wa_item.

IF wa_requisition_items-currency NE wa_item-currency.

wa_requisition_items-currency = wa_item-currency.

wa_requisition_items-c_amt_bapi = wa_item-gross_price.

ENDIF.

MODIFY cs_rq_document-it_requisition_items FROM wa_requisition_items INDEX w_tabix.

CLEAR : wa_requisition_items,

wa_item.

ENDLOOP.

ENDMETHOD.

I hope that will help you.

Kind regards.

Lionel

Edited by: Lionel Lacotte on Jun 24, 2008 2:22 PM