Trigger created through C# code is not compiled

Hi,
I have problem. In my C# code I've created trigger, but it doesn't get compiled. I can see that trigger is created and It's possible to compile it manualy in SQLDeveloper, but not through code. I've tried to call
cmd.CommandText = "ALTER TRIGGER trigger_name ENABLE";
cmd.ExecuteNonQuery();
but id doesn't help. Trigger is correct, because if I create it through Oracle SQL Developer it get compiled without errors and works fine.
Could anybody help me with this problem?
Thank you.

Thank you guys for all your replies!
Problem is solved!!!
If anybody will face the same problem, here is solution:
Problem was, that C# and Oracle uses different special marks (\n\r end of row etc. ). When I run create trigger command from C#, he adds this marks into command text. Oracle SQL developer can read them(even they are invisible in program user interface), but Oracle compiller not. So Alter trigger <trigger_name> Compile ends with some non-visible error.
On the other hand, when I clicked on trigger in Oracle SQL developer and chose compile ... it somehow inernally changed them (or remove) to be compatible with oracle compiller and compiles trigger successfully.
So solution si to remove (\n \r \t etc. marks from command.text property in C# code.
Edited by: user11763373 on 5.8.2009 4:02

Similar Messages

  • Problem with shuffle() code, will not compile

    Hi,
    Below is some code designed to shuffle a set of integers in the file editET.txt. Basically:
    5
    2
    4 say:
    just shuffle these randomly around, however, the code will not compile, any advice or solutions would be great
    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    if (args.length<2){
    System.out.println("Usage: java Shuffle3 <input file> <output file>");
    System.exit(-1);
    ShuffleStringList sl = new ShuffleStringList(args[0]);
    sl.shuffle();
    sl.save(args[1]);
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String "editET.txt") {
         super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String "Shuffledok"){
         PrintWriter out = null;
         try {
         out = new PrintWriter(new FileOutputStream("Shuffledok"), true);
    for (int i=0; i < size(); i++){
              out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
         if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
         super();
    public StringList(String "editET.txt") {
         this();
    String line = null;
    BufferedReader in = null;
         try {
         in = new BufferedReader(new FileReader("editET.txt"));
         while((line = in.readLine()) !=null) {
              add(line);
    catch(IOException e){
         e.printStackTrace();
    public void save (String "Shuffledok") {
    FileWriter out = null;
    try {
         out = new FileWriter("Shuffledok");
         for(int i =0; i < size(); i++){
         out.write((String)get(i));
    catch(IOException e){
         e.printStackTrace();
    finally {
         try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);

    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    ShuffleStringList sl = new ShuffleStringList("editET.txt");
    sl.shuffle();
    sl.save("Shuffledok");
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String fileName) {
    super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String target){
    PrintWriter out = null;
    try {
    out = new PrintWriter(new FileOutputStream(target), true);
    for (int i=0; i < size(); i++){
    out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
    if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
    super();
    public StringList(String fileName) {
    this();
    String line = null;
    BufferedReader in = null;
    try {
    in = new BufferedReader(new FileReader(fileName));
    while((line = in.readLine()) !=null) {
    add(line);
    catch(IOException e){
    e.printStackTrace();
    public void save (String target) {
    FileWriter out = null;
    try {
    out = new FileWriter(target);
    for(int i =0; i < size(); i++){
    out.write((String)get(i));
    catch(IOException e){
    e.printStackTrace();
    finally {
    try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);
    }

  • Sun(TM) code would not compile

    http://java.sun.com/products/java-media/2D/samples/suite/index.html
    Images>"Animated gif with a transparent background."
    I have been having problems compiling all of the sun code. I am using Windows XP. The code I create, and the code we create in class works fine, but Sun's(TM) code does not seem to work. I want to use pictures in a game. Also I would like to be able to tell what key(s) are being held down (I am programming a game). Thanks for any ideas you have.
    * @(#)DukeAnim.java     1.6 98/12/03
    * Copyright 1998 by Sun Microsystems, Inc.,
    * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
    * All rights reserved.
    * This software is the confidential and proprietary information
    * of Sun Microsystems, Inc. ("Confidential Information"). You
    * shall not disclose such Confidential Information and shall use
    * it only in accordance with the terms of the license agreement
    * you entered into with Sun.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.ImageObserver;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import java.net.URL;
    * The DukeAnim class displays an animated gif with a transparent background.
    public class DukeAnim extends JApplet implements ImageObserver {
    private static Image agif, clouds;
    private static int aw, ah, cw;
    private int x;
    private BufferedImage bimg;
    public void init() {
    setBackground(Color.white);
    clouds = getDemoImage("clouds.jpg");
    agif = getDemoImage("duke.running.gif");
    aw = agif.getWidth(this) / 2;
    ah = agif.getHeight(this) / 2;
    cw = clouds.getWidth(this);
    public Image getDemoImage(String name) {
    URL url = DukeAnim.class.getResource(name);
    Image img = getToolkit().getImage(url);
    try {
    MediaTracker tracker = new MediaTracker(this);
    tracker.addImage(img, 0);
    tracker.waitForID(0);
    } catch (Exception e) {}
    return img;
    public void drawDemo(int w, int h, Graphics2D g2) {
    if ((x -= 3) <= -cw) {
    x = w;
    g2.drawImage(clouds, x, 10, cw, h-20, this);
    g2.drawImage(agif, w/2-aw, h/2-ah, this);
    public Graphics2D createGraphics2D(int w, int h) {
    Graphics2D g2 = null;
    if (bimg == null || bimg.getWidth() != w || bimg.getHeight() != h) {
    bimg = (BufferedImage) createImage(w, h);
    g2 = bimg.createGraphics();
    g2.setBackground(getBackground());
    g2.setRenderingHint(RenderingHints.KEY_RENDERING,
    RenderingHints.VALUE_RENDER_QUALITY);
    g2.clearRect(0, 0, w, h);
    return g2;
    public void paint(Graphics g) {
         Dimension d = getSize();
    Graphics2D g2 = createGraphics2D(d.width, d.height);
    drawDemo(d.width, d.height, g2);
    g2.dispose();
    g.drawImage(bimg, 0, 0, this);
    // overrides imageUpdate to control the animated gif's animation
    public boolean imageUpdate(Image img, int infoflags,
    int x, int y, int width, int height)
    if (isShowing() && (infoflags & ALLBITS) != 0)
    repaint();
    if (isShowing() && (infoflags & FRAMEBITS) != 0)
    repaint();
    return isShowing();
    public static void main(String argv[]) {
    final DukeAnim demo = new DukeAnim();
    demo.init();
    JFrame f = new JFrame("Java 2D(TM) Demo - DukeAnim");
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}
    f.getContentPane().add("Center", demo);
    f.pack();
    f.setSize(new Dimension(400,300));
    f.show();

    Actually it compiles but gives me the following error. I think it has a problem dowloading the images. I am connected to the net, and my other java stuff works fine, including downloading from the net.
    Uncaught error fetching image:
    java.lang.NullPointerException
    at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)
    at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:108)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
    ava:251)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:168)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)

  • Files creating through remote desktop is not updating in office computer

    Hi,
    we are currently using windows 2008 standard server for terminal service. colleagues are allowed to work through rdp. Recently one of my colleague said, when he is accessing the terminal server through remote, the files, folders and whatever he creates in
    his home computer is not updating in office computer. what ever he creates, he is attaching them through email and come back to office and working.
    can anyone please help to resolve this problem.? if you need more details I will update it.

    we are currently using windows 2008 standard server for terminal service. colleagues are allowed to work through rdp. Recently one of my colleague said, when he is accessing the terminal server through remote, the files, folders and whatever he creates
    in his home computer is not updating in office computer. what ever he creates, he is attaching them through email and come back to office and working.when he uses his home PC and logs on via Terminal Server it isn't showing the changes he made when he is in
    the office.Terminal Server isn't syncing between logons. 

  • Error in Creating Material ( Company Code does not maitained)

    Hi,
        I am new to SAP MM. While creating a material -an error is raised ( The company code 2020 does not exist or has not
    been fully maintained). i checked the plant is maitained in ox10. Guide me  to slove this issue.
      Thanks in advance
    regards
    Anandh

    Thanks Mr.chakrapani .
      My issue is solved.
      Why this error occurs. We cant create a new plant(ox10) without copying the existing plant.
    regards
    Anandh

  • Code will not compile when changing method name in related class

    Hello all! I'm wondering if anyone can help a second-time poster. I have a class called Transcription which holds the artist name and song title of a guitar transcription. Transcription has a method toString() which returns a String containing the artist name and title. I have a class GuitarMag which holds a vector of Transcription objects, and has a method WriteGuitarMag() which returns a String containing, among other things, the toString() method for each Transcription in the transcriptions vector. I wanted to change the method name in Transcription to writeTranscription() for consistency, but when I refer to that method in WriteGuitarMag(), GuitarMag gives an error to the effect that the writeTranscription() method does not exist.
    This works fine:
        //Transcription object
        public String toString(){
            return "" + artistName + "\t\t" +  songName;
        //GuitarMag object
        public String WriteGuitarMag() {
            StringBuffer tmp1 = new StringBuffer();
            //find out how many components are in the vector
            int transCount = this.transcriptions.size();
            StringBuffer tmp = new StringBuffer("Name: " + this.getMagName() + "\n" +
                   "Cover: " + this.getCoverDesc() + "\n" +
                   "Date: " + this.getMagDate() + "\n" +
                   "Transcriptions:" + "\n");
            for (int i = 0; i < transCount; i++) {
                tmp1.append(this.transcriptions.elementAt(i).toString() + "\n");
            tmp.append(tmp1);
            return tmp.toString();
        }But this does not:
        //Transcription object
        public String writeTranscription(){
            return "" + artistName + "\t\t" +  songName;
        //GuitarMag object
        public String WriteGuitarMag() {
            StringBuffer tmp1 = new StringBuffer();
            //find out how many components are in the vector
            int transCount = this.transcriptions.size();
            StringBuffer tmp = new StringBuffer("Name: " + this.getMagName() + "\n" +
                   "Cover: " + this.getCoverDesc() + "\n" +
                   "Date: " + this.getMagDate() + "\n" +
                   "Transcriptions:" + "\n");
            for (int i = 0; i < transCount; i++) {
                tmp1.append(this.transcriptions.elementAt(i).writeTranscription() + "\n");
            tmp.append(tmp1);
            return tmp.toString();
        }Any thoughts or feelings about this?

    Thanks for your reply. Yes, I compiled the Transcription class first, and then the GuitarMag class, so it shouldn't have been a problem. In thinking about it more today, I'm wondering if I need to cast the vector component to a Transcription object first. Because all objects have the toString() method, it works without casting, but if I rename the method it doesn't?

  • Problem with executing shell script on linux through java code.

    i am facing problem to kill jboss process on linux that is my application requirement. for that i created one shell script that will get all the process for jboss instance and kill them when i am running that script from command prompt on linux its working perfectly.
    The command i am using ---
    /opt/RW9/jboss/v4.0.5.GA/bin/restartjboss.sh.
    but when i am running through java code its not working.
    the java code i am using is:-
    pp = Runtime.getRuntime().exec(new String[]{"/bin/sh", "-c", "/opt/RW9/jboss/v4.0.5.GA/bin/restartjboss.sh"});
    could anyone tell me what is the problem ?
    Edited by: akm198110 on Sep 2, 2008 9:24 AM

    I got the problem after long struggle ,after doing proper path i am able to execute the shell script..

  • My source does not compile in 1.5 because of generics in libraries

    Hi,
    I have a problem with my source codes written for 1.3 and 1.4 java. I have been implementing Iterator, Collection, List and extending ArrayList in many ocassions. All works as expected in 1.4 but if I try to compile it with 1.5 it does not compile. I do receive many errors which generally speaking are showing that compiler does think that X subclass is not the same as a subclass of X<?> generic which simply makes all my code to not compile.
    Does anybody had similar problems with their code? Does anybody knows how to rewrite problematic code so that it will compile under BOTH 1.4 and 1.5 without -source 1.4 option?
    Some examples, stripped to problematic parts:
    public class CSectionList extends ArrayList
    public final boolean add(Object element)
                 int p = Collections.binarySearch(this,element);
    /** Here comes error:
    cannot find symbol
    symbol  : method binarySearch(sztejkat.utils.CSectionList,java.lang.Object)
    location: class java.util.Collections
                    int p = Collections.binarySearch(this,element);
              if (p<0)
    public class CMemoryViewTable extends JTable
    /** Here comes error:
    name clash: setDefaultRenderer(java.lang.Class,javax.swing.table.TableCellRenderer) in sztejkat.hdl.debugger.ui.CMemoryViewTable and setDefaultRenderer(java.lang.Class<?>,javax.swing.table.TableCellRenderer) in javax.swing.JTable have the same erasure, yet neither overrides the other
    public class CMemoryViewTable extends JTable
        public void setDefaultRenderer(Class columnClass,
                                             TableCellRenderer renderer)
              if (renderer!=null)
                   super.setDefaultRenderer(columnClass,new CCursorRenderer(renderer));
              }else
               super.setDefaultRenderer(columnClass,null);
    }In first example it seems to not catch that my CSectionList is a List<>, while in second it does not treat Class and Class<> equally what makes compiler to think that I don't override setDefaultRenderer method what I actually wanted to do (and did in 1.4).
    Please help...
    regards,
    Tomasz Sztejka
    P.S.
    Where the source compatibility have gone between 1.4 and 1.5? If it will look like this I strongly vote to NOT touch java language specification - it was very nice, simple and clear language. With autoboxing and generics it starts to do a lot of things behind my back what I don't like - this is why I moved from C++ to Java - hate what C++ did with overloaded operators. But maybe I'm just to stupid.

    Hi,
    I'm still not getting a good grip on generics, and still think they are not necessary.True, but when you have assembler you might not need C or Java. With assembler, you can write the most efficient programmes, but fixing a bug is not easy. With the higher level of C and Java, fewer trivial errors are made. The introduction of generics is another step towards compile-time bug prevention.
    Will your request block me from having a set of different classes,
    derived from different superclasses, all
    implementing Comparable in the way, that they use
    instanceof to check for proper relation (ie. I would
    like to sorting to sort all classes A by some value
    and all classes B to land in front of list)?Regarding raw classes, my request will change the erased interface of Comparable from
    int compareTo(Object o);to
    int compareTo(Comparable o);This would mean that all non-generic implementions of Comparable would have to be modified. I should have requested this enhancement ten years ago, but back then I did not know about Java at all :(
    Where largest common superclass is Object (ie Asuper
    is not instanceof Bsuper and vice-versa).
    Will soring list of such objects (both A and B) will
    be legal after your RFE ?Both A and B implement Comparable, so that should not be a problem.

  • Task Does not get triggered when User is created through API

    Hi,
    Each new user in our OIM environment is supposed to have a iPlanet account. I have configured the access policy for the same and it works.There is also a process task which needs to be triggered once the user is successfully created in the DS. Following is my issue:
    1.When the new user is created through the admin console, the user is provisioned successfully to DS as well because of the access policy and the task also gets triggered successfully.
    2. There is an approval workflow for another resource, at the end of which a user needs to be created through APIs in OIM. The user gets created successfully in OIM and also get provisionined to DS just like in the above use case. However, the task fails in this case. I see that the task is being triggered from the user's resource profile, but the status is rejected.
    Can someone please tell me why is this happening. I initially though there was some issue with my adapter for the task, but in case 1 it works just fine.
    Following is the exception I get as soon as the iPlanet connector finishes creating the user in DS:
    java.lang.ClassCastException: java.lang.String
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETFIELDSONUSERCREATE.implementation(adpSETFIELDSONUSERCREATE.java:51)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    Thanks,
    Supreetha

    Hi,
    Have you checked the process data that you are passing to this adapter and check the mapping of process data to the adapter variable. Try to log the value which you get from process data. I got this error when I was trying to use the literal value from process data as "true" for a boolean value. This is a bug. This value is not actually a boolean value. It threw me error too sometimes back. Either you pass the boolean value from adaptor factory as a literal value or change the type boolean both in your code and the adapter.
    OIM works strangely. ;) All the best,
    Manila

  • Trigger will not compile

    I wrote the trigger which compiles with errors. The errors are:
    Error(9,5): PL/SQL: SQL Statement ignored
    Error(9,12): PL/SQL: ORA-00903: invalid table name
    Error(14,5): PL/SQL: SQL Statement ignored
    Error(14,12): PL/SQL: ORA-00903: invalid table name
    and so on for the other lines that reference a table. I tried prefixing the table with the schema name and removing the alias but it will not compile either way. Is there something obvious that I don't see?
    Create Or Replace Trigger ERR_EVACUATION_TAB_BU
    Before Update On Err_Evacuation_Tab
    For Each Row
    Begin
    If V('APP_USER') Is Null Then
    :new.last_update_by := USER;
    ELSE
    :new.last_update_by := V('APP_USER');
    END IF;
    :New.Last_Update_Date := Sysdate;
    If :New.Evacuated_Ind = 'Y' And :New.Entire_Evac_Ind = 'Y' And :New.Remaining_In_Apt = 0 Then
    Update Table Err_Impaired_Tab Eit
    Set Eit.Evacuated_Ind = 'Y'
    Where Eit.Location_Code = :Old.Location_Code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    Update Table Err_Lifesustain_Tab Ert
    Set Ert.Evacuated_Ind = 'Y'
    Where Ert.Location_Code = :Old.Location_Code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    else
    Update Table Err_Impaired_Tab Eit
    Set Eit.Evacuated_Ind = 'N'
    Where Eit.Location_Code = :Old.Location_Code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    Update Table Err_Lifesustain_Tab Ert
    Set Ert.Evacuated_Ind = 'Y'
    Where Ert.Location_Code = :Old.Location_Code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    End If;
    END;

    --untested
    CREATE OR REPLACE TRIGGER err_evacuation_tab_bu
       BEFORE UPDATE
       ON err_evacuation_tab
       FOR EACH ROW
    BEGIN
       IF v ('APP_USER') IS NULL
       THEN
          :NEW.last_update_by := USER;
       ELSE
          :NEW.last_update_by := v ('APP_USER');
       END IF;
       :NEW.last_update_date := SYSDATE;
       IF     :NEW.evacuated_ind = 'Y'
          AND :NEW.entire_evac_ind = 'Y'
          AND :NEW.remaining_in_apt = 0
       THEN
          UPDATE err_impaired_tab eit
             SET eit.evacuated_ind = 'Y'
           WHERE eit.location_code = :OLD.location_code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
          UPDATE err_lifesustain_tab ert
             SET ert.evacuated_ind = 'Y'
           WHERE ert.location_code = :OLD.location_code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
       ELSE
          UPDATE err_impaired_tab eit
             SET eit.evacuated_ind = 'N'
           WHERE eit.location_code = :OLD.location_code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
          UPDATE err_lifesustain_tab ert
             SET ert.evacuated_ind = 'Y'
           WHERE ert.location_code = :OLD.location_code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
       END IF;
    END;Edited by: most wanted!!!! on Apr 20, 2012 2:20 AM

  • How to attach the T.CODE to a report created through REPORT PAINTER

    Hi all,
    Please tell me "<b>How to attach the T.CODE to a report created through REPORT PAINTER".</b>.
    Please show me the way how to do it as its getting too firing issue !!
    Awaiting for the early responses !!
    M.Soni

    Dear All,
    I got some good inputs from <b>Jessie</b> on this issue and observed that the reports which are created through report painter are standard one having entries in the TSTCP table .
    <b>But the reports(Through Report Painter) which are creaed by us has no entry in TSTCP table !!</b>
    Kindly show the way, how to attach the T.code to the reports which are created through report painter. as its getting so buggy now !!
    Please tell me if someone know about this.
    <b>Please note all my reports are created directly in the 500(Production</b>).
    Waiting for quick inputs !!
    Regards,
    M.soni

  • Code generated from imported web service model does not compile

    I have created a model in Web Dynpro by importing a web service model using a valid WSDL, but the generated code won't compile because of type mismatches.
    The problem is that methods sometimes try to pass plain objects to methods whose parameter is an array of that object, and a List to methods whose parameter is a plain object.
    [Examples from SAP Netweaver tasks below]
    Thanks,
    Alastair
    snip
    The method setSessionData(EntInstType) in the type AssessRequestData is not applicable for the arguments (EntInstType[])     
    ComplexType_AssessRequestData.java
    Type mismatch: cannot convert from EntInstType to EntInstType[]     
    ComplexType_AssessRequestData.java
    The method setResult(List) in the type Response_JrbrsRefGeneric_listGoals is not applicable for the arguments (EntType)
    Request_JrbrsRefGeneric_listGoals.java

    I'm getting the same error.
    Type mismatch: cannot convert from short[][] to short[]
    ComplexType_Carton.java
    and...
    The method setNumeroscarton(short[][]) in the type Carton is
    not applicable for the arguments (short[])
    ComplexType_Carton.java     
    Steps to recreate the problem:
    1. Create and Expose webservice method with a parameter whose type has a short[][] (or bidimensional array of anything) field (property).
    2. Try to import the web service in web dynpro... <b>kaputt</b> it won't compile.
    <b>Seems like a bug to me. Someone please advice.</b>

  • Why some times delivery  will created through vl10c even sale order stock is not available?

    Hi,
    why some times delivery  will created through vl10c in batchmode even sale order stock is not available?
    Thanks,
    Kalyan.

    the correct english name is : Replenishment leadtime
    Check with Replenishment lead time - Supply Chain Management (SCM) - SCN Wiki

  • Field Profit Center is not populated while posting through T-Code F-02

    Dear Sir / Madam,
    While posting through T-code F-02 the field Profit center is in hidden mode
    as a result I am getting the given below error.
    "GLT2201 - Balancing field profit center in line item 001 not filled"
    Please guide me as to how do I change Field status varient so that the field Profit center gets activated in optional mode in F-02.
    I tried searching the same but could not find the solution.
    Regards
    Chirag Shah

    Dear expert
    Check following steps...
    1. Use transaction ACSET and enter cost center as your account assignment for type 01 APC posting..
    2. Make sure Cost Center exists in the Asset Master..
    3. Make sure profit center is entered into Cost Center master.
    4.Check the steps where you assign the GL accounts to the splitting rules.
    suggest you to go through the below mentioned links
    Balancing Field "Profit Center" in line item 001 not filled
    Balancing field "profit center" in line item 001 not filled
    GLT2201 - Balancing field profit center in line item 001 not filled
    Balancing field "Profit Center" in line item 001 not filled
    F-51: Balancing field "Profit Center" in line item 001 not filled
    Balancinf field profit center in line item 001 not filled
    Regards,
    Ajeesh.s

  • Error "Jurisdiction code could not be determined" in so create bapi

    I am using the bapi "SO_NEW_DOCUMENT_ATT_SEND_API1" for creating the sales order,
    it gives the error "Jurisdiction code could not be determined" Sometimes there are two juridiction code maintained in the system .
    1) During the ship to party address change at sales order , city , country and postal code fields determine the Juridiction codes. Sometimes there are two juridiction code maintained in the system for one city and in such cases BAPI fails to create an order.
    2)When the ship to party is foreign country then we do not need Juridiction code in sales order. In such cases also the BAPI fails to create sales orders and writes an error log , saying juridition code could not be determined.
    Proposed Soltuion.
    We have to modify the BAPI to force the values of ship to address as it is from the text file without exiting the sales order creation.
    Thank You,
    Ganesh

    hi ,
      u need to give the right postal address. If it is then it won't give the warning message.
    Regards,
    Rose.

Maybe you are looking for

  • Simple drag&drop with handler doesn't work in Edge?

    Hi all! I made this very simple example of Drag&Drop in Edge: http://www.terredainventare.it/simpledrag/simpledrag.html using Jquery Ui http://docs.jquery.com/UI/Draggable. I try to use the JQueryUi "handle" property that makes you drag an object res

  • Refresh Issue in my Effect Plugin

    Hi, I'm writing a small effect plugin, where i have one or two color pickers in the UI. The layer i'm applying the effect will be PreComp (with 2 layers inside). So whenever i change the color in my effect, that color should be updated to the Fill Ef

  • Vendor extended to different purchase organisations

    dear all mm gurus, pl update thru which t-code, one can see vendor extended to different purchase organisations. pl help regards srihari

  • Make Button load Words from List

    Hey Guys!!! Just a note, I dont know about proramming and I am new to flash so please say you responses in the simplest way possible, thankyou! So I am making an app that when you click a button it will randomly select a Who, What, When, Where, and W

  • Attachments No Go

    Using Netscape 7.2 I can send mail with no problem. When I attach a file I get message"Check mail settings". When I switch to Outlook Express I have no problems sending mail with attachments. Some time ago I posted this message and I think "Jon" answ