Calling an Account CRM iView from a URL

Is there anyway i can send Account Id Parameter as a part of URL and bring the result back. I was able to use the URL http://hostname:8001/sap/bc/bsp/sap/crm_bsp_frame/maindh.do?APPL=CRMM_ACCOUNT to bring up the Account iView. But I would like to pass Account Id and get the details of the Account by passing account id as a part of the URL. Is this possible.
Any help appreciated.

Hello Michael,
please use the CRM Object Link functionality. If your settings in the Table CRMC_PRT_CUSTOM are correct and the correct Role has been assigned to the calling user this Coding should help you to open the Account application with the Account ID in the Portal:
      CALL METHOD cl_prt_url_generator=>get_navigation_info
        EXPORTING
          im_object_type = 'ACCOUNTCRM'
          im_method      = 'DEFAULT'
          im_object_id   = 'AccountID'
        IMPORTING
          ex_url         = url.
Best regards,
Gregor

Similar Messages

  • Calling a Report/Transaction iview from Webdynpro..

    Hi all,
              Our first issue is we have a scenareio, where we need to execute reports(ABAP Program) from webdynpro. Is it possibile to execute a standard report from webdynpro? using JCO. Also tell me how to pass the input/output parameters.I am not allowed to create RFC.I can use only standard BAPI.
              Our second issue is we created one transaction type callable object, and we want to call this transaction callable object from webdynpro, in another callable object in GP. Is this Possibile in webdynpro. We tried using portal navigation, but it is working for normal webdynpro iviews only, not for url iviews also.
              Does any body know the answer for the above issues. please let us know.
             Thanks in advance.

    hi,
    1) it is not possible in web dynpro to call abap reports, what you can do is creating wrapper of Remote enabled FM around the report. But you dont have authorisation to create BAPI, so gotta take use of standard BAPIs.
    ABAP Report in WebDynpro
    this link will help you out for that(calling standard bapi in WD)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715 [original link is broken]
    2) go thru this links
    WebDynpro Application as callable object in GP?
    Webdynpro callable object - RFC model
    implenting webdynpro as a Calable Object with GP Interface
    hope it helps
    regards

  • Launch Adobe Flex iView from Specific URL

    I was wondering if there was a way to launch a BSP iView from a direct URL, rather than having to log in to the portal and navigate to the iView. For example, if I create an Adobe Flex application called SamplePortal, I want users to be able to click on and bookmark a link that takes them directly to the application, while still taking advantage of the NetWeaver user authentication.
    I see 2 options available:
                 1.  Create a Quick Link (http://<servername>:50000/irj/portal/SamplePortal) - I can;t seem to get this one to work            
                 2. Directly Access the iView (http://<servername>:50000/irj/servlet/prt/portal/prtroot/pcd!3?&NavigationTarget=SamplePortal) - I also can't seem to get this method to work
    Which is best?

    1. QuickLink option
    You can assign a value to the quick link property of an iView or a Page and then you can navigate to that quick link using a direct URL like:
    http://myServer:50000/irj/portal/myQuickLink
    However, the iview/page should be assigned to the user via a Role assignment for it to work.
    http://help.sap.com/saphelp_nw04s/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/content.htm
    2. Navigation Target
    The navigation target specifies the location of an iView or a page in the current user role. The target can be obtained from the portal catalog as a value that is concatenated by folder id s, roles or other objects.
    http://myportal.wdf.sap.com:8100/irj/index.htm ?
    NavigationTarget=ROLES%3A//portal_content/MyRole/MyRole/MyTest/MyIView
    You should be mentioning the PCD path in your Navigation Target.
    http://help.sap.com/saphelp_nw70/helpdata/en/18/3fb84033a8b533e10000000a155106/content.htm
    Thanks,
    Shanti

  • Calling an Portal Webdynpro iView from another Webdynpro iView - Error

    Hi,
    I have modified the DefaultFramework Page by adding an Alert iView (based on WebDynpro) and assigned this modified framework page to all users. It works fine.
    The Alert iView on the Left hand side (right above the Detailed Navigation) 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).
    It is not working. Once in a while it worked. But now it is not loading at all.
    Please let me know your thoughts on the same.
    Thanks
    Senthil

    Hi,
    Got it solved. User has authorization to execute the page.Their roles were not added in Permission list of that Page.
    Added the roles. Now it works fine.
    Thanks
    Senthil

  • Calling KM navigation iview from ABAP

    Hi All,
    I am trying to call the KM Navigation iview from ABAP webdynpro view. it is like implement the same functionality as currently available for Repository filters through ABAP coding. I have to create a new Folder in the KM and call the KM Navigation iview for that specific folder. I know KM has provided few new webservices which I can use to create a new folder in the KM repository but I am unable to open the KM navigation iview with the newly created folder through coding.
    I am using the navigate_absolute Portal Navigation method to call the KM Navigation iview from ABAP code. Currently it is opening iview with the folder set as root folder in the iview property but I need to open it with the newly created folder through the code. The same sort of functionality is implemented from java code by passing the Business parameter with navigate_absolute method. The problem with ABAP code is that I don't know what is the exact format of the Business parameter to be passed.
    In the java code the Business parameter is passed as
    Uri=/documents/cprxrpm/46A73F1FEED21B0DE10000000A4241A8:DFM_450_MIT3_SAURABH/RIH/47B44774254208CCE10000000A4241A8:wonder-item-01 :WONDER-ITEM-01
    Does anybody have idea how can i implement the same scenario in ABAP and what should be the format of the to be passed as Business Parameter from ABAP code ?
    Regards,
    Vikash

    In the abap web dynpro view create an exit out bound plug with url as parameter.
    In your wddoinit call the the url. The url can be accessed by previewing the km iview in content management. Hope this helps.

  • Need call a method of one iview from another iview

    Hi,
    There are 2 iviews in a component.
    1) FirstView - contains abc() method & xyz() methods
    2) SecondView (a popup) - asdf() method
    i want to call abc() method from asdf() method. i.e. i want to call a method of the firstview from the secondview.
    Note:
    1) i couldn't able to copy the code of abc() method to component controller, as it has the code which uses (iview) local attributes (this can be done by context mapping) & main reason is from the method it calls the xyz() method of the same view (again i couldn't call a method of iview from component controller).
    2) firstView contain 5 tabs, i want to be in the same tab from which secondview (popup) was called, if i use fire plugs between both view, the current tab will be chnaged (i suppose, not sure).
    3) can we use event handlers, if yes how can we do that.
    Please provide a better solution for calling a method of view from another view.
    Thanks
    Maha
    Edited by: Maha Hussain on Jan 13, 2009 12:40 PM

    Hi Maha,
    It is better to have such methods in the component controller to make it reusable and avoid writing same code again and again.
    You can have that method in component controller and call that method on click on a button from Iview1 and can pass the parameters in the mthgod only.
    for example.
    Say Method abc() which is currently in Iview1 and you are passing values from context say aa bb cc to the method now what i am suggesting is
    have that method abc(String aa, String bb, String cc) ;
    and call it on click on button in Iview1 and pass the required parameters.
    Hope this will help
    Regards
    Narendra

  • How to Call standard iView from WebDynpro custom iView

    Hello all Experts
    I want to know whether there is any way to call (navigate to) standard iView from my cutom WebDynpro iview or not?
    If yes please tell me how to code it.
    (Points will be awarded for helpful answers)

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • How to call IAC Iview from WebDynpro java code

    Hi Team,
    I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.
    Below is Java Code which i am calling.
      public void wdDoInit()
          try {
                String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
                 String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     
                 //wdContext.currentContextElement().setRandomNumber(random);
    //below we are call URL           
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
                       WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    I am passing value from URL.
    http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
    when we call above URL we getting blank screen.
    Regards
    Pankaj Kamble

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • Calling pop up screen CRM UI from BADI

    Hi,
    I have a requirement to call a pop-up screen in CRM UI from a BADI. The scenario is like:
    Whenever a new account in created through CRM UI, a duplicate check has to be done using BADI. If any similar entries found these entries are to be displayed in a pop-up window in CRM UI. As I am new to CRM 2007 please help me in implementing this.
    Thank you,
    Rregards,
    Renjith

    Hi,
    Try to use CREATE_POPUP or POPUP_TO_CONFIRM method of IF_BSP_WD_WINDOW_MANAGER interface .
    Regards
    Gaurav

  • Calling Iview from BSP Iview

    Is it possible to call a transaction iview from a BSP iview .
    i want to trigger a transaction iview when i click a button in my BSP iview .
    thanks in advance .
    J

    hi,
    The URL that you get on previewing your Transaction iView is the one that needs to be used in your BSP as:
    <a href = "http://sgssmcepdv:52000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.hcl.FLD001!2fSiddharthaID!2fiViewsID!2fMisc!2fepcmID_0" >hello </a>
    Te get the url correctly,open the Transaction iView,in the properties look for the property PCD Location
    It will be something like
    portal_content/com.hcl.FLD001/SiddharthaID/iViewsID/Misc/epcmID_0
    Now in place of the '/' replace !2f .
    portal_content!2fcom.hcl.FLD001!2fSiddharthaID!2fiViewsID!2fMisc!2fepcmID_0
    Now the complete URL would be
    http://sgssmcepdv:52000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.hcl.FLD001!2fSiddharthaID!2fiViewsID!2fMisc!2fepcmID_0
    Ok.
    Then test the BSP Iview.
    Regards,
    Siddhartha

  • Call  iView from UWL

    Hi All,
    I need some help in UWL. When i click workitem in UWL i want to call iView and pass some parameter there?
    Is there anyway to do this.
    Thanks
    Vijayh

    hi ,
    To call an iview from UWL  and to send parameters to the iview url. you need to do the XML cutomization.
    here  is the sample  XML customization code.
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd' [
      ]>
    <UWLConfiguration version="1.0">
      <ItemTypes>
        <ItemType name="uwl.task.webflow.TS90100222" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SHD012" externalType="TS90100222" connector="WebFlowConnector"/>
          <CustomAttributes>
            <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebFlowContainer" cacheValidity="default">
              <Attribute name="PathNumber" type="string" displayName="Path  Number"/>
              <Attribute name="ApproverLevel" type="string" displayName="Approver  Level"/>
            </CustomAttributeSource>
            <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="ZPMT_CPE" cacheValidity="default">
              <Attribute name="PriceExceptionNumber" type="string" displayName="CPE Number"/>
              <Attribute name="CPEName" type="string" displayName="CPE Name"/>
              <Attribute name="OwnerID" type="string" displayName="Owner"/>
            </CustomAttributeSource>
          </CustomAttributes>
          <Actions>
              <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="EditCPEApp"/>
                <Property name="WebDynproDeployableObject" value="sappi.com/zsd_pmt_cpe"/>
                  <Property name="DynamicParameter" value="wi_id=${item.externalId}&amp;CPENUM=${item.PriceExceptionNumber}&amp;CPEName=${item.CPEName}&amp;Owner=${item.OwnerID}&amp;PathNumber=${item.PathNumber}&amp;ApproverLevel=${item.ApproverLevel}"/>
                <Property name="System" value="SAP_LocalSystem"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
      </ItemTypes>
    </UWLConfiguration>
    here  iam calling a dynpro iview  mand passing the dynamic parameters .
    check out the links for more info.
    Create new UI's for existing workflow tasks with ABAP Web Dynpro and Universal Worklist!
    Launching WebDynpro from Universal Worklist
    and sdn help
    http://help.sap.com/saphelp_nw04s/helpdata/en/72/2091ad4c7b4c229aeb1385195397b2/frameset.htm
    sateesh.

  • How to catch URL parameter from Portal URL in Web Dynpro iView

    Hi All,
    I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
    I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
    String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
    When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
    Your urgent help will be highly appreciated.
    Warm Regards,
    Shubho

    Hi Shubhadip
    Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
    You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
    But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
    I hope you find a solution.
    Regards
    kk

  • Calling a stored procedure from a url

    I am needing to call a stored procedure from a url string (or
    anchor) understand that from training to be as follows:
    http://host:port/pls/dad/package.procedure?query_string
    With that in mind, I am getting an error as follows:
    Not Found
    The requested URL /pls/portal30/at_hrfm.checkshow.showcheck was
    not found on this server.
    Here is a sample of my url
    http://servername:port/pls/portal30/at_hrfm.checkshow.showcheck
    I can see servername:port/pls/portal30, it is just the
    procedure I am having a problem with.
    Here is a sample of my source code that is created under the
    at_hrfm schema (I also tried under portal30 schema).
    package body checkshow as
    procedure showcheck as
    begin
    htp.htmlOpen;
    htp.headOpen;
    htp.title('My Check');
    htp.comment ('This should be your Check');
    htp.bodyOpen;
    htp.header (1,'Check');
    htp.print ('checkdate');
    htp.bodyClose;
    htp.headClose;
    htp.htmlClose;
    end;
    end;

    I think I figured this out. I don't think the grant to ANONYMOUS is going to work with production XE and the online documentation is in need of an update. It appears that production XE has been locked down and you will need to specify the name of each stored procedure you wish to allow to be executed by adding it to the WWV_FLOW_EPG_INCLUDE_MOD_LOCAL function. This is spelled out in more technical detail here: http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/adm_wrkspc.htm#BEJCGJFJ
    Another alternative that would work involves creating a separate DAD. Using the DAD approach with my schema made all of my stored procedures callable from a web browser, so I rejected this approach. To make this usable (secure) I would have needed to create and maintain a separate database user for the DAD and then only granted it execute for the stored procedures I wanted to be callable from a URL.
    Finally I read about using an on-demand procedure and having it invoke the desired stored procedure. While I didn't try this out, it sounds like another good approach because it maintains session security. If it can be used to return an image I do not know.
    - Jim

  • Calling a stored procedure from a URL with production XE?

    I have granted execute on a stored procedure to the user ANONYMOUS in order to allow it to be called from a URL. But I am getting a Forbidden error, rather than the expected execution of the procedure. Is there a trick to get this working in production XE?

    I think I figured this out. I don't think the grant to ANONYMOUS is going to work with production XE and the online documentation is in need of an update. It appears that production XE has been locked down and you will need to specify the name of each stored procedure you wish to allow to be executed by adding it to the WWV_FLOW_EPG_INCLUDE_MOD_LOCAL function. This is spelled out in more technical detail here: http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/adm_wrkspc.htm#BEJCGJFJ
    Another alternative that would work involves creating a separate DAD. Using the DAD approach with my schema made all of my stored procedures callable from a web browser, so I rejected this approach. To make this usable (secure) I would have needed to create and maintain a separate database user for the DAD and then only granted it execute for the stored procedures I wanted to be callable from a URL.
    Finally I read about using an on-demand procedure and having it invoke the desired stored procedure. While I didn't try this out, it sounds like another good approach because it maintains session security. If it can be used to return an image I do not know.
    - Jim

  • Calling BSP Iview from a BSP Iview

    How to call another BSP Iview from a BSP Iview ?
    Is it the same like we call BSP Iview from a Controller ?
    My problem is ..Intially i had only one Iview called from the controller. It was working fine.
    I've added some includes in the View and while activating, i got the error msg
    +Internal error Occured during runtime generation of the class CLOLkshdksjhfk ....+_
    +(Dump id : GENBRANCHOFFSET_LIMIT_REACHED)+_
    I found from the forum that, instead of calling all things in a single Iview, we can split that into different Iviews.I did the same. and the error had gone.
    My Q is ...
    I Have built code for tray (maximize and minimize). It works fine if the controller has One Iview and its not working if the controller has 3 iviews.
    How to sort it ? If i call the other 2 Iview s from the parent one, will the prob solved ?
    Thanks and Regards,
    Kanal.

    Hi,
    Please check this weblog by Brian McKellar. You will surely find a way to avoid the error you mentionned.
    [/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached|/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached]
    Regards,
    Tanguy

