Error for condtion record for MWST

Dear Experts,
while maintaing condition record for MWST (DE to AE country )
Tax indicator A0 has percentage rate          0,000 for A0 Tax indicator A1 has percentage rate         16,000 for A5 etc,
Can u please help
Regards
Siva

Hi Siva,
We are creating the tax code in FI (FTXP) but we are USING it in SD.
Creating means when FI people create it then that time they assign the relevent G/L account but in SD we are just using it.
It is important because when user create the record in VK11 with MWST then user cant enter any amount as TAX percentage.
without tax code you cant create the record and in that case you have to use the Tax percent which is available in tax code.
Hope it helps,
Regards,
MT

Similar Messages

  • Multiple Errors for one record in RFC

    Hi,
    Iam creating RFC.In RFC i have defined output structure in tables.In that structure one field ZMSG and its length is 500.so want to display mutliple errors for one record in ZMSG field output.
    Using concantenation...but How to do that?send me Example code...
    Regards,
    Raj.

    clear v_error.
    loop on return where type = 'E'.
    concatenate v_error  return-ZMSG into v_error saperated by spaces respecting blanks.
    endloop.
    Edited by: Pranu Pranu on May 21, 2010 9:31 AM

  • Player Error: "You cannot record without enabling at least one track for recording"

    So I'm trying to adjust my audio using the track mixer in premiere pro cc. I assigned 2 clips to a submix. When I tried to record, I got the following error: "You cannot record without enabling at least one track for recording." I disabled other tracks, then re enabled them all, muted them all, but still got the same error when I tried to record.

    This is how I have just made a recording:
    Select track to record (1), Select record (2) then press play to record.
    Use the in-out markers in the program monitor to select the area to record.

  • Item Open Interface giving error for Org Assignment

    We ran the MTL_SYSTEMS_ITEMS_INTERFACE & loaded all the items at master level.
    We are having issues in setting at Org level. Cant figure out what the issue as only few records gets assigned & then garbage sets in for remaining records. An SR has been raised & the tech support representative was saying that UOM's are different at master & org levels. Never heard of this issue earlier. I have worked with UOM's different at Master/Org levels.
    The UOM's are different at Master & Org Level and in some cases the UOM are different for different Orgs. Attribute Control for Primary/Sec UOM is at Org level. The UOM's belong to the same UOM Class. There are standard conversions defined for all these UOMs.
    Any pointers for quick resolution ?

    Pl do not post duplicates - Item Open Interface giving error for Org Assignment

  • Validation error for tag cfloop

    Hi All,
    Complete newbie to CF here.  I've inherited (or bought) an online business which has its site written in CF.  I haven't done this sort of stuff before but do work SQL for a living and object oriented stuff plus have done a bit of html and php so CF isn't mind blowing to me (in its simple form).
    I've downloaded my site on to my computer to run a local copy that I can hack to pieces if needs be.  For some reason, I have a few problems with the site running locally.  The first error I'm getting is a Attribute validation error for tag cfloop.
    Basically, index.cfm has this bit of code in it:
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_GetFeaturedWineries">
    </cfinvoke>
    Ok, easy enough.  Anyway, there's a call down the page to:
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    Within displayFeaturedWineries.cfm is the code that calls the stored proc invoked above:
    <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Bam, that's where the error occurs.  "The value of the attribute query, which is currently getFeaturedWineries_qry, is invalid.
    What???  The stored proc exists and it only returns two records (which begs me to wonder why you would have startrow and endrow but anyway, it doesn't work with or without it).
    The other interesting thing is that this works on production, NO PROBLEM!!!  WTF?  How can it work on production but not locally.
    The only thing I'm starting to think is:
    a)  I've missed a setting somewhere in CF or
    b)  I'm running Apache as compared to IIS or
    c)  I'm running SQL 2008 and CF 9 which will no doubt be different to the production host server.
    Should B or C be causing THAT type of problem??
    Thanks,
    Matt

    I'm not sure what code apart from the above is going to show you what you could possibly need to solve this, but here goes.  The following is only snippets of the code, but they are the relavant snippets.  Other stored procs work.  The cfdump for getFeaturedWineries_qry shows 'usp_getFeaturedWineries'.  I know its there because I've been unable to run "EXEC usp_getFeaturedWineries" after copying it straight out of the code.  As previously stated, there are other stored procs which are running fine.
    datasets.cfc
        <cffunction name="storedProcedure">
            <cfargument name="storedProcedure" required="Yes" type="string">
            <cfstoredproc procedure = "#ARGUMENTS.storedProcedure#"
                          datasource = "#REQUEST.DSN_NAME#"
                          username   = "#REQUEST.DSN_USER#"
                          password   = "#REQUEST.DSN_PASS#"
                          returncode = "Yes">
                <cfprocresult name="storedProcedure" resultset="1">
            </cfstoredproc>
            <cfreturn storedProcedure>
        </cffunction>
    application.cfm
        <!--- DATA SOURCE VARIABLES --->
        <cfset DSN_NAME = "boutiqueWineriesTest">
        <cfset DSN_USER = "coldfusion">
        <cfset DSN_PASS = "coldfusion">
    index.cfm
    <cfobject component="#COMP_REF#.datasets" name="datasets">
    <cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
        <cfinvokeargument name="storedProcedure" value="usp_getFeaturedWineries">
    </cfinvoke>
    <cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
    displayFeaturedWineries.cfm
             <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    Attribute validation error for tag cfloop.
    The value of the attribute query, which is currently  getFeaturedWineries_qry, is invalid.                                                                                  The error occurred in C:\apps\iishome\includes\displayFeaturedWineries.cfm:  line 33
    Called from C:\apps\iishome\index.cfm: line 399
    Called from C:\apps\iishome\index.cfm: line 79
    Called from C:\apps\iishome\index.cfm: line 1
    31 :      <tr>
    32 :           <td width="626" colspan="3" class="productCenter_bg2">
    33 :          <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
    34 :              <div class="productCennews">
    35 :                  <table border="0" cellspacing="0" cellpadding="0">

  • Account determination error for EK02

    Hi,
    I am using EK02 for unit costing in quotation used specially for PS.
    I have assigned EK02 in the quotation doc type and have added the same to the pricing procedure (marked it manual & ststistical) and assigned it SubTotal-B.
    It is working perfectly in the quotation but while in Sales Order it is giving account determination error for EK02.
    I am unable to understand when there is no account key assigned to it, how is this error ?
    Please advise immediately.
    Regards,
    Rajesh

    Check the Requirement class in order - in procurement tab.
    when you use the EK02 cost estimation condition type, Controlling documents get generated once you save the sales order.
    i.e. the reason, in VKOA for the all the access keys maintained in order pricing procedure, should have valid record with Costing conditon type:KOFK.
    maitain entries in table:005- Account key for all the account keys maitained
    such as;
    Application / Condition type-KOFK/ chart of accounts/ Acct key - G/L account ( here maintain same G/L account which have you assigned with Condition type KOFI)
    it will solve your issue.

  • Checksum error for Hidden and Protected item

    I have a region with 3 items - a Text field, a Text area and a Hidden and Protected item. When clicking on the save button the record should be written to the table. However I get the following error:
    ++Checksum error for Hidden and Protected item ID (7676217916943303), value (), posted checksum (1060941776BCEA7DDAE813A442DF01E3), expected checksum (********************************), index_i (8), index_j (1), index_m (3);++
    When I change the hidden and protected field to a regular text field I am able to successfully process the page.
    Do I have to do anything different when I have a hidden and protected field? Would appreciate any suggestions/comments to help resolve this issue.
    Regards,
    Ghazi

    If you have client-side code that changes the value of a "Hidden and Protected" item after the item/value has been emitted to the page by Application Express, you need to change the item type to Hidden, instead.
    Scott

  • LSMW Errors for Excel file upload

    Hi all,
    We've loaded an Excel file with 20,000+ records into SAP using LSMW and a background run. However, the LSMW returned errors for about 2,000 of those records and seems to have processed the other 18,000. Questions as follows:
    1. Is there a way to extract the 2000 records into another Excel file?
    2. If so, how can I isolate the 2000 records so that I can reload them with correct information?  I do not want to have to go through each record one by one to find them.
    3. How can I identify what the problem was for a record that produced an error?
    Thanks in advance. Points will be awarded for helpful answers.

    u have used LSMW which will normally create a Session which will be executed using SM35 in background mode...Goto the session and click on errors...the errors are been shown up..U can correct there itself or else prepare another one with correct data and do a lsmw once again.

  • Error for importing the sessiotypes package

    Hello Friends I am trying to connect MDM server and create delete or update recordsets in MDM so I am using this program as below I am getting an error for
    import com.sap.mdm.session.SessionTypes; cannot be resolved.
    Created on Jun 6, 2007
    package com.sap.nw.mdm.rig;
    import com.sap.mdm.commands.CommandException;
    import com.sap.mdm.data.RegionProperties;
    import com.sap.mdm.extension.MetadataManager;
    import com.sap.mdm.net.ConnectionException;
    import com.sap.mdm.repository.commands.GetRepositoryRegionListCommand;
    import com.sap.mdm.session.SessionException;
    import com.sap.mdm.session.SessionManager;
    import com.sap.mdm.session.SessionTypes;
    import com.sap.mdm.session.UserSessionContext;
    This class is the starting point to execute all sample programs.
    To see a description of the various programs you can execute, please have a look at the
    documentation for the following classes.  There are static variables in each of these
    classes that point to the various programs that can be executed with a description of
    what the program does.
    <ul>
    <li>{@link com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.SearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram}
    </ul>
    @author Richard LeBlanc
    public class Application {
         private Application() {
    Starts the application and executes a program
    @param args - not required
         static public void main(String[] args) {
              Application app = new Application();
      System.out.println("5555");
              Program program = null;
    Simply uncomment the line that contains the program you wish to execute and run this class.
    Blob Programs
    //          program = BLOBDataProgram.INSERT_IMAGE;
    //          program = BLOBDataProgram.RETRIEVE_AND_WRITE_IMAGE_TO_FILE;
    //          program = BLOBDataProgram.RETRIEVE_AND_WRITE_PDF_TO_FILE;
    Checkout/Checkin Data Programs
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_CHECK_IN;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_ROLLBACK;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_CHECK_IN;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_ROLLBACK;
    Create Read Update Delete (CRUD) Data Programs
    //          program = CRUDDataProgram.CRUD_HIERARCHY_TABLE;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_FLAT_AND_HIERARCHY_LOOKUP_FIELDS;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_QUALIFIED_LOOKUP_FIELD;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_TAXONOMY_LOOKUP_FIELD;
    //          program = CRUDDataProgram.CRUD_TAXONOMY_TABLE_WITH_ATTRIBUTES;
    Bulk Create Read Update Delete (CRUD) data programs
    (many records at once)
              program = BulkCRUDDataProgram.BULK_CRUD_MAIN_TABLE;
    KeyMapping Programs
    //          program = KeyMappingProgram.RETRIEVE;
    //          program = KeyMappingProgram.MODIFY;
    Search Programs
    //          program = SearchProgram.DRILL_DOWN_SEARCH;
    //          program = SearchProgram.KEYWORD;
    //          program = SearchProgram.MASK;
    //          program = SearchProgram.NAMED_SEARCH;
    //          program = SearchProgram.QUALIFIER;
    Attribute Search Programs
    //          program = AttributeSearchProgram.COUPLED_NUMERIC;
    //          program = AttributeSearchProgram.NUMERIC;
    //          program = AttributeSearchProgram.TEXT;
    Field Search Programs
    //          program = FieldSearchProgram.BOOLEAN;
    //          program = FieldSearchProgram.CURRENCY;
    //          program = FieldSearchProgram.LITERAL_DATE;
    //          program = FieldSearchProgram.LOOKUP;
    //          program = FieldSearchProgram.TEXT;
    Syndication Programs
    //          program = SyndicationProgram.SYNDICATE_PORT;
    Workflow Programs
    //          program = WorkflowProgram.EXECUTE;
              //TODO enter MDS name
              String mdsName = "172.18.139.200"; //the name of the Master Data Server
              String repositoryName = "GDS_1"; //make sure this is the name you use when unarchiving
                                                           //the repository otherwise change it to reflect the name
                                                           //of your repository
              String regionName = "English [US]";
              String userName = "Admin"; //there is an admin user with no password in the provided repository
              String password = ""; //there is an admin user with no password in the provided repository
              app.start(mdsName, repositoryName, regionName, userName, password, program);
    Establishes a connection to the given server and logs in to the given repository
    with the given logon information and executes the given program
         private void start(String serverName, String repositoryName, String regionName,
                                  String user, String password, Program program) {
              //Create a user session context
              UserSessionContext context = new UserSessionContext(serverName, repositoryName, regionName, user);
              //Get an instance of the session manager
              SessionManager sessionManager = SessionManager.getInstance();
              //Create a user session
              sessionManager.createSession(context, SessionTypes.USER_SESSION_TYPE, password);
              program.setContext(context);
              program.setLoginRegion(getRegion(context));
              program.setRepositorySchema(MetadataManager.getInstance().getRepositorySchema(context));
              program.setAttributeSchema(MetadataManager.getInstance().getAttributeSchema(context));
              //execute the program from the list above
              program.execute();
              //destroy the session and close the connection to the MDS
              sessionManager.destroySession(context, SessionTypes.USER_SESSION_TYPE);
         private RegionProperties getRegion(UserSessionContext context) {
              RegionProperties[] regions = null;
              try {
                   GetRepositoryRegionListCommand cmd = new GetRepositoryRegionListCommand(context);
                   cmd.execute();
                   regions = cmd.getRegions();
              } catch (SessionException e) {
                   e.printStackTrace();
              } catch (ConnectionException e) {
                   e.printStackTrace();
              } catch (CommandException e) {
                   e.printStackTrace();
              for(int i=0, j=regions.length; i<j; i++) {
                   if(regions<i>.getName().equals(context.getRegionName())) {
                        return regions<i>;
              return null;

    Hi Richard,
    IN the API you have provided, Do we have a feasibility to update a Table in MDM GDS (TMData which has many lookup and qualified tables) in one short.
    As of now, we are able to insert record for 3 fields, which we are trying to insert feild by field.
    but our requirement is we have to insert data for 185 fields and read the fields of 240 feilds.
    Need your advice on this.
    With Regards,
    Jayanthi

  • [EJB:010142] error for cascade-delete

    Hi,
    I'm getting [EJB:010142] error (Instance of EJB <relatedEJB> with primary key <pk> does not exist) while trying to implement a straight-forward cascade-delete option in ejb-jar.xml for a one-to-many relationship using EJB 2.1.
    While the cascade-delete works well for a one-to-one relationship, it is throwing this error for one-to-many relationship.
    DB used is Oracle 10g XE. Server is Weblogic 9.2 MP4.
    Given below the exact error:
    javax.ejb.EJBException: EJB Exception:: java.lang.IllegalArgumentException: [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.remove(Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.java:531)
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.remove(Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.java:496)
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.clear(Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.java:369)
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS.__WL_superEjbRemove(Order_cpl9bk__WebLogic_CMP_RDBMS.java:1667)
         at weblogic.ejb.container.manager.DBManager.remove(DBManager.java:1664)
         at weblogic.ejb.container.internal.EntityEJBLocalObject.remove(EntityEJBLocalObject.java:125)
         at Test1.Order_cpl9bk_ELOImpl.remove(Order_cpl9bk_ELOImpl.java:577)
         at jsp_servlet.__cascadedeletetest._jspService(__cascadedeletetest.java:198)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3272)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2019)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1925)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1394)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    ; nested exception is: java.lang.IllegalArgumentException: [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.
         at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:141)
         at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:657)
         at weblogic.ejb.container.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:150)
         at weblogic.ejb.container.internal.EntityEJBLocalObject.remove(EntityEJBLocalObject.java:132)
         at Test1.Order_cpl9bk_ELOImpl.remove(Order_cpl9bk_ELOImpl.java:577)
         at jsp_servlet.__cascadedeletetest._jspService(__cascadedeletetest.java:198)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3272)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2019)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1925)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1394)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    I have verified that the lineitem record that it is trying to delete is existing in the db table.
    Please let me know what could be the possible issue.
    Thanks,
    Vinod

    Any ideas yet???
    Is there any knowledgebase (KB) article to read about this???

  • Link error for distribution

    Hi, I received an email with the link to download the new version of flash player for distribution, but does not work
    Dear Miguel Ángel Abarca,
    Thank you for submitting a request to distribute Adobe® Software. Your request has been approved, and you may now distribute the Adobe® Software listed below, subject to the terms and conditions set forth in the Adobe Reader and Runtime Software Distribution License Agreement.
    Approved Software:
    Adobe® Flash® Player
    Adobe® Reader® Software
    Attached is an Adobe Portable Document Format (PDF) file of the distribution license agreement. Please keep this file for your records. The agreement is valid for one year, after that one year you can renew the distribution license agreement by following the same process.
    Below you will find the necessary details and download links for the product(s) that you have been approved.
    Adobe® Flash® Player
    To download the Flash Player version that you would like to distribute, please visit the following URL:
    http://www.adobe.com/products/flashplayer/distribution4.html?auth=<number>

    Hello, here paste part of message:
    To download the Flash Player version that you would like to distribute,
    please visit the following URL:
    http://www.adobe.com/products/flashplayer/distribution4.html?auth=4358bc39-5e77-4893-99cf- 9f7c7a8d5456
    *You may not share the above link, share information with others, or
    publish the above link on websites, blogs, or by any other means that
    can be publicly accessed. The information contained on this site is
    meant for your use only in accordance with Adobe Flash Player
    Distribution License Agreement you accepted. You may direct others to
    http://www.adobe.com/products/players/fpsh_distribution1.html to request
    distribution rights.
    El 13/01/2015 a las 17:53, m_vargas escribió:
    >
          Link error for distribution
    created by m_vargas <https://forums.adobe.com/people/m_vargas> in
    /Installing Flash Player/ - View the full discussion
    <https://forums.adobe.com/message/7091835#7091835>

  • Trap update error for insert!

    Hi, I have a table approx 2 million records which is updated daily from a staging table that is loaded from file. It's taking approx 7 hours as it searches for a record and if it exists, otherwise it inserts.
    I was thinking that a faster method would be to bulk collect and update, then trap the error if the record to be updated doesn't exist, and insert the record.
    I'm on Oracle 8i.
    Question: Would this be the most efficient way to perform the task?
    If so would anyone out there have some sample code to do it?
    Your help would be very much appreciated.

    Hi,
    There's only one constraint on the target:
    CREATE UNIQUE INDEX XPKGMENT_V ON GMENT_V
    (DATE_START, DATE_END, ORI, FNUMBER,
    CLASS_CD, DOW)
    CURSOR cur IS
    SELECT BEG_DATE,
         END_DATE,
    FNUMBER,
    ORIG,
    CLASS_CD,
    DATA_TYPE_CD,
    DOW,
    TTC,
    PSEUDO,
    PRORATE
    FROM stage_gment_v;
    rec cur%rowtype;
    rowcount      number(7);
    row_exists      number(1);
    BEGIN
    OPEN cur;
    rowcount := 0;
    row_exists := 0;
    LOOP
    FETCH cur INTO rec;
    EXIT WHEN cur%NOTFOUND;
    rowcount := rowcount + 1;
    row_exists := 0;
    BEGIN
    SELECT 1 INTO row_exists          
    FROM gment_v r
    WHERE r.date_start = rec.beg_date
    AND r.orig = rec.orig
    AND r.class_cd = rec.class_cd
    AND ( r.dow = rec.dow
    OR ( rec.dow IS NULL AND r.dow IS NULL) )
    AND ( r.fnumber = rec.fnumber
    OR ( rec.fnumber IS NULL AND r.fnumber IS NULL));
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    row_exists := 0;
    END;
    -- update if a row already exists
    IF ( row_exists = 1 ) THEN
    UPDATE gment_v r
    SET TTC = rec.ttc,
    PSEUDO = rec.pseudo,
    PRORATE = rec.prorate
    WHERE r.date_start = rec.beg_date
    AND r.orig = rec.orig
    AND r.class_cd = rec.class_cd
    AND ( r.dow = rec.dow
    OR ( rec.dow IS NULL AND r.dow IS NULL) )
    AND ( r.fnumber = rec.fnumber
    OR ( rec.fnumber IS NULL AND r.fnumber IS NULL));
    updates := updates +1;
    ELSE
    -- create if does not exist already
    INSERT INTO gment_v(
    DATE_START,
    DATE_END,
              FNUMBER,
              ORIG,
              CLASS_CD,
              DATA_TYPE_CD,
              DOW,
              TTC,
              PSEUDO,
              PRORATE)
    VALUES ( rec.beg_date,
    rec.end_date,
              rec.fnumber,
              rec.orig,
              rec.class_cd,
              rec.data_type_cd,
              rec.dow,
              rec.ttc,
              rec.pseudo,
              rec.prorate) ;
    END IF;
    END LOOP;

  • /O error for text VBBK

    Hi Friends,
    I am facing a problem when scheduling the order creation program in the background. I receive an error ' I/O error for text VBBK 0410143215 ZOPR EN" and the whole process ends with an exception. The texts are been inserted in the table STXH for the Text id ZOPR.
    we have some very huge records in the table STXH and hence inserting / saving the records we get the I/O Error for Text VBBK.  We are using Oracle 9.2.0.9.
    Can you pls give me some suggestion interms of tuing the program or in terms of the tuning the table STXH.
    Thanks in Advance.
    Venky.

    Hi Friends,
    Pls see the attahed code.
        CALL FUNCTION 'SAVE_TEXT'
             EXPORTING
                client       = v_client
                   header       = thead
                INSERT       = ' '
                     savemode_direct = 'X'
             IMPORTING
                  function      = txtfunction
                  newheader     = thead
             TABLES
                  lines         = tlines
             EXCEPTIONS
                  id            = 1
                  language      = 2
                  name          = 3
                  object        = 5.
        IF sy-subrc EQ 0.
          CALL FUNCTION 'COMMIT_TEXT'
           EXPORTING
             object                = 'VBBK'
             name                  = ret_ord_no
             id                    = 'ZOPR'
                  LANGUAGE              = 'EN'
             savemode_direct       = 'X'.
          COMMIT WORK.
        ENDIF.
    Thanks,
    Venky.

  • Error for datatype mismatch or wrong data in XML to database ODI interface

    Hello All,
    I am doing XML to DB mapping in ODI. but when there is any mismatch in the datatype between source and target or any data issue, ODI is not showing any error for that. it is just inserting the data in the DB from XML up to that erroneous record without any error message.Could anybody please help, how can I get the error message for the same, from ODI when I execute that interface?
    Thanks in Advance!

    no I could not find any records in the error table i.e E$_X table.

  • Error for customer specific Authorization check (User Exit)

    Dear Experts,
    I am facing a problem in PM.
    I have created a maintenace plan for calibration via t code IP42 and mentioned the order type PM05. Scheduling is done for the order. I got the order number.
    I have released the order and got the inspection lot number.
    While entering the results recording through t code QE17, the reluts are out of the specified range, i have given the valuation Rejected, immediately system is giving an error message as below:
    "Error for customer specific Authorization check (User Exit)"
    Though there is no user exit activated in the system, this message is coming and not allowing the result recoring for rejection.
    If I'm entering the result recording within the specified range, then valuation is Accepted and its allowing to save.
    I have checked the following user exits:
    QQMA0002: QM: Authorization Check for Entry into Notif. Transaction
    QQMA0026: PM/SM: Auth. check when accessing notification transaction.
    The above 2 User Exits are not active.
    I have also checked a note 429066. But it says incase of any dump for that user exit only its applicable and more over the current version of the system is ECC 6.0 packae 15, where as that note is applicable upto 4.6C.
    Please some one help me on this issue.
    Thanks and Regards,
    Praveen.

    Dear Pete,
    I have cheked with my technical team, There is no hotpacks updated recently. This is the implementaion project I'm in, so performing the cycle for the first time.
    Any how I got it solved, in T code QE17, after entering the Inspection lot in next screen goto menu path Settings - User settings - Defects recording mention the reprt type and tick on Reprt type Changable.
    At the time of result recording if the valuation is Rejected then it ask for defects recording close that window if not rwequired then save, the error message no longer apperaing now.
    Regards,
    Praveen

Maybe you are looking for