WebBrowser Input data and get data

I have been trying to get a complete example on the following
Open facebook using the WebBrowser control in VB.net 
Then, on the next page, enter all the form fields and  publish 
page code:
DIV class=innerWrap><TEXTAREA aria-haspopup=true style="HEIGHT: 71px" aria-expanded=true id=u_jsonp_2_10 class="uiTextareaAutogrow input autofocus mentionsTextarea textInput" title="Describe el artículo (opcional)" role=textbox tabIndex=0 aria-owns=typeahead_list_u_jsonp_2_z name=xhpc_message_text aria-label="Escribe algo..." autocomplete="off" placeholder="Escribe algo..." aria-autocomplete="list"></TEXTAREA></DIV></DIV></DIV><INPUT class=mentionsHidden type=hidden name=xhpc_message autocomplete="off"></DIV></DIV>
Can you please help me with the source code ?
Thank you 
I' am Argentina
PD:  and I tried this:
For Each ETIQUETA As HtmlElement In WebBrowser1.Document.GetElementsByTagName("DIV")
If ETIQUETA.OuterHtml.Contains("name=xhpc_message_text aria-label=""Escribe algo...") Then
ETIQUETA.SetAttribute("value", "TextBox1.Text")
Exit For
End If

I have been trying to get a complete example on the following
Open facebook using the WebBrowser control in VB.net 
Then, on the next page, enter all the form fields and  publish 
page code:
DIV class=innerWrap><TEXTAREA aria-haspopup=true style="HEIGHT: 71px" aria-expanded=true id=u_jsonp_2_10 class="uiTextareaAutogrow input autofocus mentionsTextarea textInput" title="Describe el artículo (opcional)" role=textbox tabIndex=0 aria-owns=typeahead_list_u_jsonp_2_z name=xhpc_message_text aria-label="Escribe algo..." autocomplete="off" placeholder="Escribe algo..." aria-autocomplete="list"></TEXTAREA></DIV></DIV></DIV><INPUT class=mentionsHidden type=hidden name=xhpc_message autocomplete="off"></DIV></DIV>
Can you please help me with the source code ?
Thank you 
I' am Argentina
PD:  and I tried this:
For Each ETIQUETA As HtmlElement In WebBrowser1.Document.GetElementsByTagName("DIV")
If ETIQUETA.OuterHtml.Contains("name=xhpc_message_text aria-label=""Escribe algo...") Then
ETIQUETA.SetAttribute("value", "TextBox1.Text")
Exit For
End If
Hello,
Which part you want to get help? Whether that code could get your task done?
You could be more specific that will clarify this issue.
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Find a specific character in an input string and getting the string after if

    Hello,
    my requirement is as such, lets say we have an input string ABHISHEK #1234, or BOMBAY 123 #235,
    i need to find if the character string has # in it,, if yes pick all the numbers after # .
    in the above example, i need output as 1234 and 235
    and if any non numeric values after # set a flag
    please help me in this.
    regards
    Abhishek

    Hi Abhishek,
    This can be done in BODS using below settings in file format (only if your source is flat file):
    Below is the source file data :
    abcd#1234,Bombay#23456
    By using this file format setting, you should be able to get all the numbers in one column which you can use futher and you can verify this columns data by using "is_valid_int", not null function in BODS.
    I think it should give you solution.
    Thanks,
    Tanvi

  • Trying to use 3 input parameters and getting errors

    The code I am using was modified from code that worked using one parameter. Below is the code. I don't have a problem until I go to add values to the collection object. Then those 3 lines error, which I think also causes the next 3 lines to error.
    Does anybody know how to fix this?
    /* EmailPO.java - Created on 10-06-2010 John Carrott
    Stored at C:\Documents and Settings\jcarrott\workspace
                \checkReg\src\ 
    First-
    This program opens and reads the file CReg.txt, which contains;
    *     1. Cash code
    *     2. Bank code
    *     3. Trans Ident number
    4. Vendor number
    5. Check Number
    Second -
      Open CeckRegister.rpt using 3 parameters Cahs_code, Bank_code, and
    Trans_Ident, then export as (filename).pdf. Where (filename) is
    Vendor_number plus today's date plus the check number. These 3 fields
    are separated by '_' to make the name readable.
    Loop until CReg.txt is empty
    Lawson tables read by Crystal Report:
         1. CBCHECK
         2. APPAYMENT
         3. APINVOICE
         4. APVENMAST
         5. APVENADDR
    //Java Imports.
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStreamReader;
    import java.text.SimpleDateFormat;
    import javax.swing.SwingUtilities;
    import com.businessobjects12.prompting.objectmodel.common.IValue;
    import com.businessobjects12.prompting.objectmodel.common.Values;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.ParameterField;
    import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
    import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    public class checkReg {
              private static final String REPORT_NAME = "D:
    Inetpub
    ftproot
    CRegister
    CheckRegister.rpt";
              public static void launchApplication() {
              try
                   File f1 = new File("D:
    Inetpub
    ftproot
    CRegister
    CReg.jac");
                   if (f1.exists())
                   {f1.delete();
              java.io.File src = new File("D:
    Inetpub
    ftproot
    CRegister
    CReg.txt");
              java.io.File dest = new File("D:
    Inetpub
    ftproot
    CRegister
    CReg.txt".replace(".txt", ".jac"));
              src.renameTo(dest);
              File f2 = new File("D:
    Inetpub
    ftproot
    CRegister
    CReg.bak");
              if (f2.exists())
                   {f2.delete();
                   FileInputStream in = new FileInputStream("D:
    Inetpub
    ftproot
    CRegister
    CReg.jac");
                   BufferedReader br = new BufferedReader(new InputStreamReader(in));
                   String strLine;
                   String sDate;
                   SimpleDateFormat formatter = new SimpleDateFormat("MMddyyyy");
                   java.util.Date date = new java.util.Date();
         // to run for the current day use this -       
                   sDate = formatter.format(date);
         //Create a Fields collection object to store the parameter fields in.
                   Fields parameterFields = new Fields();
         //Create a ParameterField object for each field that you wish to set.
                   ParameterField pfield1 = new ParameterField();
                   ParameterField pfield2 = new ParameterField();
                   ParameterField pfield3 = new ParameterField();
         //Create a Values object and a ParameterFieldDiscreteValue object for each parameter field you wish to set.
         //If a ranged value is being set, a ParameterFieldRangeValue object should be used instead of the discrete value object.
                        Values vals1 = new Values();
                        Values vals2 = new Values();
                        Values vals3 = new Values();
                        ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
                        ParameterFieldDiscreteValue pfieldDV2 = new ParameterFieldDiscreteValue();
                        ParameterFieldDiscreteValue pfieldDV3 = new ParameterFieldDiscreteValue();
                        pfield1.setName("cash_code");
                        pfield2.setName("bank_code");
                        pfield3.setName("tran_code");
         // Read the file one line at a time
                 while ((strLine = br.readLine()) != null)  
                      String patternStr = ",";
                     String[] args = strLine.split(patternStr);
        // format is vendor_yyyymmdd_check_nbr.pdf
                     String EXPORT_FILE = "D:
    Appdata
    CRegister
    " + args[3] + "_" + sDate + "_" + args[4] + ".pdf";
                   try {
         //Open report.
                        ReportClientDocument reportClientDoc = new ReportClientDocument();
                        reportClientDoc.open(REPORT_NAME, 0);
         //We will be using the ParameterFieldController quite a bit through-out the rest of this function.
                        reportClientDoc.getDatabaseController().logon("test","test");
         //Set parameters.
                        pfieldDV1.setValue(new String(args[0]));
                        pfieldDV2.setValue(new String(args[1]));
                        pfieldDV3.setValue(new String(args[2]));
         //Add the parameter field values to the Values collection object.
         // Error : The method add(IValue) in the type ArrayList<IValue> is not applicable for the arguments
         //         (ParameterFieldDiscreteValue)
                        vals1.add(pfieldDV1);
                        vals2.add(pfieldDV2);
                        vals3.add(pfieldDV3);
         //Set the current Values collection for each parameter field.
         // Error : The method setCurrentValues(Values) in the type ParameterField is not applicable for the
         //         arguments (Values)
                        pfield1.setCurrentValues(vals1);
                        pfield2.setCurrentValues(vals2);
                        pfield3.setCurrentValues(vals3);
         //Add each parameter field to the Fields collection.
         //The Fields object is now ready to be used with the viewer.
                        parameterFields.add(pfield1);
                        parameterFields.add(pfield2);
                        parameterFields.add(pfield3);
                        ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
         //Release report.
                        reportClientDoc.close();
         //Use the Java I/O libraries to write the exported content to the file system.
                        byte byteArray[] = new byte[byteArrayInputStream.available()];
         //Create a new file that will contain the exported result.
                        File file = new File(EXPORT_FILE);
                        FileOutputStream fileOutputStream = new FileOutputStream(file);
                        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
                        int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
                        byteArrayOutputStream.write(byteArray, 0, x);
                        byteArrayOutputStream.writeTo(fileOutputStream);
         //Close streams.
                        byteArrayInputStream.close();
                        byteArrayOutputStream.close();
                        fileOutputStream.close();
                        System.out.println("Successfully exported report to " + EXPORT_FILE);
                   catch(ReportSDKException ex) {
                        ex.printStackTrace();
                  System.out.println("The exporting of reports has finished!");
                   br.close();
                   in.close();
                   java.io.File src2 = new File("D:
    Inetpub
    ftproot
    CRegister
    CReg.jac");
                   java.io.File dest2 = new File("D:
    Inetpub
    ftproot
    CRegister
    CReg.jac".replace(".jac", ".bak"));
                   catch(Exception ex) {
                        System.out.println(ex);               
              private static Object String(String string) {
                   // TODO Auto-generated method stub
                   return null;
              public static void main(String [] args) {
                   SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                             //Hand-off to worker function to start application.
                             launchApplication();

    That did not get any errors, but it did not return any data in the report.
    I think that this is loading one value on top of another, so at the end only the last parameter is loaded.
    This is what I have now for code.
    //Open report.
         ReportClientDocument reportClientDoc = new ReportClientDocument();
         reportClientDoc.open(REPORT_NAME, 0);
    //We will be using the ParameterFieldController quite a bit through-out the rest of this function.
         reportClientDoc.getDatabaseController().logon("procure","procure90");
         com.crystaldecisions.sdk.occa.report.application.ParameterFieldController paramFieldController =            reportClientDoc.getDataDefController().getParameterFieldController();
         paramFieldController.setCurrentValue("", "cash_code", new String(args[0]));
         paramFieldController.setCurrentValue("", "bank_code", new String(args[1]));
         paramFieldController.setCurrentValue("", "tran_code", new String(args[2]));
         ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    //Release report.
         reportClientDoc.close();
    Does anybody have any ideas on how to load 3 parameters?

  • How to get the fixed result in a DES/CBC mode with fixed input data and fix

    How to get the fixed result in a DES/CBC mode with fixed input data and fixed key. Below is my program , I tried to get the checksum of the DESInputData with the DESKeyData, but each time the result is different.
    below is my code:
    byte[] DESKeyData = {(byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01, (byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01 };
    byte[] DESInputData = {(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31,(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31 };
    SecretKeySpec skey = new SecretKeySpec( DESKeyData, "DES" );
    Cipher cipher = Cipher.getInstance("DES/CBC/NoPadding");
    cipher.init( Cipher.ENCRYPT_MODE, skey );
    byte[] result = cipher.doFinal( DESInputData );

    Use class javax.crypto.spec.IvParameterSpec to specify IV for CBC mode cipher:
    // Create CBC-mode triple-DES cipher.
    Cipher c = Cipher.getInstance("DESede/CBC/PKCS5Padding");
    // Specify IV.
    IvParameterSpec iv = new IvParameterSpec(new byte[] { (byte)0x01, (byte)0x23, (byte)0x45, (byte)0x67, (byte)0x89, (byte)0xAB, (byte)0xCD, (byte)0xEF });
    // Initialize cipher with proper IV.
    c.init(Cipher.ENCRYPT_MODE, yourKey, iv);
    // Encrypt and decrypt should work ok now.
    For more info about cryptography, search the Internet for IntroToCrypto.pdf from mr. Phil Zimmerman. This document is also part of PGP (http://www.pgp.com).
    An excellent book is 'Applied Cryptography' from Bruce Schneier (http://www.counterpane.com/applied.html).
    Regards,
    Ronald Maas

  • Creation of error log  on input data  and stat report

    I am doing call transaction on <b>C202</b> transaction.my client asked me before uploading the file he needs some validations on input file and he is asking me to create  a log for all the validations.i have to place error lof for all the input data.
    •An error log will record all errors occurring during upload. For each error the list should
    contain the data (line) going in error and an error text in a subsequent column (subsequent to data). The change number used to perform  the upload will be stated in the header of the error list.A txt-file containing the error log will get the same name as the input file, but with an ending –err.xls.
    Therefore no Batch-Input-Session is needed.
    • After execution of the batch input program, the following analysis regarding execution will be shown:
    o Number of records in input file (including title, first line)
    o Number of records successfully updated
    o Number of records in error
    Example:
    Number of records in input file (incl. first line) 4
    Number of records successfully updated:   3
    Number of records in error:      0
    How to do this according to client  requirements.can u help me to get a statastical way to represent errors.  Send me some smpale code for number of errors and no records gets success and no of failed.
    Thanks
    chandrasekhar

    Hai Chandrasekhar
    Go through the following Code
    report Z_CALLTRANS_VENDOR_01
    no standard page heading line-size 255.
    Generated data section with specific formatting - DO NOT CHANGE ***
    data: begin of it_lfa1 occurs 0,
    KTOKK like lfa1-ktokk,
    NAME1 like lfa1-name1,
    SORTL like lfa1-sortl,
    LAND1 like lfa1-land1,
    end of it_lfa1.
    End generated data section ***
    data : it_bdc like bdcdata occurs 0 with header line.
    *DATA: IT_MESSAGES TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
    *DATA: LV_MESSAGE(255).
    data : it_messages like bdcmsgcoll occurs 0 with header line.
    data : V_message(255).
    data : V_flag.
    data : V_datum1 type sy-datum.
    data : begin of it_mesg occurs 0,
    message(100),
    end of it_mesg.
    *V_datum1 = sy-datum-1.
    parameters : P_Sess like APQI-GROUPID.
    start-of-selection.
    perform Get_data.
    *perform open_group.
    loop at it_lfa1.
    perform bdc_dynpro using 'SAPMF02K' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RF02K-KTOKK'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RF02K-KTOKK'
    it_lfa1-KTOKK.
    perform bdc_dynpro using 'SAPMF02K' '0110'.
    perform bdc_field using 'BDC_CURSOR'
    'LFA1-LAND1'.
    perform bdc_field using 'BDC_OKCODE'
    '=UPDA'.
    perform bdc_field using 'LFA1-NAME1'
    it_lfa1-name1.
    perform bdc_field using 'LFA1-SORTL'
    it_lfa1-sortl.
    perform bdc_field using 'LFA1-LAND1'
    it_lfa1-land1.
    call transaction 'XK01' using it_bdc
    mode 'N'
    update 'S'
    messages into it_messages.
    if sy-subrc <> 0.
    if V_flag <> 'X'.
    perform open_group.
    V_flag = 'X'.
    endif.
    perform bdc_transaction. "using 'XK01'.
    endif.
    perform format_messages.
    refresh : it_bdc,it_messages.
    endloop.
    if V_flag = 'X'.
    perform close_group.
    endif.
    *& Form Get_data
    text
    --> p1 text
    <-- p2 text
    FORM Get_data .
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = 'C:\srinu_vendor.txt'
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = it_lfa1
    EXCEPTIONS
    CONVERSION_ERROR = 1
    INVALID_TABLE_WIDTH = 2
    INVALID_TYPE = 3
    NO_BATCH = 4
    UNKNOWN_ERROR = 5
    GUI_REFUSE_FILETRANSFER = 6
    OTHERS = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " Get_data
    *& Form bdc_dynpro
    text
    -->P_0061 text
    -->P_0062 text
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
    CLEAR it_BDC.
    it_BDC-PROGRAM = PROGRAM.
    it_BDC-DYNPRO = DYNPRO.
    it_BDC-DYNBEGIN = 'X'.
    APPEND it_BDC.
    ENDFORM.
    Insert field *
    FORM BDC_FIELD USING FNAM FVAL.
    CLEAR it_BDC.
    it_BDC-FNAM = FNAM.
    it_BDC-FVAL = FVAL.
    APPEND it_BDC.
    ENDFORM.
    *& Form format_messages
    text
    --> p1 text
    <-- p2 text
    FORM format_messages .
    loop at it_messages.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    ID = it_messages-MSGID
    LANG = 'EN'
    NO = it_messages-MSGNR
    V1 = it_messages-MSGV1
    V2 = it_messages-MSGV2
    V3 = it_messages-MSGV3
    V4 = it_messages-MSGV4
    IMPORTING
    MSG = V_message
    EXCEPTIONS
    NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write : / V_message.
    clear : V_message.
    endloop.
    ENDFORM. " format_messages
    *& Form open_group
    text
    --> p1 text
    <-- p2 text
    FORM open_group .
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
    CLIENT = SY-MANDT
    GROUP = P_Sess
    HOLDDATE = V_datum1
    KEEP = 'X'
    USER = SY-UNAME
    IF SY-SUBRC = 0.
    write : / 'Session Creating wit Name : ',P_Sess.
    ENDIF.
    ENDFORM. " open_group
    *& Form close_group
    text
    --> p1 text
    <-- p2 text
    FORM close_group .
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    ENDFORM. " close_group
    *& Form bdc_transaction
    text
    -->P_0132 text
    FORM bdc_transaction. "USING VALUE(P_0132).
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
    TCODE = 'XK01'
    POST_LOCAL = NOVBLOCAL
    PRINTING = NOPRINT
    SIMUBATCH = ' '
    CTUPARAMS = ' '
    TABLES
    DYNPROTAB = it_bdc
    EXCEPTIONS
    INTERNAL_ERROR = 1
    NOT_OPEN = 2
    QUEUE_ERROR = 3
    TCODE_INVALID = 4
    PRINTING_INVALID = 5
    POSTING_INVALID = 6
    OTHERS = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " bdc_transaction
    Regards
    Sreeni
    Message was edited by: Sreenivasulu Ponnadi

  • How to input data from labview to executable application and export the results back to labview

    I have a simple function written in m file under Matlab enviornment,
    function [c]=myadd2(a,b)
    c=a+b;
    I built it into a executable file (.exe), then I want to call it in labview and get the results.
    I followed this tutorial and some other information on line:
    http://digital.ni.com/public.nsf/allkb/5CF9526FF069EA8E862564C400579DBA
    But I didn't see any telling me how to get the Labview array data input to the EXE file and return the results data back to another indicator in labview.
    Any one have some idea?
    I appreciate the help very much.
    Arnold

    You probably need to include some command line arguments on your executable that would be the name of a file to get the data from. You could also include a command line argument telling that exe where to store the results.
    I am not familiar with Matllab to give you advice on how specifically to do that with your exe though.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    Leigh,
    After creating your table, Tap the Tab marked "+" and select "Form" - you will be asked which table to use. (You should get into the habit of naming your tables - if the table name isn't visible, select the table and tap the Styles (Brush) Menu > Table > Turn ON table Name, then double tap on the Table to edit it.)
    Select the table you wish to to fill with a form and you will see a new form based on the header data.
    The form will allow you to add one row at a time and when you get to the last row, there is an option at the bottom of the form to add a new row using the "+" button. At the top of the form is the row header which you can rename by double tapping.
    You can also rename the form on the Tab by double tapping on the name.
    Try it out.

  • How to get the input data on the arbitrary draw event ?

    Hi all,
    I'm trying to draw a histogram on a arbitrary parameter (just like the "Levels" effect). The draw part is well, but I have a problem with the input layer data (param[0]).
    All I have to do now is read the input data on the arbitrary draw event. But there's not the input pointer on the draw event. So I called the PF_CHECKOUT_PARAM() function to get the input data, and it works!
    When I test in AE, I created a layer A, and added some color correction effects to the layer A before added my effect to the layer A. The problem is the input layer my effect read is not the result of previous effects I applied before.
    Has anyway to read the latest input data in the arbitrary events ?
    Thanks.

    Hi shachar, nice to meet you!
    In another way, I created a sequence data like this:
    typedef struct {
        bool didRender;
        <some histogram data>;
    } Histogram;
    typedef struct {
        Histogram*  histograms;
    } my_sequence_data, *my_sequence_dataP, **my_sequence_dataH;
    my_sequence_data.histograms is an array with in_data->total_time / in_data->time_step items initialized during the sequence setup.
    During the render call, I cached  the calculated histogram at this current_time to the sequence->histograms[in_data->current_time / in_data->time_step], set the didRender = true.
    In this way, I have another problem with the AE cached image. I disabled a random previous effect on the effect panel, then the AE re-rendered my effect, the histogram changed (good). I enabled the effect again, and nothing change (bad )
    I try to force the AE re-rendering after the custom UI changed ( I tried with the event_extraP->evt_out_flags = PF_EO_HANDLED_EVENT; and params[HISTOGRAM_UI]->uu.change_flags |= PF_ChangeFlag_CHANGED_VALUE; on the click, drag events...) but it seem not works!
    Am I on the right way ?
    Thank you so much!

  • Execute BAPI for different input values and dispaly data in a table

    Hi all,
    I have a specific problem about executing BAPI multiple times for different input values and didplay result in a table.
    I am using the code similar to the following logic.
    Bapi_Mydata_Input in = new Bapi_Mydata_Input();
    wdContext.nodeBapi_Mydata_Input().bind(in);
    String in = wdContext.currentperdataElement.getnumber();
    in.setDestination_From(10)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(20)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(30)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    And I want to display the data in a single table. I want the result in a table for Bapi execution based on input parameters passed 10,20 30.
    But I am getting the table data only for the input parameter 30.I mean its actually display the data in table only for the last input parameter.
    So May I ask you all if you know the solution for this problem.PLease advise me with some tips .or sample code is very much appreciated.I promise to award points to the right answer/nice advises.
    Regards
    Maruti
    Thank you in advance.

    Maruti,
    It seems that WDCopyService replaces content of node, rather then adds to content.
    Try this:
    Bapi_Persdata_Getdetailedlist_Input frelan_in = new Bapi_Persdata_Getdetailedlist_Input();
    wdContext.nodeBapi_Persdata_Getdetailedlist_Input().bind(frelan_in);
    final Collection personalData = new ArrayList();
    String fr1 = wdContext.currentE_Lfa1Element().getZzpernr1();
    frelan_in.setEmployeenumber(fr1);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    String fr2=wdContext.currentE_Lfa1Element().getZzpernr2();
    frelan_in.setEmployeenumber(fr2);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    wdContext.nodeNewPersonalData().bind( personalData );
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i c

    I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i can't because i don't have the earbuds and i have serches or them. now i am suck with a phone i don't like at all until my next upgrade. this is very dishearten

    1. If you are this unhappy with that phone, and the lost earbuds is the only thing stopping you from taking it back, why do not just buy some earbuds. That way you can get rid of that phone. It all depend upon how much you want to get rid of that phone.
    2. Yet if you are stuck with that iPhone, here is something might help you to control the data usage. By design, iPhones do turn off WiFi when they go dormant. So if a download is in progress and so forth when the phone goes dormant, it will switch to use cellular data, if this setting is left on. Therefore, from multi-sources I have learned that if you keep your iPhone connected to a power source, then it will stay connected to the available WiFi.

  • How do I use a runbook Activity on an Incident and Runbook Initialize Data activity to sync and get the GUid from the Incident?

    I currently have a runbook running every hour to attach Incidents Templates to Problems. I would like to just add a runbook activity to the Incident Template to activate the runbook, and only link that Incident to the problem it needs to be attached to. 
    I don't know how to set-up my Initialize Data activity in my runbook to load the calling Incidents GUID though. 
    I'm very new to Orchestrator, so please be detailed in your directions.
    The way my runbook works now is, I make my incident templates have the PR # they are for in the Alt Contact Block. My runbook searched for that, and then loads the PR# it has there and creates the relationship between the two, and then deletes that PR# so
    it doesnt hit on the next search.
    I would like my activity that calls the runbook to pass the Incident GUID to the runbook, so my runbook only has to query the PR# included in the incident, and create the relationship that way.
    Thanks for any help you can provide.

    This might help:
    Working With Relationships in the SCSM Orchestrator Integration Pack
    Basically, you'll receive the ID of the runbook automation activity from Service Manager, which you can then use with the Get Object and Get Relationship to get the runbook activity object, then get the incident object related to it. I realize this is confusing,
    but there should be more info out there to search on as well. Hope that helps.
    Noah Stahl | Automys |
    Downloadable Microsoft automation examples and solutions

  • I purchased an iPad mini on October 10th.  I want to return it and get the new ipad mini retina when it comes out.  How do I do that if the new ipad mini release date isn't until "later in November", which is beyond the 14 days from my purchase date?

    I purchased an iPad mini on October 10th.  I want to return it and get the new ipad mini retina when it comes out. I am currently still within the 14 day return/exchange window but how can I exchange it if the new ipad mini release date isn't until "later in November", which would be beyond the 14 days from my purchase date?  If apple announces a new version of a product you just purchased but won't actually release it for more than 14 days, how can you possibly exchange the one you just bought?  Is my only option to return the one I bought on the 10th (so return by 10/24) and then not have an iPad until the new one is available for purchase?  Or would it make any sense to return the one I bought, get a new one, which would presumably have another 14 day return window, and then exchange THAT one for the new ipad mini w/ retina when it comes out (hopefully within that second 14 day window)?

    Call the apple store you got it from and ask them. Sometimes in the past they've extended the 'no questions asked return' but only Apple can tell you for sure.

  • I share an Apple ID with someone but we are now on iOS8 and getting each others messages on our iphones and ipad. How can I split the account safely as well as protect icloud backed up data?

    I share an Apple ID with someone but we are now on iOS8 and getting each others messages on our iphones and ipad. How can I split the account safely as well as protect icloud backed up data?

    Use different Apple IDs for iMessage (and also FaceTime) to avoid getting each others text messages (and FaceTime calls).  One of you should go to Settings>Messages>Send & Receive (and Settings>FaceTime), tap the ID, sign out, then sign back in with a different ID.  You can continue to shared the same ID for the iTunes store and other services.

  • How to input data in a database table without knowing in advance table and column configurations

    Hi,
    I have a problem using LabVIEW for input data (manually) in a SQL database. I have about 40 tables in the database, each of them is related to a specific engine component. I need to create a user interface (maybe visualizing the table with a table control) where the users can insert data in the database table fields. Could someone give me some suggestion on how to do it?
    Using the  DB tools insert data.vi I need to know in advance the column configuration of the table, but in my database each table has its own structure! So do I have to create 40 different masks, one for every different table?
    Thanks in advance.
    Michela

    I have not actually used the LV SQL Toolkit, but I will try and offer high level ideas :-)
    when you have retrieved the construction data for a table, you should be able to use array and cluster indexing to aquire the names of the fieds, enough to create a labelled table on the LV Front panel.
    After completing a new entry you can INSERT the entry into the database using the same data.
    Is the SQL toolkit an additional purchase, or included in newer versions as standard? If you post a sample of the cluster/array that you retrieve, I could give you a sample VI to give you some pointers in creating the User Interface table 
    - Cheers, Ed

  • Date fields and compare and get the later date of the fields

    I am trying to compare these date fields and compare and get the later date of the fields
    Tables are
    TABCASER
    TABCASER1
    EVCASERS
    Field
    Are
    TABCASER1.CASER_no
    The dates are to be compared and then get the records with the highest or latest date value.
    TABCASER1.CASERRECIEVEDDATE
    EVCASERS.FINALEVDATES
    EVCASERS.PUBLICATIONDATE
    EVCASERS.PUBLICATIONDATE
    TABCASER.COMPAREACCEPDATE
    I have this code but I am trying to figure out what it all means.
    I have several questions.
    1.
    1.     greatest it is used here to compare right? How do I then output this ? do I store it to a var (coldfusion) ultimately , I wish to send it to a page of records
    2.     is it necessary to use todate? And to_date? What does this do?
    3.     decode, is this necessary too. What does this do? NULL?
    4.     
    5.     
    6.     when I do get the query results how do I send it to coldsuion and out put to a display.
    Someone sent me this code.
    is there abetter way of doing this? To compare the dates and store in a var to display. thanks
    Here is my code below:
    Greatest(
         CASE
              WHEN INSTR(TABCASER1.CASER_no,'-CE') > 0 THEN
         decode(TABCASER1.CASERRECIEVEDDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER1.CASERRECIEVEDDATE)
                             WHEN INSTR(TABCASER1.CASER_no,'-ERNIE') > 0 THEN
         decode(EVCASERS.FINALEVDATES,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.FINALEVDATES)
                             WHEN INSTR(TABCASER1.CASER_no,'-MONIE') > 0 THEN
         decode(EVCASERS.PUBLICATIONDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.PUBLICATIONDATE)
                             WHEN INSTR(TABCASER1.CASER_no,'-NADINE') > 0 THEN
         decode(EVCASERS.PUBLICATIONDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.PUBLICATIONDATE)
                             ELSE
         decode(TABCASER.COMPAREACCEPDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER.COMPAREACCEPDATE)
                        END
              ,decode(TABCASER.COMPAREACCEPDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER.COMPAREACCEPDATE))
              between TO_DATE('#dateformat(form.startDate,"mm/dd/yyyy")#','MM/DD/YYYY') and TO_DATE('#dateformat(form.endDate,"mm/dd/yyyy")#','MM/DD/YYYY')
    is there abetter way of doing this? To compare the dates and store in a var to display. thanks

    Hi
    If you have date datatypes than:
    select
    greatest(TABCASER1.CASERRECIEVEDDATE, EVCASERS.FINALEVDATES, EVCASERS.PUBLICATIONDATE, EVCASERS.PUBLICATIONDATE, TABCASER.COMPAREACCEPDATE)
    from TABCASER, TABCASER1, EVCASERS
    where ...-- join and other conditions
    1. greatest is good enough
    2. to_date creates date dataype from string with the format of format string ('mm/dd/yyyy')
    3. decode(a, b, c, d) is a function: if a = b than return c else d. NULL means that there is no data in the cell of the table.
    6. to format the date for display use to_char function with format modell as in the to_date function.
    Ott Karesz
    http://www.trendo-kft.hu

Maybe you are looking for

  • Voicemail notifications not displayed

    Voicemail notifications are not displayed on my Phone App on Apple 5s unless cellular data is enable displaying it on visual voicemail. I would like to be notified of voicemail even when cellular data is disabled as it was before. How do I set this u

  • Macbook doesn't have the right resolution for external monitor.

    I have a Macbook Pro runing OS X 10.7.5 and have a HP w1907 LCD monitor. When I have the Macbook open, I can get the proper resoulution of 1440x900 on the LCD while the monitors are Mirrored. But when the macbook is closed, the options for the LCd mo

  • INFOSET - Checkbox to enable field text in  additional field

    Hi, as in the title I've created a custom infoset based on a logical DB (HR). I use to do that with SQ02 transaction. The problem take place when I mantain/create additional fields, I assign the correct field reference but I see always the checkbox o

  • ZEN 16 GB Album Art Question/Problem

    I've noticed that any albums with the same name will get assigned the same album art... I have several albums that are "Greatest Hits" from several different artists, all albums get whatever album art was pasted last... I know I could fix this by cha

  • Help for data upload

    hii friends, i have written this bdc program to upload the address data from flat file to the sap system but whenever i process the session i get the result like W_MAT-NAME,W_MAT-STREET etc instead of the data in the flat file. i have pasted my progr