Error in SMW01:Allocation of the tax for country RO, sequence 1, value 0 no

Hi,
when materials are replicated we found a queue existing in SMQ1 and SMQ2.
When i have checked in SMW01 for the Log it showed me the error "Allocation of the tax for country RO, sequence 1, value 0 not possible"
Then i clicked on Show BDoc Message Ext.data It showed around 20 materials.I ahve checked the material in R3 there is no sales view for this material type itself.
i tried to replicate one of those material manually then it is replicated.
Can anyone guide me why system showed "Allocation of the tax for country RO, sequence 1, value 0 not possible" this message even there is no problem with material?
Is there any Trasaction to find the exact material which is creating problem?
kindly suggest me few points on this how to solve this kind of error in future
regards
subbu

Hello Subbu,
There is a txn:CRM_TAXCUST_VALIDATE which would help you to figure out any issues with Tax customizing.
Please exceute this txn and you would come to know the list of erroneous tax customizing.
Also,
in CRM table CRMC_TAX_MAP for country RO,check whether any  records have been                
maintained for Access Sequence (i.e LFDNR) 1.
                                                                                Please check the following customization in txn:SPRO.                                                                               
CRM->Basic Functions->Taxes->Basic Settings->Tax Types and Tax Groups->            
Assign Tax Groups to SAP ECC Tax Classifications (Product).                                                                               
For example: If there are entries for Country RO for sequence 1 and                
value 0 there must also be correpsonding  entries in R/3 table MLAN and            
vice versa.                                                                               
Also,I kindly advice you to go through the documentaion of                         
"Assign Tax Groups to SAP ECC Tax Classifications (Product)" in CRM,               
which is present in the above mentioned SPRO navigation.                                                                               
Also,                                                                               
*If you are not sure about the sequence of the taxes, you can check it             
in SAP ECC, in Customizing for Sales and Distribution (SD), by choosing            
Basic Functions -> Taxes -> Define Tax Determination Rules.                                                                               
Hope this helps!
Best Regards,
Shanthala Kudva.

