‎2014 May 09 11:15 AM
Dear all,
We have a BOBJ report which is in BO 3.1 system.
We got a requirement from users to provide a URL link in that report , to capture whether the report data is approved or rejected.
This URL need to update the approval or rejected information in BI system of version 7.0.
for this i have developed two options as solutions. Each solution is having an issue.
1. I have create a Webdynpro application and provided the URL. It is working fine and updating the data in custom table.
but the issue here is,WEBDYNPRO is generating a Browser window, but users don't want this window to be appeared.
Is there any way in Webdynpro to update this data, but not to open the Browser or automaticlally close it?
2. So as another solution, i have developed a Webservice in ABAP(I am new to Webservices) and tested with SOAPUI which is working fine.
So, i have provided the Same URL for BO report.
But this is also generating a Browser window and giving the message as
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
and the data also not updating. What is the issue and how to resolve it?
Please help.
Thanks,
Vamshi
‎2014 May 09 1:28 PM
Hi Vamshi,
For the first option i think you can try the fm " WDY_EXECUTE_IN_PLACE" and in application parameter pass webdynpro component name. With this it doesnt open an new browser.
Call this FM in report program.
ex:
CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
EXPORTING
* PROTOCOL = " HTTP | HTTPS
* INTERNALMODE = 'X' "SPACE - browser is started
* PARAMETERS =
application = 'Z_Test_appln'
* CONTAINER_NAME =
EXCEPTIONS
invalid_application = 1
browser_not_started = 2
OTHERS = 3.
IF sy-subrc EQ 1.
MESSAGE a400.
ELSEIF sy-subrc = 2.
MESSAGE a401.
ELSEIF sy-subrc = 3.
MESSAGE a667.
ENDIF.
Best Regards,
K.Srikanth Reddy
‎2014 May 09 2:20 PM
Hi Srikanth,
Thanks for your reply.
We can't call function module in a BOBJ report. Only calling URL is possible.
Any other suggesitions.
Thanks,
Vamshi