Calling another PCUI transaction on click of an event in PCUI

Hi All,
I have created a new event in my incident application. Now on click of this event it should open a new PCUI transaction "CRMM_SDB_SOL". and i have to pass some parameters from my application to this new application.
In detail the scenario is as follows.
In the products tab ...........for notes search we have  have added a button which shows a pop up with all the problem codes. When we select the problem code and trigger an event it should open the new PCUI transaction and this problem code should be passed to this transaction."CRMM_SDB_SOL".
Can anyone pls help?
Thanks,
Anu

It can be achieved through Object links.Get the PCUI cookbook and read the Object links concept and look for examples on that.
Thirumal.

Similar Messages

  • How to call a sap transaction in Internet Service

    Hi,
    I have a requirement to call a sap transaction code in the Internet Service. By donig this, the SAP transaction will be called in the web browser via ITS.
    Internet Service has HTML Templates - inside html templates I want to call the sap transaction based on a button event.
    Below is the transaction code. When I enter below link in the browser then it works fine. The same I need to call progrmatically in html template on some event.
    http://xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=me23n
    Thanks,

    Hello Sal.
    This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
    You might try window.open("http://xxx...me23n","_self").
    Best regards,
    Frank.

  • Call Another DC from one DC.

    Hi,
    I have a scenario where I have an application DC. In that, I have a button which is suppose to call another DC. On click of the button a View in the second DC should appear as a pop-up. How to I go about it?
    Thanks,
    Prasanna

    Hi prasanna
    1) In the  dc1 (popup dc)
    Component controller
    Create a pop up calling method
    //@@begin javadoc:Callpopup()
    /** Declared method. */
    //@@end
    public void Callpopup(  )
    //@@begin Callpopup()
    //popup steps
    //@@end
    2) component interface controller
    Add the usage of component controller of model dc component
    create a method in interface controller for calling the method Callpopup in component controller
    //@@begin javadoc:Interfa_ctl_mthd()
    /** Declared method. */
    //@@end
    public void Interfa_ctl_mthd( )
    //@@begin Interfa_ctl_mthd()
    wdThis.wdGet<modeldc>Controller().Callpopup();
    //@@end
    3) Open the DC Metadata>Public Part>New public part
    Give a name and Select the API and in the Select Entity type, select the web dynpro component and in the select entity which is at the bottom of select entity select the dc1/component (Ie component inside the web dynpro component)
    4) Build and deploy the  dc1
    DC2
    1) Expand the DC metedata > used DC >right click and select add used dc and select the  dc1 and select the build type in dependency tab
    2) Expand the web dynpro component structure and Select the Used web dynpro component and right click and select used webdynpro component and browse the component and give a name ie popupcomp
    3)In the view of project dc define the usage of the component popupcomp
    In any action of button , call the popupcomp comp like this
    //@@begin javadoc:onActionGo(ServerEvent)
    /** Declared validating event handler. */
    //@@end
    public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionGo(ServerEvent)
    wdThis.wdGetpopupcompInterface().Interfa_ctl_mthd();
    //@@end
    for popup code look at this thread
    Re: How to create pop up window ?
    Hope this helps,
    Regards,
    Arun

  • Japplet calling another japplet

    Hi, i need some help. i have created two small separate games and now i want to have a title screen for them. i have created the title screen but i cant figure out how to call the games. each game and the title screen are there own JApplets. is there a way to have one japplet call another japplet when i click on a button?

    CVCC_Keanu wrote:
    ok i have the title screen created but is there a way to have an applet run when i click a button?Have the button fire a JavaScript function that opens the .html file that contains the JApplet class.
    @@Lookup the onButtonClick function of html.
    @@lookup JavaScript tutorial on how to do page redirect.

  • Calling another transaction in Dialog Programming

    Hello ppl,
    How can I call another transaction(ZPROGRAM2) from my transaction(ZPROGRAM1) using the delivery and the check box options selected in Screen Programming. Should I use BDC.? Also in case of any errors in ZPROGRAM2, the control should return to ZPROGRAM1 with all the previous setting retained.
    Thanks a lot.
    Karthikeyan

    Hi ,
    You can try with BDC as you need to get the control back to the program1.
    If not you can try with the SUBMIT statement.
    ex:-
    SUBMIT zrslg0000  EXPORTING LIST TO MEMORY
                  AND RETURN.
    Regards,
    Satish

  • Can we call another transaction from the Userexit

    Hi all,
            Can we call another transaction from the Userexit?
    Thanks,
    Balaji

    Hi
    Because the statament CALL TRANSACTION triggers the end of the LUW so COMMIT WORK, so you should be sure not to insert that statament while some updating actions are been doing.
    So that exit shouldn't be triggered while updating
    Max

  • Urgent!!  How to call a custom transaction or an ABAP program in BSP?

    Urgent!!  How to call a custom transaction or an ABAP program in BSP?
    We are pretty new on BSP.  Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program.  Would we have to create a button or event handler to do that?  And the detailed steps?
    Thanks in advance and we will definately give you reward points!

    hi Durairaj,
    During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
    Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
    <td>
    <htmlb:inputField id = "client"
    value = "<%= client %>" />
    </td>
    Then we added Client to the page attribute and define it as type String, then get another error:
    The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
    OnInputProcessing:
    code
    • event handler for checking and processing user input and
    • for defining navigation
    • event handler for data retrieval
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    button_event ?= event.
    How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
    Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP?

  • How to get the alv grid report in another screen when double click on basic

    Hi.
    I have created an alv report using class cl_gui_alv_grid.I got another report in the same screen,when double clicked on basic list(using double_click event).I want to get this report in another screen.What i have to do?(In classical reports i worked with sy-lsind = 1 ,but how to do here?)
    How to set color to the selected rows in the alv grid report?I worked with change_data_from_inside method of cl_gui_alv_grid.But it didn't work out..
    With Regards,
    Ramana.

    On double click event . you will have to call another screen say 9000.
    now within screen 900 PBO.. you will have to prepare the fieldcatalog/layout.. and the table to be displayed there.
    in PAI of screen 9000, you can return to the original ALV.
    method double_click.
    call screen 9000.
    endmethod.
    " now in PBO create a module display_alv2
    module display_alv2.
    'prepare the fieldcat/layout info for new alv
    'add the data to the new ALV table
    'instantiate the grid call.. etc
    'call the ALV
    endmodule
    "in PAI
    module exit.
    case sy-ucomm.
    when 'ENT1'.
      leave to screen 0.
    endcase.
    endmodule
    while preparing the field catalog you can mention the EMPHASIZE field, whish will give color to tht column
    E.g
    *--Service Order
        ls_fieldcat-tabname   = 'IT_FINAL_VALID'.
        ls_fieldcat-fieldname = 'AUFNR'.
        ls_fieldcat-scrtext_m = 'Service Order'.
        ls_fieldcat-ref_table = 'AUFK'.
        ls_fieldcat-ref_field = 'AUFNR'.
        ls_fieldcat-col_pos   = 1.
        ls_fieldcat-outputlen = 12.
        ls_fieldcat-emphasize = 'C400'.  "This will add color to the cell
        APPEND ls_fieldcat TO fcat_valid.
    Hope this helps.

  • How to call a custom transaction in retailstore which runs in same session?

    Hey guys,
    hope you can give me some hints. OK, i have a resultlist and it should be possible to call a SAPGui transaction via webgui service. This works fine but the link which i created has no info about the current session ID. I build an URL with the function modul ITS_GET_URL and concatenate it with the neccessary transaction code and parameter. Then i call this URL by function ITS_BROWSER_WINDOW_OPEN. A new browser window is opened with the right transaction in webgui. But if i hit the button back, i get the message, i was succesfully logged off. This wasn't the result which i want.
    What i want is to call the transaction via webgui and this transaction should run in same window and in same session. Any idea how to do that?
    I know i need to build an URL with a valid session ID for the transaction, but how can i do that?
       thx,
          Wei-Ming

    Hello Sal.
    This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
    You might try window.open("http://xxx...me23n","_self").
    Best regards,
    Frank.

  • PHP script calling another but staying on same page

    Hi,
    Im thinking of writing an additional PHP page, that has a link to another PHP page, to do an insert. On the current PHP page, I have a counter which I would want incrementing after the 2nd PHP script is called, but don't think its possible?
    I'm saying this as I will need an anchor to another script which when called, will load another PHP script - which will do the insert, but take me away from the current page.
    So basically, I want to stay on the first PHP script showing a counter, click to call another PHP script, but all the user will see is a counter increment.
    Here is what I have thought will not work:
    <code>
    echo "<br><span class=\"style1\"><a href=\"./../Test/count.php\"><img src=\"./Up.JPG\"></a>";
    </code>
    Thanks in advance...

    Hi,
    got a bit further now in that i'm calling the php script through Ajax successfully, but, got the issue where i am getting the same value sent to the script (dataString):
    source script:
    <script type="text/javascript" >
    $(function()
    $(".submit").click(function()
      var likeid = $("#likeid").val();
      var dataString = 'likeid='+ likeid ;
      var locurl = "./../Test/it.php?randval="+Math.random();
      $.ajax({
       type: "POST",
       url: locurl,
       data: dataString,
       success: function()
        $('.success').fadeIn(200).show();
        $('.error').fadeOut(200).hide();
      return false;
    </script>
    target script (it.php)
    <?php if(!$_SESSION) { session_start(); } ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <html>
    <head>
    </head>
    <body>
    <?php
    $_SESSION['name']=session_id();
    $sess=session_id();
    $likeid=$_POST['likeid']; <----------------------always the same value
    if($_POST)
      $result2 = mysql_query("INSERT INTO Test (value, sess) VALUES ('$likeid', '$sess')")
      or die(mysql_error());
    ?>
    </body>
    </html>
    what i get is the same value for $likeid on every call from the source script. In the source script i have:
    <form method="post" name="form1">
    <input type="hidden" name="likeid" id="likeid" value="CAR79668"/>
    <a href="#"><img src="./Up.JPG" border="0" class="submit" onclick="change11('CAR79668');"></a>
    <b id="CAR79668" value="2">2</b> </form> </span>
    <form method="post" name="form2">
    <input type="hidden" name="likeid" id="likeid" value="CAR79669"/>
    <a href="#"><img src="./Up.JPG" border="0" class="submit" onclick="change11('CAR79669');"></a>
    <b id="CAR79669" value="2">2</b> </form> </span>
    Why does the same value of CAR79668 get passed to the target script on every call?
    Thanks.

  • How to call a form with dabble clicking on a record with one time where

    Hi All,
    How to call a form with dabble clicking on a record with one time where clause. I mean when i dabble click on the current record i want to call another form with details of the
    record with onetime where clause. Can anyone help me in this regard.
    Now i am calling a form with parameter with onetime where but this should avoid.
    Thanks in advance
    Arif

    Hello,
    I mistakenly mark it as solved. There is a problem remain. when i placed the code below it do not execute with the where condition. I mean the condition to execute is not work.
    All records executes. Please correct my code--
    Here the WHEN-BUTTON-PRESSED-trigger on the Edit-Button:
    :GLOBAL.MODE:='EDIT';
    :GLOBAL.REQ_ID:=:PROBLEM_REQUEST.REQ_ID;
    CALL_FORM('REQUEST_ID_PARAM',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY);And also, WHEN-NEW-FORM-INSTANCE-trigger of REQUEST_ID_PARAM:
    DEFAULT_VALUE(NULL, 'GLOBAL.MODE');
    DEFAULT_VALUE(NULL, 'GLOBAL.REQ_ID');
    IF :GLOBAL.MODE='EDIT' THEN
    GO_BLOCK('PROBLEM_REQUEST');
    EXECUTE_QUERY;
    SET_BLOCK_PROPERTY('PROBLEM_REQUEST', INSERT_ALLOWED, PROPERTY_FALSE);
    END IF;Arif

  • BPM process calling another BPM process synchronously

    Hi,
    When have a BPM (SCENARIO_1) that receives a request.
    The BPM makes a SYNC call to another BPM (SCENARIO_2_SYNC_SEND). The second BPM should return the sync response to the first BPM. The second BPM has been implemented as a SYNC/ASYNC bridge. .........This scenario is NOT working.
    We have independently tested the second BPM and can confirm that it works correctly and as expected when it is NOT called by another BPM.
    design steps of BPM
    1. BPM (SCENARIO_1)
               start -> receive(async) - >send(sync - calls 2nd BPM) -> stop
    2. BPM (SCENARIO_2_SYNC_SEND). (this BPM is invoked by first BPM (SCENARIO_1)
                start ->receive(sync -open SA bridge) ->send(sync - calls webService) ->send(closes SA bridge)
    Is SAP PI supports synchronous call from one BPM to another BPM???
    rgds,
    RDS

    Hi Henrique,
    we also done the BPM calling another BPM asynchronousl;y, which is working fine.
    In this case, I designed BPM like follows (as initially mentioned)
    1. BPM (SCENARIO_1)
    start -> receive(async) - >send(sync - calls 2nd BPM) -> stop
    Note : In 'send' step, I selected 'Create New Transaction'.......if I don't select this property then system dumping without invoking the second BPM, When I select this property the second BPM is invoked after the 1st BPM completes i.e it waits for  CHECK_FOR_ASYNC_RESPONSE_TIMEOUT (default value 60 secs)  to elapse. during this time an entry in the outbound queue (smq2) appears 
    2. BPM (SCENARIO_2_SYNC_SEND). (this BPM is invoked by first BPM (SCENARIO_1)
    start ->receive(sync -open SA bridge) ->send(sync - calls webService) ->send(closes SA bridge)
    how do we check whether it using more than one queue??
    we have only looked at smq1 & smq2.
    We see an entry in SMQ2 which stays there for the timeout period of the first BPM.
    It seems as if the second bpm doesnt see it until the first BPM closes.  
    I might think this is appropriate behaviour to stop the engine processing the same message more than once which would explain the behaviour we are seeing. However this would mean PI would not support BPM synchronously calling BPM which is what we are trying to determine if it is supported. 
    We cant find any documentation saying this is possible and alot of documentation indicates workarounds.
    Have you ever seen this scenario implemented.
    <removed by moderator>
    Hi supriya,
    There is no problem in getting the response from webservice, the problem is the BPM which calls webservice itself invoked after the timeout of first BPM.
    Edited by: Shankar Raju Devadoss on Aug 25, 2010 7:21 AM
    Edited by: Shankar Raju Devadoss on Aug 25, 2010 7:32 AM
    Edited by: Prateek Raj Srivastava on Aug 25, 2010 11:24 AM

  • Calling another form from current form

    Hello everyone,
    After entering information into a form, I want to call another form then I want to return to the previous form without loosing the information I entered into it....
    Whats the pl/sql code to do this...how do i do it?
    Thank u...
    Edited by: user10746194 on Jan 16, 2010 9:30 AM

    You should put this code at the place where you want to appear the called form. that is the child/first form.
    if you want to call the form on button click, place the code in when-button-pressed trigger of the respective button in the first form.
    Edited by: Dora on Jan 17, 2010 10:54 AM

  • Can we call another flavor using launch button or script button

    I am creating a Welcome screen ( 1st  flavor for SMEN transaction) . However I want to call another flavor ( 2nd flavor for SMEN transaction) from 1st flavor . Second flavor will have a few transactions ( for example which are used only for budgeting , so this flavor will work as a budget cockpit) . I know we can make both flavors available in users' flavor bar , but we really wanted to give them a push button which takes them to  this new flavor . This is less confusing for users . Is there a way to do that ?
    Or is there a way to call Favorite folder ?
    Thanks

    Thamas,
    I tried doing what you suggested , but I am not able to point to the new flavor .I guess there is no control ID for a flavor and Dynpro screen for SMEN flavor are all same .
    I am not able to open up just this new flavor , my link opens up to the same welcome screen with all flavors in flavor bar.
    Thanks
    Ruchi 

  • Can we call an SAP transaction in Webdynpro

    Hi,
    I have a requirement to call an SAP transaction in Webdynpro, ie on clicking a button in a view, the particular SAP transaction has to come . Kindly tell me how to do it.
    Regards,
    Lakshmi

    Lakshmi,
    You cannot call a transaction from WDA
    check these threads
    https://forums.sdn.sap.com/click.jspa?searchID=19319106&messageID=6146192
    https://forums.sdn.sap.com/click.jspa?searchID=19319106&messageID=6476084
    Thanks
    Bala Duvvuri

Maybe you are looking for