Code suggestions

Hi All,
I am planning to write a code for mobile application for the below requirement.
1. I want to build an application which is used in Mobile/PC as well. There it may be created an icon like " HELP"
a) if you clicked on it it will display the home page. in home page you can see like " Welcome to our site" and "please enter the below information" messages.
b) Under Information message you can see the text boxes like Name :
City : (drop down list)
State : ( drop down list)
Contact_Number :
Mail_ID :
Submit(button) Cancel
c) once you entered the information and clicked on SUBMIT button it will navigate to other screen there you can see the below
Yor are looking for : Deptname (drop down list A - Z)
City : <Drop Down List>
State : <Drop Down list>
PIN :
SUBMIT CANCEL
once you clicked on SUBMIT button it will show you the address of that particular departments which are available in the given city. so there is ADDRESS : (BOX -- contains address)
once you find the address here can see the buttons SUBMIT and CANCEL buttons. there you can see one more box like " Please Enter your requirement" : < In box we can enter the data>
once we entered the data then click on SUBMIT button once everything is completed it will show you the message " Thank you and will contact you soon" message.
Then Finally there is button called "CLOSE" once you clicked on it , the whole page should close.
So could you please suggest me is this whole thing is possible to write a C++ program (including ANDROID APK &NDK).
If possible please share your thoughts to start writing the code.
Thanks.
click on

Basically you need to use the PCC (Portlet Communication Control) to let the second portlet know that a user has clicked a link in the first portlet. It is then up to the second portlet how it handles this. It could post back to itself, set a setting naming the URL requested by the user's click, then refresh the whole page with the new content.
The advantage with .NET portlet (using .NET Web Controls) is that they can postback to the server in-page - that is without needing to refresh the whole page, just their section of it.
For documentation on the PCC, setting settings, and general portlet development, refer to the EDK Developer Guide (downloads section of devcenter, with the EDK). For .NET specific stuff download the .NET Web Controls 2.0 and take a look at the included guide.

