Inputs or tables required for customizing purchase register

Hi,
      I have encountered a problem regarding Purchase Register.
The requirement of the Client is that, he wants to have the Tax Details populated in the Purchase Register with reference to Tax Code in the Invoice Screen.
This should happen, once the Client enters the Details related to Invoice Document in the Selection Screen.
I searched for Table and Field related to Tax code.
I found the Field for Tax Code and it is MWSKZ.
But, the Table is a Structure.
So, please guide me how to find the link so as to fetch the Tax Details with respect to Tax Code in the Invoice Screen?
Please reply as soon as possible.
Waiting for your responsw,
Thanks in advance.
Thanks & Regards
Srinivasa M.S
+91-9910077829
Edited by: Jeyakanthan A on Jul 4, 2011 4:36 PM

hi
Logic For tax register
Table
EKBE
1)     BELNR=MATERIAL DOC= HERE MOVEMENT TYPE  BWART=101
2) GJAHR=MATERIAL DOC YEAR=2011
       3) BUZEI=ITEM OF MATERIAL DOC=1 and 2
    4)  BUDAT=posting date of material doc=28.2.2011
   5) MENGE=GRN QTY=1 FOR LINE ITEM 1,1 FOR LINE ITEM 2
FOR ABOVE COMBINATION IN TABLE EKBE
WE WILL GET FOLLOWING FIELDS
1)     Po number= =EBELN
2)     Po line item=10 and 20=EBELP
TABLE
EKPO
NOW PASS THIS FIELD EBELN AND EBELP INTO TABLE EKPO AND GET FOLLOWING FIELDS
1)     MATERIAL CODE=MATNR
2)     MATERIAL DICRIPTION=EMATN
3)     MATERIAL GROUP=MATKL
4)     ITEM CATEGORY=PSTYP
5)     ACCOUNT ASSIGEMENT=KNTTP
6)     TAX CODE=MWSKZ
7)     PLANT=WERS
8)     COMPANY CODE=BUKRS
TABLE
EKKO
NOW PASS EBELN FROM EKPO INTO TABLE EKKO AND GET FOLLOWINGS
1)     VENDOR CODE=LIFNR
2)     PURCHASING GROUP=EKGRP
TABLE
LFA1
NOW PASS LIFNR FROM TABLE EKKO INTO TABLE LFA1 AND GET FOLLOWINGS
1)     VENDOR NAME=NAME1
2)     CITY=ORT01
TABLE
MSEG
NOW PASS  MATERIAL DOCBELNR=
MATERIAL DOC YEAR=GJAHR=2011
MATERIAL DOC ITEM= BUZEI=1 AND 2
PO NUMBER =EBELN=
PO ITEM NUMBER=EBELP=10 AND 20
ALL FROM TABLE EKBE AND GET FOLLOWING FIELDS
1)     PROFIT CENTER=PRCTR
2)     WBS ELEMNT=PS_PSP+PNR
TABLE
RSEG
PASS FROM TABLE EKPO
PO NUMBER =EBELN
PO ITEM =EBELP
INTO TBALE RSEG AND GET FOLLOWING FIELDS
1)     INVOICE DOC NUMBER=BELNR=
2)     FISCAL YEAR=GJAHR=2010
3)     INVOICE ITEM=BUZEI
4)     VALUVATION CLASS=BKLAS=7900
5)     REFERNCE =XBLNR=156
TABLE
T025T
PASS VALUVATION CALSS FROM TABLE RSEG INTO TABLE T025T ,USE LANUAGE KEY EN AND GET  FOLLOWINGFIELD
1)     VALUVATION CALSS DISCRIPTION=BKBEZ=SEMIFINISH PRODUCT
TABLE
BKPF
NOW PASS BELNR+GHJAR ( 51056016262010) ,FIELD AWKEY OF TABLE BKPF
FISCAL YEAR=GHJAR INTO TABLE BKPF FROM TABLE RSEG AND GET FOLLOWING FIELDS
1)     FI DOC NUMBER=5100001482
2)     FISCAL YEAR=GHJAR=2010
3)     DOC TYPE=BLART=RE
4)     DOC DATE=BLDAT=23.2.2011
5)     POSTING DATE=BUDAT=28.2.2011
6)     TRASNCTION CODE=TCODE=MIRO
7)     REFERNCE=XBELNR=156
TABLE
BSET
NOW PASS
FI DOC NUMBER=BELNR
FISCAL YEAR=GHJAR=2010
AND GET FOLLOWING VALUES
1)     CONDITION TYPE =KSCHL
A)     VAT=JVRD=12127.29
B)     JVRN=CST
C)     SERVICE TAX=JSRT
D)      ECESS ON SERVICE=JEC3
E)     HECESS ON SERVICE=JES3
HERE APPLY LOGIC TAXPS FIELD =1=ONE LINE ITEM FOR BELNR
Table
BSAK
NOW PASS BELNR,GHJAR ,BEART FROM TABLE BKPF AND VENDOR NUMBER LIFNR FROM TABLE  EKKO
AND PASS THIS INTO TABLE BSAK
AND GET FOLLOWING FIELDS
1)     CLEARING DOC NUMBER=AUGBAL
2)     CLEARING DATE=AUGDT
I)Logic For excise values flow
B.E.D,=
A.E.D=
S.E.D. =
ECESS=
HECESS=
Pass GRN number From EKBE field MBLNR ,material doc year= MJAHR ,AND BUZEI=ITEM OF MATERIAL DOC=1 and 2
into table J_1IPART1 and get
Following
a)     Excise group=field EXGRP=30
b)     EXCISE REGISTER TYPE=REGTYP=A
c)     INTERNAL DOC NUMBER=DOCNO=8100000013
d)     Year=DOCYR=2011
e)     ITEM=ZEILE
TABLE
J_1IEXCDTL       
PASS DOCNO, EXGRP, RGTYP,DOCYR,ZEILE  INTO TABLE J_1IEXCDTL        AND GET values
B.E.D, =field EXBED =8772
A.E.D=field EXAED
S.E.D. =field EXSED
ECESS=field ECS=175.44
HECESS=field EXADDTAX1=87.72
TABLE J_1IEXCHDR
NOW PASS EXGRP AND DOCNO,DOCYR FROM TABLE J_1IPART2  AND VENDOR CODE LIFNR FROM TABLE EKKO INTO TABLE J_1IEXCHDR AND GET FOLLOWING VALUES
VENDOR ECC NUMBER=EXCCD
CST NNUMBER=CST NO
TABLE
J_1IMTCHID
CHAPTER ID LOGIC FOR MATERIAL
From table EKPO
Pass material number=MATNER and Plant=WERS into table J_1IMTCHID and get following field
Chapter id=J_1ICHID
Selection parameter for tax registers
1)     Company code( mandatory)
2)     Plant
3)     Fi doc fiscal year( mandatory=GHJAR)
4)     Fi doc posting date( mandatory=BUDAT from table BKPF)
5)     Doc type from table BKPF( Mandatory field BLART)
6)     Excise group
7)     Vendor number
8)     Fi doc number ( BELNR FROM TABLE BKPF)
9)     Purchasing group
10)     Material doc =BELNR from ekbe
11)     Tax code
HERE
FISCAL YEAR=2010
FI DOC PSOTING DATE=28.2.2011
FI DOC TYPE =BLART=RE
COMPANY CODE=
Regards
kailas
Edited by: kailasugale on Jul 4, 2011 5:47 PM

