Corporate Tax in Spain

Hi , experts!
Do you know SAP provide any report or tools to facilitate the corporate tax report in Spain?
Including the 2 model,
MODEL 202: Partial payment of Corporate Tax
MODEL 200: Annual Corporate Tax
Many thanks!
Yours,
Kelvin

Hello Hao,
I hope this can help :
Form 110: This form is used for a quarterly or biannual summary of withholding tax. To create the DME file, use programs RFKQSE10 and RPC11XE0.
Form 111: This form is used for a monthly summary of withholding tax for companies whose annual business volume exceeds ESP 1 billion. To create the DME file, use programs RFKQSE10 and RPC11XE0.
Form 115: This form is used for a withholding tax summary for real estate rental. To create this report, use the program RFKQSE10.
Form 190: This form is used for an annual summary of withholding tax. To create the DME file, use programs RFKQSE10 and RPC190E0.
Form 210A: This form is used to create a DME file for the 210A report. This report contains payments and withholding tax amounts for vendors who carry out business in Spain, without actually being a resident there. Both payments and down payments are reported. To create this report, use the program RFKQSE20.
From 340 : Tcode  S_E4A_94000356 - Report RFIDESM340
Form 915: This form is used only for a withholding tax summary for the province of Navarre. To create the DME file, use programs RFKQSE10 and RPC11XE0.
Form 190: RFKQSE11
Good luck
Tamim