Similar Messages

  • How to turn off automatic variable code suggest for a single page?

    Does anyone know how to turn off the code assist feature where CFBuilder tries to assist you by listing all the variables on the page?  I have a CFC with over 3000 lines and it causes CFBuilder to hang/freeze like you wouldn't believe.  I'd like to turn off this feature for large files (or at least see if I can tune the feature to be smarter about what variables it suggests).
    Does anyone know how to disable this feature on a specific template or turn this feature off altogether?  Note: I do want to keep the tag attribute suggestion if possible.

    Update: I tried using CFBuilder as a plugin for Eclipse (64 bit) and then followed the steps here: CFBuilder 2 Performance Problems on Windows 7 64-bit Solved » websolete.
    So far I have experienced noticeably faster response times. However, the program still hangs when trying to suggest variable names.  It would be great if there was a way just to disable that feature until Adobe fixes it.

  • Accessing .properties file from java code

    Hi,
    I want my java code in a Tomcat Web Application to access values in a custom .properties file.How can i do it.
    Any sample code / suggestions welcome.
    Thanks
    Vignesh.

    ResourceBundle vResourceBundle = ResourceBundle.getBundle("database", Locale.ENGLISH);
            sDriverName = vResourceBundle.getString("database.DriverName");
            sDbURL = vResourceBundle.getString("database.DriverUrl");
            sDbUser = vResourceBundle.getString("database.UserName");
            sDbPasswd = vResourceBundle.getString("database.PassWord");Where "database" is the name of the property file. ie., database.properties.
    the content of the database.properties file
    # Properties to access dabase                 
    database.UserName = scott
    database.PassWord = tiger
    database.DriverName = oracle.jdbc.driver.OracleDriver
    database.DriverUrl = jdbc:oracle:thin:@nn.nn.nn.nn:port:orartgnull

  • Need code for BADI ME_PROCESS_REQ_CUST

    dear experts,
       I have the below requirement.
    I have to create a new tab for location in Purchase requistion transaction.That i Did.
    I want to insert the data from location field to EBAN-ZSTAND(new field to be created in EBAN).
    I want to save the data in EBAN when i will press save button after selecting the location code.
    please give the code suggestion for BADi ME_PROCESS_REQ_CUST for saving the data into
    the location code (EBAN-ZSTAND).
    Thanks,
    Pilot

    Hi,
    get the item data ....
         *DATA : lt_item TYPE MEREQ_ITEM,
                       ls_item liek line of it_item*
             CALL METHOD im_item->GET_DATA
               RECEIVING
                 RE_DATA = lt_item .
    you will get the data in lt_item.. table
    Thanks,
    Shailaja Ainala.

  • Odd error originating from NI-5411 (Error code: BFFA0002) when trying to load arbitrary waveform

    Hello everyone. 
    We have some equipment (PCI NI-5411) that is misbehaving in an odd and new way. When trying to load an arbitrary waveform onto the AWG (using a library call to the "niFgen Write Binary 16 Waveform"), it produces an error. The error code is "BFFA0002", but I haven't been able to find any information that can show what this error code provides. Previously, we had some problem when the system wouldn't find the file and produces an error even though the file is there. After changing our code so the file access is attempted several times, the problem was resolved. However, that doesn't work in this case and we do not know here the problem is.
    This is a pretty much shooting wild and hoping that something falls down, but if anyone could provide me with information about the error code or another probable error source I would be highly grateful.
    Thanks in advance!
    With best regards,
    Niclas

    Hi Niclas,
    That error code suggests that a file cannot be opened. This error is defined in IVI as  IVI_ERROR_CANNOT_OPEN_FILE.I don't think we return this error code from the NI-FGEN driver.
    You mentioned that you have an issue with finding a file. Is that file specific to your application? How is it being open or used? What API do you use to open that file?
    For NI-FGEN specific error code (and generic IVI error codes), you can query the error message by calling niFgen_error_message function or niFgen Error Message.vi.
    Thanks,
    - Liusdi

  • Exit codes from the Java Virtual machine

    Hi,
    I've been asked to write a C wrapper program on UNIX and Windows which launches java (or java.exe) with the appropriate command line options and jar files to run an application.
    So far so good.
    However, I can't find any documentation saying how the status code returned by java or java.exe is constituted. e.g. How do you tell an error returned by the virtual machine, such as NoClassDefFoundError due to a missing jar or entry point, from a status code returned by a running Java application?
    Are the possible status codes returned by the JVM documented anywhere? Are they the same on UNIX and Windows? Should the Java application use a particular range of return status codes so they don't collide with the JVM's own?
    Thanks in advance for any pointers on the subject.

    Ah, I see, you're asking what if any existing codes are returned by the JVM implementation.Yep, that's it. I need to know that if the application chooses to use System.Exit to return (say) status code 2 meaning "your print job is queued", that the JVM won't ever return 2 meaning "couldn't find your application jar files" or some other generic condition outside the application's control.
    I can move the application's return codes into a specific value range, as long as I can find one that is guaranteed safe for JVMs on both UNIX and Windows. Sounds like that's a bit optimistic. Thanks for the source code suggestion, but don't really have control over the customers' choice of JVM.

  • OLE error code 0x80040154:unknown com status code

    I have been trying to log on to a visual fox pro database and get this error .please help in sorting it out currently on windows 8.1.thankyou

    What did you use? VFP OLEDB Provider?
    Any additional info about the error?
    And code so far?
    Googling the OLE error code suggests "class not registered". So do you try to use the VFP OLEDB Provider without first installing it? Or if you installed, did you have any installation errors?
    Unlike MSSQL client tools often already installed neither VFP ODBC nor OLEDB drivers are a standard preinstallation of Windows or any major product.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • Remote Code for Sky Remote rev 9 to Yamaha rx-v363 surround amp

    Hi, I've just replaced my old Sky remote as the '0' stopped working. The old remote worked absolutely fine with my Yamaha amp. I've tried all the Yamaha codes suggested (0171, 0876, 0382, 0204, 1304, 0740, 1359, 0214, 1843, 2049, 2089, 2144, 2370 and 2365) but to no avail. The code I've been using on the old remote was given to me through this forum around 3 years ago but I cannot find the original thread.  Does anyone have any additional code suggestions or know if it's possible to obtain the code from my old remote? I've done this previously with another remote by counting the number of LED flashes, however, I've been unable to find anything that would suggest this is possible via a Sky remote. Thanks 

    Try  http://helpforum.sky.com/t5/Archived-Discussions/setting-sky-remote-to-operate-av-receiver/m-p/830248#M5209  

  • Forgot unlock code for nokia 2630

    i am using the nokia 2630 and that have been locked which lock code no i gave few week ago.now i forget the lock code.suggest me ?

    there's nothing you can do by yourself....
    You need to take it to a nokia care center so that they can reset for you the UI settings...
    !!!OHOO!!!

  • How do i change the code on my MacBook Air without knowing code ?

    Managed to change the code out knowing it.
    Pressed on a key where you change the code , so that code suggestions are coming up.
    Help! I logged on the PC now.
    Thanks

    Can you give us some more details please?

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • Dynamic Value in where cluase..Ideas please..

    Hi All,
    Wishes.. Any idea for below problem Please..
    Fields in Form 1:
    CONTROL      PO     FACTOR          TS_LAST_UPDATE    AMEND
    19950927    739409  SPP               19-JUN-98       00          
    19950927    739409  SPP               19-JUN-98       01         
    19950927    739409  SPP               19-JUN-98       03         
    19950927    739409  SPP               19-JUN-98       04         
    19950927    739409  SPP               19-JUN-98       05         
    19950927    739409  SPP               19-JUN-98       06          
    19950927    739409  SPP               19-JUN-98       07       
    19950927    739409  SPP               19-JUN-98       08          
    19950927    739409  SPP               19-JUN-98       09          
    19950927    739409  SPP               19-JUN-98       10         
    19950927    739409  SPP               19-JUN-98       11   Form 2 Fields:
    PAYMENTDATE   AMOUNT          TS_LAST_UPDATE              
    01-JAN-96     88225                  19-JUN-98                         
    01-JAN-96     7801                   19-JUN-98                          
    01-JAN-96     29895                  19-JUN-98                        
    01-JAN-96     33065                  19-JUN-98                      
    01-JAN-96     63822                  19-JUN-98                        
    01-JAN-96     7615                   19-JUN-98                   
    01-JAN-96     20168                  19-JUN-98                      
    01-JAN-96     13514                  19-JUN-98                     
    01-JAN-96     7287                   19-JUN-98                
    01-JAN-96     23919                  19-JUN-98                         In this Control,PO,Amend will pass as parameter to form B when I click the button on Form 1
    Now I would like to design a dynamic query in such a way that.. what ever ther "amend" user passes from form1 IT SHOULD PASS AS MINIMUM 'AMEND' FOR THAT CONTROL.
    Best way to put in above example from Form A , user passes 19950927 as Control,739409 as Po and *02* as Amend THEN AMEND SHOULD BE PASSED AS '00' which is minimum amend number for that Control then i should execute the query for target table on form2 and should display all the payments irrespctive of amendno that has been passed.
    This is due to special requirement as there is no amend data in Table2 (used in form2) but which was present in Table1 in (used in form1)., so we mass updated Table2 amend with minimum amend in Table1.
    and same way if user passes 19950927 as Control,739409 as Po and *03* as Amend THEN AMEND SHOULD BE PASSED AS '00' which is minimum amend number for that Control and then i should execute the query for target table on form2.
    Same way what ever amend no the user passes it should be passed as minimum amendno for that control ---> ---> execute query..on form 2
    I am thinking of dynamic where clause..dont know what logic i should use here..
    any code suggestions in this context please..
    Thanks in advance
    Prasanth
    Edited by: Onenessboy on Nov 1, 2010 9:39 AM
    Edited by: Onenessboy on Nov 1, 2010 9:50 AM (changes in data provided)
    Edited by: Onenessboy on Nov 1, 2010 10:01 AM

    Hi All,
    Thanks for all your repilies..
    Andreas Weiden, sorry..I should be much clearer in explaing what I need..I am just explaining again below..
    Amman Ahmad, thanks for your suggestion.. your understanding is bit closer... sorry that my explaination was not better..
    Here I will try explain with a scenario from database level... and then to form level
    Table1:
    select *
    from table1
    where control = '19950927'
    and po = '739409'
    and factor = 'SPP'
    *So here if you look below same control + PO having multiple amend values*
    CONTROL               PO              AMEND             FACTOR                            ID         
    19950927            739409            00                   SPP                        002                    
    19950927            739409            01                   SPP                        002                    
    19950927            739409            02                   SPP                        002                    
    19950927            739409            03                   SPP                       002                    
    19950927            739409            04                   SPP                        002                    
    19950927            739409            05                   SPP                        002                   
    19950927            739409            06                   SPP                        002
    another example:
    CONTROL               PO              AMEND             FACTOR                            ID         
    19950928            739419            07                   SPP                        002                    
    19950928            739419            08                   SPP                        002                    
    19950928            739419            09                   SPP                        002                    
    19950928            739419            10                   SPP                       002                    
    19950928            739419            11                   SPP                        002                    
    19950928            739419            12                   SPP                        002                   
    19950928            739419            13                   SPP                        002 Before update in Table 2(Payments):
    See below amend is NULL in table 2  for older records
    select *
    from table2
    where control = '19950927'
    and po = '739409'
    and factor = 'SPP'
    CONTROL      PO    FACTOR   PAYMENTDATE   TYPE           AMOUNT     TS_LAST_UPDATE    AMEND
    19950927    739409  SPP     01-JAN-96     T               88225       19-JUN-98            
    19950927    739409  SPP     01-JAN-96     T               99593       19-JUN-98                                       
    19950927    739409  SPP     01-JAN-97     T               7801        19-JUN-98                                       
    19950927    739409  SPP     01-JAN-97     T               29895       19-JUN-98                                       
    19950927    739409  SPP     01-JAN-97     T               33065       19-JUN-98                                       
    19950927    739409  SPP     01-JAN-97     T               63822       19-JUN-98                                       
    select *
    from table2
    where control = '19950928'
    and po = '739419'
    and factor = 'SPP'
    CONTROL      PO    FACTOR   PAYMENTDATE   TYPE           AMOUNT     TS_LAST_UPDATE    AMEND
    19950928    739419  SPP     01-JAN-96     T               84544       19-JUN-98            
    19950928    739419  SPP     01-JAN-96     T               91783       19-JUN-98                                       
    19950928    739419  SPP     01-JAN-97     T               7801        19-JUN-98                                       
    19950928    739419  SPP     01-JAN-97     T               2947        19-JUN-98                                       
    19950928    739419  SPP     01-JAN-97     T               3345        19-JUN-98                                       
    19950928    739419  SPP     01-JAN-97     T               6782        19-JUN-98                                       
    *So seeing above we understand that, we cannot really pick which amount is for which Amend since there is no DATA for amend
    is available*
    * for future records we didnt really bother as we added the column newly making it not null all future will have specific amount
    for each amend..that is not the issue here *
    Update Statement: 
    * so we are issuing below update Table2 to set minimum of amend from Table1 will be updated for coresponding records
    in Table2 so Now we will able able to build a mandatory relationship between these two. Mandatory here means..
    Table1.control=Table2.control
    Table1.PO=Table2.PO
    Table1.factor=Table2.factor
    Table1.amend=Table2.amend *
    Update Table2 set po=(select min(amend)from Table1
          where  Table2.control=Table1.control
                 AND
                 Table2.PO=Table1.PO
              AND
              Table2.factor=Table1.factor)
    WHERE
                    Table2.control= '19950927'
              AND
              Table2.PO = '739409'
                    AND  Table2.factor = 'SPP'
    Update Table2 set po=(select min(amend)from Table1
          where  Table2.control=Table1.control
                 AND
                 Table2.PO=Table1.PO
              AND
              Table2.factor=Table1.factor)
    WHERE
                    Table2.control= '19950928'
              AND
              Table2.PO = '739419'
                    AND  Table2.factor = 'SPP'
    After Update(Table2-Payments):
    select *
    from Table2
    where control = '19950927'
    and PO ='739409'
    and factor = 'SPP'
    CONTROL      PO      FACTOR   PAYMENTDATE   TYPE     AMOUNT      TS_LAST_UPDATE        AMEND
    19950927    739409       SPP       01-JAN-96     T       88225       19-JUN-98               00          
    19950927    739409       SPP       01-JAN-96     T       99593       19-JUN-98               00         
    19950927    739409       SPP       01-JAN-97     T       7801        19-JUN-98               00         
    19950927    739409       SPP       01-JAN-97     T       29895       19-JUN-98               00         
    19950927    739409       SPP       01-JAN-97     T       33065       19-JUN-98               00         
    19950927    739409       SPP       01-JAN-97     T       63822       19-JUN-98               00 
    select *
    from Table2
    where control = '19950928'
    and PO ='739419'
    and factor = 'SPP'
    CONTROL      PO    FACTOR   PAYMENTDATE   TYPE           AMOUNT     TS_LAST_UPDATE    AMEND
    19950928    739419  SPP     01-JAN-96     T               84544       19-JUN-98       07     
    19950928    739419  SPP     01-JAN-96     T               91783       19-JUN-98       07                                
    19950928    739419  SPP     01-JAN-97     T               7801        19-JUN-98       07                                
    19950928    739419  SPP     01-JAN-97     T               2947        19-JUN-98       07                                
    19950928    739419  SPP     01-JAN-97     T               3345        19-JUN-98       07                                
    19950928    739419  SPP     01-JAN-97     T               6782        19-JUN-98       07                                
    Interpretation of above output:
    1. see for second example CONTROL 19950928 updated with '07' as it is minimum amend number in Table 1 for this combination
    of Control(19950928)+PO(739419)
    2. Same way see for second example CONTROL 19950928 updated with '07' as it is minimum amend number in Table 1 for this combination
    of Control(19950928)+PO(739419)
    NOW COMING TO ACTUAL FORMS:
    1. User passes Control + PO + Amend + Factor from Form1 to form2(which is based on Table1)
    In above example... if user passes combination of 19950927 (control) + 739409 (its PO)+ SPP (factor) + 00 (amend, this
    is the value after update in Table2..i.e the minimum amend
    Now Payment block in Form 2 display all records as all payment records mapped to amend '00'
    2. another example if user passes combination of 19950928 (control) + 739419 (its PO)+ SPP (factor) + 07 (amend, this
    is the value after update in Table2..i.e the minimum amend
    Till this pefectly fine...
    NOW LIMITATION IS:
    User can have choice of selecting any amend from Table1 as it is there in Table1 already...
    Now example..
    In above example... if user passes
    combination of 19950927 (control) + 739409 (its PO)+ SPP (factor)+ 02 (which is not minimum
    for this control and not in table2 after update)
    NOW IT IS DISPLAYING BLANK RECORDS IN PAYMENT SECTION IN FORM 2 as there is mapping is failed
    Passed parameter is:
    19950927(control) + 739409 (its PO)+ SPP (factor)+ 02 (amend) (match failed)
    OR
    19950928(control) + 739419 (its PO)+ SPP (factor)+ 09 (amend) (match failed)
    But It should be
    19950927(control) + 739409 (its PO)+ SPP (factor)+ 00 (amend)
    (match passed as we updated all payment rec with amend as minimum amend 00
    In this case it will fecth all the payment records.
    OR
    19950928(control) + 739419 (its PO)+ SPP (factor)+ 07 (amend)
    (match passed as we updated all payment rec with amend as minimum amend 77
    In this case it will fecth all the payment records.
    NOW WHAT CUSTOMER WANTS
    So what I need to do is : even if customer passes the below combination..
    19950927(control) + 739409 (its PO)+ SPP (factor)+ 02 (amend) from Form 1
    or
    19950928(control) + 739419 (its PO)+ SPP (factor)+ 09 (amend)
    IT SHOULD GO TO FORM 2 as 19950927(control) + 739409 (its PO)+ SPP (factor)+ 00 (amend)-- since table2 has 00(amend) for all records after update
    19950928(control) + 739419 (its PO)+ SPP (factor)+ 07 (amend)-- since table2 has 07(amend) for all records
    SO THAT IT WILL FOUND DATA MATCH AND PULL UP ALL RECORDS OF PAYMENTS AS IT PASSED THE AMEND WHICH IS ACTUALLY IN TABLE2
    Customer is agreed that for older records, if he can  see all payments amounts irrespective of amend which he passes to form2
    *But User does not really know which is minimum amend for this combination..BUT As programmer, I need to do programatically
    what ever amend he selects on form1 it should be passed as value which is in table2.. i mean 00 and 07 in above cases*
    Sorry for long post..
    Though I am under pressure to finish this soon..I cant really say its URGENT and help me..BECAUSE THIS IS HELPING FORUMS AND IT NOT GOOD MANNERS TO PULL FOR RUSH.
    Any help would be appreciated..
    Thanks much for all forum member in advance for nice help and suggestions...
    Best Regards
    Prasanth

  • Getting "An attempt is made to create or change an object ..." in one env.

    I have a colleague who wrote some JAX-WS client code using what WebLogic 10.3.3 provides out of the box. His code is creating a "wsse:Security" element by using SOAPFactory and SOAPElement and related classes. This has worked fine on a couple of dev boxes. They've now promoted the deployment to the next environment, and now the attempt to add the constructed "Security" element fails with:
    org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
    They have verified the problem environment is running the same version of the JDK and WebLogic, but they haven't yet confirmed they have the same WebLogic patches.
    I repeat, this is working fine on his development environment and on at least two development servers, and is having this problem on the next environment down the line towards production.
    I looked for some other experiences with this error, and the only substantive code suggestion I found from that was to add all the used namespaces to the envelope. He did that, but it didn't make a difference.
    The relevant block of code is the following (it fails on the last line):
                        SOAPEnvelope envelope = soapMsgContext.getMessage().getSOAPPart().getEnvelope();
                        SOAPFactory soapFactory = SOAPFactory.newInstance();
                        // WSSecurity <Security> header
                        SOAPElement wsSecHeaderElm = soapFactory.createElement(
                                  "Security",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        QName wsSecHdrMustUnderstandAttr = new QName("S:mustUnderstand");
                        wsSecHeaderElm.addAttribute(wsSecHdrMustUnderstandAttr, "1");
                        SOAPElement userNameTokenElm = soapFactory.createElement("UsernameToken",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        Name userNameTokenIdName = soapFactory.createName(
                                  "id",
                                  "wsu",
                                  "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd");
                        userNameTokenElm.addAttribute(userNameTokenIdName, "Id-8zvykuwmK8yg6dxn3632nQJB");
                        SOAPElement userNameElm = soapFactory.createElement("Username",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        userNameElm.addTextNode(userName);
                        SOAPElement passwdElm = soapFactory.createElement("Password",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        Name passwdTypeAttr = soapFactory.createName("Type");
                        passwdElm.addAttribute(passwdTypeAttr, "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
                        passwdElm.addTextNode(password);
                        userNameTokenElm.addChildElement(userNameElm);
                        userNameTokenElm.addChildElement(passwdElm);
                        // add usernametoken to Security header
                        wsSecHeaderElm.addChildElement(userNameTokenElm);
                        // create SOAPHeader instance for SOAP envelope
                        SOAPHeader sh = envelope.getHeader();
                        // add SOAP element for header to SOAP header object
                        sh.addChildElement(wsSecHeaderElm);
    -------------------------

    if it matters, after extensive gnarly debugging, we found the problem was this expression:
    new QName("S:mustUnderstand")
    When we changed this to properly specify the prefix and namespace, the environment it was failing on worked.
    What was odd about this is that other server environments seemingly using the same jars (we turned on verbose:class to verify this) had no problem with this code.
    What was really annoying about this problem is that the error message could have been much more informative. I'm sure the code reporting the error must have known it was this attribute that was having the problem, but it only gave us a very vague error message about the entire element we were creating, which had several sub-elements.

  • EDI vendor invoices do not get posted before GRN is posted

    Hello All,
    The requirement is our vendor sends EDI invoices and they get parked in SAP as IDOCs. IDOC gets posted if GRN exist for a PO.
    In purchase order it is GR based IV. If vendor parks invoice and there is no GRN for purchase order then IDOC fails and it goes in status 51 (Error).
    Our requirement is, IDOC should get posted even if there is no GRN for a purchase order and client do not want to remove GR based IV tick from PO. After through verification of the parked invoice it gets posted in the system.
    We have done the config change in MM>>LIV>>EDI>Enter program parameters, we have maintained value "1" for field "Processing". Inspite of this change system does not process inbound ICOCs and they go in error (51) status.
    Please provide solution for this.
    Thanks & regards.
    Sanjay

    Hello Jurgen,
    The change in piece of code suggested in SAP note no. 501524 was already implemented in our syste, However still invoice IDOC fails and it goes in error "status 51" as there is no GRN for that purchase order. However if material GRN is made for 1 qty then the invoice gets parked with the full amount even if the GRN  is for 1 no.
    Please suggest a suitable solution.
    Thanks.
    Sanjay

  • Current day and date

    I've created a fairly simple website in which I've inserted
    the day and date and want it to update automatically according to
    my location, which is the same as the server. Currently, it is in
    the following format: Friday, March 14, 2008. I've not been able to
    find a simple, clear, step by step answer in my online searches. I
    am not a programmer so if you tell me about code you may need to
    provide a little extra detail. Do I need to create an html or shtml
    page for this code instruction or can I simply insert some magic
    code into my current html page? Thanks for your time and help with
    this!

    DJenae wrote:
    > <script>
    > document.write(new Date());
    > </script>
    >
    > Mick
    >
    >
    > Thanks Mick but this didn't work either. It must be the
    placement. Please read
    > the 2 posts before yours to see how I inserted the code
    suggestions. This is
    > that section of code that includes what you sent me.
    >
    > <tr>
    > <td width="558" height="33" valign="middle"
    class="style1"><script><br />
    > document.write(new Date());<br />
    > </script></td>
    > </tr>
    >
    <tr>
    <td width="558" height="33" valign="middle"
    class="style1">
    <script>
    document.write(new Date());
    </script>
    </td>
    </tr>
    Note removal of breaks, and BTW "height" is an illegal
    attribute for <td>
    Another way:
    <script>
    Date.prototype.normal=function(){
    return
    ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][this.getDay()]+
    ", "+
    ["Jan","Feb","Mar","Apr","May","Jun",
    "Jul","Aug","Sep","Oct","Nov","Dec"][this.getMonth()]+
    " "+
    this.getDate()+
    ", "+this.getFullYear();
    </script>
    <tr>
    <td width="558" height="33" valign="middle"
    class="style1">
    <script>
    document.write(new Date().normal());
    </script>
    </td>
    </tr>
    Mick

Maybe you are looking for

  • Wield char with the use of matnr

    Hi All, my requirement is like: I need 1 selection option which seems like parameter type mara-matnr. when I put any material with the using of "*", it sud be fetch all the material with combination. I did the code for that but somtime it fails.. TAB

  • How do I hit the PrtSc Key on my mac book pro 2012?

    Dear Support Community , I'm using VNC onto  windows PC that has an application requiring me to use the PRTSC to start a recorder , but I can't find a combination of keys for PRTSC. Can you help please? I'm using a MacBookPro 2012 and REALVNC  onto a

  • Is there a way "take a picture" of a portion of a page and add it as an attachment?

    I have a form where I allow users to use Comments and Markup to draw a picture on a page.  Is there a way to convert this Annotation to an image and add it as an attachment?  Or, is there a way to take a picture of the portion of a page and add it as

  • Some Unattractive Features in iOS7

    I have iphone5 and recently updated by iOS 7 but following features are not attractive as compared to that in iOS 6 1- Keyboard for SMS,E-mail,Notes,Calender, Reminder is not looking fine.It aws very good in iOS6 2-Home Screen is not attractive while

  • ME51N (create PR)  and on automatic-mode goto ME53N with new PR create

    HI ALL, i have other problem in ME51N... when I save a purchase requisition the requisition is created. The change that I need to do at this point is that I have to call ME53N with the  purchase requisition just created. I hope you know the resolutio