Bank account number against Document number

Hi Experts,
I have a scenario where i have Document no. of clearing doc. i.e. AUGBL and based on that i need to know bank account number i.e. BANKN.
Can anybody suggest the sap tables from where i can get it ?
Thanks,
Akash

>
Akash Sawant wrote:
> Hi Aditya,
>
> Probably it is vendor doc. no.
>
> Thanks,
> Akash
"Probably"?
You should verify before continuing.
Rob

Similar Messages

  • Invoice number and document number not printed in payment advice

    Hello Gurus,
           I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
    other fields from regup table are displayed but above two mentioned fields are not displayed.
          I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
    With regards,
    Vikram

    Hi,
    Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
    Rgds
    Aeda.

  • Invoice Number and Document Number

    Are Invoice Number and Document Number in FI AR same?
    Dont they differ, I could find only one infoobject 0INV_DOC_NO relating to both.
    Is there any seperate infoobject which gives the document number in 0FIAR_C03.
    Please comment.
    Thanks.

    hi,
    are you looking for clearing doc number ?
    http://help.sap.com/saphelp_nw04s/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    0CLR_DOC_NO - source field BSID-AUGBL
    hope this helps.

  • Receivables: Diferrence between "transaction number" and "document number"

    Hi!
    What is the difference between "transaction number" and "document number" as shown in the transactions window?
    Where are they used?
    thanks!

    Transaction number is the Invoice number. It can be a manually entered number in case of manual invoices. Even in case of imported invoices, it can be a manually assigned number if the trx_number field is populated in the ra_interface_lines_all table. If you Invoice batch source setup indicates automatic transaction numbering, the transaction (invoice) number will be automatically generated sequentially. The starting number is mentioned in the Trx batch source.
    The document number is a number which is generated by Document sequencing. To have the document number generated, you have to do few Doc sequencing setups like setting the 'Sequencial Numbering' profile options, creating document sequences and assigning the sequence to the Categories. The trx types are created as categories.
    The Transaction number can be the same as the document number if you enable the option 'Copy Document number to Transaction number' in the Invoice batch source.
    Hope that helps.
    Thanks,
    Anil

  • Amount comes multiple times against document number

    Hi,
    I have a query in my report that where the A/c Document numbers have the multiple line items, it goes in loop..means it print the value multiple times like: -
    5500004344...............4500
    5500004345...............5000
    5500004345...............5100
    5500004345...............5200
    5500004346...............5100
    It is taking the 5500004345 value 5100, in the 5500004346 document number.(saw in debugging time)..
    But when it have the single document number, it is showing the correct value...
    please check my code:----
    REPORT  zak_mat_pur_rudrapur_new NO STANDARD PAGE HEADING LINE-SIZE 125  .
    TABLES : mseg, ekpo, mkpf, rseg, bkpf, bseg, lfa1.
    TYPE-POOLS : slis.
    DATA : BEGIN OF itab OCCURS 0,
           belnr LIKE bkpf-belnr,
           gjahr LIKE bkpf-gjahr,
           budat LIKE bkpf-budat,
           awkey LIKE bkpf-awkey,
           belnr1(10) TYPE c,                             " LIKE rseg-belnr,
           gjahr1 LIKE rseg-gjahr,
           ebeln LIKE rseg-ebeln,
           ebelp LIKE rseg-ebelp,
           wrbtr LIKE rseg-wrbtr,
           menge LIKE rseg-menge,
           bstme LIKE rseg-bstme,
           lfbnr LIKE rseg-lfbnr,
           ebeln1 LIKE ekpo-ebeln,
           ebelp1 LIKE ekpo-ebelp,
           txz01 LIKE ekpo-txz01,
           mblnr LIKE mseg-mblnr,
           lifnr LIKE mseg-lifnr,
           lfbnr1 LIKE mseg-lfbnr,
           rate TYPE p DECIMALS 2,
           name1(40) TYPE c , " like lfa1-lifnr,
           dmbtr LIKE bseg-dmbtr,
           dmbtr1 LIKE bseg-dmbtr,
           sum TYPE p DECIMALS 2,
           sum1 TYPE p DECIMALS 2,
           rate1 TYPE p DECIMALS 2,
           lfpos LIKE rseg-lfpos,
           END OF itab.
    DATA : BEGIN OF itab2 OCCURS 0,
           belnr LIKE bkpf-belnr,
           gjahr LIKE bkpf-gjahr,
           budat LIKE bkpf-budat,
           awkey LIKE bkpf-awkey,
           belnr1(10) TYPE c,                             " LIKE rseg-belnr,
           gjahr1 LIKE rseg-gjahr,
           ebeln LIKE rseg-ebeln,
           ebelp LIKE rseg-ebelp,
           wrbtr LIKE rseg-wrbtr,
           menge LIKE rseg-menge,
           bstme LIKE rseg-bstme,
           lfbnr LIKE rseg-lfbnr,
           ebeln1 LIKE ekpo-ebeln,
           ebelp1 LIKE ekpo-ebelp,
           txz01 LIKE ekpo-txz01,
           mblnr LIKE mseg-mblnr,
           lifnr LIKE mseg-lifnr,
           lfbnr1 LIKE mseg-lfbnr,
           rate TYPE p DECIMALS 2,
           name1(40) TYPE c , " like lfa1-lifnr,
           dmbtr LIKE bseg-dmbtr,
           dmbtr1 LIKE bseg-dmbtr,
           sum TYPE p DECIMALS 2,
           sum1 TYPE p DECIMALS 2,
           rate1 TYPE p DECIMALS 2,
           lfpos LIKE rseg-lfpos,
           END OF itab2.
    DATA : w_container TYPE scrfname VALUE 'CL_GRID',
           w_cprog TYPE lvc_s_layo,
           g_repid LIKE sy-repid,
           w_save TYPE c,
           w_exit TYPE c,
           cl_grid TYPE REF TO cl_gui_alv_grid,
           cl_custom_container TYPE REF TO cl_gui_custom_container,
           it_fld_catalog TYPE slis_t_fieldcat_alv,
           wa_fld_catalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
           layout TYPE slis_layout_alv,
           col_pos  LIKE sy-cucol ,
           alvfc TYPE slis_t_fieldcat_alv.
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS   : belnr FOR bkpf-belnr.
    *SELECT-OPTIONS   : gjahr FOR bkpf-gjahr OBLIGATORY.
    PARAMETERS       : gjahr LIKE bkpf-gjahr OBLIGATORY.
    *SELECT-OPTIONS   : budat FOR bkpf-budat.
    SELECTION-SCREEN : END OF BLOCK b1.
    PERFORM fill_catalog1 USING:
    'LIFNR'    'ITAB2'    'Vendor',
    'NAME1'    'ITAB2'    'Name1',
    'BELNR'    'ITAB2'    'MIRO Doc. No.' ,
    'BUDAT'    'ITAB2'    'Posting Date',
    'GJAHR'    'ITAB2'    'Year',
    'BELNR1'   'ITAB2'    'A/c Doc. No.',
    'LFBNR'    'ITAB2'    'Ref. Document(103)',
    'MBLNR'    'ITAB2'    'Material Doc.(105)',
    'EBELN'    'ITAB2'    'PO Number',
    'EBELP'    'ITAB2'    'Line Item',
    'TXZ01'    'ITAB2'    'Material Text',
    'MENGE'    'ITAB2'    'Quantity',
    'BSTME'    'ITAB2'    'Unit',
    *'RATE'     'ITAB2'    'Rate',
    'RATE1'    'ITAB2'    'RATE1',
    'WRBTR'    'ITAB2'    'Amount',
    'DMBTR'    'ITAB2'    'Variance A',
    'DMBTR1'   'ITAB2'    'Variance B',
    'SUM'      'ITAB2'    'Total Amt.',
    'SUM1'      'ITAB2'    'Total Amt.1'.
    SELECT belnr gjahr budat awkey INTO CORRESPONDING FIELDS OF TABLE itab FROM bkpf WHERE belnr IN belnr AND gjahr = gjahr.
    IF sy-subrc <> 0.
      MESSAGE 'DATA NOT FOUND.' TYPE 'I'(001).
    ENDIF.
    SORT itab BY belnr.
    LOOP AT itab.
      SPLIT itab-awkey AT space INTO: itab-belnr1 itab-gjahr1.
      SELECT belnr gjahr ebeln ebelp wrbtr menge bstme lfbnr lfpos FROM rseg INTO (itab2-belnr1, itab2-gjahr1, itab2-ebeln,
                        itab2-ebelp, itab2-wrbtr, itab2-menge, itab2-bstme, itab2-lfbnr, itab2-lfpos) WHERE belnr = itab-belnr1 AND gjahr = itab-gjahr .
        itab2-belnr = itab-belnr.
        itab2-gjahr = itab-gjahr.
        itab2-budat = itab-budat.
        itab2-awkey = itab-awkey.
        SELECT SINGLE ebeln ebelp txz01 FROM ekpo INTO (itab2-ebeln1, itab2-ebelp1, itab2-txz01) WHERE ebeln = itab2-ebeln AND ebelp = itab2-ebelp.
        SELECT SINGLE mblnr lifnr FROM mseg INTO (itab2-mblnr, itab2-lifnr) WHERE lfbnr = itab2-lfbnr AND bwart EQ '105'.
        SELECT SINGLE name1 FROM lfa1 INTO itab2-name1 WHERE lifnr = itab2-lifnr .
        SELECT SINGLE dmbtr FROM bseg INTO itab2-dmbtr WHERE belnr = itab2-belnr AND gjahr = itab2-gjahr AND buzid = 'S' AND ebelp = itab2-ebelp.
        itab2-rate = itab2-wrbtr / itab2-menge.
        itab2-sum = itab2-wrbtr + itab2-dmbtr + itab2-dmbtr1.
        itab2-rate1 = itab2-sum / itab2-menge.
    *itab2-sum1 = itab2-wrbtr + itab2-dmbtr1.
        APPEND itab2.
      ENDSELECT.
    ENDLOOP.
    DATA : cnt TYPE i value 1.
    LOOP AT itab2.
    cnt = cnt + 1.
      SELECT dmbtr FROM bseg INTO itab2-dmbtr1 WHERE belnr = itab2-belnr AND gjahr = itab2-gjahr AND buzid = 'T' AND mwart = 'V'.
        MODIFY itab2 INDEX cnt TRANSPORTING dmbtr1.
        cnt = cnt + 1.
      ENDSELECT.
    ENDLOOP.
    layout-zebra = 'X' .
    layout-colwidth_optimize(1) = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program = 'ZAK_MAT_PUR_RUDRAPUR_NEW'
        is_layout          = layout
        it_fieldcat        = it_fld_catalog
        i_default          = 'X'
        i_save             = 'A'
      TABLES
        t_outtab           = itab2
      EXCEPTIONS
        program_error      = 1
        OTHERS             = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *&      Form  FILL_CATALOG1
          text
         -->P_FIELDNAME  text
         -->P_REF_TABLE  text
         -->P_SCRTEXT    text
    FORM fill_catalog1  USING   p_fieldname TYPE any
                                p_ref_table TYPE any
                                p_scrtext   TYPE any.
      CLEAR : wa_fld_catalog.
      wa_fld_catalog-fieldname  = p_fieldname.
      wa_fld_catalog-tabname    = p_ref_table.
      wa_fld_catalog-seltext_s  = p_scrtext.
      wa_fld_catalog-seltext_m  = p_scrtext.
      wa_fld_catalog-seltext_l  = p_scrtext.
    wa_fld_catalog-do_sum     = 'X'.
      wa_fld_catalog-outputlen = 15.
      wa_fld_catalog-no_zero   = 'X'.
      APPEND wa_fld_catalog TO it_fld_catalog.
    ENDFORM.                    " fill_catalog1
    please help me....

    Thanks for reply....
    But same problem is still here...
    I copied ur code:----
    LOOP AT itab.
      CLEAR itab2.                                              "INSERT STATEMENT
    SPLIT ITAB-AWKEY AT SPACE INTO: ITAB-BELNR1 ITAB-GJAHR1. "DELETE STATEMENT
      itab-belnr1 = itab-awkey+0(10).                           "INSERT STATEMENT
      itab-gjahr1 = itab-awkey+10(4).                           "INSERT STATEMENT
      SELECT belnr gjahr ebeln ebelp wrbtr menge bstme lfbnr lfpos
        FROM rseg INTO (itab2-belnr1, itab2-gjahr1, itab2-ebeln, itab2-ebelp, itab2-wrbtr, itab2-menge, itab2-bstme, itab2-lfbnr, itab2-lfpos)
       WHERE belnr = itab-belnr1
         AND gjahr = itab-gjahr .
        itab2-belnr = itab-belnr.
        itab2-gjahr = itab-gjahr.
        itab2-budat = itab-budat.
        itab2-awkey = itab-awkey.
        SELECT SINGLE ebeln ebelp txz01 FROM ekpo INTO (itab2-ebeln1, itab2-ebelp1, itab2-txz01)WHERE ebeln = itab2-ebeln AND ebelp = itab2-ebelp.
        SELECT SINGLE mblnr lifnr FROM mseg INTO (itab2-mblnr, itab2-lifnr)WHERE lfbnr = itab2-lfbnr AND bwart EQ '105'.
        SELECT SINGLE name1 FROM lfa1 INTO itab2-name1 WHERE lifnr = itab2-lifnr .
        SELECT SINGLE dmbtr FROM bseg INTO itab2-dmbtr WHERE belnr = itab2-belnr AND gjahr = itab2-gjahr AND buzid = 'S' AND ebeln = itab2-ebeln AND ebelp = itab2-ebelp.
        itab2-rate = itab2-wrbtr / itab2-menge.
        itab2-sum = itab2-wrbtr + itab2-dmbtr + itab2-dmbtr1.
        itab2-rate1 = itab2-sum / itab2-menge.
    *itab2-sum1 = itab2-wrbtr + itab2-dmbtr1.
        APPEND itab2.
        CLEAR itab2. "INSERT STATMENT.
      ENDSELECT.
    ENDLOOP.
    Not working....plz suggest...

  • Intrastat Output File doesnot contain VAT number and Document Number

    Hi experts,
    While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file.
    I can see the Document number in Display of selection log.
    Can someone help me?
    Thanks
    Arpit

    Hi,
    Try the enhancement FTGOVSEL.
    In the userexit EXIT_SAPLV50G_002, in the include ZX50GU02, write this coding (for the VAT number)
    if c_record_intrastat-kundeuinr is initial.
       select single * from kna1
         where kunnr = c_record_intrastat-kunnr.
         if sy-subrc = 0.
            c_record_intrastat-kundeuinr = kna1-stceg.
         endif.
    endif.
    Remember update the VAT number in the customer (in this case).
    I hope this help you
    Regards,
    Eduardo

  • SAP database table name to get the PO number against Spool number

    Hello,
    I have a spool number which is generated against the Output of a PO. Can anybody let me know how can I find that PO number against that spool number.

    I populate the field 'Text for coverpage' in the communication data of the message-condition-record with the string
    '&XNAST-OBJKY&'  in TA MN05. This string will be replaced with the PO-Number during spool request creation.
    KR
    Alfons

  • 57F4 Challan Number against PO Number

    Hello Gurus,
    Can any body suggest me to  Challans issued against  Subcontracting Purchase order
    I want the list of Challans issues agaisnt PO no:
    If I wil give the PO number means , what are the Challans issued
    Pls help
    Rgds
    Surya

    Hi,
    There is no std report to take the challan.
    You can try  J1IFQ where you can enter the material document no for the material sent to subcontractors end .
    you can see the Pending challan.
    G.Ganesh Kumar

  • Need a table with asset number and document number

    Hi to all experts.
    Im in a support project. There is an issue in the customized report the total expense for february is coming 10,322 dollars which is 322 dollars extra it should be 10,000 .but i see the table ANEP the value is 10,322 dollars,when i check the corresponding document for the asset no in bseg table im unable to find any asset no ... what could be the problem ............

    Hi,
        In ANEk table ,check field BELNR . the number may be a material document no or Fi Doc no. if it is material doc no then try MIGO - Display -> doc info ->press FI Document.
    Or directly try with fb03.
    Or in BKPf table there will be field awkey. in that field give material doc no and material year combinely , then you will get FI Doc No. then go with bseg table.
    Regards,
    Ravi.

  • Document number, reference, document header text

    my name is venkat in f-02 there are 3 fields. 1) document number 2) reference 3) document header text what purpose we use with example

    HI,
    1. Accounting Document Number
    The document number is the key the system uses to access the accounting document.
    The document number is unique per company code and fiscal year. When entering an accounting document, you can specify the number manually or it can be determined by the system from a pre-defined area (number range).
    The relevant area of the document numbers (number range) is determined in each company code per document type.
    2. Reference Document Number
    Definition
    The reference document number can contain the document number of the customer/vendor. However it may contain a different value.
    Use
    The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number.
    Procedure
    Enter the number specified by the business partner. If the document was created in-house and you do not know the business partner document number, you can copy the document number into the reference number field by entering "*".
    3. Document Header Text
    The document header text contains explanations or notes which apply to the document as a whole, that is, not only for certain line items.
    reg
    Madhu M

  • Invoice number vs PO document number

    Hi Experts,
    Can any one explain me how to join the Invoice account number,PO document number and  dates of PO and invoice generated dates?
    I want to merge all these fields in one single table. So need some joining condition to merge all these fields.
    Thank you,
    Vinay 

    Hi,
       If you want all these data in a single table, you may define user defined LIS info structure as explained in the doc: How to Create an LIS info structure - Purchasing - Part 1 and then update the historical data to the table as explained in the doc: Update History Data to user defined LIS (Purchasing)
       If you just want to track the data, you may link the tables: EKPO, EKBE, RBKP, RSEG, BKPF and BSEG. You may pass the PO number & item to RSEG table and get the invoice number. Pass the invoice number with year to BKPF - AWKEY field and get the accounting document number. Pass the accounting doc number to BSEG table to get the item details.
    Regards,
    AKPT

  • Copy Document Number in Receipt Number Field

    Hi,
    I am using EBS R12.1.1 with Database 11g R1.
    I have a case in AR module. User wants the receipt number as document number. I have personalize the receipt form and made the receipt number as un-mandatory field. Now how could I copy the document number and paste it here using personalization.
    Please guide me.
    Regards,
    Waqas Hassan.

    Hi,
    You need to find a relevant user exit and apply the code inside the FM BAPI_GOODSMVT_CREATE.
    Regards
    Senthil

  • Account Document Number Against the Purchase Order No.

    Hi,
    I have 2 queries in my report...
    1..i want Account Document Number Against the Purchase Order No.
    2..and Account Document Number Against the Invoice No.
    Note:.. Account Document Number have the 55... series. foe ex. 5500017019...
    Plz let me know in which table i can get it...
    Thanks...

    Hello Prince,
    To find the GR no. against the FI doc number the tables involved will be BKPF, RSEG, EKBE.
    Plz see the algorithm below for details:
    1. Select the A/C'ing docno. from BKPF. For the FI docs selected, get the incoming invoice details from RSEG.
    RSEG-BELNR = BKPF-AWKEY+0(10)
    RSEG-GJAHR = BKPF-AWKEY+10(4)
    Please note you can restrict the FI docs selections by using BKPF-AWTYP = 'RMRP'.
    2. From RSEG you get the PO number (RSEG-EBELN) & then go to the PO History Table EKBE to get the GR number (EKBE-BELNR).
    EKBE-EBELN = RSEG-EBELN
    EKBE-EBELP = RSEG-EBELP.
    Hope this is clear.
    BR,
    Suhas

  • Document Number Not Generate In FEBA ( Bank Reconciliation)

    Dear All,
    We have configured all the required details for Manual Bank Statement for Bank Reconciliation .
    Steps :
    1 ) Take converted file from Bank
    2 )  Upload that file in Text format into System then system automatically update FF67.
    3)  Go into FEBA , then we got cleared items but we are not able to get Accounting Document Number .
    How we can get Accounting Document Number in FEBA ??
    Regards,
    Kaushal Shah

    Hi,
    Sorry, just today I checked your message.
    Instead of processing BDC, you have to post through FEBA.
    ie. Download the statement with the option Do not post or post online.
    Then process the error lines or all documents through FEBA. Then you can able to see the document number.
    If the posting is done at the background through batch jobs, then there will not be any document number visible through FEBA.
    Let me know if you need any more information.
    Regards,
    Prabha

  • Link between Material Document number & Accounting document number

    Hi All,
    For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
    Where is the link between the two(Material Document & Accounting Document) ?
    In other words i want to list those material documents only, for which accounting documents are generated.
    Regards
    Piyush Kothari

    STEP 1
    SAP query way to extract your information.
    Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
    Step 2
    From Extras
    Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
    You may use this code below and paste also (this needs authorization as well)
    data: zzawkey like bkpf-awkey.
    clear: zawkey, zzawkey.
    concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
    zawkey = zzawkey.
    Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
    data: zaccdocno like bkpf-belnr..
    clear: zaccdocno, accdocno.
    select belnr from bkpf into zaccdocno where
      bukrs = ccode and
      GJAHR = MKPF-MJAHR and
      awkey = zawkey.
    endselect.
    accdocno = zaccdocno.
    Step 3
    Include the additional fields  into the field group.
    Step 4
    Click on the selection tab and create a parameter called ccode with a description Company Code and  against
    LIKE    BKPF-BUKRS 
    Extras  OBLIGATORY 
    Step 5
    Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
    Extras  OBLIGATORY 
    Step 6
    Save, Generate and assign the infoset to a user group.
    Step 6
    Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
    The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank.

Maybe you are looking for