cancel
Showing results for 
Search instead for 
Did you mean: 

How to call Call shopping Cart

Former Member
0 Kudos

Hi experts ,

I have requirement where in one custom developed (Z/Y)webdynpro component offers users a Link ( Link to action ) This link should open the SAP shopping cart in SRM 5.0 Custom developed webdynpro component is also in SRM5.0

Please provide hints or solution how proceded ?

Thanks in advance

Badarinarayan patil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

U can do this in two ways .

First ,

U can use OBN to call the SC screen by providing below parameters ,

CALL METHOD wd_comp_controller->m_portal_manager->navigate_to_object

EXPORTING

system = navigation_data-system

object_type = navigation_data-object

operation = navigation_data-operation

business_parameters = lt_parameter_table

resolving_mode = 'USER_SET_OF_ROLES'.

Second ,

U can call LAUNCH_TARGET to call the SC url .

CALL METHOD LO_NAVIGATION_SERVICE->LAUNCH_TARGET

EXPORTING

IV_TARGET_TYPE = /sapsrm/if_ch_wd_navi_serv_c=>gc_target_type-url

IS_URL_COMPONENTS = ls_url_component

.

Regards,

Kalpana

Former Member
0 Kudos

Thanks For the suggestion ,,,

I will like to know following details

What is OBN (object based navigation?)

2)

wd_comp_controller->m_portal_manager->navigate_to_object

I dont find the method m_portal_manager in my component Controller Interface

3) what is type ref of LO_NAVIGATION_SERVICE ,

Could please let me know in detail ,,,

Thanks in advance

Badari

Former Member
0 Kudos

Hi Badri,

NAVIGATE_TO_OBJECT is one of the methods in the interface IF_WD_PORTAL_INTEGRATION. You can access it as follows.

wd_comp_controller->get_portal_manager(). Which returns an object of type IF_WD_PORTAL_INTEGRATION. Using that you can call the NAVIGATE_TO_OBJECT method with necessary parameters as described in the previous post.

Regards,

Sankar

Former Member
0 Kudos

hi badrinarayan....

instead of link to action have a link to url.

provide the component's url that has to be called in this link to url.

it works.

---regards,

alex b justin