cancel
Showing results for 
Search instead for 
Did you mean: 

Display RFx detail from an ALV report

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

RicardoRomero_1
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Sushil,

After getting the url, can we use FM "CALL_BROWSER" to launch this?

Former Member
0 Kudos

I tried this. But not working..

I am launching SAP SRM system from NWBC itself and running my report. So when clicking on the RFx in my report output it should open another session with this RFx details in NWBC without asking logon.

Former Member
0 Kudos

Can you be specific on what is not working? You can post some screen shots.

Is your ALV shown on NWBC or in SAPGUI?

Is this a webdynpro ALV report?

Thanks,

Sushil.

Former Member
0 Kudos

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