In Workflow, How to get and set table values at runtime.

Hi All,
I m having a doubt,
here in my workflow, i have used a  object where in i have made a 'Z' method which is suppose to populate a table container.
Actually after using std SOFC-COMPOSE activity my table which has 4 user id's contains only 1 user id who has runt that activity.
So in order to get all 4 user's back in the container i made a 'Z' method, which will populate the values back in tht user_id's table.
But it is not doing so.
Can you please help me as to how to do it?
I m sending u the code that i hav written in the method.
There are 2 codes i tried.
first:
BEGIN_METHOD ZPOPULATE CHANGING CONTAINER.
data : User_Release type table of zfitlevel-zuid,
       wa_user_release type zfitlevel-zuid.
data: User type table of zfitlevel-zuid.
swc_get_table container 'User_Release'  User_Release.
wa_user_release = 'USNOSIJOH'.
append wa_user_release to User_Release.
wa_user_release = 'USNOSOSAT'.
append wa_user_release to User_Release.
wa_user_release = 'USNOANMER'.
append wa_user_release to User_Release.
swc_set_table container 'User_Release'  User_Release.
END_METHOD.
and second :  Suppose User is the tabel that has correct values at run-time.
BEGIN_METHOD ZPOPULATE CHANGING CONTAINER.
data : User_Release type table of zfitlevel-zuid,
       wa_user_release type zfitlevel-zuid.
data: User type table of ZUSRID.
swc_get_table container 'User'  User.
swc_get_table container 'User_Release'  User_Release.
User_Release[] = User[].
swc_set_table container 'User_Release'  User_Release.
END_METHOD.
Please let me know if anyone can solve my doubt asap.
Thanks & Regards,
Alpa

Hi
Thanks for the reply.
But here in my case, there is a problem.
The table container in Workflow wil hav dynamic entries.
It will hav to pick it from other dynamic container elements (all single line) and append them in this container table.
For eg:
at runtime:
User1 = 'USABC'
User_table = 'USABC'
                   'USLMN'
                   'USPQR'
                   'USXYZ'
after one of these user execute a compose mail activity of SOFM-COMPOSE,
the User_table is left with only one user id who has executed the activity compose.
suppose USABC executes it so after that the conatiner values are:
User1 = 'USABC'
User_table = 'USABC'
Now i want that this table container shud hav all 4 values even after that activity for other purpose.
So how can i achieve that?
Thanks & Regards,
Alpa
Edited by: siri on Jul 9, 2008 8:32 PM

