Can we Pass value from PDK to Webdynpro

Hi ,
Can we pass the values from PDK to webdynpro screen.I have created a screen in PDK , i want to send the control to the webdynpro application on some action.
whether is it possible ? if yes tel me how to go about that .
Rakesh

Hi Rakesh ,
We can pass value the concept of following comes into picture :-
· dataObject
This parameter contains the transported parameter of the portal event.
· Namespace
This parameter contains the name space of the received portal event.
· Name
This parameter contains the name of the received portal event.
Refer to this for more details  :-
http://help.sap.com/saphelp_erp2005/helpdata/en/5d/08f43cf1da7646a2b210a16321c669/content.htm
Thanks & Regards
Pankaj

Similar Messages

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • How can I pass value from sql query to unix script

    I am new to oracle/unix.
    I want to write a simple script to find max date from a table and then pass date into a variable in a korn shell script.
    sql is select max(date) from table;
    how can I pass that value in unix shell as a variable. Thanks

    I use to code like this.
    Enjoy Scripting.
    cmd.sql
    select sysdate from dual;
    exit
    db.sh
    #! /usr/bin/ksh
    . ~oracle/.orapaths
    dbdate=$(sqlplus -S user/pwd@servicename @cmd.sql)
    echo $dbdate
    Run shell scripts
    ./db.sh
    SYSDATE --------- 19-JAN-07

  • Passing Value from PDK Java to Webdynpro Java in SAP EP SP18

    Dear Experts
    Please tell me how to call a webdynpro java ivew form a PDK java application and I need to pass a value to webdynpro form my PDK application.
    I am using SP18
    Please help me in this issue
    Regards
    Noel

    Noel,
    From your PDK aplication you will be providing the WD URL along with the parameter.
    Say in your PDK application you redirect to http://portalserver:50000/irj/local/webdynpro/sap.com/test?mypram=1
    In WD you fetch this parameter using WDProtocolAdapter class.
    Check below links for more information.
    [Access WebDynpro URL parameters programaticaly |https://wiki.sdn.sap.com/wiki/display/WDJava/Access%20WebDynpro%20URL%20parameters%20programaticly]
    Page 23 of this [document|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ba641aa6-0c01-0010-57ac-c21a4ca7b542&overridelayout=true]
    Chintan

  • Passing values to ABAP/JAVA  webdynpro appl. when workitem invoked from UWL

    Hai,
    We are using universal worklist for invoking a workitem. The workitme may trigger a ABAP/Java based webdynpro application. I have registered the tasks associated with the workitem in universal worklist.
    I have few doubts in the integration part,
    1. When a workitem is clicked in UWL, I want to get some values from the workflow container and show it on the webdynpro application. In the webdynpro application I can call a function module to get the values from workflow container by passing in workitem id.How can I pass a workitem id to webdynpro application when a workitme is clicked.
    2. After the user open the workitem a webdynpro application is shown on the screen. Lets assume this screen is having "Approve", "Reject" and "Exit" button. When this button is clicked how to pass that information to workflow so that the workflow flow its paths.
    Please let me know how to do this.
    Thanks & Regards,
    H..K.Hayath Basha.

    Hai Chintan,
    I checked the blog, and found the below code,
    workflowrawdata =
        wd_context->get_child_node(
              'WORKFLOWRAWDATA' ).
      CALL METHOD
                  WORKFLOWRAWDATA->GET_ATTRIBUTE
             EXPORTING
                     NAME   = 'WI_ID'
             IMPORTING
                      VALUE  = wi_id.     
    I have the following doubts in the code,
    1. Where I have to put this code,
    2. Using which data element or type I have to declare, "workflowrawdata".
    3. Should I have to declare "WI_ID" in parameter tab of Webdynpro application.
    4. In webdynpro application what I did is,
    a. In the context of component controller, i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    b. I created a view and in view context i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    c. I created some UI elements in the view and binded that UI elements with view context.
    d. I binded view context with the context of component controller.
    e. I created a window and in the view context i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    f. I did context mapping between window context and component controller context.
    g. I added the view to the window.
    h. I created a inbound plug with name "START". This creates a method called "HANDLESTART" to this method I added a importing parameter named "WI_ID" and added the below code,
    data : lo_node               type ref to IF_WD_CONTEXT_NODE,
           l_cont                 type standard table of swr_cont,
           l_cont_line            type swr_cont,
           rc                     type sy-subrc,
           l_wi_id                type sww_wiid,
           l_object               type SWOTOBJID,
           lv_workitem_attributes type swr_wihdr.
    call method wd_context->get_child_node
         exporting
           name = 'WORKFLOWRAWDATA'
         RECEIVING
           child_node = lo_node.
    lo_node->set_attribute( value = wi_id name = 'WI_ID' ).
    l_wi_id = wi_id.
    Please let me know what else i have to do to get the workflow id in ABAP-Webdynpro application.
    Regards,
    H.K.Hayath Basha.
    i.

  • Access webdynpro value from PDK

    Hi ,
    Can i know how to access a value set in webdynpro from PDK java?
    Example
    from webdynpro--
         WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, "BP_ID", "value");
    i would like to access the BP_ID value from PDK java. Can i know what is the method ?
    Thanks in advance.
    Sujith

    Just to keep you guys informed... found its not possible to solve the above issue because of underlying architecture differences.
    Hence to track a session / user, better use cookies which is possible both in pdk and webdynpro.

  • Passing value from Webdynpro ABAP to Adobe form..

    Hi experts,
            In first view of web dynpro, im getting employee id as input and after clicking the create new button, an adobe form is called
    to create the employee details ( in form i used the submit button and i stored the details ). so, in tat form i used the employee id as read only mode and it has to display the value which i given as input. But in tat form im not getting the value from web dynpro..
    can anyone plz help me out for this..
    Thanks in advance..

    Hi,
    Try to set your values in Method->"wddomodify" of the View in which Adobe Form is present. If you want to pass values from one view to another then check this link [Passing Local Parameters between views in an ABAP Web Dynpro Application|http://wiki.sdn.sap.com/wiki/display/stage/PassingLocalParametersbetweenviewsinanABAPWebDynproApplication] or use Context declared in Component Controller.
    Regards
    Pradeep Goli

  • Passing values from a FORM to another FORM

    Hi,
    I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
    Can I use a GLOBAL variable?
    Thanks,
    Marc.

    I think he meant the global namespace.
    You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
    Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

  • How can I insert values from table object into a regular table

    I have a table named "ITEM", an object "T_ITEM_OBJ", a table object "ITEM_TBL" and a stored procedure as below.
    CREATE TABLE ITEM
    ITEMID VARCHAR2(10) NOT NULL,
    PRODUCTID VARCHAR2(10) NOT NULL,
    LISTPRICE NUMBER(10,2),
    UNITCOST NUMBER(10,2),
    SUPPLIER INTEGER,
    STATUS VARCHAR2(2),
    ATTR1 VARCHAR2(80),
    ATTR2 VARCHAR2(80),
    ATTR3 VARCHAR2(80),
    ATTR4 VARCHAR2(80),
    ATTR5 VARCHAR2(80)
    TYPE T_ITEM_OBJ AS OBJECT
    ITEMID VARCHAR2(10),
    PRODUCTID VARCHAR2(10),
    LISTPRICE NUMBER(10,2),
    UNITCOST NUMBER(10,2),
    SUPPLIER INTEGER,
    STATUS VARCHAR2(2),
    ATTR1 VARCHAR2(80),
    ATTR2 VARCHAR2(80),
    ATTR3 VARCHAR2(80),
    ATTR4 VARCHAR2(80),
    ATTR5 VARCHAR2(80)
    TYPE ITEM_TBL AS TABLE OF T_ITEM_OBJ;
    PROCEDURE InsertItemByObj(p_item_tbl IN ITEM_TBL, p_Count OUT PLS_INTEGER);
    When I pass values from my java code through JDBC to this store procedure, how can I insert values from the "p_item_tbl" table object into ITEM table?
    In the stored procedure, I wrote the code as below but it doesn't work at all even I can see values if I use something like p_item_tbl(1).itemid. How can I fix the problem?
    INSERT INTO ITEM
    ITEMID,
    PRODUCTID,
    LISTPRICE,
    UNITCOST,
    STATUS,
    SUPPLIER,
    ATTR1
    ) SELECT ITEMID, PRODUCTID, LISTPRICE,
    UNITCOST, STATUS, SUPPLIER, ATTR1
    FROM TABLE( CAST(p_item_tbl AS ITEM_TBL) ) it
    WHERE it.ITEMID != NULL;
    COMMIT;
    Also, how can I count the number of objects in the table object p_item_tbl? and how can I use whole-loop or for-loop to retrieve values from the table object?
    Thanks.

    Sigh. I answered this in your other How can I convert table object into table record format?.
    Please do not open multiple threads. It just confuses people and makes the trreads hard to follow. Also, please remember we are not Oracle employees, we are all volunteers here. We answer questions if we can, when we can. There is no SLA so please be patient.
    Thank you for your future co-operation.
    Cheers, APC

  • Pass value from Java to Perl

    Anyone knows how to pass value from Java to Perl program?

    Did you write the perl program? Can you change it? Or are you trying to interface to something that already exists? This will limit your options, of course.
    Anyway the first option is simple. The java program does this:
    System.out.println("This is a line of input.");The perl program does this:
    while(<>)and in that block, $_ is assigned to each line of input.
    Then you can invoke both like this:
    $ java MyJavaProgram | perl MyPerlProgram.pl

  • How can I pass value in status and reason for rejection using BAPI_LEAD_CREATEMULTI when creating multiple lead

    Hello,
    I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass values and please also tell me INPUT_FIELDS values. Please help me
    Regards,
    Kshitij Rathore

    Hello,
    Please help me for solve this problem. I am trying to solve problem from last 4 days but i didn't get any solution.
    Regards,
    Kshitij Rathore

  • Re: Help needed in passing values from workflow to Approve Forms

    Dear Experts,
    how do I pass values from a workflow to a step (Form) - approve form?
    I am using a customized table structure as my data source (FORMCONTAINERELEMENT) but am stuck on how to access the data when i get to to the screen painter's flow logic... What am i missing? Can you give me a step by step example. the ones i see on the net are input fields that update the screen... nothing that shows value being passed from the outside.
    I need to pass an exisitng value in the workflow into the form for approval of the the assigned agent.
    Please help!!
    Thank you.

    Hello !
             Create a method just before the form step.This method should populate the values for the fields maintained in the form.
             Pass the values populated from this method to your customized table structure (data source).In other words, you have to pass all the values to the workflow container.
            To the step, pass this workflow container by binding.In the control tab of form step, you have to do the binding.
    Regards,
    S.Suresh

  • Passing value from JSP to JApplet

    Hello,
    I am stuck up with a problem, can anyone please tell me how do i pass a value from a JSP page
    to a JApplet,
    and the parameter passed through JSP should be displaed in the JTextArea.
    It would be kindful if any of you could help.
    Thanks
    Sanam

    hello,
    thanks for reply.
    I know how to pass parameters from html,
    I want to pass values from jsp page,
    and i dono how to do it, may be we cann pass values through url connection but i dono how.
    if anone knows plz help me in solving this.
    i hvae posted my applet code.
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.JToolBar;
    import javax.swing.JButton;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    <applet code = "DocApplet" width = 500 height =5000>
    </applet>
    public class DocApplet extends JApplet
         private JPanel jp;
         private Container cp;
         private JTextArea jt;
         private JToolBar tb;     
         private JScrollPane sp;
         private String annotation;
         private String url;
         private Connection con;
         private Statement stmt;
         public void init()
              jp = new JPanel();
              cp = getContentPane();
              jt = new JTextArea();
              tb = new JToolBar();
              sp = new JScrollPane(jt);
              repaint();
         public void start()
              jp.setLayout(new BorderLayout());
              jp.add(tb, BorderLayout.NORTH);
              jp.add(sp, BorderLayout.CENTER);
              jt.setBackground(Color.BLACK);
              jt.setForeground(Color.WHITE);
              setContentPane(jp);
              addButtons(tb);
              repaint();
         public void run()
              repaint();
         public void paint()
         private void addButtons(JToolBar tb)
              JButton button = null;
              button = new JButton("Save");
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
              tb.add(button);
    }

  • Can't pass parameter from HTML form of multipart/form-dta type to JSP

    I am using request.getParameter(passed variable name) to pass data from HTML form to JSP with no problem. WHen I try to pass data from HTML form of multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm" method="post" ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/stringsecond.jsp">
    The passed value is null. Why?
    How can I pass data successfully from this form to JSP?
    How can I pass data from JavaScript to JSP?
    Thank you

    I am using request.getParameter(passed variable name)
    to pass data from HTML form to JSP with no problem.
    WHen I try to pass data from HTML form of
    multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm"
    method="post"
    ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
    -cts/stringsecond.jsp">
    The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
    How can I pass data successfully from this form to
    JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
    How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
    robert

  • How can I pass parameters from report to HTML page

    Hi,
    Does any one know how to pass value from Portal Report to other HTML page (asp for excample).
    I build a Protal report, and I want jamp to "http://...viewDoc.asp?DocID=DocumentID" URL, by clicking on link, where "DocumentID" is parameter that to be pass from report.

    One way is to create a link based on that form and attach that
    link with the report. Through links you can pass parameters

Maybe you are looking for