Deletion and creation of Schedule line for Line Item

Hi BW Experts,
In P.S.A. when i have checked for first schedule line 001 reqdelqty is 50 , after deleting 001 and after creation of second schedule line in R/3 there are two records transferred from R/3 for schedule line 002 first with reversal indicator 'X' and delivery quantity -50 and next record with Reversal Indicator blank with value 50. which in turn results Reqdelqty zero.
Reason of wrong data in BW: -
Schedule line category for an item is being deleted forcefully. R3 doesn’t allow deletion of a schedule line category if delivery is already created. Here user is creating one same schedule line and then he deletes the order quantity from earlier one. This forces system to pick up schedule line 2 in the document flow
· User shouldn’t delete schedule line.

Hello Ganesh,
Schedule line number sequence will not be in control of the user.
once delivery for a schedule line is completed, no way you can delete the schedule line (except renumbering case). This is general SAP logic relates to schedule lines.
Let me know how they are deleting the schedule lines even though delivery is completed.
Now coming to Data load problem in BI.
When you delete schedule line 001, the generated record should be with schedule line 001 with Reversal Indicator as R and delivery quantity -50.
And for new schedule line 002, reversal indicator as blank and delivery quantity 50
Regards,
Nandakumar.A

Similar Messages

  • Schedule Lines for TATX items

    I know that by default, schedule lines are not active for TATX (text) items in sales documents.
    I'm also pretty sure that this option is not valid even if you activate it in the IMG.
    Can anybody tell me:
    1) Is my statement above correct ?
    2) If so, why are schedule lines not allowed for TATX items.
    3) Is there any way around this limitation ?

    Thanks for your input so far.  Perhaps you'll be kind enouth to stick with me a little more.
    Let me expalin what my user is doing:
    In the IMG configuration of our system, schedule lines were activated for TATX item category, however it still does not work as expected.
    User enters a quantity of deliverable product on line item 1 with item category of TAN.
    User creates a delivery schedule for line item 1 using schedule lines (category CP).
    For line item 2, user wants to send "DOCUMENTATION" for each schedule line.
    "DOCUMENTATION" exists in our SAP system as a material master, but no stock exists.
    User enters a quantity of DOCUMENTATION on line item 2 with item category TATX.
    User creates delivery schedule for line item 2.  (auto populates sched category CT).
    When delivery is created, the first schedule line for both items works fine.
    For subsequent deliveries, line item 1 continues to work, but the line item 2, DOCUMENTATION material does not show up.
    I suspect that we are trying to use the TATX item category differently than it was intended, and that some other method would be a better fit for making deliveries of non-stocked material.

  • No control line for line item - error while posting bd to accounting

    Hi all,
    Billing document showing err "no control line for line item" while posting to accounting doc.Sales document is complete no in completion logs.
    Previous errr: g/l missing for line item" in order incompletion after maintaining company code for customer, then refresh the g/l missing for line item is no more logs and showing the error "no control line for line item" while posting bd to accts.
    Please help
    Regards
    anush

    Hello Anush,
    if the company data of the payer was not created when the sales order has been created, then the system could not create the correct records in table VBREVK. Once the company data has been maintained the VBREVK records could be corrected by re-saving the sales, but only if no billing document exists.
    In your case you already created the billing document.
    Please try these step:
    1. reverse billing document
    2. run VA02 add a blank char to PO number, save
    3. create new billing document
    Best regards,
    Ivano.

  • How to print vertical lines for line items?

    hi experts,
                    can any one tell me how to print vertical lines for line items in ascript?
    ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?
    thanks &regards
    narendar

    hi narendar,
    Welcome to SDN.
       u can go for box command.
    Use the box command with zero width for vertical lines.
    Position the line by x position and y postion.
    syntax :
    BOX <xpos> <ypos>
           <width>
          <height>
          <thickness in twips> twips.
    Regards,
    Arun.
    Reward points if useful.

  • Multiple tax lines for same item

    Hi,
    Is it possible to have multiple tax lines for same item in an invoice in AR.
    Business Need - A few items have multiple tax applicable ( e.g. VAT, Service tax, etc ). And for regulatory purpose customer wants to show each tax separately.
    please Advise.
    thanks,
    K

    Hi Hikumar,
    With tax groups you have what is called compound taxes.
    A tax group is consisted of more than one tax codes and these tax codes may be related or not to each other,you can also specify the precedence of the tax codes in a tax group.
    On the Invoice or order item line, the tax group code is entered and the tax engine calculates the tax for each tax code that belongs to the tax group.
    If the user wants to see the taxes of this line he will see detailed the tax amounts and rates of each tax code that belong to this group.
    In my case i have used a tax group with 3 tax codes with the structure:
    Item line amount 1000
    1)The first line is a specific sales tax(12%) with taxable basis the amount of the item line=1000*12%=120
    2)The second line is a VAT(23%) tax with taxable basis the amount calculated from the first tax of the group=120*23%=27,6
    3) The third line is a VAT(23%) tax with taxable basis the amount of the item line=1000*23%=230
    For each item line that has the above tax group, the system creates three seperate tax lines
    Your case does not seem so complicate as mine.
    You can find more information on the AR user guide and the Oracle receivables tax manual.
    On which Ebs version are you working on?
    If you sent me more detailed you requirement i can quide you on the way to implement it and test it.
    I hope this helps.
    Regards
    Olga

  • Badi ISU_PRODUCT_CHANGE and creation of a new contract line item

    Hello Gurus;
    I have this requirement: Once a contract gets close the ending date (30 days before) i need to automatically renew the contract. In order to do that i thought that an action in the Contract Item might get the job done and browsing i found that badi ISU_PRODUCT_CHANGE does almost what i need even if it creates a new contract line item with a new product and this is not good for me... Does anybody know if there is a better Badi matching with my requirements or i have to "modify" the ISU_PRODUCT_CHANGE? I hope my question was clear if you need more specifics please ask me...
    Thank you very much.
    Fabio

    You can create a new costing variant with  a valuation variant that points to inforecords for material prices. Go to OKKN t-code and create the required configuration and start using the new costing variant to measure the current cost of making vehicles.

  • Deletion and creation of Configuration Objects using JAVA Transports

    Hi Guys
    I hope you guys can help me make some sense out this situation.
    We have 2 systems in the QA Landscape which shares the Integration Server, Lets call it SYS.A1 and SYS.A2. In the SLD both SYS.A1 and SYS.A2 have the transport track pointing to SYS.PROD as the Production Environment. In QA env. we have 2 receiver determination for these 2 systems. This means in the PROD Environment we will have One object(Receiver Determination) which represents connections from these 2 systems in the QA Environment. (In prod we have one system which represents both the system in QA).
    Recently there was a transport that came in from the QA env to PROD which contained a deletion of the receiver determination for SYS.A1 and modification of receiver determination for SYS.A2. So by the end of the transport we expected to see a modified receiver determination for the PROD environment, but what we found was the object that was there in PROD was deleted and nothing was modified.
    So Can you please tell me what the transport sequence is? is there a priority given to deletion over creation? Or is there some kind of versioning applied for Directory Object transport?
    I read from the forum that there is some sort of versioning applied on repository transport.. is it the same case here??? Any help in explaining this would be much appreciated.
    Thanks & Regards
    Prav

    I have to remove the monthly spread sheet every time
    and create a new spread sheet while executing the
    code. The problem is when I run the code the records
    inserted into same spread sheet along with the
    previous records. So I need to delete the excel file
    and create new one. I am using POI to create the
    spread sheet. ICan anyone help me on this? I am
    posting the code below.I don't think I want to read all that code. If you want to replace the data, you can remove the sheet and create a new one with the same name. HSSFWorkBook has methods removeSheetAt() and createSheet().

  • Tax break up in line by line for  each item in the repetitive area

    Dear SAP PLD Experts
    I am facing a problem for generating excise invoice in pld with tax break for each line item .
    for eg : i have 5 line item in the invoice. 
    so , i want to show the tax break up for each line item seperately in column wise .
    slNo----Item CodeQtyPriceCenvat E.Cess---- H.E.Cess-- Vat--
    Total
    1-- A  5 -1000 96.401.920.96 40.00---    line total
    2
    3
    4
    5
    But when i am showing the Tax amount from Sales tax authorities table in repetitive area, its showing 25 line numers instead of 5 line. and tax amounts is showing line by line.
    Can any body help me to sort out this issue.
    Thanks
    Regards

    Dear,
    Add the UDF's on the marketing document you want the tax break up.
    Apply FMS using below queries and call these UDF's on your PLD.
    FOR BED
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount =$[$38.21.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='9' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    For Cess
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount = $[$38.U_BED.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='8' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    For HCess
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount = $[$38.U_BED.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='10' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    This will help you.
    regards,
    Neetu

  • Script to delete expired or errored scheduled workbooks for Discoverer

    Hi All,
    Can any one pont me to find a script to delete all expired and Errored workbooks in Database for discoverer?
    Appreciate all your assistance.
    Thankks
    -S

    Hi Asim,
    I don't think you can share the results of the scheduled workbook using Desktop. As for Plus, when you're signed on as the other user are you in the same database & eul and are you looking for "scheduled workbooks"?
    Brent

  • No item exists at ... It may have been deleted or renamed by another user for new items, but older items work?

    I created a webpart page and added an SPD listformwebpart in display mode for a particular list.
    All day yerterday I called the page and passed it the ?ID= query string and it worked great. It still works great for the items I had created.
    This morning I added a workflow where I email the URL to the page with the ID dynamically on it. Any items I added today give me the error:
    No item exists at ... It may have been deleted or renamed by another user
    All items from yesterday work fine on that page with the exact url... ????
    I was demoing the solution and was completely at a loss to explain this.
    I checked and there is no Item security. I can pull up the suspect items using the native list Display page. I show up as the creator and last modifier My workflow is NOT making any changes to the list .. only sending a url to my page.
    Same URL with only the ID different..Some items work.. some don't.. Any explanation for this?
    UPDATE: I CREATED A BRAND NEW PAGE WITH NO CODE. JUST THE LISTFORMWEBPART AND THE PROBLEM PERSIST.
    ============================
    Thank You
    cyberpine.com

    Not sure if you've seen it already, but here's a step by step guide from Microsoft's help site on creating a custom form.
    http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-custom-list-form-HA010119111.aspx
    The location of the custom form is really irrelevant. As I said, you don't apply security to the forms. They're applied to the list/library level or at the individual items.
    Also, SharePoint 2007 doesn't have column/field level security. Even if you customize your form or use javascript to make certain fields not-editable, it doesn't necessarily mean that's secured. Someone experienced with SharePoint can easily get around it.
    Depending on your user base or sensitivity of your data, making individual fields not-editable may not be a big deal.
    Anyways, take a look at the following article from Laura Rogers. This is one way you can make the form so that only certain fileds are editable.
    http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=daba3a3b-c338-41d8-bf52-cd897d000cf3&ID=3&Web=dbb90e85-b54c-49f4-8e97-6d8258116ca0
    Good luck...
    Pman
    http://www.pmansLab.com/

  • IPad and iPhone disabled Apple ID for purchasing items in app store

    Hi,
    I had reset the password for my apple id and I was able to login to the account but the account was disabled for purchasing items in app store. For your assistance, please.

    Call Customer Service.

  • ZIP extraction and creation of unwanted folders for them

    Hi.
    Is there a way to force "archive utility" to put all files from all zip's form folder to unpack all to that folder without paths and replace any duplicates or maybe rename it? In WinRAR that action i can perform without any effort from my side, on Mac i cannot find any app to do that. There is Stuffit, but this app is corny.
    Example: I have 30 different zip with pictures, but in some of them are duplicates (same pictures) and what i need is to Archive utility (or other app) to extract all zips into current folder without folders around them, into root of that folder and replace all duplicates with one, so i get one copy of picture instead of 30...
    cheers

    For every user a folder is created in userhome. One approach is to capture this folder creation event and create the folder structure you need. You need to develop a portal service which will listen to events from userhome repository.
    1. Capture folder creation event for user home
    2. Create the folder structure you want in this event handler
    Check this documentation on how to do this.
    https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/client_api/rf_client_api.html
    Regards,
    Prasanna Krishnamurthy

  • Deletion and creation of SNP Planned order

    Hi,
    I need to delete the SNP Planned order i.e ATP category of type 'EE' and I have to create the orders of ATP category EE  through programetically. Please let me know if any BAPI's or Function modules are existed for the same.
    Appriciate your help.
    Regards,
    Ratna

    Hi Ratna.
    To delete orders in SNP use transaction:
    /SAPAPO/RLCDEL
    BAPI to create planned orders:
    BAPI_MOSRVAPS_SAVEMULTI3
    There is also a BAPI to delete planned orders if this is more suitable.
    BAPI_MOSRVAPS_DELEMULTI
    Hope this helps, M

  • Deletion and Creation of Excel sheet

    Hi,
    I have to remove the monthly spread sheet every time and create a new spread sheet while executing the code. The problem is when I run the code the records inserted into same spread sheet along with the previous records. So I need to delete the excel file and create new one. I am using POI to create the spread sheet. ICan anyone help me on this? I am posting the code below.
    import org.apache.poi.hssf.usermodel.*;
    public class MonthlyVolume {
         public static void execute(String[] args) {
              try {
                   Properties props = new Properties();
                   props.load(new FileInputStream("MonthlyVolume.properties"));
                   String rpt_name = props.getProperty("rpt_loc");
                   if (! rpt_name.endsWith("/")) {
                        rpt_name += "/";
                   rpt_name += "Monthly Volume - " + strlast_monthyear + ".xls";
                   generateExcel(rs, rpt_name, region_code, location_code, country_description, company_id, principal_debit_account, account_name, bt_count, total_bt_usd, ct_count, total_ct_usd, dr_count, total_dr_usd, avg_daily_trans, avg_daily_usd, tot_count, tot_usd, fx_count, fx_usd_amt, import_count);
              } catch (Exception e) {
                   e.printStackTrace();
         public static void generateExcel(ResultSet rs, String rpt_name, String region_code, String location_code, String country_description, String company_id, String principal_debit_account, String account_name, int bt_count, double total_bt_usd, int ct_count, double total_ct_usd, int dr_count, double total_dr_usd, int avg_daily_trans, double avg_daily_usd, int tot_count, double tot_usd, int fx_count, double fx_usd_amt, int import_count) {
              try {
                   HSSFWorkbook wb = null;
                   HSSFSheet sh = null;
                   short row_num = 1;
                   while (rs.next()){
                        try {
                             System.out.println(" I am inside try block");
                             wb = new HSSFWorkbook(new FileInputStream(rpt_name));
                             sh = wb.getSheet("Totals");
                             for (row_num = 0; true; row_num++) {                              
                                  if (sh.getRow(row_num) == null) {
                                       break;
                        } catch (FileNotFoundException e) {
                             System.out.println(" I am inside catch block");
                             wb = new HSSFWorkbook();
                             sh = wb.createSheet("Totals");
                             HSSFRow row = sh.createRow((short)0);
                             HSSFCell cell0 = row.createCell((short)0);
                             HSSFCell cell1 = row.createCell((short)1);
                             HSSFCell cell2 = row.createCell((short)2);
                             HSSFCell cell3 = row.createCell((short)3);
                             HSSFCell cell4 = row.createCell((short)4);
                             HSSFCell cell5 = row.createCell((short)5);
                             HSSFCell cell6 = row.createCell((short)6);
                             HSSFCell cell7 = row.createCell((short)7);
                             HSSFCell cell8 = row.createCell((short)8);
                             HSSFCell cell9 = row.createCell((short)9);
                             HSSFCell cell10 = row.createCell((short)10);
                             HSSFCell cell11 = row.createCell((short)11);
                             HSSFCell cell12 = row.createCell((short)12);
                             HSSFCell cell13 = row.createCell((short)13);
                             HSSFCell cell14 = row.createCell((short)14);
                             HSSFCell cell15 = row.createCell((short)15);
                             HSSFCell cell16 = row.createCell((short)16);
                             HSSFCell cell17 = row.createCell((short)17);
                             HSSFCell cell18 = row.createCell((short)18);
                             cell0.setCellValue("Region");
                             cell1.setCellValue("Country");
                             cell2.setCellValue("Country Name");
                             cell3.setCellValue("Company ID");
                             cell4.setCellValue("Account Number");
                             cell5.setCellValue("Account Name");
                             cell6.setCellValue("Total Trans");
                             cell7.setCellValue("Total Amount");
                             cell8.setCellValue("FX Count");
                             cell9.setCellValue("FX USD Equivalent");
                             cell10.setCellValue("Avg Daily Trans");
                             cell11.setCellValue("Avg Daily Amount");
                             cell12.setCellValue("Import Count");
                             cell13.setCellValue("Cust Trans");
                             cell14.setCellValue("Amount");
                             cell15.setCellValue("Bk Trans");
                             cell16.setCellValue("Amount");
                             cell17.setCellValue("Drafts");
                             cell18.setCellValue("Amount");
                             HSSFCellStyle cs = wb.createCellStyle();
                             HSSFFont f = wb.createFont();
                             f.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
                             cs.setFont(f);
                             cell0.setCellStyle(cs);
                             cell1.setCellStyle(cs);
                             cell2.setCellStyle(cs);
                             cell3.setCellStyle(cs);
                             cell4.setCellStyle(cs);
                             cell5.setCellStyle(cs);
                             cell6.setCellStyle(cs);
                             cell7.setCellStyle(cs);
                             cell8.setCellStyle(cs);
                             cell9.setCellStyle(cs);
                             cell10.setCellStyle(cs);
                             cell11.setCellStyle(cs);
                             cell12.setCellStyle(cs);
                             cell13.setCellStyle(cs);
                             cell14.setCellStyle(cs);
                             cell15.setCellStyle(cs);
                             cell16.setCellStyle(cs);
                             cell17.setCellStyle(cs);
                             cell18.setCellStyle(cs);
                        sh.setColumnWidth((short)0, (short)3000);
                        sh.setColumnWidth((short)1, (short)4000);
                        sh.setColumnWidth((short)2, (short)6000);
                        sh.setColumnWidth((short)3, (short)4000);
                        sh.setColumnWidth((short)4, (short)4200);
                        sh.setColumnWidth((short)5, (short)12000);
                        sh.setColumnWidth((short)6, (short)4000);
                        sh.setColumnWidth((short)7, (short)5000);
                        sh.setColumnWidth((short)8, (short)4000);
                        sh.setColumnWidth((short)9, (short)5000);
                        sh.setColumnWidth((short)10, (short)4000);
                        sh.setColumnWidth((short)11, (short)5000);
                        sh.setColumnWidth((short)12, (short)4000);
                        sh.setColumnWidth((short)13, (short)5000);
                        sh.setColumnWidth((short)14, (short)4000);
                        sh.setColumnWidth((short)15, (short)5000);
                        sh.setColumnWidth((short)16, (short)5000);
                        sh.setColumnWidth((short)17, (short)5000);
                        sh.setColumnWidth((short)18, (short)5000);
                        HSSFRow row = sh.createRow(row_num);
                        HSSFCell cell0 = row.createCell((short)0);
                        HSSFCell cell1 = row.createCell((short)1);
                        HSSFCell cell2 = row.createCell((short)2);
                        HSSFCell cell3 = row.createCell((short)3);
                        HSSFCell cell4 = row.createCell((short)4);
                        HSSFCell cell5 = row.createCell((short)5);
                        HSSFCell cell6 = row.createCell((short)6);
                        HSSFCell cell7 = row.createCell((short)7);
                        HSSFCell cell8 = row.createCell((short)8);
                        HSSFCell cell9 = row.createCell((short)9);
                        HSSFCell cell10 = row.createCell((short)10);
                        HSSFCell cell11 = row.createCell((short)11);
                        HSSFCell cell12 = row.createCell((short)12);
                        HSSFCell cell13 = row.createCell((short)13);
                        HSSFCell cell14 = row.createCell((short)14);
                        HSSFCell cell15 = row.createCell((short)15);
                        HSSFCell cell16 = row.createCell((short)16);
                        HSSFCell cell17 = row.createCell((short)17);
                        HSSFCell cell18 = row.createCell((short)18);
                        region_code = rs.getString("region_code");
                        location_code = rs.getString("location_code");
                        country_description = rs.getString("country_description");
                        company_id = rs.getString("company_id");
                        principal_debit_account = rs.getString("principal_debit_account");
                        account_name = rs.getString("account_name");
                        bt_count = rs.getInt("bt_count");
                        total_bt_usd = rs.getDouble("total_bt_usd");
                        ct_count = rs.getInt("ct_count");
                        total_ct_usd = rs.getDouble("total_ct_usd");
                        dr_count = rs.getInt("dr_count");
                        total_dr_usd = rs.getDouble("total_dr_usd");
                        avg_daily_trans = rs.getInt("avg_daily_trans");
                        avg_daily_usd = rs.getDouble("avg_daily_usd");
                        tot_count = rs.getInt("tot_count");
                        tot_usd = rs.getDouble("tot_usd");
                        fx_count = rs.getInt("fx_count");
                        fx_usd_amt = rs.getDouble("fx_usd_amt");
                        import_count = rs.getInt("import_count");
                        cell0.setCellValue(region_code);
                        cell1.setCellValue(location_code);
                        cell2.setCellValue(country_description);
                        cell3.setCellValue(company_id);
                        cell4.setCellValue(principal_debit_account);
                        cell5.setCellValue(account_name);
                        cell6.setCellValue(tot_count);
                        cell7.setCellValue(tot_usd);
                        cell8.setCellValue(fx_count);
                        cell9.setCellValue(fx_usd_amt);
                        cell10.setCellValue(avg_daily_trans);
                        cell11.setCellValue(avg_daily_usd);
                        cell12.setCellValue(import_count);
                        cell13.setCellValue(ct_count);
                        cell14.setCellValue(total_ct_usd);
                        cell15.setCellValue(bt_count);
                        cell16.setCellValue(total_bt_usd);
                        cell17.setCellValue(dr_count);
                        cell18.setCellValue(total_dr_usd);
                        HSSFCellStyle csNumber = wb.createCellStyle();
                        HSSFCellStyle csCurrency = wb.createCellStyle();
                        HSSFCellStyle csString = wb.createCellStyle();
                        csNumber.setDataFormat((short)3);
                        csCurrency.setDataFormat((short)7);
                        csString.setDataFormat((short)7);
                        cell0.setCellStyle(csString);
                        cell1.setCellStyle(csString);
                        cell2.setCellStyle(csString);
                        cell3.setCellStyle(csString);
                        cell4.setCellStyle(csString);
                        cell5.setCellStyle(csString);
                        cell6.setCellStyle(csNumber);
                        cell7.setCellStyle(csCurrency);
                        cell8.setCellStyle(csNumber);
                        cell9.setCellStyle(csCurrency);
                        cell10.setCellStyle(csNumber);
                        cell11.setCellStyle(csCurrency);
                        cell12.setCellStyle(csNumber);
                        cell13.setCellStyle(csNumber);
                        cell14.setCellStyle(csCurrency);
                        cell15.setCellStyle(csNumber);
                        cell16.setCellStyle(csCurrency);
                        cell17.setCellStyle(csNumber);
                        cell18.setCellStyle(csCurrency);
                        wb.write(new FileOutputStream(rpt_name));
              } catch (Exception e) {
                   e.printStackTrace();
         public static void main(String[] args) {
         MonthlyVolume.execute(args);
    }

    I have to remove the monthly spread sheet every time
    and create a new spread sheet while executing the
    code. The problem is when I run the code the records
    inserted into same spread sheet along with the
    previous records. So I need to delete the excel file
    and create new one. I am using POI to create the
    spread sheet. ICan anyone help me on this? I am
    posting the code below.I don't think I want to read all that code. If you want to replace the data, you can remove the sheet and create a new one with the same name. HSSFWorkBook has methods removeSheetAt() and createSheet().

  • Deletion and Creation of storage location.

    Dear Experts,
    Plz advise how can we un-assign any storage location from any material & how can we create the new storage location.
    Regards
    Sumit Kalyan

    Hi Sumit,
    System will  allow the stock posting to storage location for which u have set Deletion until it has been achieved.
    You can block the storage location of a material without affecting the rest of the location using the same material.
        1.Create a Physical Inventory document for the storage location with transaction MI01  by  Selecting  the Posting Block checkbox.
        This would prevent transactions from occuring until you either post or delete the physical inventory document.
    or
    2. U can create &  delete the stoarge loaction at OX09.  This will affect the all the material which has assigned to same storage lacation. Normally MM will do this,
    Regards
    Pradeep

Maybe you are looking for

  • Cancellation of posted excise invoice

    Dear All, How to cancel posted incoming excise invoice without cancelling the GRN. User had posted the excise invoice wrogly so now they want to cancel that. For this we have to first reverse GRN but stock also get consumed meanwhile so system is not

  • Keeping imac on for numerous days straight.

    I use my elgato eye tv to record tv shows and then I convert it to ipod format so that I can watch it on my ipod video. However, converting numerous tv shows takes a while so I leave my imac on overnight quite often. My question is: Is it harmful to

  • WDV in fixed assets

    Hi everyone, I need to customize the WDV for India. From what I read, it is a fixed percentage of the NBV. So, if the percentage is 20. and the acquisition value is 10000$, the first year, it should be 10000 * 20%. The second year would be the NBV *

  • PLEASE help installing j2sdK

    I have downloaded the j2sdkee1_3_01-win installtion file. after I install it, where do I compile ? I do not see any javac.exe file ?

  • Adobe Ideas compatibility with Illustrator on a pc? Or only on a Mac?

    Is Adobe Ideas compatible with Illustrator on a pc? Or only for Mac?