Maybe you are looking for

  • Approval for Contract and Order based on PO date and Document Date Combinat

    Dear All,     I have a critical requirement from my client. 1. If the PO date in the contract is less than 10 days or more of the document date [Created date] then further process should not be allowed. Only authorized person should release the contr

  • Thumbnail not displaying when attaching image to email

    Suddenly my Mac is not displaying a thumbnail image when I go to attach an image to an email. I have fixed permissions, restarted and relaunched Finder, but it's still not displaying. I've also unchecked and rechecked "show icon preview" in View Opti

  • Acct determination error

    Hi Team,   I am getting a account determination error while posting a invoice. " Acct det no maintaind for" DCPC_PRD___". Thing is ..I am not getting this error message in staging client. The invoice can be successfully posted there. This error is on

  • Trouble importing photos previously deleted from Elements Organizer

    I am having trouble importing photos from iPhoto into Photoshop Elements Organizer. When I try to import, it says "Nothing was imported. The files or folders selected to import did not contain any supported file types or the files are already in this

  • Custom Authorisation Provider - MBeanMaker

    Hi, I'm trying to create some new custom providers for Weblogic 10.3 but I can't find the jar containing the Weblogic MBean Maker. Following the instructions here.... http://docs.oracle.com/cd/E14571_01/web.1111/e13718/atn.htm#DEVSP231 I get... WLES_