Asset  is not getting reversed  when posting credit memo

Dear Sapians,
My client is having an asset with a value of  Rs 6,00,000/-  and the asset capitalized date is 19.07.2007. Now the client wants to raise a creidt memo on 19.07.2007 for Rs 5,00,000/- for which he dont wants to calculate depreciation with the transaction type 105 (credit memo in invoice year) in t.code F-90.
But the system is giving the following error.
Balance for transaction type group 10 negative for the area 01.
so can anyone plz revert back me on the issue.
Regards
T N R

Hi:
Go to Asset Master As02, clcik on the tab  Depreciation areas
double click on Depreciation area (Ex:Book Depreciation area)
you will come to the screen Change Asset:Depreciation area Book depreciation .
In Additional specifications, you will find a check box Neg.values allowed.Select on the check box and try again.
Please let me know if you need more information.
Assign points if useful.
Regards
MSReddy

Similar Messages

  • Billing Status C in Sales Ord not getting reversed on creating Credit Memo?

    Dear SD Guru's
    I have a small query, i have such a scenario.
    I create sales order for a saleable service material from (01.02.08 to 29.02.08) through order type (ZOOH)
    Raise invoice in advance for 30 days on 01.02.08 through billing type (ZOIN) say 100 rupees.
    Now on 15th client says he doesnt want the service and i issue a credit memo request (ZOCR) against my invoice type (ZOIN) and change the contract dates from 16.02.08 to 29.02.08 for value 50 rupees.
    Now i create credit memo (ZOCM) for 16.02.08 to 29.02.08.
    Now once i do that i want the billing status to be reversed in my original document (ZOOH) for period 16.02.08 to 29.02.08
    How can we achieve this?
    Please its urgent. Points will be suitably rewarded
    Regards
    Ravi

    Hi Krishna,
    Your inputs have been valuable, but could you please tell me why doesnt it automatically edit the billing plan row against which i have raised my credit memo. I have to go and do it manually in my original sales document and edit the period.
    Cant it happen automatically?
    Kind Regards
    Ravi

  • Error when posting credit memo in current year

    Hi all,
            When I am trying to do credit posting to an asset in current year it is giving me follwing error. Can someone help me what can be done.
    Balance for transaction type group 10 negative for the area 01
    Message no. AA629
    Asset affected: 000170009993-0000
    Diagnosis
    With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
    System Response
    The system rejects this posting.
    Procedure
    Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant.
    Thanks,
    Sarada

    Hi,
    i think you've chosen the incorrect tansaction type ( perhaps 100) for your credit note . try to post your CN with another transaction type; e.g. 160 or 161, which do not belong to transaction type group 10.
    you can check this with trx. OA81
    regards Andreas
    pls reward useful answers
    thank you!

  • Warning message while posting Credit Memo.

    Hi Guru,
    Currently the Invoice shows a soft warning message if a same number
    in Reference field (XBLNR) is used to post two different inovices.
    the client wants the same kind of Soft message to be appeared in case of a same number is used in the Reference Field when Posting credit memo. I think the check shd be against Accounting Doc right??
    Incase of invoice we have a check for duplicate invoice in SPRO and we can maintian it..
    What about credit Memo??? we do have any config...to my knowledge we need technical development.
    In Se91 i will go and create new Message and assign it to M8(Message Class for invoice)........and do assignments in OBA5
    Now the soft warning msg can be achieved only by calling this msg in ABAP Code right??? can be done thru Config..?????.
    if any other details if i need to know please do let me know.....or anyother suggestions....to achieve this,,,
    Is it a Config or Developement ???
    Thanks for the support
    Balaji

    In OBA7 if i check the "Reference number" that means while entering the document the reference number is compulsory field.
    and in vendor master i already checked the docueble invoce check that is why while posting KR it is giving the warning message.
    Regards,

  • Profit Center Document not getting generated when direct FI doc is posted

    Dear Experts,
    Profit Center Document not getting generated when direct FI doc is posted. However CO Document is generated for Line Item 1 mentioned below.
    Accounting Entry
    Line 1 -Debit Expense ( Cost Center) 1000
    Line 2 - Credit Bank                             1000    
    Advance Thanks
    Sanjai

    Hi,
    Pls check profit center configuration.... Some config might have missed.....
    Use the t.code 1KE1 For analysing the profit center configuration.
    Regards,
    RAM
    Edited by: Ram000 on Oct 7, 2011 10:45 AM

  • Freight should not get reversed during credit memo

    Hi Experts,
           I Have a purchase order with planned delivery costs for e.g. say freight of some value and Goods receipt is posted and invoice is posted with freight. But our customer needs that when they perform the credit memo freight should not be reversed. How to perform this
    Regards
    Badri

    HI Badri
    can create credit memo without freight cost
    1) in MIRO choose Cedit memo
    2) in indicator choose only  goods/service items
    (if want to rasise credit memo for both material cost and freight need to choose goods/service items + planned delivery cost)
    3) then both material cost and freight cost will display, here need to deselect freight cost.
    4) now post. credit memo would have posted for only material cost.
    Regards
    karan

  • AUC Asset not getting created when Internal Order is created

    Dear Experts,
    While Creating the internal order ( Object Class - Investment Measure)
    AuC (Asset Under Construction) not getting created automaticall . Note Investment profile is already there in the order.
    Following steps below are configured -
    1. Define the AuC Asset Class (with investment measure) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Investment Profile - OITA
    a. Assign the AuC Asset Class (Step-1) in the investment profile
    4. Assign Investment Profile to Model Order - OITA
    5. Define Order Type (Investment) - KOT2
    a. Settlement Profile - OKO7
    b. Maintain Allocation Structures - OKO6
    Thanks
    Sanjai

    Hi Sreekanth,
    What is the setting needed to create AUC Automatically when an Internal order is created ?
    I have done all the setting, but still when I save Internal order neither AUC asset is getting created.
    So I went to extras selected create AUC and it went to AS01, but when I came back (F3) from AS01 to Internal Order and save , Auc Asset is not getting captured in the settlement rule. I even tried to give manually the AUC Asset in the settlement rule, for which sys is not allowing in the settlement rule.
    Any thoughts are highly appreciated
    Advance Thanks
    Sanjai

  • WIP settlement does not get reversed ..

    Dear Experts,
    We have capital projects where we use result analysis and settlement to FI to capitalize costs. We do not use IM and Fixed asset here.
    During the periodic process, we run result analysis which calculate WIP, and then settlement. The FI document would be genereated for incremental balance in WBS. At the end when we capitalize the costs, we set 'TECO' to a WBSE, after we run result analysis and settlement. Costs get settled to a balance sheet account correctly and a PL account and WBS got credited. However, the WIP calculated and FI documents previously generated did not get reversed automatically. We will have to run settlement another time to get this WIP reversed. I believe that this reversal should occur at the same time of the first settlement run(correct me if i am wrong).
    What did i do wrong?? What are necessary steps that i need to take in getting this issue resolved? Your timely help is appreciated.
    Please help!
    Monica.

    Virendra,
    For now, we do not use IM and AA yet, we use WIP to mimick the process if we were to have AuC.
    You're correct.Those postings do not hit WBS. So, at the end at TECO status, we settle to an asset GL account. however, i think once we run the settlement 2 things should happen at the same time - costs are settled to a GL account and credit WBS; the other is FI documents should get reversed. Currently, only the first step occurs. We need to run settlement another time to get the FI documents(which do not hit WBS) reversed.
    Do you know why it is so??
    Monica.

  • Information in the case folder is not getting updated in Oracle Credit Mgt

    Hi,
    I have created an SO and an Invoice for this SO for a particular customer. Now, when I create a credit application and a case folder in OCM for this customer, Fields like Receivables Balance, Credit Exposure, Days Sales Outstanding etc. in the case folder are not getting updated. These fields are not getting updated even after refreshing the case folder. It means that the information from the 'Receivables Responsibility is not getting updated in the case folder.
    I have already run the 'Initialize credit Summaries' concurrent program after creating the Sales Order and Invoice.
    PS: The case folder gets updated only when I set the Profile Option: "AR: Allow summary table refresh" to Yes and then running the "Refresh AR Transactions Summary Tables" concurrent program. But once this program runs the Profile Option again becomes 'No' (Which is a Standard functionality).
    So this is a manual way to update the case folder. My requirement is that the case folder should get updated automatically and no manual intervention should be required.

    Sumit Malik wrote:
    Hi,
    I have created an SO and an Invoice for this SO for a particular customer. Now, when I create a credit application and a case folder in OCM for this customer, Fields like Receivables Balance, Credit Exposure, Days Sales Outstanding etc. in the case folder are not getting updated. These fields are not getting updated even after refreshing the case folder. It means that the information from the 'Receivables Responsibility is not getting updated in the case folder.
    I have already run the 'Initialize credit Summaries' concurrent program after creating the Sales Order and Invoice.
    PS: The case folder gets updated only when I set the Profile Option: "AR: Allow summary table refresh" to Yes and then running the "Refresh AR Transactions Summary Tables" concurrent program. But once this program runs the Profile Option again becomes 'No' (Which is a Standard functionality).
    So this is a manual way to update the case folder. My requirement is that the case folder should get updated automatically and no manual intervention should be required.Duplicate post -- Information in the case folder is not getting updated in Oracle Credit Mgt

  • Tables not getting reversed in ODI

    Hi John,
    I tried reversing a Schema(Oracle), But when i clicked on Rverse, the tables are not getting, reversed. Please suggest.
    I tried executing the script in Oracle and it fetched 0 rows.
    Thanks,
    Sravan

    How about giving awarding some points to your last couple of posts first :)
    Re: How to trim a column in ODI
    Re: Essbase Application not visible in Excel Addin
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • ABGL Post Credit memo for asset

    Hi,
    In transaction ABGL (Credit Memo in Invoice Year), I wanted to issue credit memo for price difference in acquisition of asset.
    issue background:-
    asset bought without PO (F-90), last year 2010
    Now we want to post Credit memo for this asset.
    Error hit:
    Acquisition value negative in area 01.
    Message no. AA617
    What is this error message mean? How to resolve this?

    Hi,
    in OADB, our setting :-
    Acquisition value = +
    NBV = +
    Investment grants = 0
    Revaluation = 0
    Ordinary depreciat. = *
    Special Depr. = *
    Unplanned Depreciat. = *
    Transfer of reserves = -
    Interest = 0
    Revaluation ord.dep. = 0
    I follow your step, i change acquisition value field to "-", it prompt me this message:-
    Caution: generic values for real depreciation area (refer to long text)
    Message no. AC246
    Diagnosis
    You set up depreciation area 01 so that all types of acquisition values are allowed. However, this only makes sense for derived depreciation areas.
    System Response
    Warning message. The system allows the setting, but note that it can lead to undesired effects for real depreciation areas.
    Procedure
    Check the setting.
    I change theAcquisition value  + to -?

  • TDS is not getting reversed in T.Code:  F-54 -Clear Vendor down payment

    Hi,
    Please help on the below issue:-
    1. We passed one entry relating to down payment for fixed asset.  We deducted TDS also (50% down payment).
    2. We passed MIRO also.  There we deducted TDS on full value of invoice amount.
    3. While making T.Code:  F-54-clear vendor down payment, TDS is not getting reversed.
    Thanks in Advance.
    Regards
    Srinivas

    Hi,
    Please check  whether the Challan has been done for both downpayment & invoice before downpayment clearing was done.may be That is why the system doesn't consider reversal of wht at the time of downpayment clearing as tax has already been remitted.Please refer with_item table. The int challan number & dateare for the downpaynment & for the invoice.
    Hope this helps.
    Regards
    Ravinagh Boni

  • Issue: Not getting response when the document is having special chars

    Please help following issue: Not getting response when the document is having special chars(Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
    Error message:
    System.FormatException: Invalid length for a Base-64 char array. at
    System.Convert.FromBase64String(String s) at
    Summarize.Summarizer.AccumulateBroadcast(String filedata, String givenWords) in
    c:\DocumentSummarizer\App_Code\Summarizer.cs:line 66
    Code:
    File 1:
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.Properties;
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    import org.apache.poi.hwpf.*;
    import org.apache.poi.hwpf.extractor.*;
    import com.lowagie.text.Document;
    import com.lowagie.text.pdf.PRTokeniser;
    import com.lowagie.text.pdf.PdfReader;
    public class DocumentSummarizerClient {
         static Properties loadProperties() {
              Properties prop = new Properties();
              try {
                   prop.load(DocumentSummarizerClient.class.getClassLoader().getResourceAsStream("vep.properties"));
              } catch (Exception ioe) {
                   ioe.printStackTrace();
              return prop;
         public String getSummary(String fileName,String noOfWordsOrPercentage ){
              String summaryInputData ="";
              String summarizedData="";
              String summarizerURL = loadProperties().getProperty("Summarizer.serviceURL");
              try {
                   String fileExtension=fileName.substring(fileName.lastIndexOf(".")+1, fileName.length());
                   if (fileExtension.equalsIgnoreCase("doc")|| fileExtension.equalsIgnoreCase("txt")|| fileExtension.equalsIgnoreCase("pdf")) {
                                  if (fileExtension.equalsIgnoreCase("txt")) {
                                       BufferedReader bufferedReader = new BufferedReader(
                                                 new FileReader(fileName));
                                       String line = null;
                                       while ((line = bufferedReader.readLine()) != null) {
                                            summaryInputData += line;
                                  if(fileExtension.equalsIgnoreCase("doc")){
                                       POIFSFileSystem fs = null;
                                        fs = new POIFSFileSystem(new FileInputStream(fileName));
                                         HWPFDocument doc = new HWPFDocument(fs);
                                         WordExtractor we = new WordExtractor(doc);
                                         String[] paragraphs = we.getParagraphText();
                                         for( int i=0; i<paragraphs .length; i++ ) {
                                            paragraphs[i] = paragraphs.replaceAll("\\cM?\r?\n","");
                                  summaryInputData+= paragraphs[i];
                                  if(fileExtension.equalsIgnoreCase("pdf")){
                                       Document document = new Document();
                   document.open();
                   PdfReader reader = new PdfReader(fileName);
                   int pageCount =reader.getNumberOfPages();
                        for(int i=1;i<=pageCount;i++){
                                  byte[] bytes = reader.getPageContent(i);
                                  PRTokeniser tokenizer = new PRTokeniser(bytes);
                                  StringBuffer buffer = new StringBuffer();
                                  while (tokenizer.nextToken()) {
                                  if (tokenizer.getTokenType() == PRTokeniser.TK_STRING) {
                                  buffer.append(tokenizer.getStringValue());
                                  summaryInputData += buffer.toString();
                   else{
                        System.out.println("This is Invalid document. Presntly we support only text,word and PDF documents ");
                   // String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
                   // encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
                        summarizedData= postRequest(parameters,summarizerURL);
                        String slength= "<string xmlns=\"http://tempuri.org/\">";
                        if(summarizedData.contains("</string>")){
                        summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
                        summarizedData = replaceVal(summarizedData);
                        //System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
                        // System.out.println("Summarized data "+summarizedData);
                        if(summarizedData.contains("Please enter the percentage")){
                             summarizedData="Data given cannot be summarized further";
                   else{
                        System.out.println("Data given cannot be summarized further");
                        summarizedData="";
              } catch (FileNotFoundException e) {
                   return("The File is not found \n\n"+e.toString());
              } catch (IOException e) {
                   return("The File is already in use \n\n"+e.toString());
              } catch (Exception e) {
                   return(e.toString());
              return summarizedData;
         public static String postRequest(String parameters,String webServiceURL) throws Exception{
              Properties systemSettings = System.getProperties();
              systemSettings.put("http.proxyHost", loadProperties().getProperty("proxyHost"));
         systemSettings.put("http.proxyPort", loadProperties().getProperty("proxyPort"));
         System.setProperties(systemSettings);
              String responseXML = "";
              try {
                   URL url = new URL(webServiceURL);
                   URLConnection connection = url.openConnection();
                   HttpURLConnection httpConn = (HttpURLConnection) connection;
                   byte[] requestXML = parameters.getBytes();
                   httpConn.setRequestProperty("Content-Length", String
                             .valueOf(requestXML.length));
                   httpConn.setRequestProperty("Content-Type",
                             "application/x-www-form-urlencoded");
                   httpConn.setRequestMethod("POST");
                   httpConn.setDoOutput(true);
                   httpConn.setDoInput(true);
                   OutputStream out = httpConn.getOutputStream();
                   out.write(requestXML, 0, requestXML.length);
                   out.close();
                   InputStreamReader isr = new InputStreamReader(httpConn
                             .getInputStream());
                   BufferedReader br = new BufferedReader(isr);
                   String temp;
                   String tempResponse = "";
                   while ((temp = br.readLine()) != null)
                        tempResponse = tempResponse + temp;
                   responseXML = tempResponse;
                   br.close();
                   isr.close();
              } catch (java.net.MalformedURLException e) {
                   System.out
                             .println("Error in postRequest(): Secure Service Required");
              } catch (Exception e) {
                   System.out.println("Error in postRequest(): " + e.getMessage());
              return responseXML;
         public String replaceVal(String value) {
                   if (value == null) {
                        value = "";
                   value = value.replace("&lt;", "<");
                   value = value.replace("&gt;", ">");
                   value = value.replace("&amp;", "&");
                   return value;
              public static void main(String[] args) {  
                   DocumentSummarizerClient testdoc=new DocumentSummarizerClient();
                   System.out.println("hello");               
                   testdoc.getSummary("C:\\working_folder\\vep\\UnitTestCases\\VEP1.0\\DocumentSummarizerTestData\\TestErrorFour.doc","100%");     
    Note: Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
    File 2:
    ---------public class Base64Utils {
    private static byte[] mBase64EncMap, mBase64DecMap;
    * Class initializer. Initializes the Base64 alphabet (specified in RFC-2045).
    static {
    byte[] base64Map = {
    (byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F',
    (byte)'G', (byte)'H', (byte)'I', (byte)'J', (byte)'K', (byte)'L',
    (byte)'M', (byte)'N', (byte)'O', (byte)'P', (byte)'Q', (byte)'R',
    (byte)'S', (byte)'T', (byte)'U', (byte)'V', (byte)'W', (byte)'X',
    (byte)'Y', (byte)'Z',
    (byte)'a', (byte)'b', (byte)'c', (byte)'d', (byte)'e', (byte)'f',
    (byte)'g', (byte)'h', (byte)'i', (byte)'j', (byte)'k', (byte)'l',
    (byte)'m', (byte)'n', (byte)'o', (byte)'p', (byte)'q', (byte)'r',
    (byte)'s', (byte)'t', (byte)'u', (byte)'v', (byte)'w', (byte)'x',
    (byte)'y', (byte)'z',
    (byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5',
    (byte)'6', (byte)'7', (byte)'8', (byte)'9', (byte)'+', (byte)'/'};
    mBase64EncMap = base64Map;
    mBase64DecMap = new byte[128];
    for (int i=0; i<mBase64EncMap.length; i++)
    mBase64DecMap[mBase64EncMap[i]] = (byte) i;
    * This class isn't meant to be instantiated.
    private Base64Utils() {
    * Encodes the given byte[] using the Base64-encoding,
    * as specified in RFC-2045 (Section 6.8).
    * @param aData the data to be encoded
    * @return the Base64-encoded <var>aData</var>
    * @exception IllegalArgumentException if NULL or empty array is passed
    public static String base64Encode(byte[] aData) {
    if ((aData == null) || (aData.length == 0))
    throw new IllegalArgumentException("Can not encode NULL or empty byte array.");
    byte encodedBuf[] = new byte[((aData.length+2)/3)*4];
    // 3-byte to 4-byte conversion
    int srcIndex, destIndex;
    for (srcIndex=0, destIndex=0; srcIndex < aData.length-2; srcIndex += 3) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
    (aData[srcIndex] << 4) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+2] >>> 6) & 003 |
    (aData[srcIndex+1] << 2) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[aData[srcIndex+2] & 077];
    // Convert the last 1 or 2 bytes
    if (srcIndex < aData.length) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
    if (srcIndex < aData.length-1) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
    (aData[srcIndex] << 4) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] << 2) & 077];
    else {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] << 4) & 077];
    // Add padding to the end of encoded data
    while (destIndex < encodedBuf.length) {
    encodedBuf[destIndex] = (byte) '=';
    destIndex++;
    String result = new String(encodedBuf);
    return result;
    * Decodes the given Base64-encoded data,
    * as specified in RFC-2045 (Section 6.8).
    * @param aData the Base64-encoded aData.
    * @return the decoded <var>aData</var>.
    * @exception IllegalArgumentException if NULL or empty data is passed
    public static byte[] base64Decode(String aData) {
    if ((aData == null) || (aData.length() == 0))
    throw new IllegalArgumentException("Can not decode NULL or empty string.");
    byte[] data = aData.getBytes();
    // Skip padding from the end of encoded data
    int tail = data.length;
    while (data[tail-1] == '=')
    tail--;
    byte decodedBuf[] = new byte[tail - data.length/4];
    // ASCII-printable to 0-63 conversion
    for (int i = 0; i < data.length; i++)
    data[i] = mBase64DecMap[data[i]];
    // 4-byte to 3-byte conversion
    int srcIndex, destIndex;
    for (srcIndex = 0, destIndex=0; destIndex < decodedBuf.length-2;
    srcIndex += 4, destIndex += 3) {
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
    ((data[srcIndex+1] >>> 4) & 003) );
    decodedBuf[destIndex+1] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
    ((data[srcIndex+2] >>> 2) & 017) );
    decodedBuf[destIndex+2] = (byte) ( ((data[srcIndex+2] << 6) & 255) |
    (data[srcIndex+3] & 077) );
    // Handle last 1 or 2 bytes
    if (destIndex < decodedBuf.length)
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
    ((data[srcIndex+1] >>> 4) & 003) );
    if (++destIndex < decodedBuf.length)
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
    ((data[srcIndex+2] >>> 2) & 017) );
    return decodedBuf;
    issue 2: Exception when passing 2MB .txt file
    Steps to reproduce:
    Call getSummary() with 2MB .txt file
    Actual:
    The following exception has occured:
    1. Error in postRequest(): Unexpected end of file from server
    java.lang.NullPointerException
    Please provide your precious feedback/suggestions.
    Thanks in advance…..
    Edited by: EJP on 15/03/2011 16:52: added code tags. Please use them. Code is unreadable otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks for your response….
    This is enhancement project and some one develops long back.
    Regarding point (b) You should be using the java.net.URLEncoder to encode URL parameters, not a base64 encoder.
    DocumentSummarizerClient.java I am using base64
    Ex:
    // String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
                   // encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
                        summarizedData= postRequest(parameters,summarizerURL);
                        String slength= "<string xmlns=\"http://tempuri.org/\">";
                        if(summarizedData.contains("</string>")){
                        summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
                        summarizedData = replaceVal(summarizedData);
                        //System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
                        System.out.println("Summarized data "+summarizedData);
                        if(summarizedData.contains("Please enter the percentage")){
                             summarizedData="Data given cannot be summarized further";
    Above specific please I need to modify to resolve above issue.
    Could you please suggest me what changes I need to do.
    Waiting for positive response.

  • EWT is not getting Reversed in F-54

    Hi,
    My need is I have made down payment in F-48 for 50000 at with hold tax of 1000
    I booked invoice in Fb60 for 4000, withhold tax of 800
    Now I am doing f-54, I want to adjust advance of Rs.10000 only but I need to reverse withhold tax of rs.800, taken in fb60.
    I need accounting entry in F-54
    Vendor adv.  Cr 10000
    Vendor a/c   Dr.10000
    EWT payble a/c Dr. 800
    Vendor a/c      Cr. 800
    I want to change the ewt base amount at the time of F-54.
    What to do ?
    Even I am not getting reversed of the EWT amount in F-54, I have ticked Central invoicing in the Tax type for payments.
    We are in ECC6.00
    Please help
    Bravo
    Regards

    Hi,
    It is normal that while F-48 initial screen it will not show the tds amounts. But it posts.
    Use business place/section code in all the transactions. It will reverse. We too had the same problem.
    Assign points, if useful.

  • Print program is not getting triggered when saving the application

    Hi all,
    My requirement is when i save the invoice using VF01 the print program should get triggered.
    The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
    The setting "send immediately (when saving application)" is also checked.
    I need to configure it for VF01 transaction.
    The error message displayed was " please maintain output device in master data".
    Regards,
    Umesh

    Hi Umesh
    Please check if you have missed any of the following:
    1. Defining Access Sequence(can use existing).
    2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
    3. Output Determination Procedure
    4. Assign Output Procedure to Billing Types
    Kind Regards
    Eswar

Maybe you are looking for