Similar Messages

  • QC51:No certificate is required for the purchase order item

    Dear all.
    I want to create an certificate Receipt In the T-CODE QC51.After input the purchase order and item and press return,the SAP show an error message:
    No certificate is required for the purchase order item.
    Message no. QC508
    My question was where to control the purchase order item to require certificate or not?
    Regard
    Yoda

    Hi
    For this you have to maintain Certificate req in Material master.
    MM01>Enter your material->Quality view-->Tick on QM procurement->Certificate require-Mension kind of certificate req.
    like
    E21     Cert. of conformity "2.1"  EN 10204
    E22     Test certif. "2.2"         EN 10204
    E23     Works test certif. "2.3"   EN 10204
    E31A     Insp. certificate "3.1.A"  EN 10204
    E31B     Insp. certificate "3.1.B"  EN 10204
    E31C     Insp. certificate "3.1.C"  EN 10204
    E32     Inspection report "3.2"    EN 10204
    Q001     Conformance Report
    Q002     Plating Certificate
    Q003     Test Report
    Q004     Certificate through Web
    Q005     Chemical / Physical Test report + QC
    etc.....
    Customizing for this can be done in
    SPRO->Quality Management->QM in Logistics--->Define Keys for Certificate Processing.
    This will ask you during MIGO or during UD/confirmation possible thro' QC21
    Regards
    Sujit S Gujar

  • Table required for billing and RG1 output

    Dear all,
    pls give me the list of tables required for billing output and RG1 output

    Hello Digs,
    Just check out these sites and see if this is useful to you
    http://www.erpgenie.com/abap/tables_sd.htm
    http://www.erpgenie.com/saptech/transactions.ht
    <b>**Reward if this helps**</b>
    Regards
    AK

  • Configration require for Import Purchase

    Guru
    I need the configration steps required for Import Purchase  indetail step wise
    Thanks
    Sudhir Bilwar

    Dear Sudhir,
    Please go through the configuration guide of block J83(Imports procurement)  through the link below.
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    All the steps are given in chronological sequence.
    Trust this helps.
    Regards
    Venkat

  • TABLES REQUIRED FOR  REPORTS

    please any body CAN YELL ME THE TABLES INVOLVED IN THESE FOLLOWING TWO REPORTS  
    VERY URGENT
    IT IS SVERY USEFULE TO ME
    PLEASE HELP ME
    &#61656;Contract Compliance Report : This report looks at the actual customer purchases (QTY) by period vs. targeted quantities.
              The report created will list all the contracts quantity vs. shipped quantity in the period specified for a given customer or material or sales organization or contract number along with details such as material numbers, contract start date, contract end date, etc.
    &#61656;     Contract Expiration Report : Contracts need to be monitored and quotations sent out for renewal as they approach their expiry date. A report is required to show the contracts expiring.
              This report will list all the contracts expiring in the period specified for a given customer or material or sales organization or contract number along with details such as equipment numbers, material numbers, contract start date, contract end date, etc.
    WITH REGARDS
    VENUMADHAV

    Hi Venumadhav,
                             Check table EKKO , EKPO,VBAK,VBAP
    Regards,
    Hemant

  • Creation of SO based on the input in table format  for bulk data : urgent

    Hi,
    The data from an external system will be sent to SAP in a bulk format and also as a Table. i.e. they are going to send around 30 Purchase orders from external system . I need to fetch all of them at a time and create SO for each one .
    Hence, anyone please provide a work around for the same.
    shyam

    HI Shyam
    Proceed as below:
    1. Identify the file layout like how it is going to be for multiple items.
    2. Upload the data to an internal table:
    3. Loop at internal table
    4. Populate the data required for BAPI structures
    5. AT END of PO number call a BAPI to create a Sales Order.
    Make sure you are clearing/refreshing the structures/internal tables for BAPI.
    Regards
    Eswar

  • Tables name for Customer Payment Report

    hiiiiiiiiii
    can anyone tell us the tables name for the report customer payment receive..?
    Thanks & Regards
    Rekha sharma

    Hi Rekha
    when you pass following entry
    Bank dr  
    to Customer
    All header data like co code currecy ref , period etc goes to BKPF,
    line item - Bank Dr ( its a GL  entry ) goes to BSIS
    line item- Customer Cr ( its a AR entry ) goes to BSID or BSAD depends it is cleared or still open
    Also both the line items goes to BSEG
    Hope this helps.
    Regds
    Rajiv

  • BADI-User exit required for updating Purchase order header field -IHREZ

    Hello All,
    We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
    Thanks in advance for your immediate response .
    With regards,
    Joseph Anand B

    TRY using the exist u2022     EXIT_SAPLME59_001
    You can also later on add this field by BAPI_PO_CHANGE

  • Table Required for Delivered Qty field in Sales Order

    Hi friends
    I can see confirmed order qty, required qty, quantity committed  in VBEP table.
    But if you see in sales order Schedule Lines you'll see one more field named as
    Delivered Quantity.
    I am not able to find this Delivered Qty in any of the SD tables....
    pls help me to find this table and field
    Pts rewarded for helpful ans..
    Thanks and regards
    Snehal

    hi,
    delivery related data is stored in LIKP and LIPS tables
    related to sd.
    reward points if hlpful.

  • Apple ID required for every purchase, and option to change it is always grayed out.

    I just purchased a new iPod after my old one died on me. When I went to download some previously purchased apps, it asked me for my Apple ID with every download. I went to Restrictions, which were still off and saw that "Require Password" was set to "Immediatly" and could not be changed without turning on restrictions. I turned restrictions on to fix it, but while all others could be changed "Require Password" is still grayed out and can't be changed. This is driving me crazy and making the App Store near unusable. How do I change this?

    Does it show a Delete Account option at the bottom of Settings > iCloud?  What happens if you hit that?

  • Is a database table required for temporary interfaces with flat file data set source ?

    Folks,  this is the situation I have in ODI 11.1.1.7
    I have a temporary interface (yellow), called MJ_TEMP_INT,  that pulls data from TWO data sets in the source into a temporary target (TEMP_TARG). The catch is one data set pulls from a from a table whereas the other data set pulls from a flat file.  A union is done on the data sets.
    I then create another interface, called MJ_INT, that uses the MJ_TEMP_INT as a source and the target is a real db. table called "REAL_TARGET"
    Two questions:
    When I execute my second interface  (MJ_INT), I get a message "ORA-00942: table or view does not exist" because it is looking for a real db table TEMP_TARG. Why must I have one ? because I am pulling from a flat file ?
    On my second interface (MJ_INT) when I look at the property sheet of my source interface MJ_TEMP_INT (yellow), the checkbox next to "Use temporary interface as Derived table" is DISABLED.  Why ? Is is also because my temporary interface is pulling from a flat file ?
    I have attached a file that shows a screen shot of my ODI studio.
    By the way,  IF my temporary interface source has only one data set pulling from a db. table into a temporary target table, say called MJ_TEMP2_TARG,  and then when I use this temporary interface as a source to another other real db. target table (REAL2_TARGET),  THEN, every thing works.  ODI does not require me to have a real db. table MJ_TEMP2_TARG and the checkbox for "Use temporary interface as Derived table" is NOT DISABLED and my REAL2_TARGET table gets populated.
    Thank you in advance.
    M. Jamal.

    Thanks SH. I thought so. 
    Though I understand the reason to materialize the file in a staging area, but that almost defeats the purpose of having a temporary interface in this case if we have to save the data in a permanent db. table first.  I assume the db. table sticks around and is not automatically dropped once the interface executing ends.  If the db. table sticks around then I also must truncate it first before executing the temporary interface each time. Right ?

  • Table name for Customer Account Group and created by Data

    Dear Gurus,
    Kindly le t me know the table name having a list of Customer a/c groups and created by data. if there is no such table thn pls let me know the alternatives for fetching the same data.
    Wishes
    Abhishek

    hI
    Go to Se11 and give table name KNA1 and go to display
    you can able to see the Customer AccountGroup field :KTOKD
    Thanks
    Vasu

  • Requirement for Customer Overdue Age wise Analysis

    Dear Experts,
    I do have following requirement.
    E.g.
    Cust Nam | Credit Term | Total Outstanding | Withing Cr. Period | Total O/due | Overdue Analysis (1-30, 31-60,61-90,181>)
           001    |      30 Days |     3140                 |          743              |    2398         |                                  941    819    596    42
    For each Customer had particular payment term which means that Customer has given some days before which he has to do payment then after payment is overdue.
    Total Outstanding = Oust. Withing Credit Period + Overdue Outstanding
    & overdue Analysis will give bifurcation of total overdue, from Customer Payment terms end.
    I am developing this report from Cube 0FIAR_C03
    Now I can easily get the values age wise without including any condition of payment Term.
    My Problem is How to get age wise analysis dynamically as each customer has different payment terms.
    Please help me out.
    Regards,
    Divyesh Khambhati

    Any Answers..... ????

  • Tables required for field street2 street3 street4

    Hello All,
    I want to print customer/vendor street2, street3,street4 in my report.
    pls tell me the table(not structure addr1_data) and fields from which i can fetch this fields.
    Thanks
    Sunny

    Hi,
    Table is ADRC, you will need to get the address number for the customer or vendor as the key to the table.  KNA1 or LFA1 field ADRNR.
    Regards,
    Nick

  • Table name for SRM Purchasing Org.

    Hi,
    I have created an org. unit for purchasing org and it is linked to the back-end purchasing org ( Function TAB). Now I want to know where is purchasing org. (Function TAB) is stored in SRM table
    please  help
    -Pranav

    Hi,
    Check table hrv5500a to get the corresponding backend system details like Plant, Purch Org, P Grp for a particular Object_ID.
    You can also try the FM BBP_PDORG_GETDETAIL.
    BR,
    Disha.
    Do  reward points for useful answers.