Similar Messages

  • How to get Document Set property values in a SharePoint library in to a CSV file using Powershell

    Hi,
    How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
    I suggest you can get the document sets properties like the PowerShell Command below:
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $siteurl="http://sp2013sps/sites/test"
    $listname="Documents"
    $mysite=new-object microsoft.sharepoint.spsite($siteurl)
    $myweb=$mysite.openweb()
    $list=$myweb.lists[$listname]
    foreach($item in $list.items)
    if($item.contenttype.name -eq "Document Set")
    if($item.folder.itemcount -eq 0)
    write-host $item.title
    Then you can use Export-Csv PowerShell Command to export to a CSV file.
    More information:
    Powershell for document sets
    How to export data to CSV in PowerShell?
    Using the Export-Csv Cmdlet
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get and set custom tag attributes

    How do i get and set custom tag attributes from a jsp page?

    Not sure if this is what your looking for, but....
    example...
    < taglibprefix:testtag attribute1="x" attribute2="y">
    ...of course, the attributes have to be defined in your taglib (.tld) file

  • How to get and set graph propertis using UIGraph instance

    Hi,
    I have added barGraph graph component on *.jspx and also added buttons like "Get properties" and "Set Properties". On "Get Properties" button action, I want to get all the attrributes of barGraph using UIGraph and also want to get "getGroupAttributes" and "getSeriesAttributes".
    I saw examples on gettiing the Group attributes using the click event on the graph.
    Is there any way to get the attributes on some button action like "Get Properties" without any click event on graph?
    Thanks,
    Gopal

    [Copying the answer here from the internal forum discussion so that other customers can benefit]
    Hi Gopal,
    You can call getValue on the UIGraph to get the GraphDataModel, then to use the data access APIs from there.
    Once you get the DataAccess from the GraphDataModel, you can call getMemberMetadata to get the members on the row and column edge.
    This method is documented in the interface CDFDataAccess:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/util/CDFDataAccess.html#getMemberMetadata%28int,%20int,%20int,%20java.lang.String%29
    You should use the following constants for the series and groups:
    DataDirector.COLUMN_EDGE=groups
    DataDirector.ROW_EDGE=series
    Use the method getEdgeExtent to find out how many members are in the series and groups:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/util/CDFDataAccess.html#getEdgeExtent%28int%29
    Method getLayerMetadata is the correct way to get the names of the layers, a.k.a "dimensions" displayed in the graph.
    DataAccess is used to read the data from the Graph. You set the data in the Graph by setting tabular data, using data binding by dragging and dropping from the data control palette, or by implementing a custom DataSource and setting it on the graph.
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/dataView/CommonDataview.html#setDataSource%28oracle.dss.util.DataSource%29
    However, implementing a custom data source is not trivial, and you should only use that approach if you can't use tabular data or regular binding against the available data controls.
    This doc chapter might help in understanding data source requirements for different Graph types:
    http://docs.oracle.com/cd/E16162_01/web.1112/e16181/dv_graph.htm#CEGBGCDG
    Hope this helps,
    Katia

  • Is it possible to get and Set attribute value in OVD through JNDI or Java

    Hi,
    I have a requirement to read an OVD Attribute value from a Jsp Page and set the Attribute value in OVD.
    Is it possible to achieve it through JAVA/JNDI code, Any pointers or code snipplet are welcome.
    Thanks
    Ak

    Use JNDI with LDAP provider or another LDAP java library, plenty of examples on google

  • How to get and set the column order in SharePoint list forms

    Hi,
    I want to read the column order of the SharePoint list forms in SharePoint 2003 sites using any of the available web services and need to set the same order
    in the newly created list in SharePoint 2010.
    I am able to read the fields from SharePoint 2003 and creating the list with same fields in SharePoint 2010, but the column order is not maintaining in
    list forms.
    Also, I need to created the views from 2003 site to 2010 site.
    Please help me...
    Thanks in advance...

    Hi,
    Please try to use the following code to programatically change the order.
    SPList list = web.Lists["Example List"];
    if (list.ContentTypes.Count > 0)
    SPContentType ct = list.ContentTypes[0];
    string[] names = {"Example_x0020_One", "Example_x0020_Two", "Example_x0020_Three"};
    ct.FieldLinks.Reorder(names);
    ct.Update();
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/en-US/ce66fd65-2882-4bda-8142-89e116d8b90f/how-to-set-the-order-of-the-fields-in-list-forms?forum=sharepointdevelopmentprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Checkbox column in a table problem in getting and setting boolean values

    hi Im a newbie in jdeveloper oracle 10g. can anyone help me with jdeveloper adf swing?
    I have a table, one of its column is a checkbox that retrieves its value from an oracle database. Oracle doesnt have a boolean datatype. In java, when a column in jtable has a boolean datatype the column automatically becomes checkbox.
    I dont know how to manipulate the select and deselect of checkbox.
    please met me know.
    thanks.

    Hi thanks for the response, i already do that but im having problem with my view (user interface) it seems that its not working.
    i have his code in my view -> Pa.java
            jTableCheckClearing.setModel((TableModel)panelBinding.bindUIControl("CheckClearingView",
                        jTableCheckClearing));
            ABSIJTableWrapper.adjustColumnPreferredWidths(jTableCheckClearing);
            TableColumnModel colModel = jTableCheckClearing.getColumnModel();
            colModel.getColumn(0).setHeaderValue(new String("Type"));
            colModel.getColumn(1).setHeaderValue(new String("Description"));
            colModel.getColumn(2).setCellRenderer(new ABSINumberRenderer());
            colModel.getColumn(3).setHeaderValue(new String("Status"));
            colModel.getColumn(4).setHeaderValue(new String("Default"));
    How can i see the new column that i added in the view?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get and set a session variable from backing bean?

    Hi im using Jdev 11.1.1.2.0 and i need to set and get a session variable from backing Bean.
    Any idea?

    the class :
    package arq.resources;
    import javax.faces.context.FacesContext;
    import javax.servlet.http.HttpSession;
    public class SesionSigef {
    public FacesContext context;
    public HttpSession session;
    public SesionSigef() {
    super();
    context = FacesContext.getCurrentInstance();
    session = (HttpSession)(context.getExternalContext().getSession(true));
    public Object getVariableSesion(String atributo){
    return session.getAttribute(atributo);
    public void setVariableSesion(String atributo,Object valor){
    session.setAttribute(atributo, valor);
    the example of use :
    SesionSigef se = new SesionSigef();
    DatosRec da = new DatosRec();
    da.setDocumentoCip("Aprobar");
    se.setVariableSesion("DatosRec", da);
    thanks
    Joaquin

  • How to Get and Set personalization data from Iview with Java Webdynpro ?

    Hi All,
    I'm trying to get Iview properties from an Iview in the portal, did anyone knows how to do this?
    sample caode?
    Thanks,
    AmitY

    You can use PCD API to access iView properties
    Check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
    /people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects

  • How to get and display voltage value in Labview?

    First a little background:
    I am a college student doing an internship at a university and my project for the summer involves load cells. I am planning to use LabVIEW as both a multimeter and a calculator that would convert the voltage given off by the load cell into the force exerted on the load cell.
    Now here comes the situation:
    I have gotten everything hooked up and the load cell is working fine when using a standard multimeter. The data acquisition card is also working fine (The dac is the Measurement Computing USB-2416) as it was reading the same voltages as the multimeter. So all that was left is to put a numerical indicator and use some block code to send the voltage amounts to the indicator.
    But the problem is: I simply do not know how to make the proper coding and the Internet is of no help to me on this subject.
    My first thought is to do something using AIn() like the first attached picture show, but that resulted in an error stating:
    "This function can not be used with this board."
    Which is odd, for I am sure this is the right function to get analog readings from the dac.
    Then I do something like the second picture, which does not produce an error, but it does produce a value of 255, which is obviously not correct.
    At that point, I went on the Internet to get some answers, only to return with no answers at all.
    And now, I turn to you guys to help me, for I have a single big question:
    Which blocks/code should I use to obtain a voltage from a dac like the Measurement Computing USB 2416 I am using?
    Summary of details:
    The DAC I am using is the Measurement Computing USB-2416
    The DAC is loaded with the latest drivers and Instacal was used as well
    The LabVIEW I am using is LabVIEW 2012 version 12, 32 bit.
    I got ULx and Universal Library for LabVIEW installed.
    The operating system is Windows 7 working on a desktop that is a few years obsolete.
    With that being said, can you guys help me out, please?
    Attachments:
    Lab View Help 1.png ‏4 KB
    Lab View Help 2.png ‏4 KB

    If you installed the entire Measurement Computing MCC-DAQ CD, you will have installed the ULx for NI LabVIEW. It comes with a bunch of examples. It makes sense to open those examples, and use them as the starting point. 
    Take a look at the Quick Start for the ULx for LabVIEW - http://www.mccdaq.com/pdfs/manuals/QS%20ULx%20for%20NI%20LabVIEW.pdf
    Also, the more comprehensive help: http://www.mccdaq.com/pdfs/manuals/lvulx.zip
    As you can see, there are quite a few examples.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • How to read and set Pane value for new adding folder

    Hi Experts,
    I tried to add a new folder in to a system form as below
    Itm = form.Items.Add("UserFolder"), SAPbouiCOM.BoFormItemTypes.it_FOLDER)
    form.DataSources.UserDataSources.Add("F_new", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
    Dim oFolder As SAPbouiCOM.Folder
    oFolder.DataBind.SetBound(True, "", "F_new")
    oFolder.GroupWith("138")
    My quester is what is the panelevel for this new folder? And how to set value to panelevel for this folder.
    If we design a folder from Screen Painter, we can set the pane value manually, can we do this from code?
    Thanks a lot
    Tim

    Hello,
    You do not have to set any panelevel for your folder, if you would like to display it all the panelevels. (Let's see an example on Item Master data form).
    Sales, Purchase, Inventory etc tabs (folders) are always visible, there is no panelevel set for them.
    To change between panelevels, you can trigger et item pressed event, and  before_action = false, then you may change the panelevel of the form poperly.
    For initially you may use the Folder.Select() command to show the default panelevel
    >The problem is here, it looks like oFrom.Panelevel property can only accept integer value, so how can I know what's the pane level number for my folder?
    Do not set panelevel for your folders, you should drive your form's panelevel based on a selection tree:
    To see clear, please check the following code in the help sample: CompexForm
    C:Program FilesSAPMásolat - SAP Business One SDKSamplesCOM UIVB.NET07.ComplexForm2003
    to make it clear:
            '// Adding Folder items
            For i = 1 To 2
                oItem = oForm.Items.Add("Folder" & i, SAPbouiCOM.BoFormItemTypes.it_FOLDER)
                oItem.Left = (i - 1) * 100
                oItem.Width = 100
                oItem.Top = 6
                oItem.Height = 19
                oFolder = oItem.Specific
                '// set the caption
                oFolder.Caption = "Folder" & i
                oFolder.DataBind.SetBound(True, "", "FolderDS")
                If i = 1 Then
                    oFolder.Select()
                Else
                    oFolder.GroupWith(("Folder" & i - 1))
                End If
            Next i
    This code add 2 folders to the form: and the first (i = 1) is selected.
    IN itemevent, the panelevel property of the form is depending from the item you have clicked:
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                        '// Check if the event was raised by one of the Folder items
                        '// and change the form's pane level
                        If pVal.ItemUID = "Folder1" Then
                            oForm.PaneLevel = 1
                        End If
                        If pVal.ItemUID = "Folder2" Then
                            oForm.PaneLevel = 2
                        End If
    Regards
    János

  • How to Get and Update properties values from XML tag Using Xquery or PL Sql

    Hi
    I have this tag
    <Solicitud Pais = "1">
    How i can get Pais value?
    How i can update Pais Value?
    Y can use Xquery funtions or PL SQL for this?
    Thak's
    Angel

    How i can get Pais value? ExtractValue
    How i can update Pais Value?UpdateXML
    Y can use Xquery funtions or PL SQL for this?Yes
    Without knowing more about your requirements, where information resides, or even a version of Oracle, that is the best I'll do.

  • How to get and disply dynamic values on the fly and display in applet

    hello all ,
    i have a problem in refreshing a applet.
    i have a scrolling applet which will get the share values from the database and display in a scrolling applet in the browser . i am getting the values and displaying it.
    but the problem is , if i enter a new record in the database, until and unless i press refresh button of the browser, i am not getting the new values . please help me if anybody having the idea. please mail me to [email protected]
    thank you all.
    by
    samba

    You want a database update to trigger an applet refresh? Can't be done.
    However, you can have the applet periodically re-query the database and update its display with the information it retrieves. Just kick off a Thread that sleeps for a bit, wakes up, queries the db, updates the display, and goes back to sleep.

  • How to get selected Row/Cell value in i5Grid

    Hi Friends,
    Can anyone help to how to find the selected Row/Cell value of a i5Grid object. I am able to register the event handlers which are getting invoked on row/cell selection. But I want to know how can I get the value of selected Cell/Row. I would like to add selected Items from one i5Grid to another one.
    So want to know how can I get and set the value of i5Grid object.
    MII version 14.0 SP4 Patch
    Thank in advance
    Shaji Chandran

    Hi Shaji,
    Here is my code.
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
        <TITLE>Your Title Here</TITLE>
        <META http-equiv="X-UA-Compatible" content="IE=edge">
        <META http-equiv='cache-control' content='no-cache'>
        <META http-equiv='expires' content='0'>
        <META http-equiv='pragma' content='no-cache'>
        <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
        <SCRIPT>
            var Grid = new com.sap.xmii.grid.init.i5Grid("STC/C5167365/i5Grid_TagQuery", "STC/C5167365/TagQuery");
            Grid.setGridWidth("640px");
            Grid.setGridHeight("400px");
            Grid.draw("div1");
        function setCellValue()
        Grid.getGridObject().setCellValue(1,1,"Set");
        function setCellValueAgain()
        Grid.getGridObject().setCellValue(1,1,"Changed Again");
        </SCRIPT>
    </HEAD>
    <BODY>
        <DIV id="div1"></DIV>
        <INPUT type="Button" value="setCellValue" onClick="setCellValue()"/>
        <INPUT type="Button" value="setCellValueAgain" onClick="setCellValueAgain()"/>
    </BODY>
    </HTML>
    Regards,
    Sriram

  • How do I get and set column attributes in a table or a treetable with Java?

    Using 11.1.1.4.0
    Hi,
    How do I get and set column attributes in a table or a treetable with Java? For a simple example, say I have a table and want certain roles to see all columns (including address), and other roles can see only certain columns (no address). In a Java method, I want to test if a table's column visible attribute is true and if so, set it to false before rendering it.
    Thanks in advance,
    Troy

    Hi,
    this use case would be a perfect example for using seeded MDS customization. Instead of checking what users are allowed to see or not upon rendering time, you have a customization class and thus the framework doing this for you.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/31-mds-sample-169173.pdf
    In this paper and sample, specific users see different layouts. It also contains a customization class that shows how this can leverage ADF Security
    Frank

Maybe you are looking for

  • Error while loading hierarchies

    Dear all I am faicng the following errors while loading hierarchies from R/3 1.Error"Error in the hierarchial structure" When i open the logs i can see the follwing analysis,but not able to understand Analysis The node with the technical name 0000104

  • Export multichannel mp4/h.264 with Adobe Premiere Pro CC

    Dear community, we currently test the Adobe Premiere Pro CC trial (German) on a Windows 7 Professional PC. However, we are not succentful in exporting a multichannel mp4/H.264 clip. We haven't found an answer on our issue so far, so I hope that this

  • Instructions Please - Photos to DVD

    What's the easiest way to import photos from iPhoto to a DVD with background music to send to Mom? I have iLife 2009 and have gone from iPhoto to iMovie to iDVD but it takes Sooooooo long. Any way shorter? Step by step would be appreciated!

  • Scrolling window slide freezes

    Captivate v5.5 I have created a project in which I have some slides that I created using the automatic recording option in order to view the full length of one of our pages on our website. When I preview the side (F10) it runs just fine, but when I r

  • Making a transparent image

    Hi Everyone, I created a text in Photoshop cs and am trying to superimpose that over a video in FCE 4, how can I make the text background transparent so I don't have to mess with key adjustments in FCE 4? Thank you