on 11-13-2013 11:57 AM
Hi All,
I have created a custom trans.type as ZSC1 in config and I would like to select this trans.type while creating SC but I don't get that option.
Do I need to implement DOC_SAVE badi or Is there any particular setting I need to do?
Please advice
Thanks
Hi,
as far as I know (and tried), it is not possible to change the process type of a shopping cart in any BADI.
If it always needs to be that custom type, create any custom type that will be before 'SHC' alphabetically...
For example ABC will work, TTT will not.
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Konstantin,
in method /sapsrm/cl_pdo_bo_sc=>get_default_process_type the shopping cart process types are retrieved and INDEX 1 is used to get the first entry... This is why ABC will work and TTT not. This method is called from the /SAPSRM/CL_PDO_FACTORY_SC_ADV=>CREATE_NEW_INSTANCE (while getting the default SC data) when clicking on shop in SRM.
If you could decide beforehand what kind of shopping cart you are creating, maybe a custom application configuration?? (still trying to think of a solution myself as well), you could create an overwrite/post enhancement for this method and build your own logic to determine the wanted process type on creating.
I haven't found any method to update the process type for the SC as there is no possibility to update the PROCESS_TYPE field.
Regards,
Robin
Hello Vijay,
Can you post in the forum if the shopping cart process works for you with custom transaction type?
Because following is mentioned in the IMG documentation of node Define Transaction Types:
Best Regards,
Sushil.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.