GL Account/BAPI_ACC_DOCUMENT_POST

Hi all,
   I am using BAPI_ACC_DOCUMENT_POST to post a document.
The document gets successfully posted and uploaded in SAP. My input flat file has posting key 06 40 11 50 depending on whether it is a debit or credit line item. But in the BAPI there is no provision to pass posting key.
As of now for customer the posting key is automatically taken as 01 and for GL account the posting key is taken as 50. Could any one of you please tell how the posting key assignment is happening while calling this BAPI. Also can any one suggest how to assign posting keys mentioned above (06,40,11,50).
Please help me...
Thanks in advance
Deepthi Gangadharan

Hi deepti,
Maintain the t030b table with the required posting keys.
System determines the posting based on the transaction key whatever you pas it from BAPIACGL09-kTOSL.
Function module FI_GET_POSTING_KEY is used to get the posting key which needs the KTOSL field as a import parameter.Try this out and let me know if that solved that issue.
Thank you.
Regards,
karun.M

Similar Messages

  • BAPI GL Account

    Hi,
    Necessary to know if BAPI GL Account BAPI_ACC_DOCUMENT_POST it serves for FB01L? Exists some note SAP the respect?
    Regards,
    Mário Jr.

    FB01L doen't exist in our system. What version are you on?
    Rob

  • Accounting Document not Cleared using BAPI_ACC_DOCUMENT_POST

    Dear Experts,
    I am Using BAPI_ACC_DOCUMENT_POST to post the GL'S , Accounting document is getting created successfully . My Doubt is whether this bapi will clear the Accounting document automatically or we have to use any other function module to clear the Document?
    Please let me know how to clear the document.
    Thanks & Regards,
    Hemant Gulati(A1)

    Documents are not cleared; their line items are.
    Rob

  • How to catch accounting Document Number in SE37 for  BAPI_ACC_DOCUMENT_POST

    HI Frds,
    My ReQ is i have to post Customer Invoice from Legacy to ECC through PI interface. So i am using one BAPI , ' BAPI_ACC_DOCUMENT_POST''. I had customized this BAPI by adding 2 fields (1.zstatus, 2.zsaprefno) as i have to send the status(1. Success/Fail, 2.Account Document Number) back to Legacy.
    For PI i have to give the BAPI structure. So when i am executing in SE37 zstatus field is catching the value as 'Success'. But the ZSAPREFNO is not catching the account document number. Bez we have to execute BAPI_TRANSACTION_COMMIT after this BAPI(in test sequence from Menu bar). So directly updating in Database tables.
    when i was excuting in SE38 the Accounting Document Number is returned in RETURN parameter of MESSAGE_V2 as we are checking the return parameter after BAPI_TRANSACTION_COMMIT.
    when i am trying in SE37 its not catching the value in MESSAGE_V2(catching as $).  After COMMITing we have no option to check the RETURN parameter.
    So, any idea how to get the Account Document Number  in SE37.......Or any other way to do..........
    Edited by: priya tavanam on Sep 3, 2010 7:02 AM

    Hi,
    if standard BAPI did not return the Acc. document number before BAPI_COMMIT then create wrapper FM
    1) call actual BAPI and BAPI_COMMIT with in that.
    2) retrun the account document back.
    otherwise you can try sync proxy as well.
    Regds,
    Suresh

  • BAPI_ACC_DOCUMENT_POST - Unable to create accounting document

    Hi All,
    I am trying to post a document using BAPI "BAPI_ACC_DOCUMENT_POST" and "BAPI_TRANSACTION_COMMIT " . On execution the following message is being displayed "                                                                   
    S RW  605 Document posted successfully: FKKSU $ I00CLT030 " .  But, I could not able to see the accounting document number generated in BKPF / BSEG table.
    Can any one of you help me in creating the accounting document number in BSEG / BKPF table using the above said BAPI. Is there any thing which needs to be maintained in customization?
    Thanks in advance.
    Sunil.K

    May be this is little late to answer .. but still it will be better for clarity.
    First of all accouting document will be generated only after commit of the BAPI i.e. call BAPI_TRANSACTION_COMMIT after  BAPI_ACC_DOCUMENT_POST.
    Second to check the accounting document number  generated from BAPI
    When filling the BAPI interface, leave the following fields empty if  the FI document number is to be the reference document number for  the posting:                                                                               
    o  DOCUMENTHEADER:                                OBJ_TYPE, OBJ_KEY and OBJ_SYS       
    o  DOCUMENTHEADER and ACCOUNTGL:   AC_DOC_NO                           
    o  ACCOUNT_GL:                                         STAT_CON, AC_DOC_NO 
    In the importing paramters
         IMPORTING
           obj_type          = l_type
           obj_key           = l_key
           obj_sys           = l_sys
    The first 10 character of l_key will contain the FI document number

  • BAPI_ACC_DOCUMENT_POST to modify an accounting document

    hi,
    somebody knows how to use the FM BAPI_ACC_DOCUMENT_POST to modify an accounting document?
    I use:
    lw_cab-username   = sy-uname.
    lw_cab-doc_type   = 'KR'.
    lw_cab-comp_code  = '0001'.
    lw_cab-bus_act = 'RFBU'.
    lw_cab-obj_type = 'BKPFF'.
    lw_cab-obj_key = '190000032000012007'.
    lw_cab-obj_sys = 'HRDCLNT100'.
    * I only want to modify this field.
    lw_cab-ref_doc_no = 'NEW'.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
        EXPORTING
          documentheader = lw_cab
        IMPORTING
          obj_key        = l_obj
        TABLES
          currencyamount = li_currencyamount
          return         = li_return.
    but it doesn't work.
    I also need to reverse an accounting document with BAPI_ACC_DOCUMENT_REV_POST.
    Somebody knows an example that works?
    Thanks,
    Ángel.

    Hi,
                 see note 487722.
    The posting key is automatically assigned by the BAPI, u can't transfer it.
    The BAPI decides which posting key ahs to be used in order on the kind of item and operation key.
    So you can try to drive the posting key assigning a certain operation key in the item.
    Try to check the fm FI_GET_POSTING_KEY.
    I believe you can decide which operation key to be used only in the G/L items (BAPIACGL09-ACCT_KEY), for the customer the BAPI uses the keys 01 and 11.
    U can see how the BAPI decides which posting keys has to be used in the form fill_acct_key in the include LACC9F20.
    Check the therads.
    BAPI_ACC_DOCUMENT_POST issue with posting key
    BAPI for transaction FB01 with account posting key
    <b>Reward points</b>
    Regarsd

  • BAPI_ACC_DOCUMENT_POST. Why tax account is replaced ?

    The code as follow:
    REPORT  YC_BAPI_ACC_DOCUMENT_POST.
    * bapi
    CLEAR:BAPI_HEADER,
          BAPI_ACCOUNTGL,
          BAPI_ACCOUNTRECEIVABLE,
          BAPI_ACCOUNTPAYABLE,
          BAPI_ACCOUNTTAX,
          BAPI_CURRENCYAMOUNT,
          BAPI_RETURN,
          BAPI_EXTENSION2,
          LS_ACCOUNTGL,
          LS_RECEIVABLE,
          LS_ACCOUNTPAYABLE,
          LS_ACCOUNTTAX,
          LS_CURRENCYAMOUNT,
          LS_EXTENSION,
          LS_EXTENSION_BAPI.
    * set header
    CLEAR BAPI_HEADER.
    BAPI_HEADER-DOC_TYPE    = 'SA'.   "u51EDu8BC1u7C7Bu578B
    BAPI_HEADER-COMP_CODE   = '1000'.   "u516Cu53F8u4EE3u7801
    BAPI_HEADER-BUS_ACT     = 'RFBU'.           "u4E1Au52A1u8303u56F4
    BAPI_HEADER-DOC_DATE    = SY-DATUM.   "u51EDu8BC1u65E5u671F
    BAPI_HEADER-PSTNG_DATE  = SY-DATUM.   "u8FC7u8D26u65E5u671F
    BAPI_HEADER-HEADER_TXT  = SY-DATUM.   "u9879u76EEu62ACu5934u6587u672C
    BAPI_HEADER-FISC_YEAR   = SY-DATUM+0(4)."u5E74u5EA6
    BAPI_HEADER-FIS_PERIOD  = SY-DATUM+4(2).   "u671Fu95F4
    BAPI_HEADER-REF_DOC_NO  = ''.   "u53C2u8003u51EDu8BC1u7F16u53F7
    BAPI_HEADER-HEADER_TXT  = ''.   "u51EDu8BC1u62ACu5934u6587u672C
    BAPI_HEADER-USERNAME    = SY-UNAME.             "u8BB0u8D26u7528u6237
    * set items
    CLEAR LS_ACCOUNTGL.
    LS_ACCOUNTGL-ITEMNO_ACC  = 1."u884Cu9879u76EEu53F7
    LS_ACCOUNTGL-GL_ACCOUNT  = '0000154001'.
    LS_ACCOUNTGL-TAX_CODE    = 'V2'."u7A0Eu7801
    *LS_ACCOUNTGL-ACCT_KEY    = 'VST'.
    *LS_ACCOUNTGL-ACCT_TYPE   = 'S'.
    *LS_ACCOUNTGL-COND_CATEGORY = 'D'.
    APPEND LS_ACCOUNTGL TO BAPI_ACCOUNTGL.
    CLEAR LS_ACCOUNTGL.
    LS_ACCOUNTGL-ITEMNO_ACC  = 2."u884Cu9879u76EEu53F7
    LS_ACCOUNTGL-GL_ACCOUNT  = '0000078200'.
    APPEND LS_ACCOUNTGL TO BAPI_ACCOUNTGL.
    * set currency
    LS_CURRENCYAMOUNT-ITEMNO_ACC   = 1. "u884Cu9879u76EEu53F7
    LS_CURRENCYAMOUNT-CURRENCY     = 'EUR'. "u8D27u5E01u7801
    LS_CURRENCYAMOUNT-CURR_TYPE    = '00'.               "u91D1u989Du7C7Bu578B
    *LS_CURRENCYAMOUNT-EXCH_RATE    = ''. "u6C47u7387
    *LS_CURRENCYAMOUNT-AMT_DOCCUR   = 100. "u51EDu8BC1u8D27u5E01u91D1u989D
    *LS_CURRENCYAMOUNT-AMT_BASE     = 1427.
    APPEND LS_CURRENCYAMOUNT TO BAPI_CURRENCYAMOUNT.
    CLEAR LS_CURRENCYAMOUNT.
    LS_CURRENCYAMOUNT-ITEMNO_ACC   = 2. "u884Cu9879u76EEu53F7
    LS_CURRENCYAMOUNT-CURRENCY     = 'EUR'. "u8D27u5E01u7801
    LS_CURRENCYAMOUNT-CURR_TYPE    = '00'.               "u91D1u989Du7C7Bu578B
    *LS_CURRENCYAMOUNT-EXCH_RATE    = ''. "u6C47u7387
    LS_CURRENCYAMOUNT-AMT_DOCCUR   = -100. "u51EDu8BC1u8D27u5E01u91D1u989D
    APPEND LS_CURRENCYAMOUNT TO BAPI_CURRENCYAMOUNT.
    *  tax items currence
    CLEAR LS_ACCOUNTTAX.
    LS_ACCOUNTTAX-ITEMNO_ACC = 3.     "u884Cu9879u76EEu53F7
    *LS_ACCOUNTTAX-GL_ACCOUNT =  '0000154001'.
    LS_ACCOUNTTAX-TAX_CODE   = 'V2'."u9500u552Eu7A0Eu4EE3u7801
    *LS_ACCOUNTTAX-TAX_RATE   = LV_FWSTE.        "u9500u552Eu7A0Eu7387
    *LS_ACCOUNTTAX-DIRECT_TAX = 'X'.
    *LS_ACCOUNTTAX-ITEMNO_TAX = 1. "u7A0Eu76F8u5173u884Cu9879u76EE
    *LS_ACCOUNTTAX-ACCT_KEY = 'VST'.
    *LS_ACCOUNTTAX-COND_KEY = 'MWS'.
    APPEND LS_ACCOUNTTAX TO BAPI_ACCOUNTTAX.
    CLEAR LS_CURRENCYAMOUNT.
    LS_CURRENCYAMOUNT-ITEMNO_ACC   = 3.    "u884Cu9879u76EEu53F7
    LS_CURRENCYAMOUNT-CURRENCY     = 'EUR'."u8D27u5E01u7801
    *LS_CURRENCYAMOUNT-EXCH_RATE    = LS_ZCNTPDM01-KURSF."u6C47u7387u7801
    LS_CURRENCYAMOUNT-AMT_DOCCUR   = 100."u7A0Eu91D1
    LS_CURRENCYAMOUNT-AMT_BASE     = '1427.1'."u7A0Eu57FA
    *LS_CURRENCYAMOUNT-TAX_AMT       = 100.
    APPEND LS_CURRENCYAMOUNT TO BAPI_CURRENCYAMOUNT.
    *   extend the reason code
    CLEAR LS_EXTENSION.
    LS_EXTENSION-POSNR = 1.  "u884Cu9879u76EEu53F7
    LS_EXTENSION-BSCHL = '40'.  "u8BB0u8D26u7801
    LS_EXTENSION_BAPI-STRUCTURE  = 'ZEXCEL'."u81EAu5B9Au4E49u6269u5C55u7ED3u6784
    LS_EXTENSION_BAPI-VALUEPART1 = LS_EXTENSION. "u6269u5C55u7ED3u6784
    APPEND LS_EXTENSION_BAPI TO BAPI_EXTENSION2.
    CLEAR LS_EXTENSION.
    LS_EXTENSION-POSNR = 2.  "u884Cu9879u76EEu53F7
    LS_EXTENSION-BSCHL = '50'.  "u8BB0u8D26u7801
    LS_EXTENSION_BAPI-STRUCTURE  = 'ZEXCEL'."u81EAu5B9Au4E49u6269u5C55u7ED3u6784
    LS_EXTENSION_BAPI-VALUEPART1 = LS_EXTENSION. "u6269u5C55u7ED3u6784
    APPEND LS_EXTENSION_BAPI TO BAPI_EXTENSION2.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
          EXPORTING
            DOCUMENTHEADER    = BAPI_HEADER
          TABLES
            ACCOUNTGL          = BAPI_ACCOUNTGL
            ACCOUNTRECEIVABLE  = BAPI_ACCOUNTRECEIVABLE
            ACCOUNTPAYABLE     = BAPI_ACCOUNTPAYABLE
            ACCOUNTTAX         = BAPI_ACCOUNTTAX
            CURRENCYAMOUNT     = BAPI_CURRENCYAMOUNT
            RETURN             = BAPI_RETURN
            EXTENSION2         = BAPI_EXTENSION2.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT BAPI_RETURN INTO LS_RETURN.
      WRITE:/ LS_RETURN-MESSAGE.
    ENDLOOP.
    In FB03, The generated document as follow:
    1000     1     50          78200     Transfer of reserves     100.00-     EUR                              
    1000     2     40          154000     Input tax     100.00     EUR     V2                         
    =========================================================
    If i create a document in FB01 with the above data, the generated document as follow:
    1000     1     50          78200     Transfer of reserves     100.00-     EUR                              
    1000     2     40          154001     Input tax     100.00     EUR     V2     
    So, what i should do if i want '154001' in generated document by BAPI.
    Please help me.
    Thanks.
    Edited by: y_ch_19 on Sep 28, 2011 11:09 AM
    Edited by: Thomas Zloch on Sep 28, 2011 11:22 AM

    Hi Vijaymadhur,
    Thank you very much.
    I check the reason is not enhancement or exit.
    In t-code: FTXP, i see the tax code 'V2' corresponding the tax account '154000',
    when execute the BAPI, the system determine the tax account by the tax code,
    but i have no idear how to set the parameters in BAPI  with no tax account replaced.
    CLEAR LS_ACCOUNTTAX.
    LS_ACCOUNTTAX-ITEMNO_ACC = 3.     "u884Cu9879u76EEu53F7
    *LS_ACCOUNTTAX-GL_ACCOUNT =  '0000154001'.
    LS_ACCOUNTTAX-TAX_CODE   = 'V2'."u9500u552Eu7A0Eu4EE3u7801
    *LS_ACCOUNTTAX-TAX_RATE   = LV_FWSTE.        "u9500u552Eu7A0Eu7387
    *LS_ACCOUNTTAX-DIRECT_TAX = 'X'.
    *LS_ACCOUNTTAX-ITEMNO_TAX = 1. "u7A0Eu76F8u5173u884Cu9879u76EE
    *LS_ACCOUNTTAX-ACCT_KEY = 'VST'.
    *LS_ACCOUNTTAX-COND_KEY = 'MWS'.
    APPEND LS_ACCOUNTTAX TO BAPI_ACCOUNTTAX.

  • How to Entry Account assignment at BAPI_ACC_DOCUMENT_POST

    Hi All,
    i use BAPI_ACC_DOCUMENT_POST to posting Doc G/L, but for some G/L Accounts, there is error
    Account xxx requires an assignment to a CO object
    I Know that Account need entry to Profit Segment Button at TCode F-02. How to entry it at this BAPI.
    Please help me ASAP.
    with a sample program. thks

    Dear Zeeshah,
    There is two tables like ACCOUNTTAX and ACCOUNTWT in which you can fill you tax and witholding tax values.
    have you see the tables parameters in se37.
    please reward points if solved.
    Amit.

  • How to use Bapi BAPI_ACC_DOCUMENT_POST for g/l account document posting

    Hi all,
    I am using BAPI_ACC_DOCUMENT_POST bapi for g/l account documents posting.as I am first time using BAPI in my program.can anyone give details about how to use this BAPI for document postings.what importing parameters need to be passed , which exporting parameters need to be passed and which tables need to be used.  
    Thanks in advance.
    Regards,
    Harshada

    Moderator message - Please search before asking - post locked
    Rob

  • Problem in creating an account document using BAPI_ACC_DOCUMENT_POST

    Hi Experts,
    I have a porblem while creating an account document from BAPI_ACC_DOCUMENT_POST.
    The problem is acc document is geeting posted and I am getting an document number for that bapi, but its not getting saved to data base and I am getting the following error message
    "Document 1900004327 3000 does not exist in fiscal year 2005
    Message no. F5A397
    System Response
    The required document either does not exist in the fiscal year or is still being posted.
    When the document is read, archived documents are also considered."
    Please sugggest...
    We are using ECC 6.0
    Thanks,
    Suma.

    Hi,
    this means that the posting is not open...
    try with 2008...
    or else ask ur financial consultatto check, whether the 2005 is open or not.
    u also try posting manually using FB01 with same entries u r using for this BAPI...so that u can track the error.
    Also use BAPI_TRAACTION_COMMIT after bapi post.
    check ur subsystem which u r passing for the BAPI..
    wa_general-assetsubno = '0000'. Is it 3000 or 0000
    Try using 0...
    Edited by: Sumi Vasu on May 14, 2008 8:13 AM

  • Account document post using BAPI BAPI_ACC_DOCUMENT_POST

    Hi,
    I am using the BAPI BAPI_ACC_DOCUMENT_POST to post account doument. It is working fine.
    Here I need to pass contrac number to item.
    We have one parameter REALESTATE to pass cotract number.
    Because it is a realestate, it taking contract type as 9 by default.
    But I need to pass other contract number of diffrent type.
    How we can pass the other than realestate contract number using BAPI BAPI_ACC_DOCUMENT_POST ?
    Thanks in advance.
    Sadasiva.

    I am already did the same thing, it is creating document but it is not adding the contract number to item.
    I am also filling the parameter REALESTATE with contract number, it is adding properly and contract type is taking as 9(means realestate).
    But I need to add other contract types also, for that I tried with other parameter what you mentioned.
    Thank you for your reply.
    Sadasiva.
    Edited by: Sadasiva Rao Athota on Dec 9, 2008 2:38 PM

  • Issue with creating a G/L account using the BAPI "BAPI_ACC_DOCUMENT_POST"

    Hi All,
    I am trying to create a G/L account (FB50) using the BAPI "BAPI_ACC_DOCUMENT_POST". Can somebody help in populating values to the following parameters :
    1) OBJ_TYPE
    2) OBJ_KEY
    3) BUS_ACT
    I tried passing BKPF & BKPFF to the Object type but i am getting error saying that "Incorrect Entry".
    Please let me where to find the values for the fields.
    Any Help is much appreciated.
    Thanks in Advance.

    Hi Ram,
    Thanks for your input. The BAPI is working fine now, but one small change, i am passing REACI for the object type instead of BKPFF.
    Here's the values that i am passing to the BAPI.
    OBJ_TYPE                       REACI
    OBJ_KEY                        TEST
    OBJ_SYS                        ECSCLNT010
    BUS_ACT                        RFBU
    USERNAME                       KKUMAR
    HEADER_TXT                     TEST_BAPI
    Thanks Once agian.

  • BAPI_ACC_DOCUMENT_POST not generating accounting document

    HI All
    I'm calling function module 'BAPI_ACC_DOCUMENT_POST'
    to upload accounting dcoument data and passing below parameters for header section. I'm getting 605 success message in RETURN table, but accounting document is not being generated.
    obj_type = FKKSU
    obj_KEY = '$'
    obj_sys = t000-logsys.
    Message is here:
    S   |RW                  |605   |Document posted successfully: FKKSU $ PRO
    Kindly suggest me what could be the problem.
    Thanks in advance,
    Vijaya

    Hi ,
    You need to execute BAPI_TRANSACTION_COMMIT after this Function module.
    otherwise go to before executing BAPI BAPI_ACC_DOCUMENT_POST
    go to 'Function Modules ->other Function module -> ( enter BAPI_TRANSACTION_COMMIT) and then choose SAVE.
    now execute your test variant BAPI_ACC_DOCUMENT_POST.
    Hope this helps you.
    Thanking You.
    Kind Regards,
    Ravi Sankar.Z

  • BAPI_ACC_DOCUMENT_POST: No Accounting Documents are Created

    Hello,
    When I used the BAPi BAPI_ACC_DOCUMENT_POST the documents are posted, but when I try to see:
    Enviroment -> Documents Enviroment -> Accounting Documents,
    The transaccion FB03 does not show anything. Aditionally, GL are not Updated.
    Some person knows something on the matter?
    Regards,
    Piero Cimule.

    Hi Piero,
    I guess this is due to the value you put in :
    documentheader-compo_acc
    If you want the doc to be created in both CO & FI, do not put 'FI' or something else.
    Leave the field blank.
    Hope this helps,
    Erwan

  • Problems in Posting an Accounting Document using BAPI_ACC_DOCUMENT_POST

    Hi All,
    I am facing a problem when I try to post an accounting document using the BAPI "BAPI_ACC_DOCUMENT_POST".
    While passing data to the structure "ACCOUNTTAX", I get the errors "Required field AMT_BASE was not transferred in parameter CURRENCYAMOUNT" and "Required field TAX_CODE was not transferred in parameter ACCOUNTTAX".
    Till now I was not passing the ACCOUNTTAX structure to the BAPI and posting was happening fine.
    Any pointers / solutions in this direction will be most helpful.
    Thanks in advance.
    Regards,
    Keerthi

    Hi
      As u told earlier it was fine , so it may there is some config. change done by func. so this error is coming.
      For minimum required fields fo BAPI , u can go to SE37 and click on Function Module Documentation on Application tool bar.
    here u will find good help.
    Regards
    Sachin