Similar Messages

  • Withholding Tax Certificate (Spain)

    Hi,
    One of the requirements in the project I am working at the moment is to generate the Withholding Tax Certificate and I can find out the way of generating the print out. The country where the report needs to be generated is Spain. Could anyone give me a hand? since I cannot find a standard form for this.. Do I have to generate a new form copying from an existing one? Is the WH Tax Certificate generated from the tr. S_PL0_09000447 and then this calls the form generated for this report?
    Thanks and regards in advance.
    F.

    Hi
    Symptom
    Your company code is in Spain and you work with classic withholding tax.
    This note is designed to help during the changeover from classic to extended withholding tax for Spain.
    Other terms
    Withholding tax, QSSKZ, customer, vendor, withholding tax changeover, withholding tax migration, WTMG, WTMIGRATION, classic withholding tax, QST, extended withholding tax, Spain
    Reason and Prerequisites
    The changeover from classic to extended withholding tax must be performed using a conversion tool (Transaction WTMG).
    Solution
    Since Release 40B, the extended withholding tax function has been available in the standard system. By changing to the extended withholding tax, it makes using withholding tax on the debit side possible. In addition it is possible to post different withholding tax categories in a document at the same time. You can find more information on the extended withholding tax function in the SAP Library.
    It is only possible to change from classic withholding tax to extended withholding tax using a conversion tool.
    On no account should you activate the extended withholding tax in your system without using this tool if you have been using the classic withholding tax up to now.
    Information concerning the changeover and the changeover tool can be found in Note 337267.
    This note describes the creation of the withholding tax types and withholding tax codes and the use of the changeover tool for the country Spain.
    However this note does not replace the documentation concerning the withholding tax changeover in the SAP Library (or the Word file during the transport from the SAPServ according to Note 186989), it simply provides additional information for Spain!
    1. The following is a list of the withholding tax codes used in classic withholding tax. If the withholding tax codes you are using are called differently, you must take that into account later during the assignment of the withholding tax codes of classic withholding tax to the type/code combinations of extended withholding tax.
                  Probably the specified withholding tax codes do not agree with those which have you used in classic withholding tax. Since the specified codes are the official ones, first change your Customizing for classic withholding tax such that the specified withholding tax codes are defined for the different withholding tax codes.
    2. Define the official withholding tax keys for the country ES in extended withholding tax under Financial Accounting Global Settings --> Withholding Tax --> Extended Withholding Tax --> Basic Settings --> Define Official Withholding Tax Codes:
    3. Create the following withholding tax types of extended withholding tax for the country ES:
    To create the withholding tax types, select Financial Accounting Global Settings --> Withholding Tax --> Extended Withholding Tax --> Calculation --> Withholding Tax Type --> Define Withholding Tax Type for Payment Posting in the Implementation Guide for Financial Accounting.
    Select 'Net amount' in the "Calculation/Base amount" screen area in each case
    Select 'W/tax comm. round' in the "Calculation/Rounding rule" screen area in each case
    Select 'C/disc pre W/tx' in the "Calculation/Cash discount" screen area in each case
    Set the 'Post w/tax amount' indicator in the "Calculation" screen area in each case
    Select 'No accumulation' in the "Accumulation type" screen area in each case
    Set the 'W/tax base manual', 'Manual w/tax amnt' and 'No cert. numbering' indicators in the "Control data" screen area in each case
    Select 'W/tax code level' in the "Define minimum/maximum amounts", "Base amount" screen area in each case
    Select 'W/tax code level' in the "Define minimum/maximum amounts", "Withholding tax amount" screen area in each case
    Select 'No centr. invoice' in the "Central invoice" screen area in each case
    Select 'Minimum Check at Item Level' in the "Minimum Check" screen area or 'No min. base check at item level' in the "Minimum base check" screen area in each case
    All the other fields in the withholding tax type must be left unselected.
    4. Create the withholding tax codes belonging to the withholding tax types:
    To create the withholding tax codes, select Financial Accounting Global Settings --> Withholding Tax --> Extended Withholding Tax --> Calculation --> Withholding Tax Codes --> Define Withholding Tax Codes in the Implementation Guide for Financial Accounting.
    Copy the names from the first list (under point 1).
    Enter the official withholding tax key (Off. W/Tax Key) in the corresponding field as specified above.
    Select the same percentage as defined in the corresponding withholding tax code of classic withholding tax under 'Calculation of the withholding tax base amount' for the percentage subject to tax in the "Base amount" screen area. (the percentage should agree with the above-mentioned percentage subject to tax (%sub.to tax)).
    Select the same rate as defined in the corresponding withholding tax code of classic withholding tax under 'Calculation of withholding tax' for the withholding tax rate  in the "Calculation" screen area (The rate should agree with the above-mentioned withholding tax rate (WT rate)).
    Set value '1' for the Post.indic. in the "Postings" screen area
    Select the corresponding settings as in the corresponding withholding tax code of classic withholding tax in the "Reporting information" screen area (The settings should agree with the above-mentioned specifications for region and income type (Inc.type)).
    All the other fields in the withholding tax code must remain empty.
    Create a withholding tax conversion run:
    Call Transaction WTMG
    Choose 'Create'
    Assign a name to the conversion run
    Select change 'Choose Company Codes' and enter the company code to be converted and country 'ES'
    Select change 'Type/Code Assignment' and assign the respective new withholding tax types and withholding tax codes of extended withholding tax to the withholding tax codes of classic withholding tax defined for country 'ES':
      Execute the 'Analysis'
    Select the option 'Several withholding tax types possible per vendor' under 'Master data settings'
    Carry out the conversion steps  (to start with in the test run).
    After the withholding tax changeover has occurred, create the following recipient codes for the country ES to complete Customizing:
      To create the recipient code, select Financial Accounting Global Settings --> Withholding Tax --> Extended Withholding Tax --> Reporting --> Define Recipient Code for Extended Withholding Tax in the Implementation Guide for Financial Accounting.

  • Withholding Tax Report Spain Authorities

    Hello masters,
    I have the following problem, may be you can help me.
    I Activated Extended withholding Tax for my company code to make a new withholding tax, all my withholding tax configuration is complete, I modify a vendor master record and informing the new withholding tax. I posted some bills vendors and everything is working fine in FI
    The problem is when I use the Withholding Tax Report Spain Authorities (program: RFKQSE10) no register are found with the new withholding Tax.
    Thanks for your help,
    Luis
    Edited by: Luis Palomino De La Gala on Sep 8, 2008 6:16 PM

    Hello Satish Muvva,
    No errors description, just the report has some registers but no one with the new Withholding Tax,
    I post many vendor bills with the new Withholding Tax Before lunch the Report to Spain Authorities.
    Thanks for your help,
    Luis

  • Sales equlization Tax for Spain

    We are implementing ECC 6.0 in our Spain location.  How do we set up VAT and Equalization Tax (also called Recargo de Equivalencia).  FI tax procedure TAXES contains MWAS (Output Tax) and MWAA (Clearing Tax).  Tax rates for full tax are VAT = 16% and Recargo Tax = 4%.
    Should SD pricing procedure have two tax condition (MWST and another)?
    Do we need to create condition master data (VK11) for new condition?
    If anyone is familiar, please confirm set-up for Output tax for Spain.
    Thanks,
    MJ

    Thank you for the link.  However, I have already reviewed this.
    When I review TAXES Finance tax procedure, I see the Output Tax and the equilization tax (Recargo tax).
    In SD pricing procedure, I have two tax conditions :  MWST (VAT) and ZREC (custom tax condition for Recargo tax).  I expected that by setting up MWST tax condition master data with the proper tax code, the SD pricing procedure would invoke the FI tax procedure, and have the MWST rate returned (16%) and the Recargo tax rate returned (4%). 
    Instead, I had to set up tax condition master data for MWST and ZREC with the proper rates.  The same customer master tax classification and material master tax classification is used for both MWST and ZREC.  So there is less maintenance for customer and material master data.
    I have been able to apply the proper tax rates in the sales order.  However, I just wanted to verify that the configuration setup is correct.
    thanks,
    MJ

  • Securities - effective corporate tax rate to OCI balance

    Has anyone been able to figure out the effective corporate tax rate application to the OCI balance so that the equity is reported net of tax for the securities module?
    If so, how?

    Hi,
    Could you please be more specific on your question or can you please elaborate more.  Are you asking about the tax leived on the security balance or the tax for incoming flows like interest payment or dividend or distribution.
    If it is the tax for incoming flow, it can be configured under secuities -- position management -- define tax rates.  For every incoming flow, you can generate an outgoing tax flow with the specified percentage.
    If it is tax for the security balance, I am not sure what your requirement is.  Could you elaorate more on this.
    Regards,
    Ravi

  • Corporate resellers in Spain

    I can't fin the actual corporate reseller of Apple in Spain.
    I found that information but only about EEUU, and América latina, but I couldn´t in Spain

    I'm not sure what you mean by "corporate reseller", but you can search for authorized Apple dealers in Spain via this web page:
    http://www.apple.com/uk/buy/locator/
    If that doesn't help, if you can explain in more detail what it is you're looking for, someone here may be able to provide more precise assistance.
    Regards.

  • Corporate tax software

    I have a small corporation and I'm trying to find tax software specifically for the Mac.  Turbo Tax has compatible software for everything but corporations which is PC only.  Anyone know of an alternate tax software program?

    For a corporation, install Windows and run TT's corporate version. The cost should be a business expense. Additionally,voice your concerns at  http://turbotax.intuit.com/support/

  • RFKQSE10 - Witholding tax report (Spain)

    Hello,
    We are analyzing SAP standard report RFKQSE10 and we have found something we don´t understand.
    Vendor open items are stored in BSIK table and closed open items in BSAK table.
    Debugging the program we have seen that the report is only using BSIK table (GET BSIK - line 315) but it is also reading some items stored in BSAK table
    How is this possible?
    Thanks a lot in advance
    Regards

    Hi,
    E.g
    Invoice is open on 15.07.2011
    You have done payment on 02.08.2011
    If you run the report on 31.07.2011, system will pick this invoice as open item though it is cleared on 02.08.2011.
    Once the item is cleared it moves from BSIK to BSAK.
    Rgds
    Murali. N

  • Open account iBooks Author from Spain (EIN number)

    Dear Sirs,
    I'm trying to open an account to publish books to iBooks. You ask me the EIN number, but I am not a resident of USA. I am a resident in Spain and declare tax in Spain. How could publish my books with you without the EIN? I can give you any information needed.
    I look waiting for your answer,
    regards,
    Aitor

    You are not talking to Apple here, just other users like yourself.   To publish your stuff in the iBookstore, follow the directions in the FAQ:
    http://www.apple.com/itunes/content-providers/book-faq.html
    If you want to be paid for your books, you have to get the US Tax ID, it doesn't matter where you live.  If you don't want to do that, you should use an aggregator service or publish from a different store.

  • Witholding tax for Customer

    Hello Experts,
    Can any one explain or send docs for Configuration of witholding tax configuration for Customers
    [email protected]

    Configuration Guide
    1        Overview
    This configuration guide provides the information you need to set up the configuration for withholding tax under Financial Accounting. It covers configuration relating, classic withholding tax, extended withholding tax.
    2       Configuration
    2.1        Organization structure
    2.1.1     Organization Setup Step
    N.A
    2.1.1.1     Use
    N.A
    2.1.1.2     Prerequisites
    N.A
    2.1.1.3     Procedure
    1.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     <IMG Menu path>
    2.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    -     In above table enter the field name, description, and usage of every relevant field.
    -     In the table below, list down all the actual values set up in the client. Add or delete columns as necessary.
    <Field -1>     <Field -2>     <Field -3>     <Field -4>
    Value 1-1     Value 2-1     Value 3-1     Value 4-1 …
    2.2        Process Configuration for withholding Tax
    The following are the configuration steps for Withholding tax.
    2.2.1     Classic withholding Tax
    •     Maintain Countries
    •     Maintain Types of Recipient
    •     Define Income Types
    •     Maintain Tax Codes
    •     Define Form Names for Extended Reporting
    •     Define Output Groups
    2.2.1.1     Maintain Countries
    The withholding tax country is needed for printing the withholding tax form. Since the list of country IDs prescribed by law is different from the list in the system, you have to define the withholding tax countries again.
    2.2.1.1.1     Use
    Used For printing the withholding tax forms.
    2.2.1.1.2     Prerequisites
    N.A
    2.2.1.1.3     Procedure
    3.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Basic Settings &#61614;Maintain Countries
    4.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country Key          country key contains information which the system uses to check entries such as the length of the postal code or bank account number     
    Withholding tax country          An additional country is needed for calculating or reporting withholding tax.     
    Description           Text of country     
    2.2.1.2     Maintain Types of Recipient
    The type of recipient categorizes the vendor, which is necessary for printing the withholding tax form.
    2.2.1.2.1     Use
    Used For printing the withholding tax forms.
    2.2.1.2.2     Prerequisites
    N.A
    2.2.1.2.3     Procedure
    5.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Basic Settings &#61614; Maintain Types of Recipient
    6.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country Key          country key contains information which the system uses to check entries such as the length of the postal code or bank account number     
    Rec. Type          Type of recipient"      
    Description          Description of recipient type     
    2.2.1.3     Define Income Types
    The income type is a classification of your (foreign) vendors according to income.
    2.2.1.3.1     Use
    You need the income type as a specification for the withholding tax return...
    2.2.1.3.2     Prerequisites
    N.A
    2.2.1.3.3     Procedure
    7.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Basic Settings &#61614; Define Income Types
    8.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Income type           Type of income subject to withholding tax     
    Text          Description of income type     
    2.2.1.4     Maintain Tax Codes
    The income type is a classification of your (foreign) vendors according to income.
    2.2.1.4.1     Use
    You need the income type as a specification for the withholding tax return...
    2.2.1.4.2     Prerequisites
    N.A
    2.2.1.4.3     Procedure
    9.     Access the activity using the following navigation options:
    Transaction Code     OBC7
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Calculation&#61614; Maintain Tax Codes
    10.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country           The country key contains information which the system uses to check entries such as the length of the postal code or bank account number.
    W.tax code           The tax codes are unique per country     
    Description          Text of the tax code      
    Off.w. tax .code          Key which is used for withholding tax reporting on official forms.     
    Percentage subject to tax          Portion of the invoiced amounts which are subject to tax with the above-mentioned withholding tax code     
    Net base for tax contributions          Indicator that the taxes on sales/purchases are not used in the base amount for withholding tax.     
    Currency          Currency of the minimum amount defined for the withholding tax report     
    Minimum Amount          Field used define minimum tax it is used for Japan only     N.A
    Withholding tax rate          Percentage rate used in conjunction with the withholding tax base amount to calculate the withholding tax amount     
    Reduced Rate          Percentage rate which is to be used for the withholding tax base amount if there is a valid exemption certificate, to calculate the withholding tax amount     
    Withh. tax formula          withholding tax is to be calculated according to a special procedure     
    Germ. reunification tax          German Reunification Tax for the Withholding Tax     N.A
    Posting with payment           The payment amount is reduced by the withholding tax amount posted     
    Region          The region forms part of the address     
    Provincal tax code           Together with the country key, the region and the withholding tax class,the fiscal province code defines a reporting key that is required for reporting withholding tax (DME) and by the tax authorities (Spain).     N.A
    Income type          Type of income subject to withholding tax     
    2.2.1.5     Define Accounts for Withholding Tax
    You define the account numbers of your withholding tax accounts. The system posts the tax amount to these accounts when clearing open items.
    2.2.1.5.1     Use
    Used for document posting in FI.
    2.2.1.5.2     Prerequisites
    N.A
    2.2.1.5.3     Procedure
    11.     Access the activity using the following navigation options:
    Transaction Code     OBYS
         IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Postings&#61614; Define Accounts for Withholding Tax
    12.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Transaction      QST     The transaction keys are used to determine accounts or posting keys for line items which are created automatically by the system.
    Tax code           used to differentiate account determination     
    Account           GL account no.     
    2.2.1.6     Define Form Names for Extended Reporting
    You define the names of the forms for the withholding tax return to your vendors.
    2.2.1.6.1     Use
    You can use the form ID to define country-specific forms.
    2.2.1.6.2     Prerequisites
    Form should be there
    Company code
    2.2.1.6.3     Procedure
    13.     Access the activity using the following navigation options:
    Transaction Code     SPRO
         IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Reporting&#61614; Define Form Names for Extended Reporting
    14.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Program name           The name of the program you want to edit     
    Company code            The company code is an organizational unit within financial accounting.     
    Form ID          The identification for a form or a form set enables you to access a particular form or set of forms from a selected group of forms     
    Form           Form which is to be displayed     
    2.2.1.7     Define Output Groups
    You define the combination of outputs which is required for a given data source
    You would define two output groups in Customizing:
    One to define the data selection (accounts payable, etc.) and the form and file to be used.
    One to define a data selection (accounts receivable, etc.) and the list to be used.
    2.2.1.7.1     Use
    You can for different reporting purpose..
    2.2.1.7.2     Prerequisites
    Form
    DME Engine
    2.2.1.7.3     Procedure
    15.     Access the activity using the following navigation options:
    Transaction Code     SPRO
         IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Generic Withholding Tax Reporting&#61614; Define Output Groups
    16.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Process Type          type of process that will be triggered by the program     
    Output Group          Indicates the output group as used in withholding tax reporting. An output group is the combination of outputs which is required for a given data .     
    Customizing view          withholding tax scheme in your country     
    Reported doc.          You can choose in which context the withholding tax data is to be displayed     
    Open items          selecting this option will allow you to see also the open items     
    Group item according to fiscal year          items belonging to vendor/customer B are listed together with items of vendor/customer A if A is specified as fiscal address of B.     
    No exemptn data          Excludes data relating to withholding tax exemption     
    No tax data          Excludes data relating to taxes on sales/purchases     
    Title of output list focused on          The output list is divided into four sections, covering Various information     
    Form printing          Description for  printing form     
    DME File          Using this parameter, you can control whether the data medium exchange should be carried out to a temporary sequential file     
    Format tree          Used together with the DMEE tree type to uniquely identify a format tree     
    Tax Ref.1           There is a parameter type for every additional parameter for a company code     
    Tax Ref.2          There is a parameter type for every additional parameter for a company code     
    User Program          Your report should contain a form     
    2.2.2     Extended withholding Tax
    Withholding tax      Country
    Extended withholding tax     Malaysia, Singapore, Brunei, Nepal ,Thailand
    •     Check Withholding Tax Countries
    •     Define Withholding Tax Codes
    •     Check Recipient Types
    •     Define Income Types
    •     Define Withholding Tax Type for Invoice Posting
    •     Define Withholding Tax Type for Payment Posting
    •     Define Rounding Rule for Withholding Tax Type
    •     Define Withholding Tax Codes
    •     Define Formulas for Calculating Withholding Tax
    •     Portray Dependencies Between Withholding Tax Types
    •     Define Min/Max Amounts for Withholding Tax Codes
    •     Assign Withholding Tax Types to Company Codes
    •     Activate Extended Withholding Tax
    •     Define Accounts for Withholding Tax to be Paid Over
    •     Define Accts for W/hold.Tax for "Gross.Up" Offsetting Entry
    •     Define Accounts for Self-Withholding Tax
    •     Define Accounts for Withholding Tax Offsetting Entry
    •     Define Numbering Classes
    •     Define Numbering Groups
    •     Define Number Ranges
    •     Assign Numbering Group to Numbering Class
    •     Assign Numbering Group to Numbering Class
    •     Numbering Concept Option 1: Assign Numbering Class
    •     Numbering Concept 4: Assign Numbering Group
    •     Assign Forms for Withholding Tax Certificates
    •     Define Minimum Amounts per Withholding Tax Code
    •     Define Output Groups
    2.2.2.1     Check Withholding Tax Countries
    The withholding tax country is needed for printing the withholding tax form. Since the list of country IDs prescribed by law is different from the list in the system, you have to define the withholding tax countries again.
    2.2.2.1.1     Use
    Used For printing the withholding tax forms.
    2.2.2.1.2     Prerequisites
    N.A
    2.2.2.1.3     Procedure
    17.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Extended Withholding Taxs&#61614; Basic Settings &#61614; Check Withholding Tax Countries
    18.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country Key          country key contains information which the system uses to check entries such as the length of the postal code or bank account number     
    Withholding tax country          An additional country is needed for calculating or reporting withholding tax.     
    Description           Text of country     
    2.2.2.2     Define Withholding Tax Codes
    If your national tax authorities use withholding tax keys to identify the different withholding tax types, you can define these official names for your tax codes here.
    2.2.2.2.1     Use
    System can therefore assign the withholding tax items to the correct withholding tax return.
    2.2.2.2.2     Prerequisites
    N.A
    2.2.2.2.3     Procedure
    19.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Extended Withholding Taxs&#61614; Basic Settings &#61614; Define Withholding Tax Codes
    20.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Official Key          Official withholding tax codes are defined which must be included in official reports.     
    Name           Description of official key     
    National tax code           With this value you can classify every official tax key. This information is required on certain legal reports     
    Country     Off. w/tax key     Nat. Tax Code     Text (40 characters)
    NP     COMN           Commission
    NP     CONT           Contractors
    NP     DIVD           Dividends
    NP     INTR           Interest
    NP     MANT           Maintenance
    NP     PROF           Professional
    NP     RENT           Rent
    2.2.2.3     Check Recipient Types
    The type of recipient categorizes the vendor, which is necessary for printing the withholding tax form.
    2.2.2.3.1     Use
    To print from for vendors.
    2.2.2.3.2     Prerequisites
    N.A
    2.2.2.3.3     Procedure
    21.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Extended Withholding Taxs&#61614; Basic Settings &#61614; Check Recipient Types
    22.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    With holding tax type          This indicator is used to classify the different types of withholding tax     
    Rec. Type          The type of recipient can be defined in the vendor master record     
    Text          Description of Rec. type     
    Country     Withhld tax type     Recipient type     Text
    NP     I1     NR     Non - residents
    NP     I1     PN     Person Not Registered
    NP     I1     PR     Person Registered
    NP     P1     NR     Non - residents
    NP     P1     PN     Person Not Registered
    NP     P1     PR     Person Registered
    TH     I1     3     Phaw.Ngaw.Daw. 03
    TH     I1     53     Phaw.Ngaw.Daw. 53
    TH     I1     54     Phaw.Ngaw.Daw. 54
    TH     I2     3     Phaw.Ngaw.Daw. 03
    TH     I2     53     Phaw.Ngaw.Daw. 53
    TH     I2     54     Phaw.Ngaw.Daw. 54
    TH     P1     3     Phaw.Ngaw.Daw. 03
    TH     P1     53     Phaw.Ngaw.Daw. 53
    TH     P1     54     Phaw.Ngaw.Daw. 54
    TH     P2     3     Phaw.Ngaw.Daw. 03
    TH     P2     53     Phaw.Ngaw.Daw. 53
    TH     P2     54     Phaw.Ngaw.Daw. 54
    TH     W1     2     Phaw.Ngaw.Daw. 02
    TH     W1     3     Phaw.Ngaw.Daw. 03
    TH     W1     53     Phaw.Ngaw.Daw. 53
    TH     W1     54     Phaw.Ngaw.Daw. 54
    TH     WP     2     Phaw.Ngaw.Daw. 02
    TH     WP     3     Phaw.Ngaw.Daw. 03
    TH     WP     53     Phaw.Ngaw.Daw. 53
    TH     WP     54     Phaw.Ngaw.Daw. 54
    2.2.2.4     Define Income Types
    The income type is a classification of your (foreign) vendors according to income.
    2.2.2.4.1     Use
    You need the income type as a specification for the withholding tax return...
    2.2.2.4.2     Prerequisites
    N.A
    2.2.2.4.3     Procedure
    23.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Define Income Types
    24.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Income type           Type of income subject to withholding tax     
    Text          Description of income type     
    2.2.2.5     Define Withholding Tax Type for Invoice Posting
    You define the withholding tax type for the posting at the time of entering an invoice. This withholding tax type does not have any effect on the payment.
    2.2.2.5.1     Use
    The withholding tax type used for the posting at the time of entering an invoice.
    2.2.2.5.2     Prerequisites
    N.A
    2.2.2.5.3     Procedure
    25.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Withholding Tax Type &#61614;  Define Withholding Tax Type for Invoice Posting
    26.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country          The country key contains information which the system uses to check entries     
    Withhld tax type          This indicator is used to classify the different types of withholding tax     
    W/TAX type No.          By numbering withholding tax types, you can have withholding tax calculated in a particular sequence     
    Base amount      Net amount,
    Modif net amount.
    Gross amount,
    Tax amount ,
    Modif tax amount ,
    Inherit base,
    Base amount Reductn     the system uses the selected  amount as the base amount to calculate the withholding tax amount.     
    Rounding rules     W/Tax comm.round,
    Round w/Tax amnt up,
    Round w/tax amount     To enable the system to calculate withholding tax, you must specify a rounding rule for each withholding tax type.     
    Post w/tax amount          TShe withholding tax amount is both calculated and posted     
    Accumulation type      No accumulation,
    Per calendar year,
    Per quarter,
    Per month,
    Per year ,starting with mnth
    Acc. W/Tax to max.     Is used to accumulated withholding tax      
    W/tax base manual          withholding tax type, the field withholding tax base amount is ready for input     
    Manal w/tax amnt          For document entry the field withholding tax base amount is ready for input for this withholding tax type     
    No cert. numbering          Prevents certificate numbering     
    Region          the region forms part of the address     
    Base Amount     W/tax code level,
    Type Level     Defines the minimum/maximum withholding tax base amount at withholding tax code level.     
    Withholding tax amount      W/Tax code level,
    Type Level     Defines the minimum/maximum withholding tax amount at withholding tax type level     
    2.2.2.6     Define Withholding Tax Type for Payment Posting
    You define the withholding tax type for posting at the time of paying. You also have to enter the withholding tax information when entering the document for this withholding tax type. (Only for Thailand)
    2.2.2.6.1     Use
    The withholding tax type used at the time of posting.
    2.2.2.6.2     Prerequisites
    N.A
    2.2.2.6.3     Procedure
    27.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Withholding Tax Type &#61614;  Define Withholding Tax Type for Payment Posting
    28.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country          The country key contains information which the system uses to check entries     
    Withhld tax type          This indicator is used to classify the different types of withholding tax     
    W/TAX type No.          By numbering withholding tax types, you can have withholding tax calculated in a particular sequence     
    Base amount      Net amount,
    Modif .net amount.
    Gross amount,
    Tax amount ,
    Modif tax amount ,
    Inherit base,
         the system uses the selected  amount as the base amount to calculate the withholding tax amount.     
    Rounding rules     W/Tax comm.round,
    Round w/Tax amnt up,
    Round w/tax amount     To enable the system to calculate withholding tax, you must specify a rounding rule for each withholding tax type.     
    Cash discount      W/tax pre c/dis,
    c/dis pre w/tax          
    Post w/tax amount          TShe withholding tax amount is both calculated and posted     
    Accumulation type      No accumulation,
    Per calendar year,
    Per quarter,
    Per month,
    Per year ,starting with month,
    Combined Accum
    Acc. W/Tax to max.     Is used to accumulated withholding tax      
    W/tax base manual          withholding tax type, the field withholding tax base amount is ready for input     
    Manal w/tax amnt          For document entry the field withholding tax base amount is ready for input for this withholding tax type     
    Self W/holding           When you come to make a payment, you can then decide, on a case by case basis, whether self-withholding should apply     
    W/Tax alrdy w/hd          the amount can be entered when you post the invoice     
    W/tax for Pmnt          the withholding tax amount can be entered manually for incoming and outgoing payments     
    No.Cert. numbering          Prevents certificate numbering     
    Region          the region forms part of the address     
    Base Amount     W/tax code level,
    Type Level     Defines the minimum/maximum withholding tax base amount at withholding tax code level.     
    Withholding tax amount      W/Tax code level,
    Type Level     Defines the minimum/maximum withholding tax amount at withholding tax type level     
    Central invoice      No centr.invoice,
    Cent.inv & 1st p.pmt,
    Central inv.prop.     indicator, "Central invoicing" is not applied to this withholding tax type.     N.A keep it as no.
    Minimum check      Minimum check at item level,
    Check min base amnt at pmnt doc level,
    Min .base amnt check at doc invoice level,
    Amount min.check at payment doc level,
    Tax exempt amount check at Document level     You can select any indicator system calculate the tax and post after checking the  specified base amount      
    2.2.2.7     Define Rounding Rule for Withholding Tax Type
    You define rounding rules for the individual withholding tax types.
    2.2.2.7.1     Use
    Rounding rules only apply to the posting of withholding tax amounts in the appropriate company code
    2.2.2.7.2     Prerequisites
    N.A
    2.2.2.7.3     Procedure
    29.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Withholding Tax Type &#61614;  Define Rounding Rule for Withholding Tax Type
    30.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Company code      NP01     The company code is an organizational unit within financial accounting.     
    W/th .type     I1,P1     This indicator is used to classify the different types of withholding tax.     
    Currency     NPR     Currency key for amounts in the system.     
    Unit     100     Unit to be round off     
    2.2.2.8     Define Withholding Tax Codes
    You define the withholding tax codes rounding for calculating withholding tax.
    2.2.2.8.1     Use
    Used for calculating the withholding tax.
    2.2.2.8.2     Prerequisites
    N.A
    2.2.2.8.3     Procedure
    31.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Withholding Tax Codes &#61614;  Define Withholding Tax Codes
    32.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country           The country key contains information which the system uses to check entries     
    Withhld tax type           This indicator is used to classify the different types of withholding tax     
    w/tax code          One or more "withholding tax codes" are assigned to each withholding tax type     
    Off.W/Tax Key          official withholding tax codes are defined which must be included in official reports     
    Percentage subject to tax          Portion of the invoiced amounts which are subject to tax with the above-mentioned withholding tax code.     
    Post.Indic          If you set this indicator tax amount is deducted accordingly
         1 - Portion of the invoiced amounts which are subject to tax with the above-mentioned withholding tax code.
    3- Portion of the invoiced amounts which are subject to tax with the above-mentioned withholding tax code.
    With/tax rate          This is the percentage rate applied to the withholding tax base amount to arrive at the withholding tax amount     
    With /tax rate ( fraction)          Withholding tax rate counter, if the rate can be entered as a fraction     
    W.tax From          Indicator that withholding tax is to be calculated according to a special procedure     
    Region          The region forms part of the address     
    Prov.tax.code          Together with the country key, the region and the withholding tax class,the fiscal province code defines a reporting key that is required for reporting withholding tax (DME) and by the tax authorities (Spain).     
    Income type          Type of income subject to withholding tax     
    2.2.2.9     Define Formulas for Calculating Withholding Tax
    You define formulas (scales) for calculating withholding tax. In order to use a formula for calculating withholding tax, you must enter the national currency in the Currency key field of the relevant company code.
    2.2.2.9.1     Use
    Used for defining the specification like from which date ,up to what amount the tax rate is applicable
    2.2.2.9.2     Prerequisites
    N.A
    2.2.2.9.3     Procedure
    33.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Withholding Tax Codes &#61614;  Define Formulas for Calculating Withholding Tax
    34.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country           The country key contains information which the system uses to check entries     
    currency          Currency key for amounts in the system.     
    Withhld tax type           This indicator is used to classify the different types of withholding tax     
    w/tax code          One or more "withholding tax codes" are assigned to each withholding tax type     
    Wcty          an additional country is needed for calculating or reporting withholding tax     
    Valid from          The date valid from     
    To base amnt          Maximum withholding tax base amount up to which the withholding tax rate specified is to be used     
    Whld Tax          Percentage rate, which is used in conjunction with the withholding tax base amount to calculate the withholding tax amount     
    Red RT          Percentage rate which is to be used for the withholding tax base amount if there is a valid exemption certificate, to calculate the withholding tax amount     
    Reduce.base amt.          Amount by which the base amount is to be reduced in order to determine the withholding tax amount by means of the withholding tax rate     
    Dec.red.bse.amt          Amount by which the base amount is to be reduced with withholding tax exemption in order to determine the withholding tax amount by means of the decreased withholding tax rate     
    2.2.2.10     Portray Dependencies between Withholding Tax Types
    You can represent dependencies between withholding tax categories.
    2.2.2.10.1     Use
    You can use in a sequence of withholding tax in a sequence.
    2.2.2.10.2     Prerequisites
    N.A
    2.2.2.10.3     Procedure
    35.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Withholding Tax Base Amount&#61614;  Portray Dependencies Between Withholding Tax Types
    36.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country           The country key contains information which the system uses to check entries     
    Withhld tax type          This indicator is used to classify the different types of withholding tax     
    W/tax type no.          By numbering withholding tax types, you can have withholding tax calculated in a particular sequence     
    Depend on type no.          Sequence number of the withholding tax type whose withholding tax amount has some influence in the calculation of the withholding tax base amount     
         Table values
    Cty     Wth.t.type     W/tax no.     Depen.type     Name
    NP     I1     1           Invoice posting - EWT
    NP     P1     2           Payment posting - EWT
    2.2.2.11     Define Min/Max Amounts for Withholding Tax Codes
    you define minimum and maximum amounts for withholding tax codes. In the withholding tax base exemption amount field you can specify an amount which is deducted when calculating the with holding tax base. The amount of the tax exemption does not have any effect when matching the withholding tax base with the minimum, because the base and the minimum are matched before the tax-exempt amount is deducted.
    2.2.2.11.1     Use
    Used for exemption amount field you can specify an amount which is deducted when calculating the with holding tax base.
    2.2.2.11.2     Prerequisites
    N.A
    2.2.2.11.3     Procedure
    37.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Taxs &#61614; Calculation &#61614; Minimum and Maximum Amounts&#61614;  Define Min/Max Amounts for Withholding Tax Codes
    38.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Country           The country key contains information which the system uses to check entries     
    Withhld tax type          This indicator is used to classify the different types of withholding tax     
    W/tax Code          One or more "withholding tax codes" are assigned to each withholding tax type.     
    Currency          Currency key for amounts in the system.
    Valid from          The date valid from     
    Minimum W/tax amount           Minimum withholding tax amount. The withholding tax amount calculated if only posted if it exceeds this minimum amount.     
    Maximum W/tax amount          Maximum withholding tax amount. If the withholding tax amount calculated exceeds this maximum, the system posts the maximum amount (and not the actual tax amount     
    Minimum base amount           Minimum withholding tax base amount.     
    W/Tax bse exem.amount           The withholding tax base exemption amount is deducted from the base amount before the withholding tax amount is calculated     
    2.2.2.12     Assign Withholding Tax Types to Company Codes
    You assign withholding tax categories to company codes.
    2.2.2.12.1     Use
    To work with withholding tax .
    2.2.2.12.2     Prerequisites
    Company code
    Tax code
    2.2.2.12.3     Procedure
    39.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Tax s &#61614;  Company Code&#61614;  Assign Withholding Tax Types to Company Codes
    40.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Company code           The company code is an organizational unit within financial accounting.     
    Withhld tax type          This indicator is used to classify the different types of withholding tax.     
    Recipient type           The type of recipient can be defined in the vendor master record     
    With/tax agent           you tell the system that for this withholding tax type, the company code is entitled to withhold tax on behalf of a vendor     
    W/Tax obligated from          Date from which.The company code is obligated to withhold tax for the given withholding tax type     
    Oblig. to W/Tax Until          Date to which. The company code is obligated to withhold tax for the withholding tax type.
    W/tax Number          This is a number issued by the tax authorities per withholding tax type.     
    Subject to W/tax          you tell the system that the company code for this withholding tax type is subject to withholding tax.     
    Self –Withhldg agent           the company code can withhold tax on its own behalf for this withholding tax type     
    Wxeption number          Numbered assigned by the relevant authorities for exemption from withholding tax.
    Exemption reas.          used to classify different types of exemption from liability to a particular withholding tax.     
    Exemption rate          Rate of exemption from withholding tax.
    Exempt from           Date from which withholding tax exemption applies.
    Exempt to          Date up to which withholding tax exemption applies.
    2.2.2.13     Activate Extended Withholding Tax
    You can activate extended withholding tax.
    2.2.2.13.1     Use
    To work with extended withholding tax.
    2.2.2.13.2     Prerequisites
    Company code
    2.2.2.13.3     Procedure
    41.     Access the activity using the following navigation options:
    Transaction Code     SPRO
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Tax s &#61614;  Company Code&#61614;  Activate Extended Withholding Tax
    42.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Company code           The company code is an organizational unit within financial accounting.     
    Extended w/tax          You select this indicator; you activate extended withholding tax processing.     
    2.2.2.14     Accounts for Withholding Tax to be Paid Over
    You define the accounts for the withholding tax to be paid over.
    2.2.2.14.1     Use
    Used for posting extended withholding tax.
    2.2.2.14.2     Prerequisites
    Tax code
    GL Account must exist in company code
    2.2.2.14.3     Procedure
    43.     Access the activity using the following navigation options:
    Transaction Code     OBWW
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Tax s &#61614;  Accounts for Withholding Tax&#61614;   Accounts for Withholding Tax&#61614;   Define Accounts for Withholding Tax to be Paid Over
    44.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Transaction      WIT     The transaction keys are used to determine accounts or posting keys for line items which are created automatically by the system.
    Withholding tax type           Indicates a grouping of valuation areas to facilitate the administration of the table of standard accounts by minimizing the number of entries.     
    Withholding tax code          Key which has a different meaning depending on the procedure. It is used to differentiate account determination.     
    Account           The G/L account number identifies the G/L account in a chart of accounts.     
    2.2.2.15     Define Accts for W/hold.Tax for "Gross.Up" Offsetting  Entry
    You can define the accounts for the withholding tax offsetting entry for the "grossing up" procedure .
    2.2.2.15.1     Use
    Used for posting extended withholding tax.
    2.2.2.15.2     Prerequisites
    Tax code
    GL Account must exist in company code
    2.2.2.15.3     Procedure
    45.     Access the activity using the following navigation options:
    Transaction Code     OBWU
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Tax s &#61614;  Accounts for Withholding Tax&#61614;   Accounts for Withholding Tax&#61614;  Define Accts for W/hold.Tax for "Gross.Up" Offsetting Entry
    46.     On the Overview screen, make the following entries:
    Field Name     Description     Usage     Remarks
    Transaction      GRU     The transaction keys are used to determine accounts or posting keys for line items which are created automatically by the system.
    Withholding tax type           Indicates a grouping of valuation areas to facilitate the administration of the table of standard accounts by minimizing the number of entries.     
    Withholding tax code          Key which has a different meaning depending on the procedure. It is used to differentiate account determination.     
    Account           The G/L account number identifies the G/L account in a chart of accounts.     
    2.2.2.16     Define Accounts for Self-Withholding Tax
    You can define the accounts to which withholding tax is posted.
    2.2.2.16.1     Use
    Used for posting extended withholding tax.
    2.2.2.16.2     Prerequisites
    GL Account must exist in company code
    2.2.2.16.3     Procedure
    47.     Access the activity using the following navigation options:
    Transaction Code     OBWS
    IMG Menu     IMG Menu Path :
    Financial Accounting &#61614; Financial Accounting Global Settings &#61614; Withholding Tax&#61614;  Withholding Tax&#61614; Extended Withholding Tax s &#61614;  Accounts for Withholding Tax&#61614;   Accounts for Withholding Tax&#61614;  Define Accounts for Self-Withholding Tax
    48.     On the Overview screen, make the following entries:

  • Direct tax and indirect tax

    What is the difference between Direct Taxes and indirect Tax. In  which Cases those are both are applicable .
    please give to me details
    regards
    RAM

    Hi
    a direct tax is one paid directly to the government by the persons (juristic or natural) on whom it is imposed (often accompanied by a tax return filed by the taxpayer). Examples include some income taxes, some corporate taxes, and transfer taxes such as estate (inheritance) tax and gift tax.
    an indirect tax or "collected" tax (such as sales tax or value added tax (VAT)); a "collected" tax is one which is collected by intermediaries who turn over the proceeds to the government and file the related tax return.
    assign points if useful

  • Base amount of a tax

    How to get the base amount of a tax deducted through system (which is already configured through system)

    Se38 - 
    RFIDYYWT
    RFKQSD10     Withholding Tax Report to the Tax Authorities (Germany)
    RFKQSE10     Withholding Tax Report (DME) to the Tax Authorities (Spain)
    RFKQSE11     Form 190 to the Tax Authorities (Spain)
    RFKQSE20     Withholding Tax Reporting Model 210 Spain
    RFKQSF10     Withholding Tax Report - France
    RFKQST00     Withholding Tax Return
    RFKQST10     Withholding Tax Report to the Tax Authorities
    RFKQST20     Withholding Tax Report for the Vendor
    RFKQST30     Withholding Tax Report to the Tax Authorities (Japan)
    RFKQST50     Withholding Tax Report to the Italian Tax Office
    RFKQST70     Belgian Withholding Tax Reports 281.50 and 325.50
    RFKQST71     Program for SAPscript
    RFKQST80     Withholding Tax Report - France
    RFKQSU20     1099 Listings
    RFKQSU30     1099 MISC Form, Tape Reporting
    RFKQSU40     1042 Reporting (USA)

  • How to Create a Parameterized Report - The select "- ALL-" for department and manager not working.

    I downloaded the OEHR Sample Objects application and followed the steps in Oracle® Application Express Advanced Tutorials
    Release 3.2.
    The parameters and report seem to be working correctly except when I enter "all" for department or manager I get no matching hits.
    What's the most efficient way to retrieve "all" if the users selects all for dept and mgr - thus we'd want to return all records in the table.
    Region snipprt
    Enter Search
    Search Employee
    Dept
    - ALL -
    Administration
    Marketing
    Purchasing
    Human Resources
    Shipping
    IT
    Public Relations
    Sales
    Executive
    Finance
    Accounting
    Treasury
    Corporate Tax
    Control And Credit
    Shareholder Services
    Benefits
    Manufacturing
    Construction
    Contracting
    Operations
    IT Support
    NOC
    IT Helpdesk
    Government Sales
    Retail Sales
    Recruiting
    Payroll
    Mgr
    - ALL -
    Steven King
    Neena Kochhar
    Lex De Haan
    Alexander Hunold
    Nancy Greenberg
    Den Raphaely
    Matthew Weiss
    Adam Fripp
    Payam Kaufling
    Shanta Vollman
    Kevin Mourgos
    John Russell
    Karen Partners
    Alberto Errazuriz
    Gerald Cambrault
    Eleni Zlotkey
    Michael Hartstein
    Shelley Higgins
    The following is the sql that was provided as part of the turitoral.
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
         (lower(first_name) like '%' || lower(:P1_NAME) || '%' OR
          lower(last_name) like '%' || lower(:P1_NAME) || '%')
    AND department_id = decode(:P1_DEPT,'%null%',department_id,:P1_DEPT)
    AND manager_id = decode(:P1_MGR,'%null%',manager_id,:P1_MGR)

    Hi,
    Use this..
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
        (:P1_NAME IS NULL OR
            (:P1_NAME IS NOT NULL AND
                    (lower(first_name) like '%' || lower(:P1_NAME) || '%') OR
                    (lower(last_name) like '%' || lower(:P1_NAME) || '%')
        ) AND
        (:P1_DEPT IS NULL OR department_id = :P1_DEPT) AND
        (:P1_MGR IS NULL OR manager_id = :P1_MGR)

  • Adobe software - How I want to buy it

    As a video editor I only want software that is of use to me in my activity, namely: -
    Adobe Premiere
    Adobe Encore
    Adobe Audition
    Adobe After Effects
    Adobe Photoshop
    + export plug-ins (media encoder etc)
    What I would like is for Adobe to bundle this software together as say,
    "Adobe CS 2013 Video"
    and to make them available with a perpetual license.
    What I do not want is: -
    non perpetual licensed software,
    to pay vastly more than users in the USA for the same product, excluding local taxes
    all the software on the present CC model
    to buy other producers software (Edius, Hitfilm, Nuke, Vegas, Media Composer, Corel etc)
    Now to help with Adobe's cash flow I do not mind paying a monthly subscription to just as long as: -
    The subscription cost over a period of time equal to the historical CS suite version upgrade timescale is the same as I would pay for the update in one lump sum
    The subscription cost is the same worldwide excluding local taxes
    That Adobe guarantees not to remove features from any of the software products within the suite purchased
    That Adobe guarantees to release reasonable product updates during a calendar year
    That Adobe adopt a service level agreement with its subscribers to resolve software bugs within a three month period after having been notified of the bugs by the users
    Adobe management, this is what I want, please make your sales model flexible enough to enable me to buy your software.
    Also can I suggest that Adobe management listen to the customers, you have to report to your shareholders and make profit, but it is us, the customer who actually buys your products and we really do not want to take our business elsewhere.
    OK, guys this is what I want what do you want?

    Software (irrespective of the format it's supplied in) is subject to VAT.
    So what? You forget the difference between excise duties and VAT. I was only talking about excise duties, not VAT, since it is completely irrelevant.
    Is that your effort to excuse Adobe for ripping off European customers with a 40% price differential between US and Europe EXCLUDING taxes? Same product in the same language from the same download servers and using the same activation servers, while their own profit margins are around 95% higher in Europe than in the US, due to diligent use of tax treaties.
    See example below:
    Yearly Data all excluding sales tax or VAT
    USA
    Europe
    % Difference
    Product cost for single CC upgrade subscription*
    $ 150
    $ 150
    nihil
    Sales price one year upgrade subscription
    $ 360
    $ 504
    40 %
    Profit margin before tax
    $ 210
    $ 354
    69 %
    Corporate Taxes
    35 %
    25 %
    NA
    Profit after corporate tax
    $ 136.50
    $ 265.50
    95 %
    * This is an assumed cost price. In practice it is probably much lower.

  • How to print all values in record datatype?

    Hello friends ,
    I wrote one function which returned the  departments record type.
    when  ever I called the function that returned departments record type and stored  in department record type variable..I have to print all the values in record...
    What  can I do???
    My code is like this...
    set serveroutput on
    declare
    type depcur is ref cursor return departments%rowtype;
    dep depcur;
    rec departments%rowtype;
    function ref_cur_demo(ref1  in depcur) return departments%rowtype
    is
    v_dep departments%rowtype;
    begin
    loop
    fetch ref1 into v_dep;
    exit when ref1%notfound;
    end loop;
    return v_dep;
    end;
    begin
    open dep for select *from departments;
    rec:=ref_cur_demo(dep);
    --Here I have to print all the record variables;
    end;

    Hi Gopi,
    You have to write the program in different way. In your case the function always returns only one value. You can see only one department detail as output.
    To display a record type variable you need to use record type variable name .(dot) field name.
    SQL> set serveroutput on
    SQL> declare
      2  type depcur is ref cursor return departments%rowtype;
      3  dep depcur;
      4  rec departments%rowtype;
      5  function ref_cur_demo(ref1  in depcur) return departments%rowtype
      6  is
      7  v_dep departments%rowtype;
      8  begin
      9  loop
    10  fetch ref1 into v_dep;
    11  exit when ref1%notfound;
    12  end loop;
    13  return v_dep;
    14  end;
    15  begin
    16  open dep for select *from departments;
    17  rec:=ref_cur_demo(dep);
    18  --Here I have to print all the record variables;
    19  dbms_output.put_line(rec.department_id||'  '|| rec.department_name||'    '|| rec.manager_id||'    '||rec.location_id);
    20  end;
    21  /
    270  Payroll        1700
    PL/SQL procedure successfully completed.
    Here is the sample code which will demonstrates using ref cursors.
    SQL> create or replace function get_dept_detail
      2  return sys_refcursor
      3  is
      4
      5     x_res sys_refcursor;
      6
      7  begin
      8
      9     open x_res for select * from departments;
    10     return x_res;
    11
    12  end get_dept_detail;
    13  /
    Function created.
    SQL>
    SQL>
    SQL> -- Execution
    SQL>
    SQL> declare
      2
      3      res sys_refcursor;
      4      l_rec departments%rowtype;
      5
      6  begin
      7
      8     res := get_dept_detail;
      9
    10     loop
    11        fetch res into l_rec;
    12        exit when res%notfound;
    13        dbms_output.put_line( l_rec.department_id||'  '||l_rec.department_name);
    14     end loop;
    15
    16  end;
    17  /
    10  Administration
    20  Marketing
    30  Purchasing
    40  Human Resources
    50  Shipping
    60  IT
    70  Public Relations
    80  Sales
    90  Executive
    100  Finance
    110  Accounting
    120  Treasury
    130  Corporate Tax
    140  Control And Credit
    150  Shareholder Services
    160  Benefits
    170  Manufacturing
    180  Construction
    190  Contracting
    200  Operations
    210  IT Support
    220  NOC
    230  IT Helpdesk
    240  Government Sales
    250  Retail Sales
    260  Recruiting
    270  Payroll
    PL/SQL procedure successfully completed.
    SQL>
    SQL> -- In SQL*PLUS
    SQL>
    SQL> var res refcursor
    SQL> execute :res := get_dept_detail;
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print res;
    DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID LOCATION_ID
               10 Administration                        200        1700
               20 Marketing                             201        1800
               30 Purchasing                            114        1700
               40 Human Resources                       203        2400
               50 Shipping                              121        1500
               60 IT                                    103        1400
               70 Public Relations                      204        2700
               80 Sales                                 145        2500
               90 Executive                             100        1700
              100 Finance                               108        1700
              110 Accounting                            205        1700
    DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID LOCATION_ID
              120 Treasury                                         1700
              130 Corporate Tax                                    1700
              140 Control And Credit                               1700
              150 Shareholder Services                             1700
              160 Benefits                                         1700
              170 Manufacturing                                    1700
              180 Construction                                     1700
              190 Contracting                                      1700
              200 Operations                                       1700
              210 IT Support                                       1700
              220 NOC                                              1700
    DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID LOCATION_ID
              230 IT Helpdesk                                      1700
              240 Government Sales                                 1700
              250 Retail Sales                                     1700
              260 Recruiting                                       1700
              270 Payroll                                          1700
    27 rows selected.
    SQL>
    Cheers,
    Suri ;-)

Maybe you are looking for

  • Acrobat X - unable to modify PDFs created in Acrobat 8

    I just installed Acrobat X.  I had Word documents that I had previously turned into PDFs and using Acrobat 8 I added comments, hightlights, etc. Now with Acrobat X when I open one of those PDFs, I get the informational message at the top "The file yo

  • Bing "Map It" not showing up in any window accept when imputing a contact for the first time

    Bing's "Map It" function that is supposed to be present in office 2013 through emails is not... ive tried many different tests trying to input the addresses in different formats and there is no ability to get a map to the location. Maybe i am just mi

  • Cable needed to output video to TV

    I'm a complete neophyte, when it comes to using my computer to watch video in my TV. I have a MacBook, model identifier 5,2. What cables would I need to transfer video from the Mac to a TV with HDMI connectors. Can it be done?

  • Simple one - set servlets file I/O destination

    Hi, I'm running J2SDKEE1.3 with deploytool and what I simply want to know is this, that if I use the following code in a servlet: ObjectOutputStream out_ = new ObjectOutputStream( new FileOutputStream("messagehr.txt")); out_.writeObject(new String("w

  • Authenticating AIR application auto-update

    Hi, I'm building documentation for my desktop-product with RH8 and AIR SSL auto-update functionality.  It looks like I need to expose any revision of my documentation on Internet for the auto-update.  My company does not want to expose it freely sinc