on 01-21-2013 11:23 AM
Hi expert,
I have an custom webdynpro report who have a list of PO number as result inside an ALV object .
I want to make each line of the result as a link to open the PO same as the functionnality in the POWL result in SRM.
Can you help me please.
(I sample code is welcome )
Hi,
Try with the following code to get the url;
CALL FUNCTION 'BBP_OUTPUT_GET_SERVICE_URL'
EXPORTING
iv_guid = lv_po_guid "the guid of your PO
iv_partner_id = lv_partner "dummy
iv_langu = sy-langu
ic_bus = 'BUS2201'
IMPORTING
ev_url_long = lv_url.
Then use the method lo_window_manager->create_external_window to open a new window to display the PO.
Hope this help you.
Regards,
Ricardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.