Check Information is already exist in Check Management

Hi,
I have created a wrong Check lot in T.Code FCHI i.e. 492800 - 493000     insted of  4926800 - 4927000
I realized after generating the checks till 492807 then I Voided the remainng checks (492808-493000)with the reason Test printing. and created new check lot with correct number 4926800 - 4927000 and created these all checks manully from FCH5 and check register also updated
Then after we created a check lot 4928000 - 4928200 and checks generated without any problem till 4928079
But when i create check information for the check number 4928080 system is giving Message " The check information already exists in check management. Changes have been saved " . If  I try to display the Check information from FCH1 for the check 4928080 it is displaying the Chek lot 492808 - 493000 which i voided earlier with th reason Test Printing....
I am unable to update the check register whenever i create a check .... its always saying
Invalid Check lot  492808 - 493000
Void reason - 1 (Test Printing)
Voided on DD/MM/YYYY
Voided by USER NAME
I am really surprised why system is behaving like this even the check number is not falling in to the voided check lot
Please suggest..
Regards,
Shivaji

resolved

Similar Messages

  • How can we check the data already exists in database

    hi friends
    i am trying create one procedure to add customers in database with customer id as input parameter..but if in the database customer detail already exists than i would like to update that detail and if its not in the database than i would like to add that detail in the databse...how could i do this ...
    any help wpould be appreciate
    thanks
    rommy

    Hi,
    If your requirement is to insert in one table and if the record exists insert into other table the merge statement doesn't work
    Example (please check the column name and parameter names). I don't put commit or rollback because I don't know if you control the transaction inside this procedure or outside it.
    CREATE OR REPLACE PROCEDURE add_cust(I_CUST_ID        IN VARCHAR2,
                                         I_CUST_F_NAME    IN VARCHAR2,
                                         I_CUST_L_NAME    IN VARCHAR2,
                                         I_CUST_ADD       IN VARCHAR2,
                                         I_CUST_CITY      IN VARCHAR2,
                                         I_CUST_STATE     IN VARCHAR2,
                                         I_CUST_ZIP       IN VARCHAR2,
                                         I_CUST_DOB       IN DATE,
                                         I_CUST_          IN VARCHAR2,
                                         I_CUST_ACCT_TYPE IN VARCHAR2,
                                         I_START_BAL      IN NUMBER) IS
    BEGIN
       INSERT INTO CUSTOMERS C
          (CUST_ID,
           CUST_F_NAME,
           CUST_L_NAME,
           CUST_ADD,
           CUST_CITY,
           CUST_STATE,
           CUST_ZIP,
           CUST_DOB,
           CUST_)
       VALUES
          (I_CUST_ID,
           I_CUST_F_NAME,
           I_CUST_L_NAME,
           I_CUST_ADD,
           I_CUST_CITY,
           I_CUST_STATE,
           I_CUST_ZIP,
           I_CUST_DOB,
           I_CUST_);
    EXCEPTION
       WHEN DUP_VAL_ON_INDEX THEN
          INSERT INTO CUSTOMER_ACCT
             (CUST_ID,
              CUST_ACCT_NO,
              cust_acct_type)
          VALUES
             (I_CUST_ID,
              CUST_ACCT_SEQ.NEXTVAL, -- CUST_ACCT_SEQ is a sequence, isn't?
              I_CUST_ACCT_TYPE);
    END add_cust;Regards,

  • How to check if file already exist in application server?

    Hi there,
    Does anyone know a quick way to check if a file has already exists in an application server?
    Thanks in advance.
    Cheers.

    Call the function PFL_CHECK_OS_FILE_EXISTENCE.
    Best regards Jack
    FUNCTION PFL_CHECK_OS_FILE_EXISTENCE.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"              FULLY_QUALIFIED_FILENAME LIKE  TPFHT-PFFILE
    *"       EXPORTING
    *"              FILE_EXISTS LIKE  BTCH0000-CHAR1
      OPEN DATASET FULLY_QUALIFIED_FILENAME FOR INPUT.
      IF SY-SUBRC EQ 0.
         FILE_EXISTS = 'X'.
         CLOSE DATASET FULLY_QUALIFIED_FILENAME.
      ELSE.
         CLEAR FILE_EXISTS.
      ENDIF.
    ENDFUNCTION.

  • How to check if nativemenu already exists?

    In my simple example below, everytime you click on the link to reload the page, a new nativemenu is created along with the one that was already there... Click the HOME-INDEX link multiple times and you will see multiple copies of same menu pop up along the top.
    How can I check to see if the menu already exists, so that it is NOT recreated everytime?
    Using Air 1.5 on Win XP Pro.
    Thanks
    INDEX.HTML FILE;
    <html>
    <head>
      <title>index.html example</title>
      <script type="text/javascript" src="includes/AIRAliases.js"></script>
      <script type="text/javascript" src="includes/AIRMenuBuilder.js"></script>
      <script type="text/javascript">
        var MainMenu = air.ui.Menu.createFromXML("source/MainMenu.xml");
        air.ui.Menu.setAsMenu(MainMenu);
      </script>
    </head>
    <body>
      <h1>index.html example</h1>
      <br>
      <a href="index.html">HOME-INDEX</a>
    </body>
    </html>
    SOURCE/MAINMENU.XML FILE:
    <?xml version="1.0" encoding="utf-8" ?>
    <root>
        <menuitem label="File">
            <menuitem label="Close" onSelect="doFileClose"/>
        </menuitem>
        <menuitem label="Help">
            <menuitem label="About" onSelect="doHelpAbout"/>
        </menuitem>
    </root>

    I have not been able to figure out how to determine if the meny already exists or not, but I did come across using this:
    var _MainMenu = air.ui.Menu.createFromXML("source/MainMenu.xml");
    air.ui.Menu.setAsMenu(_MainMenu, true); //2nd paramter is Overwrite=true
    instead of this:
    var _MainMenu = air.ui.Menu.createFromXML("source/MainMenu.xml");
    air.ui.Menu.setAsMenu(_MainMenu);//No second parameter specified, so assumes Overwrite=false
    Adding the 2nd 'true' parameter still causes the menu to be created everytime, but it will OVERWRITE the previous menu, so there will only ever be one instance of the menu.
    Depending on the size of the menu, it would probably be less cpu intensive to just use somekind of IF statement to determine if it already existed, but if that does not exist, then this is the only alternative I can find right now.
    Thanks

  • How to check if Message already exists in the queue and if message is processing currently

    Hi everyone
    I am new to Azure and worked on adding messages to the queue through workerrole1. Worker role 2 pulls them out from queue and processing them and de-queing them.
    Worker role1 runs method gets called after every 10 seconds and puts messages in queue
    CloudQueueMessage
    message = newCloudQueueMessage(oAzureWorker.WorkerInstanceOf
    + "_"+ oAzureWorker.AgentId.ToString()
    + "|"+ ExecutionId.ToString());
                                    queue.AddMessage(message);
    Worker role2 runs method gets called after every 10 seconds too and checks the queue like this
    foreach
    (CloudQueueMessagemessage
    inqueue.GetMessages(20,
    TimeSpan.FromMinutes(5)))
    // Process all (20) messages in less than 5 minutes, deleting each message after processing.
    // Process message
    queue.DeleteMessage(message);
    Following are my questions
    1) How do I check in worker role1 if the message is already in queue, Because I don't want to queue it back again if its not yet processed and is in the queue already
    2) How do I check in worker role1 if the message is currently processing. Because I don't want to queue it back again.
    3) How do I make sure that ALL the messages get processed in the order they are inserted. I know Queue is FIFO, but I know if the message gets delayed in processing another instance can pick it up, even if it gets picked up by another instance, I want to
    make sure that the order remains.
    Right now the instances of both these worker roles are 1, in the future when we increase them, I don't want them to queue the same messages multiple times or queue them if the message is already in process mode.

    Hi Sarah,
    I agree to the Frank's suggestion. Why you need to burden the worker role 1 to check if the message really sits on the queue or not? You can do this simply in your code before pushing it on queue instead querying queue.
    All you need to do on worker role 1 is - push the message on the queue and forget as the entire queue design in azure is designed from asynchronous processing.
    About worker role 2 - Use the GetMessage method which hides retrieved message's from other clients and hence makes sure that only one client is processing it at a time. If processing is successful - delete the message. if it is not - the message will be
    visible anyways after the mentioned time provided in the GetMessage method.
    I agree that when you will increase number of instances of your worker role 1 which might insert duplicates in the queue - in that case - you might need to introduce the shared entity (like database) and let all instances communicate through it to avoid
    the duplication of messages on queue. 
    Bhushan | http://www.passionatetechie.blogspot.com | http://twitter.com/BhushanGawale

  • Cannot check if user already exists in Shared Service (9.3.1)

    Hi,
    I wrote some code based on the sample from 9.3.1 CSS documentation for adding users for shared services.
    Thing is that I need this script to determine if a user exists or not so it won't go through the creation code again.
    So, from the code:
    public class UserFunctionsSample extends Sample {
    public CSSNativeUserIF createUser() throws CSSException
              CSSNativeUserIF user = null;
              HashMap context = new HashMap();
         user = cssDMAPI.getNativeUserInstance(context, principal);
         user.setLoginName("testuser" );
         user.setDescription("Created for test");
         user.setFirstName("First");
         user.setLastName("Last");
         cssDMAPI.addNativeUser(context, principal, user);
         cssDMAPI.setPassword(context, principal, user.getIdentity(),"testuser" );
         return user;
    public static void main (String [] args) throws CSSException{
                   /* Create a native user */
                   UserFunctionsSample cu = new UserFunctionsSample();
                   CSSNativeUserIF user = cu.createUser();
    I have Sample.java and ApplicationContract.java set up.
    What I tried to do is to use the following code (also taken from the same sample) just before calling createUser()
    CSSNativeUserIF user = cu.createUser();
    to determine if user exist.
    /*lookup the user just created by identity */
    CSSNativeUserIF u = cu.lookupUser(user.getIdentity());
    cu.dumpUsers(System.out, "Found user", new CSSNativeUserIF[]);
    For some hidden reason, I keep getting:
    Exception in thread "main"
    Error Code: 4
    com.hyperion.css.CSSInvalidUserException: User not found with identity: native://DN=cn=32687d765b75fb16:13778f33:12684aee8f5:-8000,ou=People,dc=css,dc=hyperion,dc=com?USER     Error Code: 4
         at com.hyperion.css.spi.impl.nv.NativeProviderDirMgmt.getNativeUserByIdentity(Unknown Source)
         at UserFunctionsSample.lookupUser(UserFunctionsSample.java:101)
         at UserFunctionsSample.main(UserFunctionsSample.java:123)
    User was created successfully at the previous run. Why can't I find it now? What am I missing here?
    Thanks, Assaf

    Hmm, tried that and now have more build errors in the finally section.
    init:
    deps-jar:
    Compiling 1 source file to C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\build\classes
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:57: cannot resolve symbol
    symbol  : variable rst
    location: class foo.FormBean
                if (rst != null) rst.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:57: cannot resolve symbol
    symbol  : variable rst
    location: class foo.FormBean
                if (rst != null) rst.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:58: cannot resolve symbol
    symbol  : variable stat
    location: class foo.FormBean
                if (stat != null) stat.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:58: cannot resolve symbol
    symbol  : variable stat
    location: class foo.FormBean
                if (stat != null) stat.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:59: cannot resolve symbol
    symbol  : variable conn
    location: class foo.FormBean
                if (conn != null)  conn.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:59: cannot resolve symbol
    symbol  : variable conn
    location: class foo.FormBean
                if (con != null)  conn.close();
    6 errors
    BUILD FAILED (total time: 1 second)Just for a quick test, I deleted the sql exception and finally code and replaced it with a regular exception just to see what happened and got no build errors, however when I run the form I am getting an sql exception from the prepared statement, parameter out of range (1 > 0). I tried reading into prepared statements, and although I now understand their basics, I still have no idea why I'm getting this error?

  • Print the Check information in the AP pay check only in first page

    Hi All,
    I am using embedded BI publisher to develop RTF template. I have a requirement,
    I have to print a AP Pay check using BI publisher desktop tool.
    At present I am printing the invoice lines and then printing the check info in the last page. But our client requirement is to print the check info in the first page itself.
    I divided the page into two parts. First part is to print the invoice details and second part is to print the check info.
    In the first part I am print at max 40 lines. if at all one check doesn't have 40 lines then I will fill the empty space for the remaining lines.
    If at all the details have more than 40 lines I will break the page at 40th line and print the renaming lines in the second page.
    I want to print the check details at second part of the first page.

    As I understand, you have one header which is set to appear every alternate page. Now you have another content which you want to show only on first page. In that case any content.. say an image, which is there on the page will appear only once.. (unless it is placed in the header section of RTF). It seems you have invoice number and address which should appear only on the first page of invoice... so just keep these two items at the top of the body of the RTF (not in the header). Just make sure that it is enclosed within the for-each-group@section logic, so that whenver the new invoice number appears it moves to a new page and you will see the address and invoice number there.

  • Messages fail in PI with error "Message ID already exists in database"

    Hi Guru's,
    The scenario is from FILE->PI->MDM .
    Few messages fail in PI with the error Message ID 415a6324-dd3d-11e3-94e0-00000613e84e already exists in database .
    I have already seen the SAP NOTE : 1361305 , My doubt is if this error is any way related to MDM side issue or anything else.
    Please help me out .
    Attached the full trace in PI :
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.lib.ra.cci.XIAdapterException: System error: Message ID 415a6324-dd3d-11e3-94e0-00000613e84e already exists in database: com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SAPSR3DB.I_XI_ID_MAP_ID1) violated OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION]

    Hi Gowtham,
    Can you check once whether message gets failed after it is automatically restarted.
    Check traces for each defined pipeline.
    I think, at first message got failed due to some reason (i forgot the reason for my case) and when it automatically restart it fails saying message id already exist. Check the root cause why it failed for the first time.
    Also check with basis team on tablespace issue.
    Regards
    Jitender

  • Error: Column already exists

    Hi,
               when i'm giving 10 in a addon field it creating 10 column in matrix and when i'm edit and giving 25 its not creating 25 column. Its telling the following Error: Column already exists. How to check the column already exists or not in matrix or Is there any alternative solution?
    Thanks and Regards,
    Sudhir B.

    Hi
         Problem Solved....
    Thanks and Regards,
    Sudhir B.

  • Trying to install reader on windows 7 pc, get object already exists

    trying to install adobe reader on windows 7 pc and keep getting object already exist. Checked my control panel programs, no adobe reader programs installed

    Try running the Acrobat Cleaner http://labs.adobe.com/downloads/acrobatcleaner.html
    then download and run the installer from http://get.adobe.com/reader/enterprise/

  • Function module in Infotyp which checks if identical data already exists

    I want to create a new hr master data (tcode pa30) for Hans Müller in e.g Company X and fill out the necessary fields in Infotype 0001,0002 (Name, Birthdate, etc. ) u2013 done !
    After  creating the new hr master data for Hans Müller Iu2019d like to fill out a special Infotyp (0032) namely Internal Data.
    PROBLEM:
    While filling out the IT 0032 I do not know if the person - Iu2019ve created a new master data for - is already existing in the system ( but in other e.g Company Z) .
    So what I need is a function modul in the Infotype 0032 which checks if there is already a person with the same data existing in any company (the whole data bank) using 3 characters from Infotype 0002 (Personal Data) namely ,   First name, Last name, Birthd. . 
    And if a person with the same first name ,last name and birthday is already existing the function module should link to that one or just show me a information.
    Also tried to show you my problem on a graphic,
    Function_Module_Infotyp0032.png
    I hope you can help me. I would be very thankful for any hints , information or programming approach.
    Regards
    Sean

    the problem with your solution approach is that there could be different pers. no. for the same person in my issue.
    If I understood you well, that won't be a problem, since you already know which PERNR to use (The one you are using to update IT0032) In that case you only have to check if for that PERNR more than one record in PA0001 with different Company Code is present.
    If your problem is that another person with the same name and same date of birth is active in the system with different Company Codes it would be similar.
    For instance: Let's say that you find 2 different PERNRs for a given Name and Date of Birth in PA0002, then you can check IT0001 and look for the BUKRS value for those 2 Personel Numbers. If the values found are different you can raise the error message or whatever you need.

  • Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    in OIM 11g R2
    Message was edited by: 2b3c0737-074f-48d0-a760-e24e3ed9a37c

  • How to check for the sub folder in the document library Is already Exist using CSOM?

    Hi,
    My requirement is to create the  folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
    I able to check for the parent folder.
    But cant able to check the subfolder in the document library.
    How to check for  the sub folder in the document library?
    Here is the code for the folder
    IsFolder alredy Exist.
    private
    string IsFolderExist(string InputFolderName)
    string retStatus = false.ToString();
    try
    ClientContext context =
    new ClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
                context.Credentials =
    CredentialCache.DefaultCredentials;
    List list = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
    FieldCollection fields = list.Fields;
    CamlQuery camlQueryForItem =
    new CamlQuery();
                camlQueryForItem.ViewXml =
    string.Format(@"<View  Scope='RecursiveAll'>
    <Query>
                                            <Where>
    <Eq>
    <FieldRef Name='FileDirRef'/>
    <Value Type='Text'>{0}</Value>
                                                </Eq>
    </Where>
    </Query>
                                </View>",
    @"/sites/test/hcl/"
    + InputFolderName);
                Microsoft.SharePoint.Client.ListItemCollection listItems = list.GetItems(camlQueryForItem);
                context.Load(listItems);
                context.ExecuteQuery();
    if (listItems.Count > 0)
                    retStatus =
    true.ToString();
    else
                    retStatus =
    false.ToString();
    catch (Exception ex)
                retStatus =
    "X02";
    return retStatus;
    thanks
    Sundhar 

    Hi Sundhar,
    According to your description, you might want to check the existence of sub folder in a folder of a library using Client Object Model.
    Please take the code demo below for a try, it will check whether there is sub folder in a given folder:
    public static void createSubFolder(string siteUrl, string libName, string folderServerRelativeUrl)
    ClientContext clientContext = new ClientContext(siteUrl);
    List list = clientContext.Web.Lists.GetByTitle(libName);
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml =
    @"<View Scope='RecursiveAll'>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name='FSObjType' />
    <Value Type='Integer'>1</Value>
    </Eq>
    </Where>
    </Query>
    </View>";
    //camlQuery.FolderServerRelativeUrl = "/Lib1/folder1";
    camlQuery.FolderServerRelativeUrl = folderServerRelativeUrl;
    ListItemCollection items = list.GetItems(camlQuery);
    clientContext.Load(items);
    clientContext.ExecuteQuery();
    Console.WriteLine(items.Count);
    if (0 == items.Count)
    //create sub folder here
    Best regards
    Patrick Liang
    TechNet Community Support

  • How do I make my already existing check boxes "checkable" [so I can check and uncheck them on PDF Expert]

    How do I make my already existing check boxes on a (PDF Document) checkable - So I can check and uncheck them on PDF Expert or Annotate 101.
    I am using ADOBE Acrobat PRO with millions of options, but no easy "here is how to do the one thing you want to do" anywhere within reason.
    Please help me.
    Thank You

    Can you check and uncheck the boxes in Acrobat?

  • How to check if the file already exists in the client directory

    Hi all.
    I'm on devsuite 10g. I'm using webutil to download files from DB using webutil function db_to_client.
    What I need is to check if the file already exists in the client directory and if yes to display a message to ask the user if he wants to overwrite or no. How can I make this???
    Here is the code that I'm using to download the file.
    Thanks all for the collaboration.
    Fabrizio
    declare
    file_path varchar2(2000) := null;
    BEGIN
    /** I ask where saving the file on the client machine **/
    file_path:= webutil_file.file_selection_dialog
    (directory_name => null,
    file_name => :bin_docs.name,
    file_filter => '',
    title => 'Saving file',
    dialog_type => save_file, --save_file
    select_file => TRUE);
    /** I download the file from DB to client **/
    if webutil_file_transfer.DB_To_Client_With_Progress
    ( file_path ,
    'BIN_DOCS',
    'DOC' ,
    'doc_id = '||:bin_docs.doc_id,
    'Downloading file',
    ' '||:bin_docs.name) then
    msg_alert('Download del file avvenuto con successo','I',false);
    else
    msg_alert('Si è verificato il seguente errore in fase di download '||SQLERRM,'I',false);
    end if;
    end;

    How about something like the below:
    Note: I have a yes/no alert to asking if they want to over-write the existing file.
    DECLARE
    file_path VARCHAR2(2000) := null;
    over_write BOOLEAN := TRUE;
    BEGIN
    /** I ask where saving the file on the client machine **/
    file_path:= webutil_file.file_selection_dialog
    (directory_name => null,
    file_name => :bin_docs.name,
    file_filter => '',
    title => 'Saving file',
    dialog_type => save_file, --save_file
    select_file => TRUE);
    IF webutil.file_exists(file_path) THEN
    /** check a file by the same name exists in the selected directory **/
    IF show_alert('Ask_overright') != alert_button1 THEN
    /** If we say no then set over_write value to false **/
    over_write := FALSE;
    END IF;
    END IF;
    IF over_write THEN
    /** I download the file from DB to client **/
    IF webutil_file_transfer.DB_To_Client_With_Progress
    ( file_path ,
    'BIN_DOCS',
    'DOC' ,
    'doc_id = '||:bin_docs.doc_id,
    'Downloading file',
    ' '||:bin_docs.name) then
    msg_alert('Download del file avvenuto con successo','I',false);
    ELSE
    msg_alert('Si è verificato il seguente errore in fase di'
    ||' download '||SQLERRM,'I',false);
    END IF
    END IF;
    END;
    cheers
    Q

Maybe you are looking for