Detecting call from Portal/iView in R/3.

Hello.
When processing R/3 code, are there any system variables or function modules that can be called to identify if the code is being processed from an RFC from a Java iView ?
In partcular compensation planning iView in MSS.
There does not seem to be any ITS_PING or equivalent. The only way so far has been to evaluate the returned table from a System_Callstack FM call which is not very elegant.
Many thanks
Mike

I don't know if this is exactly what you are asking for, but you can try and put an external breakpoint in the code. Of course it has to be with the same user of the portal, otherwise it will not work. After that, don't forget to go into SE38 and then Utilities --> Settings. There go on to the Debugging tab and check the "Session breakpoint active immed.". This in a ECC 6 environment. If you then login the portal and trigger the RFC you have the breakpoint, as long as you have an R/3 session active, it should open up a Debugging session as well.

Similar Messages

  • How can I detect in Business HTML that the app was called from portal?

    How can I detect in Business HTML that the app was called from portal?
    I need to distinguish whether the application was called from portal (URL iView) or by using an URL outside of portal.
    So what I'm looking for is a variable or function that can be used like this:
    `if (~within_portal==1)`
      do this if called from portal
    `else;`
      do that if not called from portal
    `end;`
    For example, can I check in the program that there is a SSO2 cookie from the portal?
    I'm using Integrated ITS in Basis 700.

    Here is the trick:
      if (sapwp_active=="1")
        in portal
      else
        without portal
      end;

  • Need a call a portal iView from a WebDynPro ABAP Application

    Hi,
    I have to call a portal iView from the WD ABAP application.
    The iView root is e.g.
    folder1/folder2/check_workset1/iView
    How can we call it using Absolute navigation or Relative Navigation.
    I just want to call this path.
    Can anyone provide me with a code snippet.
    Best Regards
    Sid

    Hi ,
    I am calling the following method in my action call of a Webdynpro ABAP View
      CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
      EXPORTING
        NAVIGATION_TARGET   = 'Roles://portal_content/xxxx._and_remuneration'
        NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL
       WINDOW_FEATURES    =
       WINDOW_NAME        =
       HISTORY_MODE       =
       TARGET_TITLE       =
          CONTEXT_URL       = 'http://xxx.xxx.adsint.biz:50000/irj/portal'
       POST_PARAMETERS    = ABAP_FALSE
       USE_SAP_LAUNCHER   = ABAP_TRUE
       BUSINESS_PARAMETERS =
       LAUNCHER_PARAMETERS =
    But it is still noot opening the page for me from the WD ABAP application.
    Can anyone let me know , what can be the reason.
    Best Regards
    Sid

  • Link to SAP R/3 Logon from Portal IView

    Hi,
    How is the Link to SAP R/3 Logon from Portal IView?
    Thanks
    Raissa

    Hi Raissa,
    Check these links
    Configuring EP for connecting to SAP R/3
    Creating system object
    http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N03_BB_InstallGuide_EN_US.doc
    Regards
    Arun

  • RFC call from portal gives dump call_function_open_error

    Hi all ,
    We have a RFC function module where standarad BAPI BAPI_ENTRY_SHEET_CREATE IS USED
    where a dump  call_function_open_error occurs when the rfc is called from portal , while on r3 it works fine.
    I wanted to know if somebody has faced this kind of problem anytime and what can be the possible solution .
    There is no problem with data , there is no problem with RFC where can be the problem ?
    Please suggest >

    Hi Bhanu,
    Can be helpful
    too many dumps in production Env: CALL_FUNCTION_OPEN_ERROR

  • In Decision task, Method defined after execution is not called from Portal

    Dear All,
    In one of my scenarios, I am using a decision task for approval.
    In that after the approval action is taken i am calling a BAPI to update business function.
    I have called this BAPI in the Methods ( After Workitem Execution ) .
    When I execute this task from the SAP Inbox ,  the method is getting called successfully and the BAPI is also executed successfully. But when I approve the task from portal this method is not getting called at all, and BAPI also fails.
    Actually in the workitem display , I am using the standard FM SWU2_INPLACE_DECISION_PROCESS, will it have any impact when its used from Portal ?
    Is there any common place that will be called from both SAP Inbox and Portal after the task execution , so that based on the decision taken , I can process the action at the same place.
    Advance thanks for your response.
    regards,
    Sabari Prabhu.

    Hello,
    Unfortunately, that I know, there is no way to call your BAPI if you're using the standard decision JavaWD. In fact all that WD does is calling a WAPI to read the decision alternatives and then once the user has taken his decision it calls another WAPI to feedback the decision into the backend.
    The blog mentionned by Pavan concerns only the secondary methods with amodal call, this is different from the before and after methods which are not supported and cannot help you for calling your BAPI. The so-called "Program exits" are not supported either.
    The only alternatives I can see for you are:
    - Develop your own decision screen specific for your workflow and integrate there your BAPI call. This would also give you more flexibility to show your agents the information they need to take their decision. This is the way I usually go for now.
    - Change your UWL settings so that decisions are processed in a GUI screen instead of the JAVA WD screen. The main disadvantage is that you can do this either for all decision or for none of them. You can't just set that up for the decision in your specific workflow (or at least I haven't found how to do it).
    To change the way decisons are processed in UWL you must first change the parameter "List of preview sections to hide" in your UWL iView to add value USERDECISION.
    Then you must create a custom XML config file (or modify an existing one) in which you must customize each decision task used in your company individualy. To do that just take a standard config file and find the Item type entry for a standard decision task as an example. All you have to do is to recreate the same entry for each of the decision tasks you actually use and replace the defaultAction="viewDetail" parameter by defaultAction="launchSAPAction".
    Cheers,
    Patrick

  • Color changed when webdynpro application is called from Portal

    Hi,
    I have developed an Webdynpro application, but the orginal color has been changed if I call it from portal.
    Does someone have an idea how to deal with it?
    best regards

    Hi,
             The attribute name in iView configuration is 'Supply Portal Stylesheet'. It should be marked as 'No' to not to use the Portal Style Sheet.
    Ranganathan.

  • Dump during BAPI_ENTRYSHEET_CREATE calling from Portal

    Hi,
    I am getting dump during creation of Service Entry Sheet using the 'BAPI_ENTRYSHEET_CREATE' when triggering it from Portal end. But if I directly call the FM from ECC6.0 with the same passing values it gives me the success meassage. The dump only occurs when I am triggering it from Portal via another custom RFC funtion module.
       I have checked in ST22 and the message text is like ....." Exception condition "GUI_NO_MODE_AVAILABLE" raised."
    Also have checked the SAP Note1271652 and have suggested to apply kernel patch 184. But kernel patch 185 already been applied as our basis team have confirmed. Can you please help me out of this situaion.
    Thanks & Regards,
    Apurba

    Hi,
    I came across this issue and have blogged a solution that gets round it for our purposes. This may help:
    http://community.altiusconsulting.com/blogs/adamadshead/archive/2009/09/24/bex-analyzer-s-file-upload-bug-when-integrated-with-sap-portal.aspx
    Regards,
    Adam

  • Calling an Portal iView from Webdynpro - Error

    Hi,
    I have two iViews in a page in my Portal. Both of them are WebDynpro iViews.
    The iView on the Left hand side consists of links to different WebDynpro iViews in the same Portal.
    I have used LinkToAction UI element, on event of click
    i am executing this piece of code.
    onActionClick (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
      WDPortalNavigation.navigateAbsolute("ROLES://portal_content/folders/X.Iview",                    WDPortalNavigationMode.SHOW_INPLACE,               (String)null, (String)null,               WDPortalNavigationHistoryMode.NO_DUPLICATIONS,          "Called iView Name",                         (String)null,                              (String)null);     
    I have picked up the iView name from the Portal(exact PCD location).
    This is not giving me consistent results.
    Please let me know your thoughts.
    Thanks
    Senthil

    Hi,
    Had some permission issues in the loading iView, got that sorted. Now it works fine.
    Thanks
    Senthil

  • Mismatch in themes of WD called from BSP iview in EP.

    Hello All,
    in my BSP iview, i am calling a webdynpro abap application using iframe tag in the BSP application and passing the url of WDA application .
    but the EP theme is diiferent (green color) and the WD has different theme (Blue color).
    is there any solution to have a same theme for the WD application when displayed in EP???
    please let me know.
    Regards,
    Chandra

    Hi,
    with note 1033496 you prevent the Stylesheet Errors,but i guess you will also get the Blue Theme inside the BSP-Iframe. If you can use the Portal Stylesheet for the WD-Iview without Limitations described in the Note perhaps also try this:
    Instead of using the WD-URL as IFRAME source in the BSP perhaps use the URL of a WD-IView.For that you first have to create an Iview for your WD-Application.Then call the preview of this Iview. This Preview-URL(or the PCD) you can call as source inside the BSP IFRAME. I haven't tried it but perhaps then the WD will be displayed inside the BSP-IFrame with your grey Portal Stylesheet because you are calling the Iview directly instead of the WD-APP in the BSP.
    Regards
    Frank

  • WDA app not launched with SSO when called from portal

    Hi,
    we have configured our systems so that our portal (NW Portal 7.0) is issuing logon tickets and ERP6.0 is receiving them in the backend for single sign-on.
    When launching a SAP GUI for Windows transaction (System admin->Support->SAP Application) to test if the SSO is set up correctly, all goes well and I'm able to call e.g. SU01 with logon tickets from the portal.
    My problem is that when calling a Web Dynpro for ABAP application in the same backend system from the same portal, I get an error "SSO logon not possible; logon tickets not activated on the server" and need to login manually when starting the application.
    When looking at the WDA app URL, I see http://<backend server>.<domain1>.com/... and the portal is sitting on http://<portal server>.<domain2>.com. Could it be a problem if the backend system is in another domain? And if yes, how come the SAP GUI for Windows launch then works (related to an http connection and domain relaxing?)? How to go forward and make it work all right?
    Best regards,
    Mikko

    Hi Navarro,
    Merry Xmas:)
    >>We did the same test with the demo app from you (MS)
    http://msdn.microsoft.com/en-us/library/windows/apps/hh202967(v=vs.105).aspxand it still don't work. (remember to setup
    fast app resume)
    Yes, I can reproduce your issue using the official sample.
    I think this issue is caused by the mechanism of Fast app resume, please refer to the following reference:
    #Fast app resume for Windows Phone 8
    http://msdn.microsoft.com/en-us/library/windows/apps/jj735579(v=vs.105).aspx
    Quote:
    With Fast Resume, when an app is resumed, the system creates a new page instance for the target of the launch point and this page is placed on top of the app’s existing backstack.
    This official sample can also help us to understand how it works:
    https://code.msdn.microsoft.com/windowsapps/Fast-app-resume-backstack-f16baaa6
    We could find that the Application.Launching event will not be triggered if we used Fast app resume, this will affect responding Toast's parameter(Deep Link).
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Deployable Proxy Called From Portal

    I've created and deployed a proxy on my portal application server.  Then, from a portal service, I successfully look it up and invoke it.  However, I'm getting a class loader error on the com.sap.engine.lib.xml.parser.tokenizer.XMLTokenWriter class.
    I've added a sharing reference to my deployed J2EE component, and I know this is working because I can look up the proxy.  What is strange is that this was working okay yesterday.  It seems some class loading issue has come up since then.
    Can anyone give me a pointer here?
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at com.sap.engine.services.webservices.jaxrpc.encoding.SimpleValidator.checkMaxLengthString(SimpleValidator.java:77)
         at com.champtech.coin.extract.bwdelta.types.Unit3.serialize(Unit3.java:58)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:500)
         at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil._serializeArray(SerializationUtil.java:462)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:354)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:500)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildRequestDocument(MimeHttpBinding.java:388)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1422)
         at com.champtech.coin.extract.bwdelta.ZCOINLAB_XML_WSSoapBindingStub.BI0_QI6AZCOINLAB_XML_RFC(ZCOINLAB_XML_WSSoapBindingStub.java:86)
         ... 5 more
    #1#java.rmi.RemoteException: Service call exception; nested exception is:
         java.lang.ClassNotFoundException: com.sap.engine.lib.xml.parser.tokenizer.XMLTokenWriter
    Found in negative cache
    Loader Info -
    ClassLoader name: [champtech.com/COINBWExtraction.services]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
    Resources:
       C:
    usr
    sap
    EPQ
    JC00
    j2ee
    cluster
    server0
    apps
    champtech.com
    COINBWExtraction.services
    webservices_container
    wsClients
    ws_cl_0
    jars
    com.champtech.coin.extract.bwdelta.BWDeltaLoadService.jar
       C:
    usr
    sap
    EPQ
    JC00
    j2ee
    cluster
    server0
    apps
    champtech.com
    COINBWExtraction.services
    webservices_container
    wsClients
    app_jars
    COINBWExtraction.services.jar
    Loading model: {parent,references,local}

    Hi Mike:
    I am facing the same problem, my project can't fine class XMLTokenWriter.
    I removed the default class path and added the sapxmltoolkit.jar as external jar to my project, but the problem still exist. Could you kindly tell me more detail of your solution?
    Best regards!

  • How to find out  fn calls  from portal.

    can anyone help me to find out  fn calls in xrpm portal?
    steps!

    You can use the following steps for doing it in portal
    Open two sessions of SAP EP with the same user
    Navigate to: Portfoliomanagement – Administration – Cache Administration – RFC Debugging (first session)
    Activate the Debugging
    Execute xRPM application in the second session
    Switch back to the RFC Debugging press Load
    Select the executed function
    All parameters will be displayed in the Context Input window
    if you need to do debugging in backend !
    make sure to swithch to new editor.
    regards@gopeekrishnan

  • RFC call from portal to CRM - Special Characters are replaced

    Hi All,
    I am trying to call an RFC which gives the user information. I pass the portal username.
    Issue is when the user name has special characters 'ä'  are replaced by 'Ã#'.
    Iam using SAP CRM ABAP 7.0.
    Please let me know how to solved it.
    Thanks in advance..
    Thanks and Kind Regards,
    Basheer.

    Possibility is your one of the system is Unicode & other is non unicode.

  • Execute a portal iview from VC

    Hi,
    I am trying to find a way to call a portal iview from VC.  Here is what I have,  I have an iview created in the portal that I want to call from a VC model through a button on a form.  Is this posible?
    Thank you,
    Aaron

    You can call an portal iView from anywhere with in portal (not only with VC) using relative navigation target, but for VC you have to:
    assign system action to the button as Hyperlink and provide the relative navigation target url of the iView that you want to open like:
    '/irj/portal?NavigationTarget=ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.portal.portal_information&NavMode=3'
    NavMode can be as follows:
    mode 0 for internal window,
    mode 1 for external window with content,
    mode 2 for external window with full navigation,
    mode 3 for external headerless window
    Note: "ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.portal.portal_information" should be replaced with your iView path.
    Check System Administration -> Support -> Navigation -> Navigation Types for more options on you portal.
    Regards,
    Trikanth Basetty

Maybe you are looking for

  • Get the values from the bean class?

    Hi Praveen and all can u please suggest in this, I have developped an application In that Create One java class that Extends PageProcesscomponenet and utilizing the Bean That have the Connetion method and retriving the query Based on the Logon custom

  • Rendered text problems in 5.1.2

    I am working on a film project that has a lot of subtitles. (The dalies are digitized at HD DVC-Pro 720p) I was editing on a station running Final Cut Pro 5.1.1 (g5) with no real problems. I recently took the project with me on a trip to work on usin

  • Tds, Ap/Ar and Spl GL

    Hi Gurus, Please answer 1. If wrong Tds is deducted, what will be the effect and how we can rectify it? 2.If we post a transaction in special period which is related to 12th period(March), whether balance will automatically updated in next financial

  • No video on video podcast

    Hi When I download and play video podcast I get only the audio. No video is appearing. This is the case in front row as well. Am I missing something. Please help C. Badrakumar

  • View of organizational unit in Service request

    Hi everyone, In our service request, we are trying to visualise all the organizational unit (of the organization model) of a BP. We achieve to see the direct service group where the BP is assigned but we are trying to see more of the link to the orga