How to call a pcui application

Hi,
i try to call a pcui application from another web application.
i tried to call the product app for displaying a specific product like this:
http://server:8080/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=CRMM_PRD_SALES&blview=ZPROD_MAN&sap-syscmd=nocookie&CRM_OBJECT_TYPE=PRODUCT&CRM_METHOD=DEFAULT&CRM_OBJECT_ID=0000000000000000000000000000000010770029
but it just shows the empty product application. there's no product selected.
Any ideas?
regards,
Jens

Hi Jens,
You need to try to pass the following in the URL
BORTYPE=PRODUCT
BORKEY=0000000000000000000000000000000010770029
I'm not sure if we need this..
CRM_OBJECT_ID=0000000000000000000000000000000010770029
Please have a look at CL_CRM_BSP_FRAME_MAIN
DO_INIT method this will be reading all the query fields passed in the URL.
DO_REQUEST search for convert_from_bor ( line 199 roughly)
have a break point in do_init as well as do_request , you will be able the see whats happening.
regards,
Vijaya Kumar M.
Message was edited by: Vijaya Kumar
Message was edited by: Vijaya Kumar

Similar Messages

  • How to call a WD4A Application of another system

    Hi,
    I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
    Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
    <html>
      <head>
        <title>IFrames - Webdynpro Test</title>
      </head>
      <body>
        <iframe src=<%= lv_url_route %>"
          width="100%" height="500" scrolling="auto" frameborder="1" transparency>
              </iframe>
      </body>
    <html>
    Can anybody help?!?!
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jul 28, 2008 3:26 PM

    Hi Oliver,
    unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
    data: lr_empty_parent type ref to cl_gui_container,
          lr_viewer       type ref to cl_gui_html_viewer.
    data: lv_url(200)     type c.
    lv_url = 'http://www.xyz.com'.
      create object lr_viewer
        exporting
          parent             = lr_empty_parent
        exceptions
          cntl_error         = 1
          cntl_install_error = 2
          dp_install_error   = 3
          dp_error           = 4
          others             = 5.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      lr_viewer->detach_url_in_browser(
        exporting
          url              = lv_url
        exceptions
          cntl_error       = 1
          dp_error_general = 2
          others           = 3 ).
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      cl_gui_cfw=>flush( ).
    If it helps you - fine. If not - forget it
    Best regards
    Jörg Racz

  • How to call a VB application from Java

    Hi,
    does anybody know how to call a VB application from java.
    Would appreciate if you can provide me with an example.
    thanks

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • How to call a struts application in a portlet

    How to call a struts application in a portlet. I have two different ear's. In one ear I have my struts application and in one war i have a struts portlet. In the struts portlet provider.xml defaultAction tag can i call the action class .do which in other ear (ie my struts application ear).Can anyone suggest me whether this is the right way or else can u suggest me with some other thing.
    Waiting for ur responses.
    Thanks and Regards,
    Dhanu.

    Hi Dhanu,
    Your Struts Portlet will not be avialble via a URL as it is completely dependent on Oracle Portal Environment. The Provider for the Portlet is alone available via a URL - you would have registered your Portlet using the URL of the Provider.
    Your Struts application, which does not rely on the Oracle Portal Environment, is defeitely accessible from a URL. It's just another web application that uses the popular Struts Framework.
    Hence, you can use the URL ( the starting point - a JSP, Servlet, etc. ) of your Struts Application to "call" the application in your Struts Portlet. I don't think you need to fiddle with the parameters in Provider.xml.
    Moreover, <defaultAction> in Provider.xml should have the URL of a Struts Action Class - the mapping in the
    struts-config.xml should map the .do action to the right JSP file.
    You can have a look at Metalink Note : 331069.1 for a good insight into the <defaultAction> Tag.
    Regards,
    Sandeep

  • How to view the PCUI application  from CRM system

    Hi
    I am new to CRM  can anyone tell me how to open the PCUI application in CRM system  .what is the transaction code to view the PCUI application for the lead and opportunity transactions. cany anyone tell me step by step process to view.
    regards
    Rohit

    HI
    The People centic user interface is the user interface layer where the end user process the crm transactions etc.
    go to SE 80 transaction and select the application as BSP application becouse pcui is bsp based views. type crm_bsp_frame under the application field and you will get folders select the select.htm folder and right click on the mouse and click on test then you will get the popup window enter the crm system user id and password you will get the pcui floor plan for entire crm applications in the browser select the lead and opportunity transaction floor plan click on the new floor plan option. then the new popup window will open and finally you will see the lead transaction or opportunity transaction pcui view to work on . these pcui views url will inturn you can assign to the enterprise portal to log on to single sign on to EP and access the pcui application for crm marketing sales and service module areas as well along with the contact and account mangement for business partners creation screen.
    please do reward points if helpful
    Dinaker vikas

  • How to call an applescript application from Office 2011 Excel VBA

    All:
    I have been pounding my head how to implement a working VBA application into the Mac environment. I have tried a number of approaches calling applescript from VBA. I would like to call my applescript application and pass one argument. My applescript application is as follows:
    <code>
    on run argv
    set theURL to (item 1 of argv)
    set p_path to do shell script "echo ~"
    set m_path to POSIX file p_path
    set theName to text -((offset of "/" in (reverse of characters of theURL) as text) - 1) thru -1 of theURL
    set theFile to (p_path & "/Downloads/" & theName)
    set macPath to (POSIX file theFile)
    do shell script "/usr/bin/curl " & theURL & " -o " & quoted form of POSIX path of macPath
    end run
    </code>
    My last attempt within VBA is:
    <code>
    Sub SaveMetaDataFile(URL As String, shortFileName As String)
    Dim scriptToRun As String
    Dim posixcmd As String
    posixcmd = ThisWorkbook.Path
    scriptToRun = "tell application " & posixcmd & ":MetaDataFileDownloadScript.app " & URL
    MsgBox "[" & scriptToRun & "]"
    MacScript (scriptToRun)
    </code>
    I first tried to call the script directly without the "tell application" and I still obtain an error. I also tried the following in VBA and I get the same error with the last lane of code:
    <code>
    scriptToRun = "set theURL to " & """" & URL & """" & Chr(13)
    scriptToRun = scriptToRun & "set p_path to do shell script " & """" & "/bin/echo ~ " & """" & Chr(13)
    scriptToRun = scriptToRun & "set m_path to " & """" & posixcmd & """" & Chr(13)
    scriptToRun = scriptToRun & "set theName to " & """" & shortFileName & """" & Chr(13)
    scriptToRun = scriptToRun & "set theFile to (p_path & " & """/Downloads/""" & " & theName)" & Chr(13)
    scriptToRun = scriptToRun & "set macPath to (POSIX file theFile)" & Chr(13)
    scriptToRun = scriptToRun & "do shell script " & """" & "/usr/bin/curl " & """" & " & " & " theURL " & " & " & """" & " -o " & """" & " & " & " quoted form of POSIX path of macPath"
    MsgBox scriptToRun
    'scriptToRun = scriptToRun & "do shell script " & """/usr/bin/curl """ & " & " & " theURL " & """ -o """ & " & " & " quoted form of POSIX path of macPath"
    MacScript (scriptToRun)
    </code>
    The above code is from the applescript application. The applescript application works well using the terminal via osascript. For example:
    xenas-imac:Census Work Xena$ osascript MetaDataFileDownloadScript.app http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls
    xenas-imac:Census Work Xena$
    The whole goal is to download a file into the Download directory from Excel to allow the next step to import the file into Excel for the user. Any help here would be great!
    Thank you;
    Lori

    Update:
    Ok have the module almost working and matches the syntax within the test applescript I had created, but the VBA code via the MacScript() call is generating an invalid procedure or argument call. The following is the test applescript to compare the created string to be passed to VBA MacScript() function:
    <code>
    set appPath to quoted form of POSIX path of "Macintosh HD:Users:Xena:Desktop:Census Work:"
    do shell script "/usr/bin/osascript " & appPath & "MetaDataFileDownloadScript.app " & "http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls"
    </code>
    The following is the VBA module that generates the above word for word as far as I can tell:
    <code>
    Sub SaveMetaDataFile(URL As String, shortFileName As String)
    Dim scriptToRun As String
    Dim posixcmd As String
    posixcmd = ThisWorkbook.Path
    posixcmd = posixcmd & ":"
    scriptToRun = "set appPath to quoted form of POSIX path of " & Chr(34) & posixcmd & Chr(34) & Chr(13)
    scriptToRun = scriptToRun & "do shell script " & Chr(34) & "/usr/bin/osascript " & Chr(34) & " & appPath & " & Chr(34) & "MetaDataFileDownloadScript.app " & Chr(34) & " & " & Chr(34) & URL & Chr(34)
    MsgBox "[" & scriptToRun & "]"
    MacScript (scriptToRun)
    End Sub
    </code>
    The message box in the above VBA code matches my test applescript file and I have taken the output of the MsgBox and used it in a test applescript and it works great, but VBA is throwing "Run-time error '5': Invalid procedure call or argument".
    Looking at Microsoft's definition it takes a string argument and I have made sure that scriptToRun is a string type, so at this point I suspect there is something wrong with the MacScript() funciton, or I am missing something above. Is there another way to call an applescript application from VBA outside the MacScript() function? Or is there something I am missing? Any help or suggestions is needed.
    Thank you;
    Lori (CodeXena)

  • How to call webservice server application in jsp

    Hi Friends
    I followed this link http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html and run the server and client web service application successfully. How to call the Webservice server application in JSP instead of using client (java main method) java appliaction. Is there any tutorial or code for accessing the webservice server application in jsp.
    Thanks and Regards
    Sherin Pooja

    797526 wrote:
    Hi
    I feel that JSP is just a view page.Not a feeling, it actually is :)
    So it is not good practise to write the scriplet code in JSP page. Absolutely right.
    Is there any other way to call the webservice server application in my client(JSP) page?
    What is it that you want to do? If despite all you have said, you still wish to call the webservice from a jsp, read my response above.
    You would do well to rephrase your question if there's something else that you are asking.
    ram.
    Edited by: ramp on Dec 27, 2010 12:35 PM

  • How to call the attachment(application attachment) in RTF

    Hi Friends,
    can any one help me, how to call the attached document in XMl Publisher(RTF).
    The attachement is done in application for "order Management". We have design the xml file from "oracle reports"(RDF) and designing the layout in XML Publisher(RTF).
    Please help me how can i handle this in RTF.
    Thanks in advance.

    Hi,
    If you mean where are attachments stored so you can get the contents, see my blog post here:
    http://garethroberts.blogspot.com/2007/08/document-attachments-private-stuff.html
    With regards to getting them into RTF layout, it may depend on what type of attachment they are - short/long text/URLs will be fine, file attachments (LOBs) may depend on the contents - certain types of images will be fine, other file type attachments (like PDF, DOC, etc) I'm not sure - on my list of things to look at.
    Regards,
    Gareth

  • How to call custom BSP application (copied from standard)

    Hi,
    I came across 1 interesting link in SDN.
    [Enhancement procedure of BSP application HRRCF_RECRUITER in eRecruitment]
    My requirement is also similar.
    I need to copy the HRRCF_TRM_SRCH application.
    I know how to make the changes for the logic (like copying the standard controller & iterator class etc.)
    But I donu2019t know how to call the custom BSP application.
    One requirement is, I need to call a BSP application, in which there are only UI(user interface/screen) changes .
    That is, if there are only changes made to hitlist_cand.bsp page . And no changes made to hitlist_cand.do page.
    Eg: Removing one button from screen.
    Second requirement is, I need to call a BSP application in which there are logic changes also.
    (I know how to  change the standard controller class to custom class)
    Eg: Changing logic of button.
    We tried renaming the application name from standard to custom one (with Namespace=SAP itself, though it gave a warning) in the table T77RCF_LOG_APPL .
    Then we used this name to configure the start page link. But still the execution control is going to standard page & not to custom BSP application.
    How will I know which BSP application(Appl A), is calling the BSP application (Appl B) in which I want to make changes ?
    The starting application is HRRCF_START_INT.
    Would really appreciate solutions posted.
    Thanks,
    Nisha Vengal.

    Hi Nisha,
    I think you have an issue to call custom BSP.
    -     Ignore the warning message (in the table T77RCF_LOG_APPL) as it is just a warning message. I did not touch start page link at all.
    -     Additionally you need to make (I had to made) an entry in table u2018V77RCF_SMG_NAVIu2019.
    Let me know, if you need anything else.
    ...Naddy

  • EREC-BSP-How to call a bsp application from another bsp application

    Hi Experts,
    In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
    i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
    now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
    Cheers,
    Amod

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • How to call a BSP Application inside Webdynpro for  ABAP

    Is there any way to call a BSP application inside the webdynpro ABAP application..
    The Input screen will be the BSP page and when the user click the action it have to trigger some data in BSP and in turn it have to collaborate the manipulated data in webdynpro and shows the output in webdynpro or in BSP..

    pls refer to http://help.sap.com/saphelp_nw70/helpdata/EN/30/1b62799d786445a72ad85acb4fd55b/content.htm
    and check if it helps u

  • Link to Action - How to call a DynPro application?

    I am new to ABAP Web DynPro. I have a basic question with regards to accessing any dynpro application with Link to Action object. Basically I created a WebDynPro page with some links (Link To Action).  On click of these links I want to call another DynPro application.   Can anyone just provide me with a code snippet for the onAction event that calls the dynpro application and opens it in the same browser.
    Thanks.

    Hi Shan,
    wven i am new to Web dynpro,what i can think of is when we create new webdynpro appplication we get hyper link and we can call our application using this link and we have Fm to call teh same .in your onaction event we can call this FM 'CALL_BROWSER'
    Sample code for the same :
    CALL FUNCTION 'CALL_BROWSER'
    EXPORTING
    URL = 'http://iginsapecc.in.intelligroup.com:8100/sap/bc/bsp/sap/zvin_tran1/first.htm'
    WINDOW_NAME = ' '
    BROWSER_TYPE =
    CONTEXTSTRING =
    EXCEPTIONS
    FRONTEND_NOT_SUPPORTED = 1
    FRONTEND_ERROR = 2
    PROG_NOT_FOUND = 3
    NO_BATCH = 4
    UNSPECIFIED_ERROR = 5
    OTHERS = 6
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Poornima

  • How to call a java application in a jar which is in a war file of a ear ?

    So sorry to cross post, but no response in other topics.....
    Please help!
    I have a Ear file which contains a war file.
    xx.ear/META-INF
    xx.ear/YY.war
    and the YY.war has the following structure:
    YY.war/META-INF
    YY.war/WEB-INF
    YY.war/WEB-INF/classes
    YY.war/WEB-INF/classes/com/
    YY.war/WEB-INF/classes/com/mycompany/
    YY.war/WEB-INF/classes/com/mycompany/MyClass.class
    MyClass.class is a java application which has a main method.
    how can I call this MyClass applicaiton from the xx.ear??
    java -???? com.mycompany.MyClass ??
    Please help because I have a Unix cron job need to access this class externally outside AppServer. Thx!!

    an ear file is a standard jar with a different extension. You may
    be able to get away with just adding a manifest file to it that
    specifies the main class (make it an executable jar with a different
    extension).
    I don't know if this will handle the nested war file though. It may.
    matfud

  • How to call the brfplus application in bapi save material?

    Hi Experts
            I am new to BRF Plus. i have a requirement where need to call the BRF plus application in BAPI ( bapi_material_save_data).
    Please help how can i call the Brf plus application from the BAPI.
    Thanks in Advance,
    kaasi.

    Hi Kaasi,
    Ok
    Step 1: Find out if there is an enhancement spot and/or BADI provided as part of that BAPI. If there is one and it's suitable for your purpose (you didn't say when your rule needed to be applied) use that. If not you might have to go to using the modification options to create a custom code slot at the relevant point.
    Step 2: Use the Generate Code Template option in BRFplus (you need technical attributes turned on in Personalization to see it) to get the code to call your BRFplus function.
    Step 3: Put the generated code from the template into your BADI implementation or enhancement spot.
    Step 4: Adjust the code to fill the input parameters and return the output parameters of your BRFplus function.
    Step 5: Activate your BADI implementation/enhancement and test.
    Hope that helps
    Jocelyn

  • How to Call a WebDynpro application through html page.

    I have created a webDynpro application.How can i call this application through a html page?
    Thanks
    Pankaj Kumar

    Hi,
       You can add a link to your HTML page and set the anchor reference to the absolute URL of your WD application.
       The absolute URL of your WD application looks like
    http://<j2ee server>:<port>/webdynpro/dispatcher/<wd component name>/<application name>
       So your HTML code will look like:
    <a href="http://<j2ee server>:<port>/webdynpro/dispatcher/<wd component name>/<application name>">Link</a>
    Regards,
    Satyajit.

Maybe you are looking for

  • Report for Clearing between Customer and Vendor

    Hello - My client needs a report that will allow her to see customer and vendor items on one report, BUT grouped together. I know that FBL1N and FBL5N allow for you to click vendor items, customer items but they don't group them together.  What I mea

  • How to print form in one page

    Hi, guys, Current we print script form with system automatic new page, but sometime it'll cover two pages and a lot of blank left on the first page. So user ask to print in one page. So how can i do it? is there any place we can configure the line it

  • How to enable JScrollPane in a cell of the JTable

    Hi, I am able to place the components into the cell of the JTable. But I am unable to interact with the components like JTable or JComboBox after inseting them into a cell of the JTable. This was the one of the Scenario: Step 1: I created One JTable

  • New beginner with iTunes need help please!!

    When i am trying to open iTunes this is the message that has been brought up has anyone had the same problem and who knows how i could fix this problem?? Error Signature AppName: itunes.exe AppVer:7.0.2.16 ModName: unknown Reporting Details This erro

  • Different Document Type For MRP Requirement

    Hi  All, Can any one help me for this issue... MRP run creates PRu2019s for externally procured materials with document type NB, is it possible to have different PR document types for MRP generated Std PRu2019s and Sub contracting PRu2019s without na