Maybe you are looking for

  • A new socket for every http-request?

    Do I have to make a new socket for every http-request? The code below doesn't work because it is two requests in a row. The first GET works, but the second doesn't. I thought that the purpose of a socket is that you set it up once and then you should

  • The body of my emails are no longer being displayed...

    ...what gives?  This just started to happen yesterday and applies to all my accounts (gmail, msn, and MS Exchange).  In the preview of the emails on the left when holding in landscape, I can see the preview of the body.  On the right where the entire

  • RFC Communication error when doing initial indexing

    Hello Everyone, I have a quick question, when doing the initial index rollup for a BIA index the job is failing with RFC communication error. We currently have the setting related to " TREXRfcServer threads" set to "Automatic Changes" in order to avo

  • My Iphone 4 is not charging in all types of charges after the iOS5.

    Hi!! After the ios5 my Iphone 4 it´s not accepting charges from any type of charge ( pc/car/dock/wall). Now the battery is dead what should I do? I tryed in the computer but the USB it´s not regonizing the Iphone. Please someone help me!!! Now the ba

  • Enabling Trace in Forms10g

    Hi , I created a folder in O/S filesystem which is registered in default.env file using the parameter FORMS_TRACE_PATH. What else should I have to do in order to have all tracing written in files under the folder the FORMS_TRACE_PATH directs...?????