cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Company Code of Shopping Cart

Former Member
0 Kudos

Hi Experts,

We are using n-step approval workflow for shopping cart. We have implemented the BADI too.

Now based on the Company Code i want to fetch the approver.

My question is how do i get the Company Code of the SC in the BADI ?

Thanks

Radhika.

Accepted Solutions (1)

Accepted Solutions (1)

franz_feichtenschlager
Active Participant
0 Kudos

Hello Radhika,

Please call FM BBP_PD_SC_GETDETAIL in your BADI.

Table E_ITEM should contain the company code of the item.

Regards,

Franz

Former Member
0 Kudos

Hi Franz,

Thanks for the quick response. I have found the field in the item table, but just curious to know, should the Compnay Code be at header level ?

Thanks,

Radhika.

franz_feichtenschlager
Active Participant
0 Kudos

Hello Radhika,

Presently the SRM table structure is like this - so there's not a lot you can do.

We're using classic extended scenario. In the backend system the company code is part of the PO item table. So, yes it makes sense that the company code is also part of the item portion of the SC.

I'm not able to come up with a better answer to your question.

Cheers,

Franz

Answers (0)