AWTYP in the table BKPF

Hi Experts, I am trying to enter AWTYP manually in t code F-22. I tried to customize it by changing field status varien in OBC4. But i couldnot do that. Is it possible to make the Field AWTYP manually inputable?
Elaboration: when I post a debit invoice in F-22, the awtyp is always bkpf. It is given by system but because of testing purpose, i want to enter it manually as WBRK. Please suggest, if possible.

Hi,
AWTYP (Reference Transaction) is a field where posts automatically while posting the Accounting document number.
There are different kind of Reference Transaction are there.
1. From FI side Accounting document BKPF
2. From MM side Material document MKPF
3. From SD side Billing document VBRK
Those are standard SAP Reference Transactions, system itself updates that field, we can't change those types.
Logically Reference Transaction is as same as Header Table
Ravi Polampalli

Similar Messages

  • Object Key in the table BKPF

    hi,
    can somebody tell me how the data is filling to the filed " object key"(AWKEY) in the table "BKPF". do we define this in the configuration in FI?  is there any link with the document number ??
    G

    Hi
    For every document you create the system creates automatically on reference key number and that stores in table 'BKPF' in field 'AWKEY'.
    To see the reference key number  for the document, just goto document display and click on Header Data icon.
    Regards
    Laxmiprasad

  • On reversal of Invoice the table BKPF not getting updated properly

    Hi
    I have an issue, that when we create the Commercial Invoice, accounting document generated automatically. And after that due to some reason when we reverse the same through  VF11, the accounting document which was created while doing the invoicing not getting updated by "reversed with (STBLG)" field and "reversal Indicator (XREVERSAL) field in the table BKPF.
    However when I test the some scenario in Development and Quality server the same field is getting updated.
    I have already checked the Billing Document Type of SD and accounting document type but found everything in place.
    I am unable to get what is missing,and why this is happening in Production server only.
    Need your input at the earliest.
    Thanks in advance
    Regrads
    AA

    Hi
    thanks to all for their suggestion, the issue resolved with the help of SAP.
    For the forum members information :-
    This is standard system behaviour.
    BKPF-XREVERSAL is only populated/filled in the reversed original
    and in the reversal FI document if BKPF-STBLG and BKPF-STJAH
    are populated/filled in reversed original and reversal FI document.
    BKPF-STBLG and BKPF-STJAH are only populated/filled in reversed
    original and reversal FI document if the new/real cancellation
    procedure (-> with automatic clearing of the open items) is executed,
    and the new/real cancellation procedure is not executed, if an
    open item of the original, to be reversed FI document, has already
    been cleared (-> also see note 309208).
    Regards
    Amitesh Anand
    Edited by: AA on Apr 25, 2009 11:37 AM

  • Bad Performance in a query into table BKPF

    Hi forum i have a really problem in the second query under the table
    BKPF.. some body cans help me, please
    *THIS IS THE QUERY UNDER MSEG
      SELECT tmsegmblnr tmkpfbudat tmsegbelnr tmsegbukrs tmseg~matnr
             tmsegebelp tmsegdmbtr tmsegwaers tmsegwerks tmseg~lgort
             tmsegmenge tmsegkostl
      FROM mseg AS tmseg JOIN mkpf AS tmkpf ON tmsegmblnr = tmkpfmblnr
      INTO CORRESPONDING FIELDS OF TABLE it_docs
      WHERE
        tmseg~bukrs IN se_bukrs AND
        tmkpf~budat IN se_budat AND
        tmseg~mjahr = d_gjahr AND
        ( tmsegbwart IN se_bwart AND tmsegbwart IN (201,261) ).
      IF sy-dbcnt > 0.
    I CREATE AWKEY FOR CONSULTING BKPF
        LOOP AT it_docs.
          CONCATENATE it_docs-mblnr d_gjahr INTO it_docs-d_awkey.
          MODIFY it_docs.
        ENDLOOP.
    THIS IS THE QUERY WITH BAD BAD PERFOMANCE
    I NEED KNOW "BELNR" FOR GO TO THE BSEG TABLE
        SELECT belnr awkey
        FROM bkpf
        INTO CORRESPONDING FIELDS OF TABLE it_tmp
        FOR ALL ENTRIES IN it_docs
        WHERE
          bukrs = it_docs-bukrs AND
          awkey = it_docs-d_awkey AND
          gjahr = d_gjahr AND
          bstat = space .
    THNKS

    Hi Josue,
    The bad performance is because you're not specifying the primary keys of the table BKPF in your WHERE condition; BKPF usually is a big table.
    What you really need is to create a new index on database for table BKPF via the ABAP Dictionary on fields BUKRS, AWKEY, GJAHR & BSTAT. You'll find the performace of the program will significantly increase after the new index is activated. But I would talk to the Basis first to confirm they have no issues if you create a new index for BKPF on the database system.
    Hope this helps.
    Cheers,
    Sougata.

  • Update the stastics of tables BKPF and GLFUNCA

    Hello All,
    update the stastics of tables BKPF and GLFUNCA not updataing
    I have execute via Brtools
    7 - Database statistics  >>  1 = Update database statistics  >>  9 ~ Tables for update (table) ......... [BKPF]
    same for table GLFUNCA
    7 - Database statistics  >>  1 = Update database statistics  >>  9 ~ Tables for update (table) ......... [GLFUNCA]
    But in .sta file it is not collected
    <DB20>
    Table                 GLFUNCA
         Statistics are current (|Changes| < 50 %)
    New Method           E
    New Sample Size      P1
    Old Method           E                       Date                 17.08.2008
    Old Sample Size      P1                      Time                 19:52:15
    It is one year old , so please help me how to update this table
    Is this table causing performance problem for job RSUVM007
    Regards
    Mohsin M

    Before all,
    Why do you wnat to calculate statistics on those tables?
    Do you have performance problems and you have identified that they are caused by "bad" statistics?
    or simply you "must" collect them because they are "OLD"?
    If it is the latter, remember that statistics MUST be representative not current. Please read the SAP Note 825653 "Oracle: Common misconceptions" point 7
    Regarding the options of BRtools, it works as designed.
    BRCONNECT will check if the table needs statistics:
    - if it has changed more than 50% since last time (in your case 17.08.2008) and, if so it will do, otherwise it will not do it. See the output of DB20 that you pasted:
    > Statistics are current (|Changes| < 50 %)
    IF you need new statistics (and I mean, need, not like) then you have to force them. On BRTOOLS you go to the next screen and choose the option:
    > 7 ~ Force options (force) ............... []
    In your version/patch could be located in a different place
    and here input collect
    I strongly recommend you to read the BR*tools documentation as ALL this information is there.
    In case you do not know where to find it, it is quite easy:
    SAP on Oracle => Oracle DBA Overview  => SAP Database Guide: Oracle

  • Datasource for the table EKKO,EKPO, EKBE, BKPF, BSEG

    Hello Gurus,
    I am having a requirement wher i need to create report for the fields coming from the above tables.
    pls let me know if der is any such data source from which i can get data for all the tables EKKO,EKPO,EKBE,BKPF,BSEG.
    If der is no single data source then how i have to approach for the same using the standard datasource.
    and what should be the link info objects between them if iam going with the separate one.
    Regards

    Thanks for ur responses,
    Is the Belnr in the EKBE table is same as the BELNR in BKPF table of Data source (0FI_GL_4)  ???
    When i cross verifed i found multible record in BKPF w.r.t EKBE belnr.
    Whats the reason for this ? If i created a infoset by mapping the BELNR AND GJAHR of EKBE and BKPF. Do i get the correct record or i have to handle it by some exception.
    Also pls let me know how the MM and FI flow related , I means once the MIRO ie billing document is created what happen in the FI side ??
    pls update with ur suggestions.
    regards

  • Time out error while fetching records from table BKPF

    Hi,
    I am fetching records from table BKPF using BUKRS & AWKEY in where clause. Query is as follows:
        SELECT BELNR  XBLNR  AWKEY
        FROM   BKPF
        INTO TABLE L_I_BKPF_TEMP
        PACKAGE SIZE 500
        WHERE BUKRS LIKE L_C_EG
        AND   AWKEY IN L_R_AWKEY .
          APPEND LINES OF L_I_BKPF_TEMP TO I_BKPF .
        ENDSELECT .
    Program is giving time out error. There are 25628 records in range L_R_AWKEY , i m fetching 500 records at a time using  PACKAGE SIZE. But the execution of prog stops on this query.
    Please suggest something to overcome this problem.

    Hi
    Rui is right,
    if you need to get the data by  operation parameters u have to use the fields AWTYP and AWKEY.
    In this selection u can omit the company code.
    SELECT BELNR XBLNR AWKEY FROM BKPF
           INTO TABLE L_I_BKPF_TEMP
                 PACKAGE SIZE 500
                      WHERE   AWTYP = <......> "<------------
                             AND AWKEY IN L_R_AWKEY .
           APPEND LINES OF L_I_BKPF_TEMP TO I_BKPF .
    ENDSELECT .
    Max

  • Relationship between Table BKPF and RBKP

    Hello Developers,
    I need to fetch value of field BKTXT  from table BKPF and this value need to insert in internal table i_tab.
    in the below situation:
    select bebeln bebelp bwerks ausnam alifnr abelnr
             abldat abudat
             caedat cekgrp cbukrs cekorg
             dbanfn dbnfpo dnetpr dafnam
      into corresponding fields of table i_tab
      from rbkp as a join rseg as b on abelnr = bbelnr
                     join ekko as c on bebeln = cebeln
                     join ekpo as d on cebeln = debeln
                                          and bebelp = debelp
      where a~budat in s_date
        and b~werks in s_werks
        and c~bstyp = c_f
        and c~ekorg in s_ekorg
        and a~bukrs in s_bukrs.
    Can any one suggest how to relate table BKPF with other table like RBKP.
    Thanks in advance.
    Regards
    Sundeep

    Hi,
    perform the following steps:-
    1.   Go to transaction SQVI
    2.   Create a View
    3.   Enter title
    4.   Choose the Data source as Table Join
    5.   Go to insert table and add table as per your requirement.
    and hereafter you can find relation between any two tables...
    Rgds/Abhi

  • What are  the tables and fields  in fico & sd module

    what are  the tables and fields  in fico & sd module

    Hi,
    <b> Sales and Distribution:</b>
    Customers KNA1 General Data
    KNB1 Customer Master – Co. Code Data (payment method, reconciliation acct)
    KNB4 Customer Payment History
    KNB5 Customer Master – Dunning info
    KNBK Customer Master Bank Data
    KNKA Customer Master Credit Mgmt.
    KNKK Customer Master Credit Control Area Data (credit limits)
    KNVV Sales Area Data (terms, order probability)
    KNVI Customer Master Tax Indicator
    KNVP Partner Function key
    KNVD Output type
    KNVS Customer Master Ship Data
    KLPA Customer/Vendor Link
    Sales Documents VBAKUK VBAK + VBUK
    VBUK Header Status and Administrative Data
    VBAK Sales Document – Header Data
    VBKD Sales Document – Business Data
    VBUP Item Status VBAP Sales Document – Item Data
    VBPA Partners
    VBFA Document Flow
    VBEP Sales Document Schedule Line
    VBBE Sales Requirements: Individual Records
    SD Delivery DocumeLIPS Delivery Document item data, includes referencing PO
    LIKP Delivery Document Header data
    Billing Document VBRK Billing Document Header
    VBRP Billing Document Item
    SD Shipping Unit VEKP Shipping Unit Item (Content)
    VEPO Shipping Unit Header
    <b>Financial Accounting</b>
    FBAS             Financial Accounting “Basis”
    BKPF             Accounting Document Header              BUKRS / BELNR / GJAHR
    BSEG             Accounting Document Segment             BUKRS / BELNR / GJAHR / BUZEI
    BSIP             Index for Vendor Validation of Double   BUKRS / LIFNR / WAERS / BLDAT /
                     Documents                               XBLNR / WRBTR / BELNR / GJAHR / BUZEI
    BVOR             Inter Company Posting Procedure         BVORG / BUKRS / GJAHR / BELNR
    EBKPF            Accounting Document Header (docs from   GLSBK / BELNR / GJHAR / GLEBK
                     External Systems)
    FRUN             Run Date of a Program                   PRGID
    KLPA             Customer / Vendor Linking               NKULI / NBUKR / NKOAR / PNTYP
                                                             / VKULI / VBUKR / VKOAR
    KNB4             Customer Payment History                KUNNR / BUKRS
    KNB5             Customer Master Dunning Data            KUNNR / BUKRS / MABER
    KNBK             Customer Master Bank Details            KUNNR / BANKS / BANKL / BANKN
    KNC1             Customer Master Transaction Figures     KUNNR / BUKRS / GJHAR
    KNC3             Customer Master Special GL Transactions KUNNR / BUKRS / GJAHR / SHBKZ
                     Figures
    LFB5             Vendor Master Dunning Data              LIFNR / BUKRS / MABER
    LFBK             Vendor Master Bank Details              LIFNR / BANKS / BANKL / BANKN
    LFC1             Vendor Master Transaction Figures       LIFNR / BUKRS / GJHAR
    LFC3             Vendor Master Special GL Transactions   LIFNR / BUKRS / GJHAR / SHBKZ
                     Figures
    VBKPF            Document Header for Document Parking    AUSBK / BUKRS / BELNR / GJHAR
    FBASCORE         Financial Accounting General Services “Basis”
    KNB1             Customer Master (Company Code)          KUNNR / BUKRS
    LFA1             Vendor Master (General Section)         LIFNR
    LFB1             Vendor Master (company Code Section)    LIFNR / BUKRS
    SKA1             G/L Account Master (Chart of Accounts)  KTOPL / SAKNR
    SKAT             G/L Account Master (Chart of Accounts – SPRAS / KTOPL / SAKNR
                     Description)
    MAHNS            Accounts Blocked by Dunning Selection   KOART / BUKRS / KONKO / MABER
    MHNK             Dunning Data (Account Entries)          LAUFD / LAUFI / KOART / BUKRS /
                                                             KUNNR / LIFNR / CPDKY / SKNRZE /
                                                             SMABER / SMAHSK / BUSAB
    FI-GL-GL (FBS)   General Ledger Accounting: Basic Functions- G/L Accounts
    SKAS             G/L Account Master (Chart of Accounts – SPRAS / KTOPL / SAKNR / SCHLW
                     Key Word list)
    SKB1             G/L Account Master (Company Code)       BUKRS / SAKNR
    FI-GL-GL (FBSC)  General Ledger Accounting: Basic
                     Functions - R/3 Customizing for G/L Accounts
    FIGLREP          Settings for G/L Posting Reports        MANDT
    TSAKR            Create G/L account with reference       BUKRS / SAKNR
    FI-GL-GL (FFE)   General Ledger Accounting: Basic
                     Functions - Fast Data Entry
    KOMU             Account Assignment Templates for G/L    KMNAM / KMZEI
                     Account items
    FI-AR-AR (FBD)   Accounts Receivable: Basic Functions - Customers
    KNKA             Customer Master Credit Management :     KUNNR
                     Central Data
    KNKK             Customer Master Credit Management :     KUNNR / KKBER
                     Control Area Data
    KNKKF1           Credit Management : FI Status data      LOGSYS / KUNNR / KKBER / REGUL
    RFRR             Accounting Data – A/R and A/P           RELID / SRTFD / SRTF2
                     Information System
    FI-BL-PT         Bank Accounting: Payment (BFIBL_CHECK_D)  Transactions – General Sections
    PAYR             Payment Medium File                     ZBUKR / HBKID / HKTID / RZAWE /
                                                             CHECT
    PCEC             Pre-numbered Check                      ZBUKR / HBKID / HKTID / STAPL
    FI-BL-PT-AP(FMZA)Bank Accounting: Payment Transactions – Automatic Payments
    F111G            Global Settings for Payment Program for MANDT
                     Payment Requests
    FDZA             Cash Management Line Items in Payment   KEYNO
                     Requests
    PAYRQ            Payment Requests                        KEYNO
    Hope this solves your concern...
    Regards,
    Habeeb
    Assign points if helpful

  • What is the table used outgoing payment to vendors?

    What is the table used outgoing payment to vendors?
    And which field in the table records the tax code

    Hi Priyanka,
    We need to make clear that which table is used in different step in purchasing process regarding to tax.
    For example,
    When I post a PO, I can input tax code for each line item. Which table is used to store such information?
    When I post an invoice, I can also input tax code. Which table is used to store such info? As far as I know, it is BKPF, right?
    And in the actual outgoing payment, can I input different tax code from PO or invoice. If so, which table is used to store such info?
    Thanks a lot in advance.
    Best regards
    Eda

  • Table Entry Monitoring on Table BKPF

    Hello dear SAP Community,
    I set up the table entry monitoring in BPM to look for parked documents (Field BSTAT = V) in table BKPF with the corresponding company code using "Number of Counted Entries"
    So far everything works fine but I do have a question regarding the Output.
    Is there a possibility to change/adapt this upper/lower range settings (RED, if less/equal; YELLOW, if less/equal; Yellow, if more than; RED, if more than)
    to simply YELLOW if more than and RED if more than.
    Because in my case if there are no selected values this causes a RED Alert but actually this should trigger a green message because it is a desired result.
    Thank you for hints/solution
    BR, Florian

    Hi Florian,
    Just to clarify, if you do not put any values in "RED, if less/equal; YELLOW, if less/equal" that causes an alert in your Table Entry Counter?
    I'm using this type of monitor for checking if there are more then 0 entries of some type, for that I am only filling "Red if more than" and all the other fields are empty. This configuration works for me. Could you describe a bit closer what values you typed into "Number of Counted Entries" tab ?
    BR,
    Jolanta.

  • Extractor for Table BKPF

    Hi ,
      I wanted to know the extractor for table BKPF . Where can i know or which is the extratcor
    Regards
    Ankit Vaish

    Hi,
    I hope, The datasource 0FI_GL_4 would be useful to you.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8b/02f93abb013b0de10000000a114084/frameset.htm
    With rgds,
    Anil Kumar Sharma .P

  • I want other fields of table bkpf in T-code FB03

    hi expert.
    i want other fields of table bkpf in T-code FB03
    so i tried to find setting in spro(img) , but i couldn't find that.
    where is the that?  help me please..

    Hi
    Click the document list button in FB03. Give your company codes and other selections, but if you want to add futher bkpf fields for selection, use dynamic selections and select the appropriate header data.
    But if you looking to add these fields iwhile displaying document, please change the layout to include the relevant hidden fields and save
    Thanks
    Ron

  • Local client copy error - Table "BKPF" not edited due to excessive number

    Hi,
    I am performing a local client copy on our ECC 6.0 system. Client copy took more than 12 hours and its still in progress with 7 tables still to be copied. Logs in SCC3 -
    ===
    2 ETA163 Table "BKPF" not edited due to excessive number of errors
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "COEP" not edited due to excessive number of errors
    3 ETA311 Process "00002" started on server "sfrndevsap15"
    (time: "17:20:51")
    2 ETA297 Error: Table "ONROV" error in DDIC - Check table with SE14
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "FAGLFLEXA" not edited due to excessive number of errors
    3 ETA311 Process "00003" started on server "sfrndevsap15"
    (time: "17:20:52")
    4 ETA346 "FAGLFLEXC :"" 0 0 0 DEL.""
    0 0 17:20:52"
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "HRP1001" not edited due to excessive number of errors
    3 ETA311 Process "00004" started on server "sfrndevsap15"
    (time: "17:20:52")
    4 ETA346 "VSAFVU_CN :"" 0 86123 0 DEL.""
    0 29 17:21:21"
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "PCL4" not edited due to excessive number of errors
    ===
    Please help ASAP, as this is effecting our testing team.  I have tried to copy individual tables also using a transport request number and SCC1 to copy it to the target client.  This is also taking quite a long time.
    Thanks in advance,
    Abdul

    Hi Abdul,
    What does your system log say ?
    Check this SAP Note
    Note 579783 - CC ERROR: Loss of data - table not copied
    run the report RSCC_VERIFY to check if the table is consistent within the source client.
    SAP will only provide support for RSCC_VERIFY messages if there is a specific problem in an application in the target client that can be assigned immediately to the messages.
    RSCC_VERIFY is delivered with SAPKB46B49, SAPKB46C35 and SAPKB46D24. In older releases, you can create the report in the ABAP editor (transaction SE38) in accordance with the attached advance correction. Use the development class or the STRM package for this.
    Regards,
    Siddhesh

  • Join two  tables BKPF and VBRK

    I need a report that will join two  tables BKPF and VBRK in QuickViewer. The only field with the right character length is XBLNR but when creating the join no records are dispalyed beacuse the values of this field in both tables are not the same.
    There are also other fields available in BKPF but the char length is not the appropriate.
    Does anyone have any idea how I can link these two tables?
    Thank you

    Neither  of these combinations  is possible with QuickViewer because the fields need to have the same length of characters in order to create the join.
    VBRK - VBLEN char(10) and BKPF - AWKEY char(20)
    VBRK -ZUONR char(18)     BKPF- BELNR char (10)
    Any other idea?
    Thank you, JP

Maybe you are looking for