Help required...very urgent !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Help required with an error message.
"Table Z0CL_BATCLA for object class CHARGE does not exist"

Hi
It means your Z0CL_BATCLA is not assigned to object CHARGE, you have to create the linke between object and table in the table TCDOB.
You can do it by trx SCDO, but in this case you have to change in standard object.
Max

Similar Messages

  • Issue in running eCATT Scripts  - Help required very urgently

    Dear All,
    We are running the eCATT scripts from Solman 7.0 by connecting it to ERP system R/3 4.6C. While running the scripts, we are facing some issue.
    1. If we try to run the scripts then those are getting failed. The same scripts if we run after some time with out changing any code then those are running fine.
    We are frequently facing this probelm.
    Could you please let me know the solution. Your help is really appreciated.
    Thanks,
    Mahendra
    Moderator Message: Urgently word is not allowed in this forum. Open a new thread without the "priority" word.
    Edited by: kishan P on Sep 6, 2010 11:18 AM
    Edited by: kishan P on Sep 6, 2010 11:21 AM

    Dear Ananth,
    Scripting is getting failed at different lines of code at different runs.
    Thanks,
    Mahendra

  • HELP REQUIRED VERY URGENT!!  LOG4J

    if my understanding is not wrong while using LOG4J JDBCappender to write to a DataBase using configurator file(Property file), the SQL will be written in the property file and the message to be logged into the DB will be passed from the program(java file ) to the log4J system using the log.debug or any other way.
    for eg: INSERT INTO JDBCTEST (Date, Logger, Priority, Message) VALUES ('%d', '%c', '%p', '%m')
    here the only message passed t th eLOG4J system is the Message field value which is
    represnted by the %m field(inside the value block) and rest are kind of constants , like for date (where we can use sysdate) and the logger and priority level which all are constants and not part of the message passed to the system(LOG4J system).
    the trouble we found was in separating the single message we send to the LOG4J system
    for eg: suppose if the message we send to the LOG4J system is
    " methodname=ABC() timetaken=1.5secs date=28/7/2006 "
    i am confused about the way to split the message into say 3 parts
    like
    methodname=ABC()
    methodname=ABC()
    date=28/7/2006
    and insert into different columns of the table
    Hope you got a goog broader view of the problem i am facing.

    Have you tried PreparedStatement?
    Here's an example (from the O'REILLY Java Servlet Programming book)
    PreparedStatement pstmt = con.prepareStatement("INSERT INTO ORDERS (ORDER_ID, CUSTOMER_ID, TOTAL) VALUES(?,?,?)");
    //Other code
    pstmt.clearParameters(); //clear any previous parameter values
    pstmt.setInt(1, 2); //set ORDER_ID
    pstmt.setInt(2, 4); //set CUSTOMER_ID
    pstmt.setDouble(3, 53.43); //set TOTAL
    pstmt.executeUpDate(); //execute the stored SQL
    If you want to set a String value, use the setString method.
    Does that help?

  • Error while opening a module. plz help me, very urgent.

    when i try to open a module, the following error message appears on my screen.
              " no j2ee component found in d:\krisp\programs\servlets".
              i've installed bea in c: drive and my servlet program is in d: drive.
              plz help me, it's very urgent.

    Can you provide some more information? What were you doing when this happened?
              Can you post the entire error message?
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • How to write code for this logic, plz help me very urgent

    Hi All,
    i am new to sap-abap, i got this work and i m working on this can any body help me in writing code, plz help me, this is very very urgent.
    here  i m giving my logic, can anybody send me the code related to this logic.
    this is very urgent .
    this program o/p should be in ALV format and need to create one commond 'SAVE" on this o/t list  if  user clicks save processedon and processedby fields in ZFIBUE should be updated automatically.
    i am creating one custom table zfibue having fields: (serialno, bukrs, matnr,prdha,hkont,gsber,wrbtr,budat, credate, cretime,processed, processedon, processedby,mapped)
    fields of zfibue:
    serailno = numc
    bukrs = char
    matnr = char
    prdha = char
    hkont = char
    gsber = char
    wrbtr = char
    budat = date
    credate = date
    cretime = time
    processed= char
    processedon = date
    processedby = char
    mapped = char      are   belongs to above type data types
    and seelct-optionfields:  s_bukrs for bseg-bukrs
                                        s_hkont for bseg-hkont,
                                         s_budat for bkpf-budat,
                                         s_processed for zfibue-processed,
                                          s_processedon for zfibue-processedon,
                                          s_mapped. for zfibue-mapped
    parameters: p_chk1 as checkbox,
                      p_chk2 as checkbox.
                      p_filepath type rlgrap-filename.
    1.1 Validate the user inputs (S_BUKRS and S_HKONT) against respective check tables (T001 and SKB1). If the validation fails, provide respective error message. Eg: “Invalid input for Company Code”.
    1.2 Fetch SERIALNO, BUKRS, MATNR, PRDHA, HKONT, GSBER, WRBTR, BUDAT, CREDATE, CRETIME, PROCESSED, PROCESSEDON, PROCESSEDBY, MAPPED from table ZFIBUE into internal table GT_ZFIBUE where BUKRS IN S_BUKRS, HKONT IN S_HKONT, BUDAT IN S_BUDAT, PROCESSED IN S_PROCESSED, PROCESSEDON IN S_PROCESSEDON, and MAPPED IN S_MAPPED.
    1.3 If P_CHK2 = ‘X’, go to step 1.11. Else continue.
    1.4 If P_CHK1 = ‘X’, continue. Else go to step 1.9
    1.5 Fetch MATNR, PRDHA from MARA into GT_MARA for all entries in GT_ZFIBUE where MATNR = GT_ZFIBUE-MATNR.
    1.6 Sort and delete adjacent duplicates from GT_MARA based on MATNR.
    1.7 Loop through GT_ZFIBUE where PRDHA = blank.
              Read Table GT_MARA based on MATNR = GT_ZFIBUE-MATNR.
              IF sy-subrc = 0.
                     Move GT_MARA-PRDHA to GT_ZFIBUE-PRDHA.
                  Modify Table GT_ZFIBUE. “Update Product Hierarchy
                 Endif.
        Fetch PRDHA, GSBER from ZFIBU into GT_ZFIBU for all entries in GT_ZFIBUE where PRDHA = GT_ZFIBUE-PRDHA.
        Read Table GT_ZFIBU based on PRDHA = GT_ZFIBUE-PRDHA.
              IF sy-subrc = 0.
                     Move GT_ZFIBU-GSBER to GT_ZFIBUE-GSBER.
                  Move “X” to GT_ZFIBUE-MAPPED.      
                  Modify Table GT_ZFIBUE.
                 Endif.   
    Endloop.
    1.8 Modify database table ZFIBUE from GT_ZFIBUE.
    1.9 Fill the field catalog table GT_FIELDCAT using the details of output fields listed in section “Inputs/Outputs” (above).
       Eg:                 LWA_ FIELDCAT -SELTEXT_L = 'Serial Number’.
                              LWA_ FIELDCAT -DATATYPE = ‘NUMC’.
                              LWA_ FIELDCAT -OUTPUTLEN = 9.
                              LWA_ FIELDCAT -TABNAME = 'GT_ZFIBUE'.
                              LWA_ FIELDCAT-FIELDNAME = 'SERIALNO'.
              Append LWA_FIELDCAT to GT_FIELDCAT
    Note: a) The output field GT_ZFIBUE-PROCESSED will be editable marking INPUT = “X” in field catalog (GT_FIELDCAT).
             b) The standard ALV functionality will be used to give the user option for selecting all or blocks of entries at a time.
             c) The PF-STATUS STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN will be copied to the program and modified to include a “SAVE” button.
    1.10 Call the function module REUSE_ALV_GRID_DISPLAY passing output table GT_ZFIBUE and field catalog GT_FIELDCAT. Additional parameters like I_CALLBACK_PF_STATUS_SET (= ‘ZFIBUESTAT’) and I_CALLBACK_USER_COMMAND (=’HANDLE_USER_ACTION’) will also be passed to handle user events. Go to 2.14.
    1.11 Download the file to P_FILEPATH using function module GUI_DOWNLOAD passing GT_ZFIBUE.
    1.12 Exit Program.
    Logic to be implemented in  routine “Handle_User_Action”
    This routine will have the following interface:
    FORM Handle_User_Action  USING r_ucomm LIKE sy-ucomm
                                                               rs_selfield TYPE slis_selfield.
    ENDFORM.
    Following logic will be implemented in this routine:
    1.     If r_ucomm = ‘SAVE’, continue. Else exit.
    2.     Loop through GT_ZFIBUE where SEL_ROW = ‘X’. “Row is selected
    a.     IF GT_ZFIBUE-PROCESSED = ‘X’.
    i.     GT_ZFIBUE-PROCESSEDON = SY-DATUM.
    ii.     GT_ZFIBUE-PROCESSEDBY = SY-UNAME.
    iii.     MODIFY ZFIBUE FROM work area GT_ZFIBUE.
    Endif.
    Endloop.

    Hi Swathi,
    If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop.

  • Experts plz help its very urgent

    hi expert
    plz help- me
    previously i was getting dump in this statement
    TRANSFER v_tab TO p_file.
    FYI:
    here v_tab is a table which hav som records
    and p_file contains the path of a file like c:\new\ggg.txt
    DATA: v_tab TYPE STANDARD TABLE OF t_line WITH HEADER LINE,
    TYPES: BEGIN OF t_line,
           pspid(9) TYPE c,
           tab1 TYPE x,
           post1 TYPE proj-post1,
           tab2 TYPE x,
           vernr TYPE prps-vernr,
           tab3 TYPE x,
    END OF t_line.
    DUMP I WAS GETTIN :
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "T_LINE". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    to avoid this dump i used feild symbol
    assign V_TAB to <IN> casting.
          p_file = <in>.
          unassign <IN>.
    nw there is no dump
    but problem is p_file contains the contents of v_tab not the file path .
    plz help me its very urgent
    thanx in advance

    Hey, no probs,
    after your initial declaration, do this.
    TYPES: BEGIN OF n_line,
    pspid(9) TYPE c,
    tab1(15) TYPE c,        "check the length you want
    post1 TYPE proj-post1,
    tab2(15) TYPE c,         "check the length you want
    vernr TYPE prps-vernr,
    tab3(15) TYPE c,         "check the length you want
    END OF t_line.
    DATA: n_tab TYPE STANDARD TABLE OF n_line WITH HEADER LINE.
    now after you fetch data into v_tab,
    move it to n_tab.
    using a loop at v_tab and move corresponding fields to n_tab's work area
    append to n_tab.
    once you have populated n_tab and are ready to TRANSFER.
    OPEN your file using
    open dataset <file> for output in text mode encoding default.
    now
    loop at n_tab.
    TRANSFER n_tab to p_file.
    endloop.
    CLOSE DATASET.

  • File Upload Help Needed - Very Urgent

    Dear All
    I am making a application in Webdynpro for uploading an excel file to the server. Can someone give me a demo application so that I can run it and see whether my server is configured or not. Also I have made the application right now and have coded the need full. But when I select a file and say submit it shows me a page not found error. Currently I am working round the clock on my project and am stuck up here. Its very urgent can any body help please with an example or a demo application.
    Regards Gaurav

    Hi,
      Check whether in server, MultipartBodyParameterName property is set to "com.sap.servlet.multipart.body" . You can check this by going to Visual Admin -> Cluster tab -> Services -> web container -> Properties sheet.
    Do assign points if i answered your question.
    Regards
    Vasu

  • Require Very Urgent Help on Aggregation Issue. Thanks in advance.

    Hi All,
    I am new to essbase.
    I have got an issue with aggregation in Essbase. I load data at zero level and then when I aggregate using CALC DIM i do not get any value.
    The zero level load being:
    Budget,Version,Levmbr(Entity,0),Levmbr(Accounts,0),NoRegion,NoLoc,NoMod,Year,Month.
    When I use default calc or give Calc Dim for the above no aggregation takes place at the parent level.
    Requirement :
    Values at Version,Region,Location,Model,Year,Month.Budget Level.
    Please advice.
    Thanks in advance.
    Bal
    Edited by: user11091956 on Mar 19, 2010 1:07 AM
    Edited by: user11091956 on Mar 19, 2010 1:10 AM

    Hi Bal,
    If you had loaded without an error , and after that your default calc is resulting in not aggregated values. Then I can imagine only one way, it cannot happend is through your outline consolidations.
    Check,if data which is loaded at the members does have IGNORE or ~ as the consolidation
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • PLEASE HELP ME OUT WITH THIS REQUIREMENT VERY URGENT

    HI TO ALL EXPERTS,
    I HAVE AN INTERNAL TABLE IT_EXCEL WITH THREE FIELDS
    SUPPOSE
    ROW COL VAL
    1         1       231
    1         2       001
    NOW I WANT TO MOVE  JUST THAT VAL (COLOUMN)CONTENTS TO ANOTHER INTERNAL TABLE
    FOR EX :
    DATA : BEGIN OF ITAB OCCURS 0,
                    VAL1(4),
                     VAL2(5),
               END OF ITAB.
    NOW THAT ITAB SHOULD HAVE
    VAL1 VAL2
    231     001
    PLEASE ANYONE EXPALIN HOW TO DO IT?
    FULL POINTS FOR CORRECT ANSWER

    HI PABLO,
    IM SENDING THE CODE,
    IM HAVE WRITEN A BAPI FOR MATERIAL SAVE
    I HAVE GOT THE DATA IN EXCEL FILE.
    NOW I WANT TO MOVE THE VALUE COLOUMN OF EXCEL INTERNAL  TABLE TO IT_DATA INTERNAL TABLE
    REPORT  ZBAPI_MATERIAL_SAVEDATA NO STANDARD PAGE HEADING MESSAGE-ID (ZHNC).
    TYPES:BEGIN OF TY_MAT,
           MATERIAL(4),
           IND_SECTOR(1),
           MATL_TYPE(4),
           MATL_GROUP(9),
           BASE_UOM(3),
           BASE_UOM_ISO(3),
           PLANT(4),
           DEL_FLAG(1),
           PUR_GROUP(3),
           BASE_QTY(13),
           PLANT1(4),
           STGE_LOC(4),
           MRP_IND(1),
           SALES_ORG(4),
           DISTR_CHAN(2),
           DEL_FLAG1(1),
           MIN_ORDER(13),
           MAKTX(40),
           LANGU(2),
       END OF TY_MAT.
    DATA: IT_DATA TYPE TABLE OF TY_MAT,
          WA_DATA LIKE LINE  OF IT_DATA,
          WA_DATA1 TYPE TY_MAT.
    *DECLARING WORK AREA  TO BE PASSED TO THE FUNCTION MODULE.
    DATA: BAPI_HEAD LIKE BAPIMATHEAD,
          BAPI_CLIENTDATA LIKE BAPI_MARA,
          BAPI_CLIENTDATAX LIKE BAPI_MARAX,
          BAPI_PLANTDATA LIKE BAPI_MARC,
          BAPI_PLANTDATAX LIKE  BAPI_MARCX,
          BAPI_STORAGELOCATIONDATA LIKE BAPI_MARD,
          BAPI_STORAGELOCATIONDATAX LIKE BAPI_MARDX,
          BAPI_SALESDATA LIKE BAPI_MVKE,
          BAPI_SALESDATAX LIKE BAPI_MVKEX,
          BAPI_MAKT LIKE BAPI_MAKT,
          BAPI_RETURN LIKE BAPIRET2.
    *EXCELAL TABLE TO HOLD THE MATERIAL DESCRIPTION
    DATA: BEGIN OF IT_MAKT.
    INCLUDE STRUCTURE BAPI_MAKT.
    DATA END OF IT_MAKT.
    DATA:BEGIN OF IT_RET.
    INCLUDE STRUCTURE BAPIRET2.
    DATA END OF IT_RET.
    *EXCELAL TABLE TO HOLD HEADER DATA
    DATA: IT_EXCEL TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    *SELECTION-SCREEN ELEMENTS
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER: FNAME TYPE RLGRAP-FILENAME OBLIGATORY.
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
                P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
                P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
                P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK B1.
    *DECLARATION OF EXCELAL TABLE
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
    PERFORM F_GET_FILE USING FNAME.
    START-OF-SELECTION.
    PERFORM F_XLS_ITAB USING FNAME
                       CHANGING IT_EXCEL.
    PERFORM F_MOVE_DATA.
    *&      Form  F_GET_FILE
          text*
         -->P_FNAME  text*
         <--P_SY_SUBRC  text*
    FORM F_GET_FILE  USING    P_FNAME LIKE FNAME.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
       PROGRAM_NAME        = SYST-REPID
       DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '*
      STATIC              = ' '*
      MASK                = ' '*
      CHANGING
        FILE_NAME           = P_FNAME
    EXCEPTIONS*
      MASK_TOO_LONG       = 1*
      OTHERS              = 2*
    IF SY-SUBRC <> 0.
    MESSAGE E006(ZHNC).
    ENDIF.
    ENDFORM.                    " F_GET_FILE
    *&      Form  F_XLS_ITAB
          text*
         -->P_FNAME  text*
         <--P_IT_EXCEL  text*
    FORM F_XLS_ITAB  USING    P_FNAME
                     CHANGING P_IT_EXCEL.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = FNAME
        I_BEGIN_COL                   = P_BEGCOL
        I_BEGIN_ROW                   = P_BEGROW
        I_END_COL                     = P_ENDCOL
        I_END_ROW                     = P_ENDROW
      TABLES
        INTERN                        = IT_EXCEL
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
    ENDIF.

  • How to check for null values in bpel?? Please Help! very urgent!!!

    Hello Guys,
    I have a problem. I have an external webservice to which I have to post my request. My task is to create an Webservice and Service Assembly to which others would post request and get response. I have to create SA to deploy onto the bus.
    The problem is that there are optional elements in the request and response xsd's. In the Response sometimes certain feilds may come or they may not. for Example:- my response could contain a tag like this <firstName></firstName>
    I have to copy these feilds in my bpel process from one variable to another.(like in the mapper).
    My Question is , Is there any way in BPEL process or BPEL mapper where I could Check for null values in the request or response???
    Your inputs would be very helpful.
    Thanks
    Rajesh

    Thanks for replying man :)
    Ok I will be more clear.
    Here is a snippet of one of the xsd's that I am using.
    <xs:element name="returnUrl" nillable="false" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>Partner specifies the return URL to which responses need to be sent to, in case of
    Async message model.
    </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                             <xs:restriction base="xs:anyURI">
                                  <xs:maxLength value="300"/>
                                  <xs:whiteSpace value="collapse"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
    This means that the return URL field can be there or it may not be there. But if it is there it cant be null because nillable=false. But the whole <returnURL> </returnURL> can be there or it may not be there because minOccurs=0.
    My requirement is , if returnURL is there in the response with a value, then in my BPEL mapper I should map it else I should not map it.
    Thats the issue.
    and Yes kiran, the node be non-existant.
    So can you please help me with this.
    Thanks
    Rajesh

  • IMovie help required. Urgent!

    I'm having trouble with a project I'm making on iMovie. One of my pictures won't seem to show up. Before this picture is supposed to appear in the video, I have another video (which I imported into iMovie). As opposed to switching from this video, to the picture I want to put in after the video, iMovie plays the last frame from the video as a still, and doesn't let the picture show up. I tried decreasing the size of the picture, it is now less than 1 MB and still will not show up. However, I tried putting the same picture in another project and it worked. Could someone please help me solve this glitch? I'm very confused and need an answer urgently!

    Hi Kamal, Thank you so much for ur response.
    I am herewith writing in detail the flow of my program. The fetching of 50000 rows from the remote database is not consuming time, because i hit the database only once and fetch all the records in an array cursor and do the actual processing in a for loop at my end. Only the 'for loop' is consuming so much time. Please tell me if there is any other way the 'for loop' time can be reduced.
    program flow
    consider the table name as (T1) in another database with 50000 records and the table name as (T2) in my end with 1000 records
    <Cursor Declaration>
    while(1)
    <Array Cursor Fetch from table(T1) containing 50000 records from another database. I Hit once and fetch all the records in the array cursor)>
    :value1,-------------------Array Cursor
    :value2
    count=sqlca.sqlerrd[2]; (Here i take the count of records)
    for (i=0;i<count;i++)-------------------------> here count value is 50000
         for (j=0;j<count1;j++)---------(count1 is the count of records in my side
    table(T2)---here the count is 1000.)
              name_match();
              address_match();
    } /* Here i close while loop */
    name_match()
         here i use my logic to do name match. here i match the name field in T1 with the name field in T2 using some logic and if a match occurs i display it in the report. the matching logic is defined by the organization and cannot be changed.
    Address_match()
         for address match i have to hit another table at my end containing address field and match with the address field in T1 and if a match occurs i display it in the report..
    this is the logic i am using. The for loop is executing 50000000 times which is time consuming. is there any other way to achive this. Expecting your reply....thanks in advance.
    Regards,

  • Help me very Urgent

    Hi All,
    i have 2 schema.. tabel name "x" is in both schema with same structure.
    the table "x" is having about 200 columns.
    Schema A, the table is having 600 rows, by using plsql devloper i export the data and load into B schema. i run the sql script in SQL editor.
    While run the sql script i got the below error. Pls help me how do i solve the problme?
    Input truncated to 2499 characters
    Input is too long (> 2499 characters) - line ignored
    Loading X...
    unknown command beginning ", TXN_ESC_..." - rest of line ignored.
    unknown command beginning "values (10..." - rest of line ignored.
    Input truncated to 2499 characters
    Input is too long (> 2499 characters) - line ignored
    unknown command beginning "values (10..." - rest of line ignored.
    unknown command beginning ", TXN_ESC_..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    unknown command beginning "values (10..." - rest of line ignored.
    Input truncated to 2499 characters
    Input is too long (> 2499 characters) - line ignored
    unknown command beginning "values (10..." - rest of line ignored.
    unknown command beginning ", TXN_ESC_..." - rest of line ignored.
    unknown command beginning "values (10..." - rest of line ignored.
    For a list of known commands enter HELP
    and to leave enter EXIT.
    Thanks in advance
    G.Gowtham

    > My situation like this; if you know pls give the solution.
    if you don't want to reply...ignore my thread...
    My situation is like this.. I like assisting people. I dislike people who demand that I (or others) assist them as a matter of urgency.
    Why?
    This forum is not Oracle Support. There are no SLAs here. There are no guarantees of the level and even quality of support one gets here.
    You are in no position to demand anything from this forum. And especially not that people who assist around here suddenly jump to your command and solve your problems because you deem your problem to be more important than any of the other 100's of problems on this very forum.
    If this is your approach in looking for assistance in a public forum, by demeaning other problems as of lessor important, and demanding quick assistance from people who offer help for free... then it says a lot about just what kind of person you are.

  • Plz Help me.Very urgent

    Hi Frds,
    When i am creating generic data source for master data table KNKK, getting following error : Invalid extract structure template KNKK of data source ZRF_KNKK_CRDMNGT. why I am getting error?
    In the table/view  entered  KNKK. may be this is wrong. So i have to create View compulsory to master data generic data source.
    Plz Help me . Very urgent

    Hi,
    Check your table knkk...does that table have any currency or weight units?
    if it have any of the above units then those units might be referring to some
    fields.
    Currency and weight unit fields should always refer to fields in its own table.
    In your case,it should refer to some field in KKNK table.
    If your currency or weight field is referring to some other table then while
    creating the datasource you will get the error mentioned by you.
    Regards,
    Senoy

  • Help needed very urgent

    I have problem in downloading a file through a servlet. Let me put my points clearly.
    When a client requests my servlet using setcontenttype, setheader methods I prompt for the 'save' option.
    The client can choose the file and save in his local directory.
    The problem now is, if he cancels in between or at the initial stage itself an exception saying 'connection reset by peer' should be thrown at the server side.
    When I execute the servlet in javawebserver2.0/weblogic 5.0, the exception is thrown.
    Whereas when I use the same servlet in weblogic6.0sp1win no exception is thrown.
    I want the exception to be thrown even in weblogic6.0sp1win.
    How to overcome this problem. Please help me out at the earliest.
    Please see the code below.
    I am eagerly awaiting for your feedback. I have posted this query several times in java and jguru forum but did not get any reply till now.
    Since the problem is very serious please help me out as soon as possible. thanks
    luv,
    venkat.
    //code
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.security.*;
    public class TestServ extends HttpServlet //implements javax.jms.Connection
    Exception exception;
    public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException, UnavailableException
         int bytesRead=0;
         int count=0;
         byte[] buff=new byte[1];
    OutputStream out=res.getOutputStream ();
    // Set the output data's mime type
    res.setContentType( "application/pdf");//application/pdf" ); // MIME type for pdf doc
    // create an input stream from fileURL
    String fileURL ="http://localhost:7001/soap.pdf";
    // Content-disposition header - don't open in browser and
    // set the "Save As..." filename.
    // *There is reportedly a bug in IE4.0 which ignores this...
    // PROXY_HOST and PROXY_PORT should be your proxy host and port
    // that will let you go through the firewall without authentication.
    // Otherwise set the system properties and use URLConnection.getInputStream().
    BufferedInputStream bis = null;
    BufferedOutputStream bos = null;
    boolean download=false;
         res.setHeader("Content-disposition", "attachment; filename="+"xml.pdf" );
    try
              URL url=new URL(fileURL);
         bis = new BufferedInputStream(url.openStream());
         bos = new BufferedOutputStream(out);
    while(-1 != (bytesRead = bis.read(buff, 0, buff.length)))
              try
                   bos.write(bytesRead);
                   bos.flush();
                   }//end of try for while loop
                   catch(SocketException e)
                        setError(e);
                        break;
                   catch(Exception e)
                        System.out.println("Exception in while of TestServlet is " +e.getMessage());
                        if(e != null)
                             System.out.println("File not downloaded properly");
                             setError(e);
                             break;
                        }//if ends
                   }//end of catch for while loop
    }//while ends
              Exception eError=getError();
              if(eError!=null)
                   System.out.println("\n\n\n\nFile Not DownLoaded properly\n\n\n\n");
              else if(bytesRead == -1)
              System.out.println("\n\n\n\ndownload successful\n\n\n\n");
              else
              System.out.println("\n\n\n\ndownload not successful\n\n\n\n");
    catch(MalformedURLException e)
    System.out.println ( "Exception inside TestServlet is " +e.getMessage());
    catch(IOException e)
    System.out.println ( "IOException inside TestServlet is " +e.getMessage());
         finally {
              try
    if (bis != null)
    bis.close();
    if (bos != null)
    bos.close();
              catch(Exception e)
                   System.out.println("here ="+e);
    }//doPost ends
         public void setError(Exception e)
              exception=e;
              System.out.println("\n\n\nException occurred is "+e+"\n\n\n");
         public Exception getError()
                   return exception;
    }//class ends

    My idea is:
    When user cancel the operation, browser send a message back but webserver/weblogic just ingnores it.
    You check BufferOutputStream class or any other class that it extends to see if flush() method does really flushed, if not then it means that the operation has been cancelled.

  • Hi need help..very urgent..

    Hi ABAPers,
    I am very new to ABAP..i need help in coding this following logic,,,
    Can anyone help me in coding this following logic..
    Step 1.  Retrieve customer number KUNNR from VBAK
    Step 2.  Pass customer number KUNNR to KNA1 and retrieve address number-ADANR value
    Step 3.  Pass ADANR value to ADRC table to retrieve NAME3
    Please do reply guys..
    full marks would be given for the right answer.
    Regards
    Sahil

    If Windows Live Mail can export the mailboxes in .mbox format then they can be imported into Mail. Otherwise, you would need to export the accounts to Thunderbird, Netscape, or Office Entourage in order to directly import into Mail.

  • JExcelAPi Help. VERY URGENT!!!

    Hi Guys,
    I'm currently working on a project which involves using the JExcelApi. I imported the content of an excel file into a jtable successfully but the problem is:
    The user needs to select a row in the table which is to be deleted on the click of a button, this action displays an error, below is some of my code and the error displayed
    DefaultTableModel model =  (DefaultTableModel) xlsTable.getModel();
        System.out.println(model.getRowCount());
        model.removeRow(xlsTable.getSelectedRow());THIS IS THE EXCEPTION THROWN
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: com.medic.client.importExcel$SheetTableModel cannot be cast to javax.swing.table.DefaultTableModel

    you that everybody needs help!
    you're not the only one ...
    why is it so urgent?
    the error is:
    SheetTableModel cannot be cast to DefaultTableModel !
    so what is a SheetTableModel? and ask it in the swing forum !!!
    Message was edited by:
    supareno

Maybe you are looking for

  • How do I add a new font to the list?

    In "Tools/Options/Content/Advanced" how do I add a new font to the list? I have "Comic Sans MS" listed for one of the options, but the drop-down menu does not contain that option, so I can't select it for another font option.

  • What exactly do I do with my old iPhone to keep it as an iPod?

    I got my 3g phone yesterday, replacing my original iPhone. I also got a new phone number as I just recently moved out of state. Both phones have a sim card in them. No problems at all so far with the new one. It synced from my old phone just fine. My

  • In CATS,  where can I assign "Activity type to default Time sheet",

    Hi gurus, In CATS,  where can I assignt Activity type to Default time sheet.  Please help me asap. If any cats doc.  available plz share with me. Thanks in advance, Sadana.

  • Importing/managing documents with DM6

    Setting up DM6 was fine and it is syncing organizer and media files fine.   I don't have much need for media files, so I don't care that it is easier.   My issue is I have been unable to determine how to import and manage documents (xls, doc, pdf) I

  • Brief periods of silence during music playback

    Hi folks,            I have an iPhone4 with iOS7.0.4 installed. Occasionally, during playback of music using the inbuilt music player, some songs will have brief periods of silence in them. It generally lasts for maybe a second?  I've only started ex