Maybe you are looking for

  • Editing Loop Start and End times via automation / MIDI controllers?

    I'm trying to play a sample in EXS24 and have the Sample Start, Loop Start and End times manipulated over the course of the song. I've tried to open up the EXS sample editor, click on the numerical value of the Loop Start, and then attempt to Learn A

  • Problem installing Snow Leopard on an external drive

    Having just treated myself to a shiny new iMac, I have had a change around of my supplementary drives. I wanted to create a bootable external drive for backups and emergencies. I have a 500GB internal drive leftover from my G5 Powermac, which I have

  • Anyone else having screen/window resolution issues in windows 8.1?

    Hi, I have Indesign CC 64-bit, on a Dell XPS18. I upgraded(?) to Windows 8.1. Since then the Indesign screens show at a lower res than other windows - that's menus and everything, not just the page content. Any help appreciated. Ed

  • Newline problem with soap

    I'm having these weird problems with newlines. I'm sending \n in a message because I have a multi lined message i want parsed. Axis is receiving the message and throwing exceptions. I printed out the line it's parsing and it's giving this error that

  • Read a excel file and split its sheets to seperate file ?

    Dear all : How to split a excel file into several file, each have one sheet.my code is as below,thanks: import org.apache.poi.hssf.usermodel.*; import java.io.*; import java.util.*; import org.apache.poi.poifs.filesystem.*; public class Extractxls {