cancel
Showing results for 
Search instead for 
Did you mean: 

Finding all the shopping carts assigned to a cost center

Former Member
0 Kudos

Hi All ,

I am currently developing a report that links all the follow on documents and provides the status of these documents.

I have account assignment as a selection criteria and i need to get all the shopping carts which have the given cost center as an assignment .

Can any one tell me a way to get this .

All helpful answers would be rewarded .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use the FM BBP_PD_SC_GETLIST.

Cost Assignment selection can be entered here.


*"     VALUE(I_ITEM_ACCOUNTING) TYPE  BBP_PDS_SEARCH_ACC OPTIONAL


I_ITEM_ACCOUNTING-ACC_CAT = 'CC'.
I_ITEM_ACCOUNTING-VALUE = '<cost center>'.

Regards

Kathirvel

Former Member
0 Kudos

Hi Kathirvel,

Thanks for your quick reply ,

Can we use the same function module to find all the shopping carts which have the assignment as a Balance sheet account number and all the shopping cart which have the assignment as a given Internal order no .

I have tested passing

ACC_C

Z

VALUE

<Given acc no >

But was not able to retrieve the shopping carts which had the given Account No as account assignment .

Please suggest .

Regards,

Prabhakar A

Former Member
0 Kudos

Your query was for Cost Center and hence I replied for that. You can find all the account assignment types at Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Account Assignment -> Define Account Assignment Categories.

This value will be passed here:


I_ITEM_ACCOUNTING-ACC_CAT

e.g. : CC- Cost Center, OR - Order.

For G/L Accounts you have to pass


I_ITEM_ACCOUNTING-ACC_CAT = 'GL'

Hope this solves you problem.

Regard

Kathirvel

Former Member
0 Kudos

Hi Kathirvel,

Thanks for you reply and sorry if i was not clear on my requirement .

It is now working for me but the problem again is that i get the selection criteria in a select-options ,i.e i would be having a range of account assignments(CC or GL or AS or IO ) of which i need to find the shopping carts which have these as account assignments .

How can i get the shopping cart numbers for a range of account assignments using this function module .

Your help is highly appreciated .

Regards

Prabhakar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prabhakar,

One way for this is 'Monitor Shopping Carts' report where you can enter a specific Cost center and can see the shopping carts related to this.

Otehr way is use report BBP_BW_SC4 for achieving this.

Hope this helps.

Do not forget to reward points if the answers are found useful.

Thanks

Venkat