on 11-12-2013 6:24 AM
Can anyone help me in SRM shoping cart for the transaction NWBC
I created webdynpro application for that in First navigation with custom button to add to cart
But i got stuck in second navigation were i need to transfer my data when user select add to cart in second screen....
Hi tabrez,
could not get your problem. Could you please describe it in details.
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Konstantin,
For NWBC shopping cart
I enhanced standard webdypro application i.e /SAPSRM/WDC_DODC_SC_GAF_C
here i add one custom button i.e ADD to cart when user click on that it will take you to next screen,
navigation is working but i got stuck in transferring data from my first navigation screen to second with my custom field in webdypnpro.
I think it can be done through OCI but i dnt know much about it & not get any BADI or I had to SPRO setting for that for transferring data
can you suggest may best possible way.
Hi Konstantin,
You can refer following links my problem is similar to that but the solution which is not describe properly & i am working First time on SRM
http://scn.sap.com/docs/DOC-31231
http://www.attpurchasing.com/Files/OCI_40_EN20030611.pdf
Regards
Tabrez Shaikh
Hi Tabrez,
sorry, I lost this post from monitoring.
You should have an access to the attribute MO_BOM_SC of the component controller of enhanced component.
With the call of method /SAPSRM/IF_CLL_BO_MAPPER~GET_PDO of this method you should be able to get a reference to your shopping cart object.
shold looks somehow like:
data lo_sc type /SAPSRM/CL_PDO_BO_SC_ADV.
lo_sc ?= mo_bom_sc->/SAPSRM/IF_CLL_BO_MAPPER~GET_PDO().
then just call for lo_sc-><<METHOD>> one of the following methods (depending on your data)
/SAPSRM/IF_PDO_BO_SC~ADD_ITEM
/SAPSRM/IF_PDO_BO_SC~ADD_ITEM_WITHOUT_SOS
/SAPSRM/IF_PDO_BO_SC~ADD_ITEMS_FROM_CATALOG
/SAPSRM/IF_PDO_BO_SC~ADD_LIMIT_ITEM
/SAPSRM/IF_PDO_BO_SC~ADD_SERVICE_ITEM
and don't forget lo_sc->/SAPSRM/IF_PDO_BASE~SUBMIT_UPDATE after that.
Then you should be able to navigate to the next step and see your item in the item table of sc.
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.