Variable Content Checker

Hi, I am trying to get this bit of code working,,,
The below code is meant to look into the first lot of variables and see if they are empty, if they are not the Boolean for that time is set to true. If not it stays as default ?false?.
Once this is done, it will go into a while loop, the variable locationMin and locationMax are the parameters of where the content is meant to be stored. Within the loop I have if statement that are meant to look within the location and see if there is content already within that variable. If content is found, it will move to the next location, until an empty location is found and this will make the Boolean ?false?.. This is done until all Boolean?s are false and the content is placed into an empty variable..
This is to stop writing over content already store previously, but it doesn?t seem to wont to work,.. Anyone with any ideas on what I am doing wrong.
Thanks
  public static void Location(String smnamet,String smstartt, String smfinisht,String smbreakt, String sdbreakt, String sanamet, String sastartt, String safinisht,  String sabreakt, String satbreakt,  String senamet, String sestartt,  String sefinisht, String sebreakt, int locationMin, int locationMax)
       //Setting them to the default value
       boolean m=false, a=false, e=false;
       //Checking if there is content within each section
       //m mean morning, a mean afternoon and e means evening
       if(!(smnamet.length() == 0))
            m = true;
       if(!(sanamet.length() == 0))
            a=true;
       if(!(senamet.length() == 0))
            e=true;      
       System.out.println("m "+m+" a "+a+" E "+e+ " Name m "+smnamet+" Name a "+sanamet);
      System.out.println("Min "+locationMin+" Max "+locationMax);
      //The loop will start at the veriable location start "Min" and
      //gone until it reaches the location end "Max"
      while(locationMin < locationMax){
            if(m == true){
                 //If the m Boolean is true (means content in storing variables)
                 //It will look at the location it will be store to see if it is empty,
                 //If empty it will change the Boolean to false and move onto the next section
                `//if not it will move up a location
                 if(smName[locationMin].equals(" ")) //length() == 0)//.equalsIgnoreCase(" "))//equals(" "))
                    m = false;
            else if(a == true){
                 if(saName[locationMin].equals(" ")){                     
                      //length() == 0)//equalsIgnoreCase(" "))//equals(" "))
                      a = false;
            else if(e == true){
                 if(seName[locationMin].equals(" ")) //.length() == 0)//equalsIgnoreCase(" "))//equals(" "))
                      e = false;               
            //This looks if each section ahs been checked and there is
            //No over writing of data within the main array variables
            if((m == false) && (a == false) && (e == false))
                 break;           
            //System.out.println(locationMin);
            locationMin++;      
      //The below code places the data into the correct location within the array and
      //in the correct variables
          if(!(smnamet.length() == 0)){          
               setMorning(smnamet, smstartt, smfinisht, smbreakt, locationMin);
          if(!(sanamet.length() == 0)){
               setAfternoon(sanamet, sastartt, safinisht, sdbreakt, sabreakt, locationMin);
          if(!(senamet.length() == 0)){     
               setEvening(senamet, sestartt, sefinisht, satbreakt, sebreakt, locationMin);     
     }

To fix it, it would serve you well to act like a debugger yourself, walking thru what the code would do given different sets of input.
Or you could run the code thru a debugger and step through what happens, noting where it does differently than you expected.
Or you could implement a "poor man's debugger", temporarily inserting liberal System.out.println statements in the code so you can watch, in a sense, what is happening at various points.
Any of the above are better for you in the end than just throwing your hands up in the air and asking someone here to try to find the problem(s).

Similar Messages

  • How to display the variable content in message?

    Hi anybody
    please let me know How to display the variable content in message?
    please send few lines of sample code to understand that
    thanks in advance

    Hi,
    Check out the link
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
    REPORT Y9020027 LINE-SIZE 130.    "Release 3.1G, 4.5A                  
    BREAK-POINT.
    MOVE: 'TESTREPORT for    "ASSIGN  FFeld+o(l)  TO  "        '     
            TO SY-TITLE.
          Declaration of variables    **********************
    FIELD-SYMBOLS <FS1>.
    DATA: FFELD8(8)   TYPE F VALUE '1022333'.   "Unusual: Explicit 8 bytes
    *DATA: ZFELD1(2)    TYPE N.            "Here slack bytes are (DW border)
                                         "necessary                      
                  "If you like computing error, please uncomment the above
    DATA: FFELDX(8)   TYPE F VALUE '7777777'.
    DATA: FFELDA(8)   TYPE F VALUE '7333213'.
    DATA: NFELDX(400) TYPE N.
    DATA: OFFX(4) TYPE I VALUE 160.
    DATA: LENX(4) TYPE I VALUE 8.
                  Main Section             *******************
        SKIP.
        WRITE: /5  'Example 1   **** inadmissible ASSIGN ***' COLOR 6.
        WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
      ASSIGN FFELD4+1(3) TO <FS1>.
        ULINE.
        SKIP 2.
        SKIP.
    ASSIGN FFELD8+8(8) TO <FS1>.     "<-- Assigning of variable  FFELDX  !!
        BREAK-POINT.
        WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
                  COLOR 3.
        WRITE: /5 'Example 2'.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDX      :', FFELDX.
        ULINE. SKIP 2.
        SKIP.
    ASSIGN FFELD8+16(8) TO <FS1>.    "<-- Assiging a few FFELDA to <FS1>  
        BREAK-POINT.
        WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
                  COLOR 3.
        WRITE: /5 'Example 3'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        ULINE. SKIP 2.
    BREAK-POINT.
       DO 4 TIMES.
         ASSIGN FFELD8+OFFX(LENX) TO <FS1>.     "Zuordnung auf OFFX zu <FS1>
            WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
                      COLOR 5.
             WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
             PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
             WRITE: /10 'Content of NFELDX145(40)  :', NFELDX145(40).
             ULINE. SKIP 2.
             ADD 8 TO OFFX.
       ENDDO.
                   Subroutines             *******************
               Display of data fields and field symbols                  *
    FORM DISPLAY-FFELD USING FFELD FNAME.
    WRITE: /10 'Content of', FNAME, ':', FFELD.
    PERFORM FELDEIGENSCHAFTEN USING FFELD.
    WRITE: /10 'Content of <FS1> :', <FS1>.
    PERFORM FELDEIGENSCHAFTEN USING <FS1>.
    ADD   111    TO <FS1>.               "<-- Das Feldsybmol wird verwendet
    WRITE: /10 'ADD 111 TO <FS1>'.
    ULINE.
    WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
    WRITE: /10 'Content of <FS1>',  35 ':', <FS1>.
    ENDFORM.
       Determination of field properties (only for information)          *
    FORM FELDEIGENSCHAFTEN USING ALLG.
    DATA: FLAENGE(2) TYPE N.
    DATA: FTYP(1) TYPE C.
    DATA: FOUT(2) TYPE N.
    DATA: FDEZ(2) TYPE N.
      ULINE.
      DESCRIBE FIELD ALLG LENGTH FLAENGE.
      WRITE: /10 'Field length  :', FLAENGE.
      DESCRIBE FIELD ALLG TYPE FTYP.
      WRITE: /10 'Field type    :', FTYP.
      DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
      WRITE: /10 'Output length :', FOUT.
      DESCRIBE FIELD ALLG DECIMALS FDEZ.
      WRITE: /10 'Decimals      :', FDEZ.
      SKIP 1.
    ENDFORM.
    END OF PROGRAM *************************************

  • Header variable: Content Disposition for downloading file over HTTP?

    Hi All,
    I have a general content server question...Is there anyway to pass a parameter or set a setting on the content server to send the file with the header variable content-disposition set so that when a user selects a file within a browser, it doesn't open in place but asks the user whether they want to open or save the document?
    Note - I'm actually using this with ArchiveLink and displaying the link in the Portal but this forum seems the closest I can get to asking this question.
    Regards,
    Matt

    Thanks Athol.
    Although there's quite a bit of configuration options there for displaying files, there doesn't appear to be anything that let's you manipulate the HTTP header variables to set content-disposition.
    Any other ideas?
    Cheers,
    Matt
    ps. If you want to artificially see the behaviour I'm after, within IIS, you can predefine this header variable for the contentserver.dll but this makes every HTTP request act like a file that wants to be downloaded, and it calls every file contentserver.<suffix>. From a user perspective, there's nothing worse than a document opening in place in your window (losing the underlying application), or within another IE window, hence why I'd like it to act like a file download.

  • Document Date - System Variable - AP Checks?

    Hi Experts,
    I have searched for previous queries in the SDN B1 forum regarding my query.
    I need  to use a system variable in the cheque print area instead of posting date of documents the DOCUMENT DATE is required. I cannot find a  DOC. Date system variables
    Please can onyone highlight me if SAP has released a new System Variable list that include DOCUMENT DATE. The below links are what i had searched on.
    [PLD Check Print - System variable for document date and amount;
    [System variables in Check format;
    Is this an limitation on variables?
    Thanks,
    Raju

    Hi Raju,
    as a workaround you can do the following
    1. create a UDF in the Paid Document section, of a Date type
    2. create a user defined value :
    SELECT  case $[$20.45.1]
              when 18 then   (SELECT T0.[TaxDate] FROM   OPCH T0 WHERE
    T0.Docnum = $[$20.1.0])
              when 19 then   (SELECT T0.[TaxDate] FROM   ORPC T0 WHERE
    T0.Docnum = $[$20.1.0])
    end
    set the trigger to be when when field change: on customer / vendor code
    In the check PLD show this UDF. Use the table VPM2 : Outgoing payments - invoices, column : your UDF
    Hope this helps
    Chris

  • SMARTFORM - Part of variable content missing in otf file

    Hi colleagues,
    In my smartform, I have variables, defined as STRING, which contains HTML coding to generate URL links in the final document.
    The variable is correct and ends with '</a>'.
    But in the otf file, the result is sometimes wrong. The variable is splitted into several lines (no problem), but the last line is somehow shorted... I only get '</'.
    Due to that, end of URL is not recognized and the whole content below this unless link appears as part of the link.
    This seems to be related to the length of the variable content.
    If it is short enough (but this I could not insure), the code is complete and everything works fine.
    Does this means that my url should be splitted to never exceed a certain limit (254 or 255 chr).?
    thansk for your help,
    Barbara

    Hi,
    Thanks for feedback.
    Lengh is the issue. If I split the single varaible into several to only have 255 chars in each of them,  it is possible to not loose part of the content.
    I try to put the two variables (part1 and part2) on the same line in SMARTFORM without any separators. This has exactly the same effect than if I use one varaible which exceed 255 chars. The content of the 2nd one is lost in the OTF.
    I then insert a blank between them, and I do not loose anything in the OTF.
    Unfortunatelly, due to the separator, the URL is also split in 2 parts on my final content, which is not really good.
    Splitting the label is not beautiful, but not dangerous. Adding one space in the URL may leads to not working link.
    I will try to consider this issue when preparing the content from the OTF file.
    If you have any hints what to consider, I would appreciate.
    Kind Regards,
    barbara

  • CFPOP and the FROM variable content

    I use CFPOP with no problem,
    except that when I send from my OutLook,
    the FROM variable content is a name (my name)
    not an Email adress.
    I need the Email adress like : [email protected]
    which is the unic identifier
    I am under CF 7 (or CF 8)
    How to get the Email adress in the  "from" variable of the CFPOP ?
    Thanks to any help
    plarts
    Messages: 6
    Inscription: Dim 21 Mar 2010 17:26
    Message privé
    E-mail

    I send (myself, as an example, could be anybody else) a mail to an Email address xxxx,
    With CFpop I want to get this mail and identify the sender with the Email adress (in the from variable).
    So in the "from" variable of CFpop , I should get the Email adress of the sender.
    Then 2 cases :
    - If the mail is sent from Outlook , the "from" content have the name of the person (not the Email adress)
         (and different person can have the same name)
    - If the mail is sent from a Webmail, the "from" content has the Email adress (format [email protected])
         (the email adress is unique)
    And I need the Email adress (not the name of the sender) to Identify the person in the DataBase.
    Hope, this is clearer ?
    Thanks for your help.
    Pierre

  • Is it possible for fragments to contain variable content?

    Hi everyone,
    I've been looking at using fragments to help with maintaining form consistancy. We have about 25 forms which all use the same template. Our company just changed our slogan, which is included in the footer of the master page. Now I find myself having to go through all 25 forms to update the slogan. This sounds like a perfect job for fragments.
    I would like to have one fragment for the entire header, and a second fragment for the entire footer. My issue is that each form has a different title in it's header, and a different document reference number in the footer. Idealy, I would like to be able to set up variables associated with my fragment, then use some javascript to update the fragment content.
    A part of me thinks that this goes against the very nature of fragments... but I wanted to ask to be certain. It would just be so much cleaner than the alternative... I could, for example, just include the static text that will be the same across all forms, and leave variable content outside of the fragment (but still a part of the template). That way, if I ever had to change to logo, I could, but I would still be able to manually specify a title and document number.
    My only concern with the above is; what if I am asked to change the font of the title in all forms. If I could somehow use a fragment, it would be very easy. I know that we have about 120 forms planned... I would hate to have to update each individually if it was something I could avoid.
    Thanks for your help!
    Bonus Question:
    Is there a faster way to batch 'refresh' an updated fragment than to open each form in Livecycle Designer and resave? True, it's a lot faster than manually making the changes to each form, but it would still be nice not to have to open each form to update them.

    Well, as I was writing the above question, I had an idea as to how I mihgt be able to acheive this... I tried it and it worked.
    In my master page, I he turned my entier header into a fragment. In the header is an empty text field that I have formatted to look as I want the title text to appear. Also in my master page is a "FormOptions" subform with text fields for each 'variable' such as title.
    In the Title text field in the fragment, in the initialize code I've used:
    this.rawValue = FormSettings.Title.rawValue;
    this.access = "readOnly";
    Now, when I create a new form, I can set the default values of the 'variable' text boxed to the appropriate values, then hide the "FormOptions" subform from view by setting it to invisible. I haven't had much of a chance to test, but it looks to work well. I've also mathe "FormOptions" subform and it's child fields to have no data binding, so that the exportable xml of the form doesn't get cluttered up.
    If anyone can think of a less convoluted method, I'd still love to hear it. I am also still interested in hearing about fater ways to updated multiple forms when I edit a fragment.

  • Sytsem Variable for Check Register Report

    Hi all.
    Does any one know which Sytsem Variable for Check Register Report that will show the total for the FC amount.
    The one on our report now shows the System Variable 62 which is system currency

    Hi,
    I believe there is no other System Variable for Check Register Report.  It is because you can have many different currencies within the same report.  Just like Multi-currency BP, only LC can be used.
    If you check system information on the screen, you could also find this variable 62 there.
    Thanks,
    Gordon

  • Contents Check Problem

    Hi,
    Not sure if anyone is able to assist but I am unable to run a Contents Check on one of my PO's - typically it's a PO that I could really do with checking mailbox sizes for. When I generate the check in Console One and set my e-mail address as the CC I just never get anything (nor does the administrator account) and if I ever try a standalone check using GWCheck after a couple of days of running the application hangs!
    Basically I need to check the accounts on that PO to see if any are failing to archive for any reason, so checking the mailbox size is the easiest way to do this.
    Are there any other ways to check this other than logging into each of the 278 accounts currently on the PO?
    Thanks in advance
    Mike

    Matthew
    That is really helpful information for me, I didn't know any of that
    before - I guess like a lot of people I ended up supporting our Groupwise
    messaging system as everyone else saw it as a "poison chalice" and didn't
    want to touch it - so all I have learnt so far has been on the job! I find
    it very interesting though :-)
    I can see from the last .ckl file that the check is still running through
    one of the Message databases. A dumb question now but if I want to get the
    details off the PO of user account sizes I assume when I run the Contents
    check I select both the User and Message databases? Or can I just select the
    User database? I have a rough idea of how messages are stored for users etc.
    Kind regards
    Mike
    "MPlumb" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi Mike
    >
    > Does the contents check actually start to run on the POA when you kick
    > if off via ConsoleOne? Sometimes the ngwcheck.db in the post office gets
    > screwed and doesn't accept new jobs.
    >
    > I usually just delete/rename the file and try to launch a new GWCheck
    > job. You'll be able to see if it's running by a long standing file queue
    > on the POA screen. Once the contents check has gone through all the
    > OFFILES folders it will then spawn the individual user checks and you'll
    > see a whole heap of file queues on the POA. If you check in the folder
    > path-to-po\wpcsout\chk\ you'll see a .ckl file with a current (or very
    > recent) date/timestamp. If you copy this elsewhere (you won't be able to
    > open it directly) and open it in Note/Wordpad you'll see how far it's
    > got through the process.
    >
    > Our contents checks on one huge post office take up to 5 days to run on
    > the server. The majority of the time is in the first part of the process
    > when it's going through the millions of files in OFFILES, checking the
    > ckl file will give you an idea of where it's at.
    >
    > Like you're experiencing if we try a standalone job it always
    > crashes...
    >
    > Matthew
    >
    >
    > --
    > MPlumb
    > ------------------------------------------------------------------------
    > MPlumb's Profile: http://forums.novell.com/member.php?userid=2199
    > View this thread: http://forums.novell.com/showthread.php?t=441192
    >

  • URL Validation & Content Checking

    Hi All
    I'm new to Cold Fusion, in fact Web Programming itself and
    would like to get some help from the members here.
    I'm looking for some ideas/suggestions on how to check the
    content of the URL.Is there any way to capture to raw url from the
    browser at any given point in time?
    I did check the #cgi.querystring# variable, but it returns
    null string.
    thanks

    jdeline wrote:
    > ... one other case that excapes me.
    >
    also from a link in an email message...
    Azadi Saryev
    Sabai-dee.com
    Vientiane, Laos
    http://www.sabai-dee.com

  • How to get content check in info

    Hi,
    I have created a custom check in form and it contains few fields and on is redirected to confirmation page. In the confirmation page, I want to display
    the content id, title, author date,keywords all from the previous screen where user entered the values.
    I am using the following method to get the info but its not working.
    ***************************Check In page**************************************************************************************
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!--$include ss_layout_head_info-->
    <title>(untitled)</title>
    <script id="ssInfo" type="text/xml" warning="DO NOT MODIFY!">
    <ssinfo>
    </ssinfo>
    </script>
    <script type="text/javascript">
    var checkinService = "CHECKIN_NEW";
    function postCheckIn(form)
         alert("insde js")
    form.IdcService.value = checkinService;
    form.dSecurityGroup.value = form.SecurityGroup.value;
    alert(form.SecurityGroup.value);
    form.dDocType.value = form.DocTypes.value;
    alert(form.DocTypes.value);
    form.dAuthor.value = form.Authors.value;
    alert(form.Authors.value);
    form.submit();
    </script>
    </head>
    <body>
    <form name= "Checkin" enctype="multipart/form-data" method= "post" action = "/idc/idcplg">
    <input type = hidden name = "IdcService"/>
    <input type = hidden name ="primaryFile"/>
    <input type = "hidden" name ="dSecurityGroup">
    <input type = "hidden" name = "dAuthor">
    <input type = "hidden" name = "dDocType">
    <input type =hidden name= "RedirectUrl" value= "http://localhost:7771/marketingkitportal/index.htm"/>
    Title<input type="text" name = "dDocTitle"> <br>
    <!--Generating security group from content server -->
    security group <select id="SecurityGroup" name="SecurityGroup">
    <option selected value="0">
    - please choose one -
    </option>
    <!--$rsMakeFromList("estSecurityGroup","securityGroups","estSecurityGroupName")-->
    <!--$ loop estSecurityGroup -->
    <option value="<!--$estSecurityGroupName-->"><!--$estSecurityGroupName-->
    </option>
    <!--$ endloop -->
    </select>
    <br>
    <!-- Generating doc authors from content server -->
    Author <select id="Authors" name="Authors">
    <option selected value="0">
    - please choose one -
    </option>
    <!--$rsMakeFromList("estAuthors","docAuthors","docAuthorName")-->
    <!--$ loop estAuthors -->
    <option value="<!--$docAuthorName-->"><!--$docAuthorName-->
    </option>
    <!--$ endloop -->
    </select><br>
    <!-- Generating document types dynamically that are available in contnet server -->
    Type <select id="DocTypes" name="DocTypes">
    <option selected value="0">
    - please choose one -
    </option>
    <!--$rsMakeFromList("doc_types","docTypes","docTypeName")-->
    <!--$ loop doc_types -->
    <option value="<!--$docTypeName-->"><!--$docTypeName-->
    </option>
    <!--$ endloop -->
    </select>
    <br>
    PrimaryFile1<input type = File name = "primaryFile"> <br>
    Confidentiality: <select name="xConfidentiality" id="xConfidentiality" style="WIDTH: 250px">
    <option value="0" selected>
    Please select one
    </option>
    <!--$rsMakeFromList("estConfidentiality","xConfidentiality.options","confidentialityName")-->
         <!--$loop estConfidentiality -->
         <option value="<!--$confidentialityName-->"><!--$confidentialityName--></option>
         <!--$endloop-->
    </select>
    <input type=button name=javaSubmit value="Check In" onClick="postCheckIn(this.form)"> <br>
    </body>
    </html>
    ***************************Confirmation page************************************************************
    <h2>Check In Confirmation for '<!--$dDocTitle-->'</h2>
         <!--$executeService("DOC_INFO")-->
         dID                         : <!--$getValue("DOC_INFO","dID")-->
         Content ID                : <!--$getValue("DOC_INFO","dDocName")-->
         Title                    : <!--$getValue("DOC_INFO","dDocTitle")-->
         Checked in by          : <!--$getValue("DOC_INFO","dDocAuthor")-->     
    Edited by: AbhijijitPr on Jun 2, 2010 6:00 PM

    Hi Thanks for the help.
    Can you also let me know if this is correct what I am doing.
    1. I created a custom confirmation template named "CHK_IN_CONFORM"(this is content ID) file name is "marketingportalcheckinconfirmation.hcst"
    2. I have put for RedirectUrl value as :
    document.getElementById('RedirectUrl').value="http://localhost:7771/idc/idcplg? IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=chk_in_conform&dID=<$dID$>&dDocTitle=<$url(dDocTitle)$>";"
    3. But when I submit, it says me "Referenced source HTML page not found. Unable to find the template page of form type 'chk_in_conform'."
    4. But when I change the IP and try to redirect I am able to see the dID and docTitle.
    5. Only Issue is to redirect to template page.
    If you can help me it will be great.
    Thanks,
    Abhijit

  • Binary file content check fails!

    Hello,
    I am finding it hard to capture the content of a binary file.
    Here is my code:
      if(!(null == myInstance.getBin_File().toString()) 
                              && !(myInstance.getBin_File().toString().equals(""))){ 
         //    Do something 
        }else{ 
        // Do something else. 
        }  When the binary file is blank, control still goes into "if" instead of "else"!!!!
    How should I change the "if" condition so that, whenever the binary file is blank, I wanna execute "else"
    Thanks
    Srinivas

    The purpose of toString() is (supposed to be) to return a string identification of the object. That doesn't necessarily mean the contents of the object; in fact, it normally wouldn't. For example, suppose an object holds a 100,000-word dictionary. It's toString() response could appropriately be "[100,000-word widget dictionary]", and not every word in the dictionary.
    So, if you're checking to see if the "xstring", whatever that is, is empty, then using toString() is almost certainly not the way to go, and only would be if "xstring" is really poorly designed and you shouldn't use it anyway.

  • Error during new content check-in

    Hi
    I am getting the following error message during new content item check-in "Unable to execute service CHECKIN_NEW_SUB and function validateCheckinData. The error was caused by an internally generated issue. The error has been logged". Any idea what's gone wrong....is it services configuration file being corrupted? or where do i need to update the query or information pertaining to DdeletedRows.
    kindly let know the fix for this issue. thanks
    below is the stack trace of error.
    Event generated by user 'weblogic' at host 'localhost:16200'. Unable to execute service CHECKIN_NEW_SUB and function validateCheckinData.
    Unable to find query or idc data source with 'DdeletedRows'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,punitp222336d:16200!$!csServiceDataException,CHECKIN_NEW_SUB,validateCheckinData!$!csUnableToFindQueryOrIdcDataSource,DdeletedRows
    intradoc.common.ServiceException: !csServiceDataException,CHECKIN_NEW_SUB,validateCheckinData!$
    *ScriptStack CHECKIN_NEW_SUB
    3:doScriptableAction,dDocName=3:doSubService,dDocName=CHECKIN_NEW_SUB,dDocName=3:validateCheckinData,dID=3801,dDocName=ADSIC003801
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2326)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
    at intradoc.server.Service.createServiceException(Service.java:2315)
    at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1766)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1716)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
    at intradoc.server.Service.executeSubServiceCode(Service.java:4023)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:4018)
    at intradoc.server.Service.executeService(Service.java:4002)
    at intradoc.server.Service.doSubService(Service.java:3912)
    at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.Service.doScriptableAction(Service.java:3964)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:528)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1956)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1354)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1731)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1704)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: intradoc.data.DataException: !csUnableToFindQueryOrIdcDataSource,DdeletedRows
    at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:578)
    at urmagent.UrmAgentFilters.removeDeletedRows(UrmAgentFilters.java:249)
    at urmagent.UrmAgentFilters.updateExtendedAttributes(UrmAgentFilters.java:192)
    at urmagent.UrmAgentFilters.doFilter(UrmAgentFilters.java:71)
    at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
    at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    at intradoc.server.DocServiceHandler.updateExtendedAttributes(DocServiceHandler.java:1972)
    at intradoc.server.DocServiceHandler.validateCheckinData(DocServiceHandler.java:1686)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:603)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    ... 78 more

    Hi Mohan,
    First you may want to check if this error is surfaces in other environments as well or this is the only environment where you are seeing this.
    If it does not work only in this environemnt you may want to have a look at the counters table and check if all counter are good.
    also if any of the values are hardcoded you may wnat to check if they conflict with something in the UCM.
    also cehck ther permission of ther service that you are calling.I hope you are calling CHECKIN_UNIVERSAL.
    hope it helps.
    cheers,
    swapnil

  • Indesign CS3: Variable content and Excell

    Hello everyone!
    I need to create an A5 spread booklet that contains price lists and  product specifications. (see example.) The content will be available in  different languages and for different regions.
    The content on the left is always the same, the content in the tables  on the right is variable. (Price differences between Canada,  Germany, France or even North- and South France etc.)
    I'd love to be able to "data merge" the content into the tables. But I  do not how to combine datamerging and Tables. Heck I'm not even sure if  that's the preferred way of doing things.
    Another kicker, I don't always know the amount of rows/columns needed  beforehand.
    Example:
    http://i231.photobucket.com/albums/ee108/BiefstukFriet/voorbeeldautomatischtabelcontentaan.jpg
    I reckon there is no need for reinventing the wheel. Can you guys to  help me out?
    Thanks!
    Jaime

    I´ve delved into XML and have written the code shown below.
    I've been able to import all the data into a  bunch of replicated text frames using tags .
    But  I've been unable to repeat the process with Tables. On top of that,  when adding a Tag to text in a table, a couple of new Tags are created,  like "Cell", "Story" and "Table". I'm not sure what use they are, as  they're not listed in my XML code.
    Is it not possible to populate a table in this manner, or am I missing something?
    <?xml version="1.0″ encoding="UTF-8″ standalone="yes"?>
    <Article01>
        <ArticleData>
            <ArticleNumber>GH0211</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 1</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0212</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 2</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0213</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 3</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0214</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 4</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0215</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 5</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0216</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 6</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0217</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 7</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0218</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 8</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0219</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 9</Description>
            <Price>20.000</Price>
        </ArticleData>
        <ArticleData>
            <ArticleNumber>GH0220</ArticleNumber>
            <Description>Lely Bla Bla Bla XX 10</Description>
            <Price>20.000</Price>
        </ArticleData>
    </Article01>

  • Oracle Service Bus business service - How to disable XML content check.

    Hi All,
    Dear Experts I have the necessity to disable the check on the XML content when message is forwarded to external system by on Oracle Service Bus Business Service to avoid that the XML content as string that I inserted in message is wrapped with the CDATA[[.
    Thanks a lot,
    Mike

    There is no explicit option to disable the check on the XML content.
    But the you can use Messaging Service of type Text request which will consider the data as string and so there will be no check.
    If you want to use WSDL/AnyXML/AnySOAP proxies, the XML check is always carried when the $body varaible is not checked/modified when content streaming is enabled while creating the proxy. I'm quite sure HTTP transport supports content streaming and the stream from the input is directly given to BS with out realizing the XML. Only short coming is it should be a pure pass through and no data enrichment and any action in pipeline that requires realizing the XML from the stream.
    Let me know if this helps.
    Thanks
    Manoj

Maybe you are looking for

  • Blue screen error when connecting an ethernet cable

    I have a Compaq Presario 5300US desktop that I'm trying to upgrade.  It has 512mb (max) of memory and a newer video card than the factory one.  I installed Vista Home Basic on it with no problems.  I also installed a pci ethernet card along with the

  • About Live Captions on an image box in CS 5.5

    I am trying to automate part of my workflow. I need to pull in the image name and dimensions when I place an image into my template. The image is usually a pdf, but may be an eps. Getting the name to register is no problem, but when I load an image I

  • Pricing Schema for Project System

    Dear Sappers, I'm configuring Pricing Schema for Project System(PS) module. The requirement is, the schema will be in such a way that it supports both excise, CST, VAT and service tax. In PS module the user raises a Purchase Order having procurement

  • Lose sound with optical speakers after using DVD Player

    For some reason when I launch DVD Player my sound will stop on all other applications. Quitting DVD Player won't fix this either. In iTunes, the song won't even begin playing. I've tried checking Audio MIDI Setup, and for my ouput I'm only allowed to

  • Using Adobe Standard as default application

    I had to download Adobe Reader for a document that I wanted to open and read.  After doing this, the reader has become the default for opening all PDFs instead of my Adobe Standard.  Now, in order to open a PDF in standard so I can work on it, I have