Account assignment - BADI BBP_DETERMINE_ACCT
I'm using the badi BBP_DETERMINE_ACCT in order to determine the account assignment when I'm creating a SC.
My problem is I need the location or plant for the current item in order to do some select statements, but i don't know how can I obtain it.
In the parameter ITEM_DATA type BBP_DET_ACC_ITEM I haven't the item guid so i can't use the FM BBP_PD_SC_ITEM_GETDETAIL.
Do you know how can obtain the location?
Thanks in advance.