on 09-02-2008 3:06 PM
Hello,
we have SRM running on an ECC backend. The shopping cart is the default one and so is the search help for the gl-accounts. What i need todo is now to limit the gl-accounts displayed in this default search-help to some values.
The way of limiting is no problem but i dont know ho i can limit the values at all. In R/3 the way todo this is using the search-help-exits. But i dont know how todo this in SRM.
I neither dont know how nor the datafield and structure that glaccount-field in the shopping cart belongs to.
Could someone please help me out ? Any help is highly appreciated and will surely get rewarded.
thanks alot,
oliver
Hi Oliver,
you can use the BADIs BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT to limit the values of the search help.
Regards,
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok...i checked BBP_F4_READ_ON_EXIT. It all looks very good but i wasnt able to find a method for the accounting-value SAKTO (datatype SAKNR). [German called "Sachkonto"]
But thats the one i need to limit. Any idea where i may find that or how i can use a limitation for that one ?
thanks alot and best regards,
oliver
Hmm ok...i tried BBP_DETERMINE_ACCOUNT but im unsure about the way of using it.
Does the parameter ACCT_DATA for the method Determine_Account contain all the lines that are shown within the search-help for GL-Account ? So i need to delete/append rows to manipulate the search-help entries ?
Now the thing is that i would need to have the material-number (MATNR) that is the corresponding product in the R/3 Backend. Can you tell me how i can retrieve this number from the product-ID ?
Or is there another way to fetch this data like material-number, account-plan (KTOPL) etc from the product-id given in the parameters of that badi ?!
thansk again,
oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.