cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP -WebDynpro - Read URL Parameter

Former Member
0 Kudos

Hi,

We have a Custom 'Catalog' that needs to be called from SRM using OCI (Open Catalog Interface). We are developing this custom catalog using ABAP Web Dynpro. We have following issues because of which we are unable to communicate back to Shopping cart from the Custom Catalog:

1. Unable to read the value of 'HOOK_URL' in WebDynpro application. We need this value so that it can be used as Exit URL. How and where do we read this URL parameter in ABAP WebDynpro ?

2. How can we return the 'HTML Form' to SRM with the values from Custom Catalog to fill the shopping cart ?

I would appreciate your help...

Thanks

Meenal

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member210967
Participant
0 Kudos

see my thread:

Former Member
0 Kudos

Mass,

Can we have this webdynpro java as well ?

Thanks,

Vinit

former_member210967
Participant
0 Kudos

Hi Menal,

I had the same problem.

Did you define the HOOK_URL parameter in your webservice ? If not, do this 1st.

2nd

In you Webdynpro read the HOOK_URL in your handledefault method your window. Store it e.g. as attrribute in you assistance class.

method handledefault .

*&- Add FOF and HOOK_URL to assistanceclass attributes

wd_assist->hook_url = hook_url.

endmethod.

After this you can read your HOOK_URL e.g in a view via:

concatenate 'HOOK_URL=' wd_assist->hook_url zlv_hook_url into zlv_hook_url

I hope your question is answered.

What I want to now is: How to controll the HOOK_URL so that the formfields of the extenal catalog is added to the shopping card. Do you now that ?

John