on 10-16-2012 7:33 PM
Hi,
I have a requirement that from the alv report I have created in SAP SRM system which contains RFx number in a column, I need to navigate to Disply RFx details page in NWBC when clicking on the column. If NWBC is already opened, it should not ask for a logon.
I tried using classes like cl_nwbc..but unfortunately not working.
Please help me with this.
Hi,
Try with this:
CALL FUNCTION 'BBP_OUTPUT_GET_SERVICE_URL'
EXPORTING
iv_guid = lv_rfx_guid
iv_partner_id = lv_partner "initial
iv_langu = sy-langu
ic_bus = 'BUS2200'
IMPORTING
ev_url_long = lv_url.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
url = lv_url.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ricardo,
This is not working as it is going to the SAP work directory in my system.
I have checked this with adding sap:nwbc://server:port etc to the starting of this url got. That is launching nwbc but again asking for logon credentials.if we give credentials also, it is not going to the display page of RFx but the home page. I have come to the SAP SRM system from NWBC only and exceuted the report so actually it should not ask again for logon.
Please help.
Use class method /SAPSRM/CL_URL_SERVICE=>GET_URL
IV_BO_TYPE = BUS2200
Add one row to IT_URL_PARAMS:
PARAMNAME = SAPSRM_BOID
PARAMVALUE = GUID of RFX
Above method will return the NWBC URL for displaying RFX.
Or else you can hard code following in your code:
http://domain:port/nwbc/srm/~canvas;window=app/obn/rfx.display/?sap-client=XXX&SAPSRM_BOID=<enter guid here>&SAPSRM_BOTYPE=BUS2200
But be sure to think about DEV/QA/Prod server names and ports etc.
let me know if you have issues.
Hi Sushil,
The ALV is executed from NWBC.
NWBC-> SAP Systems-> SRM system.
This will open SAPGUI and we will run the report.
ALV is shown in SAPGUI which is launched from NWBC.
Its not a webdynpro ALV report.
Clicking on the RFQ it should display the details of this particular RFQ(Display RFQ XXX details page). That too in NWBC with SSO.
Regards,
Sreedevi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.