Problem in the output of J1INQEFILE

Dear All,
I am facing a problem to capture the WHT amount in J1INQEFILE.
I m working on 4.7.
we have seperate tax types & seperate tax codes for every section code. WHT cycle is working fine till J1INQEFILE, which is a eTDS returs. System is giving me the total amount of TDS deducted for every vendor, which is shown as per the every document. If i drill down from the report i can see the document entry.
But the standard SAP report have columns for TDS, surcharge & Ecess.
When I execute the J1NQEFILE, The TDS column is capturing the values of
TDS Base amount + S. Ecess
and the Surcharge of 10% and the ECess of 2% is calculating Perfectly.
I have also applied note no: 1097621, yet the problem is persisting.
The OUTPUT I want to have is the
TDS Column to show just the TDS base amount only
and the
E Cess column to show the E. Cess + S. Ecess
and
Surcharge remaining unchanged
What changes do I need to do further to pull the desired output
Thanks & Advance,
ABAPer

refer to sap note: 984623, from the above note pick notes relvevant for version 4.7
Ur problem will be resolved.

Similar Messages

  • Micro Zen | problem with the output "ho

    Hello.
    For a few weeks now the contact in the output "hole" get worse and worse. When i plug in my earphones and only touch and bend the plug a little bit in direction to the screen, the sounds gets all numb,quiet and sometimes i hear nothing. It turned that worse that i can't have the Zen in my pockets anymore, cuz the cable bends and so the sounds goes all quiet...
    I think it's a warranty subject, what do I have to do to send it in? I had a problem last july with it already and sent it in, but forgot the procedure it goes through
    Oh and I also handed it in to my local shop where i bought the Zen in 2005 because of a hardware issue and they got me a new one from creative (so they handled the whole RMA procedure).
    So what am I gonna do now? I bought the Zen in july 2005 and Creative already knows that because of the first RMA ^_^

    Before you do anything. Which headphones are you using? Are you using a case?
    My case fits around the hole perfectly so if the plug of the headphones is to thick like my Sony MDR-V50 (http://images.amazon.com/images/P/B000092YPR.0.LZZZZZZZ.jpg) it will play.. but if I move the wire around just a bit only the left side of the headphones will work. So I have to use the earbuds that came with my MicroPhoto.. a shame to cause headphones sound so much nicer then earbuds.. oh well. Try a different pair of headphones/earbuds.

  • Adhoc Query- problem with the output file format

    Hi Gurus,
    I have a problem in exporting the output of an adhoc query to Excel format.
    The menu option I chose to export the report data into Excel is List>Export>Spreadsheet.
    However,I think I've just pressed the wrong option to export my report and now I can't seem to change it from a HTML file option.
    Can anybody help me correct this output setting.
    Points assured for apt help...

    Hi Sushil,
    There are two ways to save the output in the excel format.
    As you have mentioned, you can use
    List -> Export-> Spreadsheet.
    Then select table. Now the output will open in a spreadsheet.
    The other way is
    List -> Export-> Local File
    Here you need to select the option spreadsheet. Then mention the path where you want the file to be stored. Also mention the format as .xls
    Hope this helps
    Regards,
    Brinda

  • Problem with the Output Type and Transaction ME9F

    Hi,
          I have an Output Type (xyz) and Program (abc).
          If for ME21N i give the output type ( xyz ) the n am able to get the Spool and 
          Printout.
          If for ME9F i give the output type ( pqr) then am able to get the Spool and 
          Printout.
          Problem is :---
          when am using O/P Type ( xyz ) for ME9F then am abel to process but am
          not able to get the spool and not even printout.
          I want to know where it can be wrong.
          It's a high priority object.
    Kindly help me out.
    Thanks,
    Zia.

    hi Zakir,
    1.check the output type under
    apllications  'EF' IN transaction  NACE.
    2.select that ef and press the push button output types .
    3. now check ur output for is present here or not ..
    just click the position button and give ur output type ..
    4. when u find ur output type .. select that o/p type and click processing routined on the left side where u will see ..
    when u do this
    u ll see the details like
    output type . the output type  "
    application . 'EF'
    and the mode of medium .
    1. print out
    2. fax .
    6. edi etc.
    this is the way to check what are the mediums present for the output type ..
    check whether u r <b>entries (xyz) and (pqr) are having medium 1.</b> 
    if its missing  then assign it ..
    regards,
    VIjay

  • Problem displaying the output in the same view

    hi Gurus,
    I have developed an web dynrpo application and have three views, in the first view I am having an input field from which I am calling a BAPI by giving that input field value as input to the BAPI.
    Now is it possible to display the output also retrived from the BAPI on the same view.
    Thanks and regards
    kris

    hi LM,
    Thanks for your fast response.
    I think I was not clear in explaining my problem.
    I have a view in which I have an input field which is the input to the BAPI, now on entering the value in the input field I have a submit button, on clicking the BAPI should be executed and also the the output should be displayed on the same view.
    Now regarding the mapping both the input and output are in the same context, would that a problem.
    And also after getting the output from the BAPI I have to do some validations based on the output from the BAPI and get some message printed on the view.
    Please help me in this issue.
    Thanks and regards
    kris

  • Extracting Images from EPS - Problem with the Output

    Hello,
    I got a big problem extracting images from an EPS, which has been made in InDesign. The image does not appear correct.
    Source code:
    %ALDImageFileName: Speicher:image.jpg
    %ALDImageDimensions: 30 30
    %ALDImageCropRect: 0 0 30 30
    %ALDImageCropFixed: 0 0 30 30
    %ALDImagePosition: 203.8677 344.8913 203.8677 359.2913 218.2677 359.2913 218.2677 344.8913
    %ALDImageType: 4 8
    %%BeginObject: image
    [14.4 0 0 14.4 203.868 344.891 ]ct
    snap_to_device
    Adobe_AGM_Image/AGMIMG_fl cf /ASCII85Decode fl /RunLengthDecode filter ddf
    <<
    /T 1
    /W 30
    /H 30
    /M[30 0 0 -30 0 30 ]
    /BC 8
    /D[0 1 0 1 0 1 0 1 ]
    /DS [
    [AGMIMG_fl 30 string /rs cvx /pop cvx] cvx
    [AGMIMG_fl 30 string /rs cvx /pop cvx] cvx
    [AGMIMG_fl 30 string /rs cvx /pop cvx] cvx
    [AGMIMG_fl 30 string /rs cvx /pop cvx] cvx
    /O 3
    >>
    %%BeginBinary: 1
    img
    p&G-p!<E*"!<<3"!!!&i!!30$!Vl`q!V$-m!WW3&!r`0#!Wh]h!!20]!WW3$qZ$^!!!!&f!!30$!WE'!
    !WE'$!<<*#nc/[l!W<!#!WW3%h>dNVnGiXl!<<-)!!*'"!<<2f!<*$!!<3)a!!!&t!!*-%kl:\ar;Zm"
    !!2He#6G2G(D[>Z!<*#e!!WKUEK,/l!r`0"!V$.!!Wi?'-t[mD-NjDN!!2Zk!!3#u"T\]4$OR%8!!!&h
    !!<6)*\I@D!\,8pq>g3h%KQP0';ta-rr2ho&-2b3mf3Y*Q/q,jk2D[9"76'h!=o#B!Y,22n,Nn!!!=Q!
    0.ee,0/"XS!VHHl!!E<'!"[l]rrUsd!Ug!r&'a/!k3(mej38#8mJm8&'`/UF'`J.(!"8l.+"o,p/hSe-
    /M8.8!!<6%!i#Yn!<2rs!2Ao^$NZFPk2tpjkND!jP3r;O%29TU'`o-b%e'H-!=:8,0/"h-.kN>(.gkeH
    "T^(Js8W&srrE$$rr;gE!V-4"""*$ljlY^djQYmmi$\'q!W`9(p([Q1nc/dn!#@(:r[nC..kE8)/emgU
    !<IHErs8W(rr<#trr76B!:p1!CZadBk2kmhj65^iD"%E-$5O?k'`&OE$M"0,!<<uh0.ee0/h\e,/h.k2
    !!*+arVm-$s8W)us8J2U!;Z[(L?.U[kN:sflf@0hK^f$D!=T\>'a5?f'c%2YnGit6/1iM*/1iA*.kWFi
    nc/dn!I+SBqYpWrrcdo5!<N60C$4[@ki_*hl0.?lD".K0!=9MV'c%S_'`f!Vnc01&!!t50/M8P+/h8J)
    .gH+F!!+PDrVllsrVlrp.KT,@#QauQip#Ifk3*$4ki:gb-3Nc<$j.4Z'GV>s'bqJt('F(,%06GL/hJ_.
    .k<;..j"f]!!32!rql]tr;WMmmf3c`k2tsgk2tmikEZ,Kn,NJ!'`/UJ'G_,X!V-6i!=L8*/2&S./M&=P
    !!2Ti"9AV]s8N#t"o\JY&c_t$!"-g0j6,RdkNBr!!r2ii!!!]1'a,9f'*84(!"Ar/""YuT/M8Y)!WW3$
    nc0%!!!!Z$s8N#ts76`i!"T,3!!3\bl0.?qjkC7H!!;`lrW!!#!>PMJ!u;Ub!Ug$f!=JlU/M/S*/ggZ#
    !!2Ng$3K)as8N&tjT#8]m/R@3k2b[ck03)j!>?4H'`\p6!!**(r[e6p.kWIZmJm:h!#kk:#.sp7ru_:B
    mJmV6jQ>U%kN:kH!!!)h!!!'!'`\gE'`eC:mf3^r!=pb8/ds9_.h;[J!!u[*s8GIerr6%#m/RGck3(kk
    kNM&%!Up'o!<<*)'bhDfrY5G=!Vufj!"K#0!#mOB.0(kM0,afj!V$-u!<A8^s6B[Es8S8_!U]poKBMCG
    !7'`iKECN@#RhF_'*&[\'b'X5r;[9-!$a!F*W[<7.jP)q!V-4#!<<,As8T>(W;lnB!!!&g!"63skFhmD
    jlEuS!!2Ng#S7^d%KHtR'bTm7!s/H(/-mj['`\n!/1Ukk!"985s8@'?Du]k7%KHP#!"8l0$KC71C'%l,
    jl$a?!!<6%!!3'6!X\o6rY5J8!!2Qh#Ri::0*_I`/1U`S%.4)q5Q:Zg2ukf6s8P=a!V$-t!]]?)jY?ff
    kN:qhmJmFp()7Pf!!N99!!Vcj$l1NL.KKPM/1iIi!!3'!o`,F%!dakFpBL[$pAb/A!Up's!H@5cf`qK\
    hWF!BmJmV%'GV;_!!*`J'FFm3!!WH(!?WpE,Q7ZH+tP;f!!2foq>^W-s8Tn6!!L"8s0r.!!">[bkcXsf
    !3>;FU]CPd!!<]G'bL?E!tZ.^&+9K$!\#`P)?'U>'eM$g!!2Zk!W`9$$g.KhLB.ATL&_2?"7Q9n!RU)n
    I/X*KGN@l9"Rc<t',;8j!!!$,'bhAP!!WQ+!"US5%fQG1%PKFQn,NUm!*fL'9)\en8,rO]!V-4"!rrBu
    jQ/].!WYOLl&b?6"9AcD'aFX;"9oSU%0>nt$NV(q!rr<%"YC_q"7Z@"!<<+Eq@Wc/!#,C9"9&;k!!E?)
    D;u0+!!<qtS-&0["T\T'$5EXA!!33:%da5t!<<]/!!3u<!V$-o!<<*#!FZ$-!!A;d!!2ipq#CKu!<?7$
    !!WK)KEM8T"RZ6i$2so,!<<Q0li77k!!30$!<</h!!!'!!!E<'!!!&c!"8o/!!*'#"98E'!WW;h!!!'!
    !!NB'!<<*#n,N[o!<<*#!!!'!!!!&f!!E<&!!*-"!!!'!!!**%o)K!s!!*-$!<<*#!!<-"!Wi?&l2Ueb
    rVup!q#Gp~>
    %%EndBinary
    %%EndObject
    Orginal image Size 553,9 KB
    After decoding the size is only 1,8 KB
    First try.
    public class ASCII85Decode {
    private ByteBuffer buf;
    * initialize the decoder with byte buffer in ASCII85 format
    private ASCII85Decode(ByteBuffer buf) {
    this.buf = buf;
    * get the next character from the input.
    * @return the next character, or -1 if at end of stream
    private int nextChar() {
    // skip whitespace
    // returns next character, or -1 if end of stream
    while (buf.remaining() > 0) {
    char c = (char) buf.get();
    if (!isWhiteSpace(c)) {
    return c;
    // EOF reached
    return -1;
    public static boolean isWhiteSpace(int c) {
    return (c == ' ' || c == '\t' || c == '\r' || c == '\n'
    || c == 0 || c == 12);
    // 0=nul, 12=ff
    * decode the next five ASCII85 characters into up to four decoded
    * bytes.  Return false when finished, or true otherwise.
    * @param baos the ByteArrayOutputStream to write output to, set to the
    *        correct position
    * @return false when finished, or true otherwise.
    private boolean decode5(ByteArrayOutputStream baos)
    throws PDFParseException {
    // stream ends in ~>
    int[] five = new int[5];
    int i;
    for (i = 0; i < 5; i++) {
    five[i] = nextChar();
    if (five[i] == '~') {
    if (nextChar() == '>') {
    break;
    } else {
    throw new PDFParseException(
    "Bad character in ASCII85Decode: not ~>");
    } else if (five[i] >= '!' && five[i] <= 'u') {
    five[i] -= '!';
    } else if (five[i] == 'z') {
    if (i == 0) {
    five[i] = 0;
    i = 4;
    } else {
    throw new PDFParseException(
    "Inappropriate 'z' in ASCII85Decode");
    } else {
    throw new PDFParseException(
    "Bad character in ASCII85Decode: " + five[i]
    + " (" + (char) five[i] + ")");
    if (i > 0) {
    i -= 1;
    int value = five[0] * 85 * 85 * 85 * 85 + five[1] * 85 * 85
    * 85 + five[2] * 85 * 85 + five[3] * 85 + five[4];
    for (int j = 0; j < i; j++) {
    int shift = 8 * (3 - j);
    baos.write((byte) ((value >> shift) & 0xff));
    return (i == 4);
    * decode the bytes
    * @return the decoded bytes
    private ByteBuffer decode() throws PDFParseException {
    // start from the beginning of the data
    buf.rewind();
    // allocate the output buffer
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    // decode the bytes
    while (decode5(baos)) {
    return ByteBuffer.wrap(baos.toByteArray());
    * decode an array of bytes in ASCII85 format.
    * <p>
    * In ASCII85 format, every 5 characters represents 4 decoded
    * bytes in base 85.  The entire stream can contain whitespace,
    * and ends in the characters '~&gt;'.
    * @param buf the encoded ASCII85 characters in a byte buffer
    * @param params parameters to the decoder (ignored)
    * @return the decoded bytes
    public static ByteBuffer decode(ByteBuffer buf)
    throws PDFParseException {
    ASCII85Decode me = new ASCII85Decode(buf);
    return me.decode();
    2. Try
    public class Ascii85Decode {
    private final FileOutputStream fos;
    private Ascii85Decode() throws FileNotFoundException {
    File f = new File("/home/markus/1/test/bild.jpg");
    fos = new FileOutputStream(f);
    @Override
    protected void finalize() throws Throwable {
    fos.close();
    super.finalize();
    public static byte[] decode(byte[] in) throws FileNotFoundException, IOException {
    Ascii85Decode ascii85Decode = new Ascii85Decode();
    ascii85Decode.setData(in);
    ascii85Decode.decode85();
    return null;
    static long pow85[] = {85 * 85 * 85 * 85, 85 * 85 * 85, 85 * 85, 85, 1};
    private byte[] in;
    private void setData(byte[] in) {
    this.in = in;
    void wput(long tuple, int bytes) throws IOException {
    switch (bytes) {
    case 4:
    putchar((int) (tuple >> 24));
    putchar((int) (tuple >> 16));
    putchar((int) (tuple >> 8));
    putchar((int) tuple);
    break;
    case 3:
    putchar((int) (tuple >> 24));
    putchar((int) (tuple >> 16));
    putchar((int) (tuple >> 8));
    break;
    case 2:
    putchar((int) (tuple >> 24));
    putchar((int) (tuple >> 16));
    break;
    case 1:
    putchar((int) (tuple >> 24));
    break;
    void decode85() throws IOException {
    long tuple = 0;
    int c, count = 0;
    int i=0;
    for (;;) {
    switch (c = in[i]) {
    default:
    if (c < '!' || c > 'u') {
    System.err.println("%s: bad character in ascii85 region: %#o\n");
    System.exit(1);
    tuple += (c - '!') * pow85[count++];
    if (count == 5) {
    wput(tuple, 4);
    count = 0;
    tuple = 0;
    break;
    case 'z':
    if (count != 0) {
    System.err.println("%s: z inside ascii85 5-tuple\n");
    System.exit(1);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    break;
    case '~':
    if (in[i+1] == '>') {
    if (count > 0) {
    count--;
    tuple += pow85[count];
    wput(tuple, count);
    c = in[i+1];
    return;
    System.err.println("%s: ~ without > in ascii85 section\n");
    System.exit(1);
    case '\n':
    case '\r':
    case '\t':
    case ' ':
    case '\0':
    case '\f':
    case '\b':
    case 0177:
    break;
    i++;
    private void putchar(int l) throws IOException {
    //System.out.write(l);
    fos.write(l);
    Does anybody have an idea to solve the problem?

    A scan from string function can be used as per the attachment. The double \ ('\\') is in the format string in order to interpret the '\' characters in your input string as literal characters and not special formatting.
    Message Edited by Dennis Knutson on 07-10-2006 03:53 PM
    Attachments:
    Scan From String.JPG ‏5 KB

  • Problem with the output ports of the data service !!!!! attention

    Hi,
    I have created a functional module x using abap programming.
    The functional module x with  one input and one  output table.It successfully executed in abap.
    Later i activated and used it in  visual composer 7.1 .It worked perfectly fine.
    The input port displayed was :Hollow Diamond shape
    The output port displayed was: Filled Square shape.
    Then i thought of changing the abap program by adding one more input and one more output table.
    So i have two inputs and tow output tables.
    The abap program exceuted correctly.
    But when i used it in visual composer 7.1 . It didn't work.
    As
    The input port displayed was :Hollow Diamond shape ( correct )
    The output port displayed was: Filled circle shape.( Not a correct display ).
    So i couldn't drag the table output from the circled port.
    But When i test the data service then it gives perfect results.
    Later i created a new functional module Y with same  two inputs and same two output tables. It worked fine.
    Please help me . When ever i add new tables to already activated data service i face the same problem.
    Kindly advice.
    Regards
    Tekumalla

    Hi,
    Following is an image of a slide describing the port types in Visual Composer:
    http://img116.imageshack.us/img116/2465/portshapesrt7.png
    Which port is appearing on your service?
    Would it be possible for you to send a screen shot of your service in VC?
    Thanks,
       Shai

  • Problem with the output volume

    I installed StartupSound.prefPane
    http://www5e.biglobe.ne.jp/~arcana/StartupSound/BETA/index.en.html
    on my macbook in order to control the startup chime's volume. Next I uninstalled it, because didn't like. Now, the output volume is not working; I cannot modify the level of volume on the Sound preferences (System Preferences). Any idea to solve this problem? Thanks in advance. PS: to uninstall this software, I did double click on the unistaller that software provides.
    Sometimes the sound works but then turns intermittent ¿? what should I do? Thanks.
    Message was edited by: HREsquivelO

    Hello,
    Try deleting this file. com.apple.audio.DeviceSettings.plist
    /Users/YourName/Library/Preferences. Drag that file from the Preferences folder to the Trash, empty the Trash and reboot.
    If that doesn't make a difference, locate this file. com.apple.audio.SystemSettings.plist
    MacintoshHD/Library/Preferences. Same procedure.
    Carolyn

  • Problem in the output Excel sheet.

    I have a requirement of adding two bands to the existing report.The output sheet is Excel which is off 4 sheets formatted with colors and headings as ouput which is done by calling the XML Classes.
    I am not able to find my two fields which are added in the output excel.
    Please let me know your suggestions.

    check the structures, if you made changes is the correct structure or not...
    make sure data is beeing pulled into you tables before passing to excel FM..

  • Problem printing the output

    i'm writing a getClassMean() which is going to compute the Mean score of the whole class. in the following myLines is a ArrayList object that stores each String from my input file, which look something like:
    Stevens, Frank, Z.; 87, 86, 92, 78, 86
    Franklin, Susan, A.; 98, 88, 94, 98, 95
    Bowers, Brett, B.; 85, 78, 83, 84, 89
    This is the method in the Mean class:
    protected ArrayList<Double> classGrades = new ArrayList<Double>();
    public double getClassMean(){
                String gb;
                String[] array, grades;
                double mean;
                double score;
                for(String l : myLines) {
                    array = l.split("; ");
                    gb = array[1];    //gb --grade block
                    grades = gb.split(", ");
                    for(String scoreStr : grades ) {
                        score = Double.parseDouble(scoreStr);
                        classGrades.add(score);
                double sum = 0.0;
                for(double d : classGrades) {sum += d;}
                mean = sum / classGrades.size();
                return mean;
            }and the Driver program has this:
    Mean m = new Mean();
    double classMean = mean.getClassMean();
    System.out.println(classMean);but the output print something i don't understand:
    NaN
    can someone tell me what's going on? thanks!

    NaN is "Not a Number" it comes from doing operations with undefined results, like 0.0 / 0.0 .
    Print out sum and classGrades.size() before doing that division, then trace backwards (add more print statements if you need to) to find your bug.

  • Problems with the output of an array

    Hallo,
    I have got problems with giving out an array.
    I declared two arrays and puted them out, but with the
    resultarray it doesn�t work. Cansomebody help me?
    Here is a runtime output:
    Grad eingeben!
    1
    Koeffizienten eingeben!
    1
    2
    1x^0 + 2x^1 +
    1
    Grad eingeben!
    3
    Koeffizienten eingeben!
    2
    3
    4
    5
    2x^0 + 3x^1 + 4x^2 + 5x^3 +
    3
    p:1
    this:3
    And here is the source code
    // Die Klasse Polynom dient dem Umgang mit dem Polynom
    //Sie enth�llt die Methoden:
    //   > public void readCoeffizients()
    //   > public void show()
    //   > public int getGrad()
    //   > public Polynom add(Polynom p)
    //Und den Konstruktor:
    //   > public Polynom(int  n)
    public class Polynom
      private int grad;
      int [] coeffizient;
      private Polynom q1;
      public Polynom(int  n) //Konstruktor mit Stanard-Initialisierung
        this.grad = -1;
        this.coeffizient = new  int [n+1];
        for(int i=1; i<(n+1); i++)
          this.coeffizient[i] = 0;
      public void readCoeffizients() // Methode zum Einlesen der Koeffizienten
        this.grad = (coeffizient.length)-1;
        System.out.println("Koeffizienten eingeben!");
        for(int i=0; i<(grad+1);i++)
          this.coeffizient[i] = Eingabe.intValue();
      public void show() // Methode zum Ausgeben des Polynoms
        for (int i=0; i<(this.getGrad()+1);i++)
          System.out.print(coeffizient[i] + "x^" + i + " + ");
        System.out.println();
      public int getGrad()
        return this.grad;
      public Polynom add(Polynom p) // Methode zum Addieren zweier Polynome
        System.out.println("\np:" + p.getGrad());
        System.out.println("this:" + this.getGrad());
        if(p.getGrad() >= this.getGrad()) // Vorgehen falls p.getGrad() gr��er als this.getGrad()
          q1 = new Polynom(p.getGrad());
          grad = p.getGrad();
          for(int i=0; i<(this.getGrad()+1);i++)
            q1.coeffizient[i] = this.coeffizient[i] + p.coeffizient;
    for(int i=(this.getGrad()+1);i<(p.getGrad()+1);i++)
    q1.coeffizient[i] = p.coeffizient[i];
    else // Vorgehen falls this.getGrad() gr��er als p.getGrad()
    q1 = new Polynom(this.getGrad());
    grad = this.getGrad();
    for(int i=0; i<(p.getGrad()+1);i++)
    q1.coeffizient[i] = this.coeffizient[i] + p.coeffizient[i];
    for(int i=(p.getGrad()+1);i<(this.getGrad()+1);i++)
    q1.coeffizient[i] = this.coeffizient[i];
    return q1; // R�ckgabe des Ergebnisspolynoms
    // Diese Klasse testet die Klasse Polynom
    public class Test
    public static void main(String[] args)
    System.out.println("Grad eingeben!");
    Polynom p1 = new Polynom(Eingabe.intValue());
    p1.readCoeffizients();
    p1.show();
    System.out.println(p1.getGrad());
    System.out.println("Grad eingeben!");
    Polynom p2 = new Polynom(Eingabe.intValue());
    p2.readCoeffizients();
    p2.show();
    System.out.println(p2.getGrad());
    //Polynom p3 = (p2.add(p1));
    //p3.show();
    (p2.add(p1)).show();
    Thanks for your help!

    Ehm, this should really be obvious: because in the
    first two cases you are using the constructor
    and readCoeffizients(), whereas in the third
    case you are only using the constructor.You?re right, but I initiate grad in the add method.Then look again: you don't! You are calling the constructor, but the constructor is not assigning grad in a proper way. If you are refering to the line grad = p.getGrad();this is in fact equal to this.grad = p.getGrad();But this.grad is not q1.grad (which is private). Assign grad in the constructor only (where it belongs) or better still don't use grad at all and derive the degree of the polynom from the length of the coefficients array.

  • Prefix problem in the Output XML

    Hi,
    I am working on iIdoc to file scenario.
    For the Target file structure I have created XSD as it contains a prefix wmb in every field. But when I test , I cud see the prefix as ns0 in MONI. How do I replace the Prefix ns0 with WMB
    I think the probable solutions could be using XSLT Mapping or use XMLAnonymizerBean Module
    Any Inputs would be appreciated.
    Regards,
    Varun

    Hi Varun,
    > For the Target file structure I have created XSD as it contains a prefix wmb in every field. But when I test , I cud see the prefix as ns0 in MONI.  How do I replace the Prefix ns0 with WMB
    No need to create external XSD, follow the standard process. XMLAnonymizerBean provides an easy solution.
    Use the following settings at Receiver communication channel
    Module tab
    Module Name : AF_Modules/XMLAnonymizerBean
    Type :Local Enterprise Bean
    Module Key
    Module Configuration
    1. Module Key : 0
    Parameter Name : anonymizer.acceptNamespaces
    Parameter Key : <interface> WMB
    2. Module Key : 0
    Parameter Name : anonymizer.quote
    Parameter Key : '
    Regards,
    Sunil Chandra

  • Problem in the output when the table name is explicitly assigned.

    hi
    Am using a procedure to copy the information's in a table to a flat file. my aim is to achieve this copy function by assigning the table name from user explicitly.
    this is the program:
    create or replace procedure jk(table_name in varchar2) is
    sel_table varchar2(30);
    l_bool BOOLEAN;
    irows INTEGER := 1;
    buffer LONG;
    f utl_file.file_type;
    BEGIN
    sel_table:='select * from '||table_name;
    f := utl_file.fopen('SAMPLE','tablename.txt','W');
    OWA.cgi_var_name (1) := 1;
    OWA.cgi_var_val (1) := 1;
    OWA.init_cgi_env (1, OWA.cgi_var_name, OWA.cgi_var_val);
    HTP.adddefaulthtmlhdr (FALSE);
    l_bool :=
    OWA_UTIL.tableprint (ctable => sel_table,
    cattributes => '',
    ntable_type => OWA_UTIL.pre_table,
    ccolumns => '*',
    cclauses => '',
    ccol_aliases => '',
    nrow_min => 0,
    nrow_max => 500
    WHILE (irows != 0)
    LOOP
    buffer := HTP.get_line (irows);
    utl_file.put_line(f,buffer);
    /* do whatever you like with the contents of the buffer */
    /* You may write to a file or simply print it out */
    DBMS_OUTPUT.put_line (buffer);
    END LOOP;
    END;
    the error during execution:
    SQL> @for.sql
    Procedure created.
    SQL> exec jk('CUST');
    BEGIN jk('CUST'); END;
    ERROR at line 1:
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 125
    ORA-06512: at line 2
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1120
    ORA-06512: at "SYS.DBMS_SQL", line 323
    ORA-06512: at "SYS.OWA_UTIL", line 595
    ORA-06512: at "SYS.OWA_UTIL", line 689
    ORA-06512: at "SYS.OWA_UTIL", line 1222
    ORA-06512: at "XMLUSER.JK", line 14
    ORA-06512: at line 1
    thanks in advance
    karthik.J

    You better don't supply the whole select statement to OWA_UTIL.tableprint but only the table name!

  • How to filter the output of a query according to the language

    Hi guys,
    I have the following tables joined togheter:  VBAK ,VBKD ,TVZBT.
    The problem is, the output gives any record as many times as many languages exist in table TVZBT
    I tried with the following instruction but it doesn't work,no matter in which event I put it:
    check tvzbt-spras eq sy-langu.
    Thanks,Christian

    Hello Christian Baldari,
    You have to add that check in where clause like :
    select ....
    from ...
    where
    <b>tvzbt~spras eq sy-langu</b>.
    why because in ur select query you are using innerjoin operation. so you are using TILD (~) operator for alias. you have to check the spras using the alias as mentioned above.
    Reward If Hepful.
    Regards
    Sasidhar Reddy Matli.

  • Problem of the  poor quality of print as booklet

    I hv encounter the problem about the output quality .The file is quite low in resolution while i choose print in booklet,
    I use the SAME pdf output setting. The output pdf file from "export (pdf)" it is abvious better than the one from " print as booklet"
    How can I fix this problem ?? THX A LOT

Maybe you are looking for

  • Acrobat Pro 9.0 date fields

    hi, I am having trouble in date fields in a form I developed in Designer (Acrobat Pro 9.0).  I have two problems.  1.  I have a date field for DOB (Date of Birth).  When any dates are clicked or entered with a year of 1929 or earlier, Adobe converts

  • IMovie playback on external monitor via FireWire?

    this seems like a pretty obvious question, but is it possible to play back an iMovie timeline on an external monitor/TV? i'm connecting my Titanium laptop to a Sony DV camera via FireWire, then directly from the camera to my TV via mini-jack/RCA cabl

  • What is Maximum size for Multi select list?

    Hi, We are using the select_list_from_query given " size=10 attribute " so getting as multiselect list ,but there is a constraint for multiselect list where we can display only 1000 values max i guess,I have around 10,000values to display in list but

  • My ipod 4th gen won't update to the new one with imessage and all that.

    I got my ipod touch in march 2011. So its not ios 5. But everytime i plug it in this is what happens step by step. 1. Itunes comes up like usual and asks me if i want to updated my ipod to 5.0.1. 2. The tag your pictures come up. 3.I tag the pitures

  • Using G3 install disc on a G4

    I bought my iBook used and still have the previous owner's passwords installed on it. this makes life a little difficult so I would like to re-install using the install disc that came with my old G3 iBook. will this work or do I have to find a G4 ins