on 03-26-2008 7:26 AM
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 .
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.