Similar Messages

  • VAT taxes for country NL

    Hi,
    I have configured the taxes for country NL in FTXP. I have the acct determination and percentages set in te tax code (input tax). We are using TAXNL procedure. For testing we are trying to post a vendor invoice in FB60 for a NL vendor and NL company code. But we are not able to display any tax codes to calculate taxes.
    Any ideas as to why?
    Regards,
    Raj/

    Dear:
                 Have you made sure that there is * sign in Tax category in FS00 control data tab for GL you wan posting, check recon GL account in FS00 for the tax category. Now coming to your query FK01 and XK01, i mean to say that in vendor master data , have the tax code been assigned and made as liable for taxes. Please check your tax code settings for enjoy transactions for FI-AR in customizing. Hope this will help you solve your issue.
    Regards

  • Error message - "Overlapping validity areas were found for country BR"

    Hi Experts,
    For a certain output type Y953 (e.g. for the shipment 2002355665 related to the DN 3087912658), an error message "Overlapping validity areas were found for country BR" is coming in as error.
    The error message is appearing during the idoc processing of the shipment.
    This is an incident of Dangerous Goods.
    I would like to know if it is technically / functionally possible to find out as to why exactly this mesage is coming and how can we rectify the problem.
    From technical point of view we checked that this message was not being called in the SAP system but was dynamically called.
    kindly let me know of any breakthrough as this issue is critical as dangerous goods are being transported without needed documents printed.
    Thanks in advance.
    RIttik

    Check whether note 836139 helps you.
    thanks
    G. Lakshmipathi

  • ERROR   OGG-00446  No valid log files for current redo sequence 142

    2011-02-03 14:26:41 ERROR OGG-00446 No valid log files for current redo sequence 142,
    thread 1, error retrieving redo file name for sequence 142, archived =0,
    use_alternate = 0Not able to establish initial position for begin time 2011-02-03 14:25:17.
    Is this an error finding the redo logs or is this an error finding the archive redo logs.

    Yes. It depends - is that sequence number in the current log group, or is it in an archived redo log?

  • Error: Maintain settlement rule of the sender for a higher level WBS

    Hi,
    I dont want to maintain the settlement rule for a higher level WBS. How can i configure this in such a way that i dont get the following error:" Maintain settlement rule of the sender" while doing CJ88. Maintaing a separate Settlement profile for a higher level WBS is an option but we are looking if something else could be done The problem is that there are no actuals booked against, say, level 2 WBS but when i execute CJ88, i get the aforesaid error. How can i ensure that only the lowest level WBS ask for the settlement rule and not the levels above it. I have already removed the Investment profile from the higher level WBS but still getting the same error.
    Regards,
    DPil

    Hi,
    It is a type Capex WBS and Biling element is not checked. In fact i get a warning while doing the settlement: WBS is neither a billing element nor an account assignment element.
    Diagnosis
    WBS element  is not indicated as either an account assignment element or as a billing element in the master record.
    System Response
    The WBS element cannot be assigned to an account.
    Procedure
    Correct your entries or add the missing indicator to the master record for the WBS element.
    But this is just a warning. On pressing enter i get the error :Maintain settlement rule of the sender "

  • Deactivation of Photoshop CS3 leads to an error 1914:1 what ist the solution for this problem

    hello
    I try to deactivate photoshop CS3 on my win XP system. When I try this I get the error code 1914:1 . This says there are no activations. But when I try to activate it on the new WIN 7 system
    I get the message to many activations. What is the soltion for this problem?

    Contact support by web chat.
    Mylenium

  • Hi Has anyone had this error message from iCal?  The request for account "Work" failed.  The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation.

    I keep getting this message whenever i am connected to iCal which is a tad annoying.
    The request for account “Work” failed.
    The server responded with
    “502”
    to operation CalDAVAccountRefreshQueueableOperation.
    Please help!
    pippilaing (NZ)

    What I found works best is to do the following:
    Quit iCal on you
    Go to iCloud.com and sign-in
    Create an event on the calendar
    Sign-out of iCloud.com
    Relaunch iCal
    It will take a few seconds for the calender to resync, but you should see the new event pop up on the calender. After that, hopefully all is well.

  • Seq of possible taxes for country IN is limited up to 9

    Hi,
    We have configured the FI Tax procedure and the same condition types are using for the SD Pricing procedure. But thing is, based on our client requirements, we have created 15 condition types to arrive the accounting requirements. So, to create condition records for the possible tax codes, we need to assign the condition types to the country code IN where system
    is not accepting the condition types more than 9 in table entry - TSTL field - LFDNR (Sequence of possible taxes for each country).
    Why system is not allowing me to enter more than 9 condition types for any country code?? What is the reason behind? And how to increase the sequence numbers to accept more than 9?
    Please help me regarding..
    Thanks & Regards
    Ramaki

    You have to take a help of ABAPer by increasing the length of Field LFDNR from 1 to 2 in Table TSTL.
    Best regards,
    Ankur

  • What is the reson for Fun SAP_WAPI_WORKITEMS_TO_OBJECT returns no value

    Hi All
    call function 'SAP_WAPI_WORKITEMS_TO_OBJECT'
        EXPORTING
          objtype                  = 'ZAR'
          objkey                   = v_objkey
          top_level_items          = c_set
          selection_status_variant = 0001
          text                     = c_set
          language                 = sy-langu
        TABLES
          worklist                 = i_worklist
          message_lines            = i_message_lines.
    I am using Function SAP_WAPI_WORKITEMS_TO_OBJECT  by passing object type and object key and looking for top level items . I get values for i_worklist[] all the time but for one AR i dont see a value in i_worklist[] .
    I know that Functional ppl had messed up with the workflow status in IMA2N transaction by changing the status....
    I want to know what is the reason for not getting any value in i_worklist[] for some ARS and works fine for other ARS.
    I can see the work id in workflow header table but i dont get workid when i use this function .
    Could you all tell me whats the reason for not getting ,i appreciate all your help
    Thanks

    With parameter selection_status_variant = 0001, you will only get a list of active instances.
    The parameter can have the following values:
    0000     All Instances
    0001     Active Instances (Running, Ready, Committed,...)
    0002     Finished Instances (Completed, Cancelled)
    0003     Active Instances (All)
    Cheers,
    Ramki Maley.

  • Time Out error problem when i run the report for the whole plant

    Dear all,
    pls find the below coding, when i execute this report for the whole plant , it gives me time out error since it has to process huge database. pls suggest me in which part of my below coding i can improvise or any other better way to fetch the same result.
    pls note that
    i m using Views for querying.pls also note the comments given in Bold to understand the reason behind the coding.
    Views used in are - ZVPOD and ZVPRDCONF.
    START-OF-SELECTION.
      Data: zstat type jest-stat.
      data: stklocaf type mska-lgort.
      data: stklocas type mska-lgort.
    <u><b>To collect the status of the production order by joining the ZVPOD and JEST table.</b></u>
      CLEAR it_ZVPRODDET.
      SELECT DISTINCT ZVPOD~bukrs ZVPOD~aufnr ZVPOD~objnr
      jest~stat ZVPOD~werks ZVPOD~arbpl ZVPOD~J_3AKORD2
      FROM  ZVPOD
      INNER JOIN jest ON ZVPOD~objnr = jest~objnr
      INTO CORRESPONDING FIELDS OF wa_ZVPRODDET where
      plnbez in FGM and arbpl in wc and werks in plant
      and SSAVD in eldate
      and J_3AKORD2 in cups and jest~inact ne 'X'.
        APPEND wa_ZVPRODDET TO it_ZVPRODDET.
      ENDSELECT.
      SORT it_ZVPRODDET BY aufnr stat.
    <u><b>Loop thru Itab to check and delete the records from itab for the specified status.</b></u>
      LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
        IF wa_ZVPRODDET-stat = 'I0045' .  " TECO - compl
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0009' .  " CNF - Confirmed
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0012' .  " DLV - Delivered
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0046' .  " CLSD - Closed
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0076' .  " DLFL - Del Flag
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'E0003' .  " SCLS - Short Close
          CLEAR tj30t.
          SELECT SINGLE txt04
          FROM tj30t INTO tj30t-txt04
          WHERE stsma = 'PRDHOLD' AND
                estat = 'E0003' AND
                txt04 = 'SCLS' AND
                spras = 'EN'.
          IF sy-subrc = 0.
            DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
          ENDIF.
        ENDIF.
    *      Condition for Prod Order released - REL
        IF wa_ZVPRODDET-stat = 'I0002'.
          mreleased = 'Y'.
        else.
          mreleased = 'N'.
        endif.
        zstat = wa_ZVPRODDET-stat.
        IF mreleased = 'N'.
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr
          and stat = zstat.
        ENDIF.
      ENDLOOP.
    <u><b>Loop thru the filtered ITAB to get all the production order details for the production order number specified in the where clause( zaufnr ) and populate another internal table.</b></u>
          LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
            zaufnr = wa_zvproddet-aufnr.
            zarbid = wa_zvproddet-arbid.
            at new aufnr.
              SELECT DISTINCT * INTO CORRESPONDING FIELDS OF  walnpln
              FROM zvpod where plnbez in FGM and arbpl in wc and SSAVD in
             eldate and werks in plant and J_3AKORD2 in cups and aufnr = zaufnr.
                APPEND walnpln TO itablnpln.
              endselect.
            endat.
          endloop.
          clear walnpln.
    <u><b>
    Looping thru Internal table and performs all the following calculations and inner loop
    and also relevant querying.</b></u>
    <u><b>Assume that ITABLNPLN holds appox. 8000 records.</b></u>
    LOOP AT itablnpln  INTO walnpln.
            contot = 0.
            SELECT distinct * INTO CORRESPONDING FIELDS OF TABLE itablnp
            FROM zvprdconf where aufnr = walnpln-aufnr and
            j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
            clear zvprdconf.
            SELECT single isdd
            FROM zvprdconf into  zvprdconf-isdd
            where aufnr = walnpln-aufnr and
            j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
            SELECT single isdz
            FROM zvprdconf into  zvprdconf-isdz
            where aufnr = walnpln-aufnr and
            j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
            IF sy-subrc EQ 0.
              <u><b>Assume that ITABLNP  holds appox. 30 records.</b></u>
              loop at itablnp into walnp.
                contot = contot + walnp-J_3ALMNGA.
                move walnp-J_3ASIZE to walnpln-J_3ASIZE.
                move zvprdconf-isdd to walnpln-zdate.
                move zvprdconf-isdz to walnpln-ztime.
              endloop.
              walnpln-output = contot.
            endif.
            walnpln-wip = walnpln-menge - contot.
            if walnpln-werks = '1000'.
              stklocaf = '1050'.
              stklocas = '1060'.
            elseif walnpln-werks = '2000'.
              stklocaf = '2150'.
              stklocas = '2160'.
            endif.
           select single kunnr into walnpln-ship from vbpa where
           vbeln = walnpln-KDAUF and PARVW = 'WE'.
            zship = walnpln-ship.
            move zship to walnpln-ship.
            select  single kalab into walnpln-zactqty from mska
            where matnr = walnpln-plnbez
            and j_3asize = walnpln-J_3AKORDX and LGORT = stklocaf.
            condense walnpln-kdauf.
            zsales = walnpln-kdauf.
            concatenate zsales 'S' into zso.
            select single kalab into walnpln-zsndqty from mska
            where matnr = walnpln-plnbez
            and j_3asize = walnpln-J_3AKORDX and LGORT = stklocas
            and J_4KSCAT = zso.
            zmatn = walnpln-plnbez.
            zsale = walnpln-KDAUF.
            walnpln-kdauf = zsale.
            walnpln-plnbez = zmatn.
            zcust = walnpln-kunnr.
            walnpln-kunnr = zcust.
            select single bezei into walnpln-season from TVV2T where
            kvgr2 = walnpln-kvgr2 and SPRAS = 'E'.
            select single bezei into walnpln-shipmode from T173T where
            vsart = walnpln-vsart and SPRAS = 'E'.
            STRL = strlen( walnpln-j_3akord2 ).
            if  strl = 4.
              move walnpln-j_3akord2 to walnpln-j_3akord3.
              clear walnpln-j_3akord2.
            endif.
            move zremk to walnpln-remk.
            MODIFY itablnpln FROM  walnpln.
            contot = 0.
            clear itablnp.
          ENDLOOP.
          PERFORM build_fieldcatalog.
          PERFORM build_layout.
          PERFORM display_alv_report.

    Hi raja,
    Plese go through the suggessitions.
    1.avoide the select ...endselect. write the below select
    CLEAR IT_ZVPRODDET.
    SELECT DISTINCT
         ZVPOD~BUKRS
         ZVPOD~AUFNR
         ZVPOD~OBJNR
         JEST~STAT
         ZVPOD~WERKS
         ZVPOD~ARBPL
         ZVPOD~J_3AKORD2
      FROM ZVPOD
      INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
      INTO CORRESPONDING FIELDS TABLE  IT_ZVPRODDET
      WHERE PLNBEZ IN FGM AND
            ARBPL IN WC AND
            WERKS IN PLANT AND
            SSAVD IN ELDATE AND
            J_3AKORD2 IN CUPS AND
            JEST~INACT NE 'X'.
      IF SY-SUBRC = 0.
        SORT TABLE IT_ZVPRODDET.
      ENDIF.
    2..first of all dont delete a record inside the loop. instead use the Field symobols.
    have u obsereved you code in the loop!!!!. wht u r doing..
    u r removing the same record which u in the loop..
    If u wanto delete the entires with check to<b> stat</b>... <b>then.. why dont u put the STAT field in Wher e condition..?</b> by this you reduce the data base select time..
    Now the select query is like the below....
    CLEAR IT_ZVPRODDET.
    SELECT DISTINCT
         ZVPOD~BUKRS
         ZVPOD~AUFNR
         ZVPOD~OBJNR
         JEST~STAT
         ZVPOD~WERKS
         ZVPOD~ARBPL
         ZVPOD~J_3AKORD2
      FROM ZVPOD
      INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
      INTO CORRESPONDING FIELDS TABLE  IT_ZVPRODDET
      WHERE PLNBEZ IN FGM AND
            ARBPL IN WC AND
            WERKS IN PLANT AND
            SSAVD IN ELDATE AND
            J_3AKORD2 IN CUPS AND
            JEST~INACT NE 'X' AND
            ( STAT <> 'I0045' AND
              STAT <> 'I0045' AND
              STAT <> 'I0009' AND
              STAT <> 'I0012' AND
              STAT <> 'I0046' AND
              STAT <> 'I0076' AND
              STAT <> 'E0003' ).
      IF SY-SUBRC = 0.
        SORT TABLE IT_ZVPRODDET.
      ENDIF.
    <b>3.</b> WHT IS MEANING OF THE SELECT
    <b>  CLEAR TJ30T.
      SELECT SINGLE TXT04
      FROM TJ30T INTO TJ30T-TXT04
      WHERE STSMA = 'PRDHOLD' AND
            ESTAT = 'E0003' AND
            TXT04 = 'SCLS' AND
            SPRAS = 'EN'.
      IF SY-SUBRC = 0.
        DELETE IT_ZVPRODDET WHERE AUFNR = WA_ZVPRODDET-AUFNR.
      ENDIF.</b>....... IN WHERE CONDION U R GIven all are constant values right?..
    why u need select it inside the loop.. u can write before the SELECT from ZVPOD..
    that why first checke this field then go for fur thure selects..
    <b>now u r code looks like this....</b>
    CLEAR TJ30T.
    SELECT SINGLE TXT04
      FROM TJ30T INTO TJ30T-TXT04
    WHERE STSMA = 'PRDHOLD' AND
          ESTAT = 'E0003' AND
          TXT04 = 'SCLS' AND
          SPRAS = 'EN'.
    IF SY-SUBRC = 0.
      CLEAR IT_ZVPRODDET.
      SELECT DISTINCT
           ZVPOD~BUKRS
           ZVPOD~AUFNR
           ZVPOD~OBJNR
           JEST~STAT
           ZVPOD~WERKS
           ZVPOD~ARBPL
           ZVPOD~J_3AKORD2
        FROM ZVPOD
        INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
        INTO CORRESPONDING FIELDS TABLE  IT_ZVPRODDET
        WHERE PLNBEZ IN FGM AND
              ARBPL IN WC AND
              WERKS IN PLANT AND
              SSAVD IN ELDATE AND
              J_3AKORD2 IN CUPS AND
              JEST~INACT NE 'X' AND
              JEST~STAT <> 'I0045' AND
              JEST~STAT <> 'I0045' AND
              JEST~STAT <> 'I0009' AND
              JEST~STAT <> 'I0012' AND
              JEST~STAT <> 'I0046' AND
              JEST~STAT <> 'I0076' AND
              JEST~STAT <> 'E0003' ).
        IF SY-SUBRC = 0.
          SORT TABLE IT_ZVPRODDET.
        ENDIF.
      ENDIF.
    there are so many select inside the loop...... please Delete all of them.... write them be for the loop.......using the FOR ALL ENTRIES.....
    THEN LOOP THE TABLE USING THE WHERE CONDITIONS.
    <b>Plese write u updated code here again</b>..

  • Error in Test Connection through the DQE for my JDBC system

    Hi,
    I created a JDBC system and I gave DQE properties to connect to the PUBS database.
    I am getting the below error when I did Test Connection through the DQE.
    Test Details:
    The test consists of the following steps:
    1. Checks the existence of a backend admin user ID/password in the system properties.
    2. Checks the existence of a default alias for the system.
    3. Checks the DQE connection.
    Results
    1. Backend admin user ID and password exist in the system properties.
    2. Default alias of the system exists.
    3. DQE connection failed. The system is currently being loaded. Please wait and try again.
    I re-entered admin id and password in DQE properties as per OSS note 761753.
    Still I am getting the same error.
    Thanks,
    Ramakrishna

    Vadim
    I did all steps mentioned by you.
    Still my issue is not resolved...
    Thanks,
    Ramakrishna

  • Error when trying to build the database for the Oracle Fusion Store Front D

    I have jdeveloper Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156
    I downloaded the FOD_11.zip from http://www.oracle.com/technology/products/jdev/samples/fod/index.html
    When running the Ant script to create the FOD user and schema, I get the following errors:
    Oracle JDeveloper (11g) (Build 5156)
    Buildfile: D:\oracle\Infrastructure\Ant\build.xml
    init:
    [javac] Compiling 1 source file to D:\oracle\Infrastructure\Ant\classes
    setProperties:
    createDatabase:
    refreshSchema:
    BUILD FAILED
    D:\oracle\Infrastructure\Ant\build.xml:52: The following error occurred while executing this line:
    D:\oracle\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
    D:\oracle\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
    D:\oracle\Infrastructure\DBSchema\build.xml:28: D:\oracle\Infrastructure\Ant\wlserver_10.3\server\lib not found.
    Total time: 5 seconds
    Does anyone know what the problem is?
    Thanks for your help.

    I had the same problem until I changed the Windows-style back slashes in the directory path to UNIX-style forward slashes, viz:
    C:\Oracle\Middleware\jdeveloper
    is wrong, while:
    C:/Oracle/Middleware/jdeveloper
    works correctly.
    This might be stating the obvious, but it's one of the ongoing write-once-and-fail-to-run-everywhere issues that keep biting newbie Java developers, like myself, in the backside.
    :-(

  • Error license file exception (check the logfile for details). Features Is Locked To A Different host (-9,30035)

    Plz Help
    note: the instalation is over ESX and VMware 

    Hi Juan,
    This usually means that the license mac for virtual builds or the Publisher
    mac for MCS builds does not match the original license. If something was entered
    incorrectly when you registered the PAK you need to contact
    [email protected]
    To have the new license re-hosted with the proper information
    Cheers!
    Rob
    "May your heart always be joyful
    May your song always be sung" - Bob Dylan

  • I found Error in Statistics Express about the algorithm for mode

    LabVIEW 7.1 was used. today I acquired a lot of data and analyzed using Statistics Express in LabVIEW 7.1, whereas the results of mode were not correct because I analyzed the data using both Excel and SPSS. so I think there must be something wrong with Statistics Express in LabVIEW 7.1. Attached is the data which mode is 57.24 by SPSS, but the result of Statistics Express showed the result of 32.608.
    will someone please help me?
    thanks
    Attachments:
    data.xls ‏29 KB

    Hi,
    I agree the 2 places of decimals is a cosmetic property and I have no issue with that....
    I have my vi setup such that at one call it gets the mode of distances between points on lines. The second time I call the mode it is to get the mode of distances between another set of points. Two separate arrays in a fairly large program. I've attached a shortened sample hopefully the error still appears. Also I was wrong about wiring the intervals wire, this did not change anything.
    If I run the 2nd mode operation on it's own without the previous call it works fine, only when there is a previous mode operation does it fail to "re-initialise" and returns the result of the first mode operation.
    The only thing I can think of is that the first set of data has many different distances and gives a clear mode, whereas the second set has values approximately the same, with the odd multiple (ie 20,22,19,41,62,20,21,23). However, going against this is the Express Statistics vi which calculates the correct values in the Express Window (double clicking on it and selecting the statistics) but when wiring these to an indicator the result from the first mode operation is returned.
    Any suggestions welcomed.
    Kind regards,
    Leeser
    Attachments:
    mode_error_example.vi ‏143 KB

  • Querying the schema for table name with column value!

    In my schema i have 500+ tables and other objects.
    i have a column with the name BO_PRODUCT_CODE.
    I wants to know in what tables the value of BO_PRODUCT_CODE='FX03'.
    i have query the user_tab_columns which gives me the result with 90 tables having the column BO_PRODUCT_CODE.
    What is query which will give me the exact number/name of the table whose column value is FX03. ie, BO_PRODUCT_CODE='FX03'.

    Hi you can use this approach:
    BEGIN
    v_str VARCHAR2(250);
    v_count NUMBER :=0;
    DECLARE
    FOR loop_tbl IN ( SELECT DISTINCT table_name FROM USER_TAB_COLUMNS
    WHERE column_name ='BO_PRODUCT_CODE' )
    LOOP
    v_str := 'SELECT COUNT(*) FROM ' || loop_tbl.table_name || ' WHERE BO_PRODUCT_CODE=||'''' ||'FX03' || '''' '
    EXECUTE IMMEDIATE v_str INTO v_count ;
    IF v_count > 0 THEN
    DBMS_OUTPUT.PUT_LINE ('Table Name :'|| loop_tbl.table_name || ' Count :'||v_count);
    END IF;
    v_count :=0;
    END LOOP;
    EXCEPTION
    WHEN others THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    Please remove if any syntax error.
    Regards

Maybe you are looking for

  • How do i purchase access to LiveCycle Barcoded Forms?

    I am currently creating a form in Adobe Livecycle ES2. I want to put a PDF417 2D barcode on the form containing the data of the fields in the form. The customer should be able to use Adobe reader to fill out the form and the barcode should update wit

  • I can't sync an album(imported from a CD)on my itunes library to my iphone 5?

    I just bought a new cd, imported it successfully onto my itunes library so I am able to play the songs on my windows 7 netbook but I just cant sync them to my iphone5, when I connect the phone to my laptop and click on the music it shows the album th

  • Singapore online store pre-order doesn't work

    So this seems odd, Apple have a link for pre-order in the SG store, and you can select the colour and model, but then you have no further option after that, you just cannot pre-order at all. Why would Apple allow this to happen? It's been that way si

  • How to deploy the Storage to a center place for team work?

    Our application uses SQL Database and Storage of Azure, and during the development stage, we hope to totally implement and test all these features locally, which means not rely on the cloud. So we have to deploy our database to a center virtual machi

  • Code for reading Custom Shape Files?

    Hello, Can anyone please point me to information regaring the CSH file format? (the regular file format pdf does not containt that information). Thanks Sol