on 04-12-2011 9:43 PM
Hi all,
In SRM 7, is it possible to use account assignment fixed asset in the creation of the shopping cart? What about of creating the asset at the time of the creation of the shopping cart?
Thanks
Ezequiel
Hi
Asset Account assignment is supported in SAM7.0 for detail on the acct. assigment look at this navigation in SPRO:
SRM Server->Cross Application basic settings->Account Assignment.
Asset will have to created in ECC backend system prioir to be used in SRM system for creation of Shopping Cart.
with regards
Manjunath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ezequiel,
You are creating the SC of a PR or in SRM?
Could use the SRM BADI BBP_DOC_CHANGE_BADI.
Or use the BBP_BADI_EXTREQ_OUT BADI in ECC.
Example code of the ECC:
METHOD if_ex_bbp_badi_extreq_out~bbp_grouping_mapping.
DATA: e_acc TYPE bbps_er_acc_c.
FIELD-SYMBOLS <fs_item> TYPE bbps_er_item_c.
LOOP AT item_imp ASSIGNING <fs_item> WHERE item_number+5(5) = transtab_imp-eban-bnfpo.
ENDLOOP.
READ TABLE acc_imp TRANSPORTING NO FIELDS WITH KEY parent_guid = <fs_item>-item_number+5(5).
IF NOT sy-subrc IS INITIAL AND ( transtab_imp-eban-knttp = 'A' OR transtab_imp-eban-knttp = '').
<fs_item>-direct_proc = ''.
e_acc-parent_guid = <fs_item>-item_number+5(5).
e_acc-distr_perc = '100.00'.
e_acc-g_l_acct = '9999999999'.
e_acc-cmmt_item = '99999999'.
if transtab_imp-eban-knttp = 'A'.
e_acc-acc_cat = 'AS'. "Asset
else.
e_acc-acc_cat = 'STR'. "Generic
endif.
APPEND e_acc TO acc_imp.
ENDIF.
Rgs,
Pedro Marques - SRM Solution
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.