SALES JOURNAL

PLEASE SUGGEST ME THE TABLES AND FIELDS INVOLVED AND IF POSSIBLE THE PROCEDURE TO DESIGN A REPORT TO DISPLAY SALES JOURNAL TO DISPALY MONTH WISE SALES JOURNAL BASED ON SALES ORGANISATION, MATERIAL NUMBER,BILLING DATE

Hi,
you should not cry in the forums. Now answering your 3rd question I think you should ask a experienced consultant for help or attend some SAP educational courses.
Regards
Gregor

Similar Messages

  • SAP Sales Journal Entry

    Hi to all,
    I am currently implementing SAP SD in my company.
    With my current configuration and conditions following journal entry is posted in FI :
    Customer AC        100    Debit
                         Sales Revenue           80   Credit
                         Sales Tax Payable      20   Credit
    In above scenario , we are recording the net sales. But my clients also have a requirement to know what gross sales are , as in this case gross sales in 100. They need to publish this in public documents.
    Please any one can advice how can i record gross sales , as net sales are derived from condition and are posted to Fi based on the account key.
    Thankign you all in advance.
    Have a nice day,
    Best Regards,
    Samad Farooq
    00923332131219

    HI Samad Farooq,
    This can be done through by using subtotal column in pricing procedure.
    In pricing procedure for final step take a total for net value and Tax. Then assign one subtotal to that.  Once you save a billing document the gross value will get copied in Standard billing table. From there you can pick the sum value.
    Tis data will be saved in VBRK table wrt to billing doc,
    Hope this will be helpful.
    Regards,
    Nagesh

  • Sales Journal Report in 4.6c

    Hi All,
    I need a report which should include:
    Company code#
    Doc #
    Amount
    Doc Type
    Doc Date
    Payer#
    Payer Name
    Any help would be useful

    Hi,
    You can use data from VBRK table for your requirement. this gives the list of billing documents (Sales documents) for the comapny code with all the data that you have listed.
    Pls explore the csutomised Sales Info structures in your system which might suit your requirement. I am sure there will be one - For eg, the std SIS t.code MCTE collates data at the Sales Org level.
    Hope this helps!
    Thanks,
    Siva

  • Sales journal report

    Hi All,
    I need a report whic should include:
    Company code
    Doc #
    Amount
    Doc Type
    Doc Date
    Payer#
    Payer Name
    Any help would be useful

    I am afraid you need customized query or crystal report to achieve your goal.  The current Document Journal Report could only sorted by Journal Transactions. Customer is not the key field that you may sort.
    Thanks,
    Gordon

  • Error While Submitting the Custom Report

    Hello,
    We have requirement on reports 6i to customise a standard report 'Sales Journal By Customer'. Requirement is we need to add a new fields in the layout.
    We have copied the standard program and parameters and defined a new custom program and also added the required additional parameters. But when we are trying to submit the custom program it is giving the following error:
    APP-FND-00806: The default value RTT is invalid for the Reporting Context segment. Your default value will be ignored. Please inform your system administrator that:
    Add the value RTT to the value set for segment Reporting Context, or choose another default value in the Key Flexfield Segments form or Descriptive Flexfield Segments form. Use the Edit Concurrent Program or Define Report Set form for Standard Report Submission report defaults.
    Value RTT for the flexfield segment Reporting Context does not exist in the value set FND_MO_REPORTING_ENTITY.
    Standard report call a query inside the rdf.
    written in parameter sql stmt.
    SELECT ENTITY_NAME, ENTITY_ID
    FROM FND_MO_REPORTING_ENTITIES_V
    WHERE REPORTING_LEVEL = $FLEX$.FND_MO_REPORTING_LEVEL
    AND ROWNUM = 1;
    now we are change this to
    SELECT ENTITY_NAME, ENTITY_ID FROM FND_MO_REPORTING_ENTITIES_V WHERE ENTITY_NAME = 'RTT';
    we are making hard code.
    we are making a request and attach that report to that request and run the request.
    We have done this customisation at our local instance but we are facing the same issue .We are unable to figure out the issue.
    Does any of you have any idea why we are getting this error.
    It would be great if you can help us regarding this issue.
    Thanks in Advance

    as this is an eBuiness-related error, you have more chance to get an answer in an eBusiness-related forum, maybe here OA Framework

  • FI Number Range Number by Document Type -- different by company code

    In transaction <b>OBA7</b>, I assign a <b>number range number</b> (T003-NUMKR) to each FI Document Type. 
    We have over 40 company codes on SAP.  One of those 40 company codes requires sequential numbering of FI documents for the whole company code across all document types.  The other company codes require different FI number ranges based upon document type.
    I need to identify a solution where I can assign a different <b>number range number</b> by document type for different company codes.
    For instance, company code IT01 should use a single <b>number range number</b> for all FI documents -- i.e. RV, SA, AB, etc. Then, all other company codes should use a different <b>number range number</b> for each document type.
    Any ideas here?  My problem company code is in Italy where our accountants tell us all FI Documents must be sequential, without gaps.

    Hi Colin,
               The point is that it is about journal<b>s</b>
               Sales Journal = Doc type RV
                Cash Sales Journal = Doc Type DR or have RV&DR use the same number range.
                 For clearing you will have to create new doc types eg.
                        AB = GL Clearing
                        KB = Creditor clearing
                        DB = Debitor clearing
    The existing companies will also have to use these since these defaults are set in customising, but you have clearly defined Journals that comply with the requirements
    It is probable that you will need additional doc types,to ensure compliance. In my case all creditor invoices used Doc type KR/KG (SAP Standard and they use the same number range), for the Italian company i then had:-
                     KR/KG = Domestic Purchase Journal
                    New Doc Type = EU Purchase Journal
         etc.
    Kind regards

  • Types Of Reporting.

    Hi Experts,
    This is Guru. New bie to ABAP. One of my friend said as a fresher in ABAP programming i must first focus on <b>Reporting stuffs</b>. Can anyone say what are the types of reporting in ABAP programming ?
    Thanks in advance,
    Guru.

    Hi,
    1.     Developed a report to display all purchase order whose goods receipt have been made but not invoiced.
    2.     Developed a Division wise Sales Analysis report.
    3.     Developed a report to display unconfirmed Purchase Orders.
    4.     Created a report to display a list of Sales orders, Ordered by customer who doesn’t have credit limit more       
    5.     Developed a Stock Tracking report, which shows stock of various materials in various Storage locations.
    6.     Developed a report for customer out standings.
    7.     Developed a report for monthly dispatches.
    8.     Developed a report for displaying the vendor balances.
    9.     Created Vendor Performance report, which lists the vendor name, Materials Supplied, planned, Actual delivery items, Payment terms and Prices.
    10.     Created an Interactive Reports on blocked invoices.
    11.     Report to display all material rates by using Material number, Sales Organization, and Distribution Channel and condition type.
    12.     Developed a report which will list out all the purchase order details and the secondary list contains all the information about the supplier.
    13.     Developed an interactive report which displays the list of purchase requisitions in the basic list according to the user’s selection screen and which in turn allows the user to modify the purchase requisition in the secondary list.
    14.     Created an interactive report to list the purchase orders details for a vendor.
    15.     Created Report to Display the Details of Sales Quantity in the given date. Outputs Material No, Material Disc, Plant, current Month Sales, Previous Month Sales, Last Year same Month and Date (Quantity). Data was extracted from  VBRK, VBRP.
    16.     Developed ABAP List View report program for Material Values to display list of all materials under a plant. Selection screen contains plant, material type.
    17.     Developed a Report To print report of all the items whose quantity is bellow re-order level.
    18.     Created a report to display sales order and dispatch details.
    19.     Developed a report to display the list of Inventory Differences by adding two new fields.
    20.     Developed AP aging report sort by Invoice date and Receipt date over dues Analysis.
    21.     Developed a report for mass selecting and printing Material Master Changed History.
    22.     Developed an interactive report to display sales orders for particular customer, items for particular order.
    23.     Developed a report that displays list of purchase requisition with details like MRP controller, release date and unit of measure.
    24.     Developed a report to display unused material numbers.
    25.     Developed vendor master analysis report, which lists the material including material number and storage location.
    26.     Developed an Interactive list for purchase requisitions at a given plant.
    27.     Developed a report to display list of purchase order details.
    28.     Developed a report, which lists delivery number, delivery quantity, customer number, material number and material description for a given shipping point.
    29.     Developed a report to display all sub-totals and grand totals for a particular vendor.
    30.     Developed a report that shows a list of purchase requisition and purchase orders for a selected vendor, by material group listing by material.
    31.     Developed a report to get list of purchase orders created during a particular month.
    32.     Developed the outstanding purchase order report based on acknowledgement date.
    33.      Developed material description report to display list of materials, language key, material description based on material type and plant.
    34.     Developed a report that lists purchase order entered into SAP, limit the selection to purchase order created during a specific period.
    35.     Created report, which will print the material stock, which will find out material group for material and find out the material description for each material.
    36.     Created an interactive report, which lists the customer details in the basic list. If the customer number is selected, the corresponding sales orders and item details will be displayed in the secondary lists. Drill down to transaction “MM03” is also provided.
    37.     Created utility report to copy batch characteristics from one batch to already existing another batch.
    38.     Created an ALV report to provide detailed information regarding all Materials by taking plant, material and material type as input.
    39.     Generated a warranty evaluation report.
    40.     Generated a report, which list out all the customers who have the warranty period for their product.
    41.     Developed a report to list warranty expired customers.
    42.     Created Vendor Performance Report that lists Vendor Name, Materials Supplied, Planned & Actual Delivery Times, Payments Terms and Prices.
    43.     Reports created to list out the sales documents created everyday, for credit approvals.
    44.     A report to monitor transportation details for delivery schedule.
    45.     Block for posting and mark for deletion all inactive vendors in all company codes and purchasing organization levels for period of 2 years.
    46.     Report to generate Material valuation.
    47.     Generated an interactive report, which will list out all the purchase order details and all the information about suppliers.
    48.     Generated a report listing stock position for a chosen material for chosen storage location in a given plant.
    49.     Developed a report on goods issue, which generate the information about how much stock issued to the customer according to the sales order for a particular period.
    50.     Delivery due list: This report program generates list with details of quantity available, quantity planned, quantity delivered and quantity still to be delivered for sales orders and stock transport orders based on shipping point.
    51.     Involved as a team member in generating interactive report program to give details on sales orders, vendors, customers for a particular material.
    52.     Created a report to display item, material, quantity, purchase order number, vendor and goods receipt date based on goods receipt number.
    53.     Developed an Interactive report that list out all the materials for a given plant. Secondary List contains Vendor who supplies the chosen material
    54.     Monthly warehouse report.
    55.     Report on customer payment, items cleared and discounts.
    56.     Material availability report.
    57.     Report on Dollar Value of Material, quantity on hand, average monthly quantity used.
         Line item details for financial journal entries.
         Financial gross sales margin.
         Ending inventory balances.
    58.     Shippable details report.
    59.     Report for all blocked invoices.
    60.     Purchase order wise GR document   and invoice receipt details line item wise.
    61.     Open sales order report. – VA05
    &#61558;     Created Classical and Interactive report to display all the Purchase Orders for the Purchasing Organization, Purchase groups and display the total, and individual values of all the Purchase Orders.
    &#61558;     Generated an Interactive report that displays vendor wise Purchase Order details.
    62.     Created an interactive report to display Sales Order data. In the basic list it displays the header data like SO number, created by, customer number etc., At the first level, SO screen and Customer master data is displayed by selecting appropriate item in the basic list. At the second level, report displays selected line item for the Sales order
    63.     Created a Report to display the pricing conditions in a sales order with standard details.
    64.     Created an report for purchase variance.
    65.     Created report to compute and display the list of outstanding orders by ship-to-party or sold-to-party.
    66.     A report on Sales Register:  It lists the details like Invoice No, Date, Customer no, Sales value, Sales tax etc.
    67.     A Report to display the commissions for the sales department sorted by sales representative.
    68.     A Report to get the status of a particular delivery items with respect to a customer from specific shipping points over a given period.
    69.     A Report to show the list of Vendors with Blocked Payments.
    70.     An Interactive list showing all the Sales Areas, Customers of that sales area, Materials Ordered by them, information regarding materials and their net price.
    71.     An Interactive List displaying SO, Line Items which need to be delivered by certain Date.
    72.     An ALV Report for PO history for a particular period. Gives PO details based on specified company code, plant, Invoice receipt date and Vendor number.
    73.     An Interactive Report showing Vendor Information and his corresponding Bank Details.
    74.     Developed a report to compare the calculated average selling price for an item to a customer versus the current standard price for that item to that customer.
    75.     Developed a report to display Outstanding Quantity for Material.
    76.     Developed a report to drill down the displayed list, displaying the subsequent list of the line items for the selected purchase order. 
    77.     Developed a report to display line item details information for financial journal entries.
    78.     Developed a report to List the Purchase Orders must allow the user to select the types of Purchase Orders.
    79.     Developed a report to displays all the Sales Orders processed to one particular customer for a given range of time.
    80.     Material Master Detail report for a given plant and material type, displaying material and plant depending on material.
    81.     •&#61472;&#61472;&#61472;&#61472;&#61472;&#61472;Sales Journal - which displays sales details for a particular plant  in  a  particular period of time.
    82.     •     developed a report to display the stock details.
    83.     Created a report for list of purchasing group for given plants. this report displays the list of plants, purchasing group, description of purchasing group  according to the plant.
    84.     Created Vendor performance Report that lists vendor related details.
    85.     Developed a report to display Vendor master information and vendor bank details.
    86.     Developed a report to display all purchase orders whose goods receipt have been made but not invoiced.
    87.     Developed Division wise Sales Analysis report.
    88.     Developed a report to display unconfirmed Purchase Orders.
    89.     Developed a report to display list of Materials.
    90.     Created a report to display a list of Sales orders, Ordered by customer who doesn’t have credit limit more.
    91.     Developed a Stock Tracking report, which shows stock of various materials in various Storage locations.
    92.     Developed a report for customer out standings.
    93.     Developed a report for monthly dispatches.
    94.     Developed a report for displaying the vendor balances.
    95.     Created Vendor Performance report, which lists the vendor name, Materials Supplied, planned, Actual delivery items, Payment terms and Prices.
    96.     Created report, which will print the material stock, which will find out material group for material and find out the material description for each material.
    97.     Created an interactive report, which lists the customer details in the basic list. If the customer number is selected, the corresponding sales orders and item details will be displayed in the secondary lists. Drill down to transaction “MM03” is also provided.
    98.     Created utility report to copy batch characteristics from one batch to already existing another batch.
    99.     Created a Report to display the pricing conditions in a sales order with standard details.
    100. Created an report for purchase variance.
    100.     Created report to compute and display the list of outstanding orders by ship-to-  party or sold-to-party.
    101.     Created Classical and Interactive report to display all the Purchase Orders for the Purchasing Organization, Purchase groups and display the total, and individual values of all the Purchase Orders.
    102.     Generated an Interactive report that displays vendor wise Purchase Order details.
    103.     Created an interactive report to display Sales Order data. In the basic list it displays the header data like SO number, created by, customer number etc., At the first level, SO screen and Customer master data is displayed by selecting appropriate item in the basic list. At the second level, report displays selected line item for the Sales order.
    104.     Contract Compliance Report : This report looks at the actual customer purchases (QTY) by period vs. targeted quantities.
    105.     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.
    106.     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.
    107.     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.
    108.     Audit Trial For Pricing Conditions : This report  tracks the manual changes made to the Pricing Conditions.
    109.     Back Order Report by Customer, Material or Product Line : The definition of a back order is an item, which cannot be shipped on the date necessary to meet the customer’s requested delivery date.
    110.     This caters the back order by customer, material or product line which is to be used by DS.
    111.     Match Confirmation Report : This program reports the discrepancies in characteristics between the materials and the machine for a given production version.
    112.     This report will compare characteristics of the material to the machine characteristics and lists any discrepancies between the characteristics. This will replace the current legacy report (Mismatch report). The program will provide information that will prevent the Company from producing products on the wrong modules that can lead to significant waste, rework and potential product recalls.
    113.     Invoice Out of Tolerance : This will report against the customer invoices that are below a predefined margin rate. This will be the primary indicator of pricing problem.
    114.     Here Customer invoices below a specified gross margin value are reported.
    115.     Pricing Override Report : When there is a legitimate need to override system proposed pricing, it should be documented for use in downstream decision making.
    116.     On demand report detailing overrides to the proposed system pricing along with override reason. This report will allow for analysis and possible adjustment of pricing conditions.
    118. Classical & interactive reporting.
            Production report, Stock Balancing report, Delivery Schedule,
            Material dispatch Updation, Material Freight Updation,
            Material wise serial number for production & dispatch, Valued Stock Report,
            Machine Dispatch of RG1 (Excise Returns)..
            Warranty Reports (Item wise, Dealer wise, Machine wise).
            Warranty expenses of machines with in the warranty period and beyond warranty
            Period.                                             
            List of failures value wise and frequency wise.
    119. Delivery Performance Report - The delivery performance report is used to compare the    customer delivery schedules with the deliveries created in SAP to determine whether they are early, on-time, or late. This measurement is done by comparing the customer request date against the goods issue date from the delivery. 
    120. Batch Level Inventory Report - This is a quick method to review all inventory that is in the entire plant or being more selective, in a particular storage location.
    121. Sales by Subcontractor - This report presents sales numbers by subcontractor for a given plant or all plants.
    122.Generated reports for Customer info and Waiting list.
    1.     Created an interactive report that displays sales order information like sales order number, order reason, sold to party and delivery status. The detailed list gives item data and delivery status.
    2.     Maintenance of existing reports. Made changes as per their requirements. Developed new reports related to SD and MM.
    3.     Another report that takes date and customer ranges as input and gives the invoice details. If the user select any of the invoice, it checks whether it is credit or debit based on that further details of the particular invoice would be displayed as an interactive report.
    4.     Interactive report which displays all the purchase orders for one particular customer, the items      order for that particular order, quantity ordered, goods issue date and contact information about      that customer.
    5.     Created report lists for the gross sales, credit returns, gross weight for the customer for the      current year and comparing the same with that of the previous year for the same period. The data      is selected from KNVV, BKPF, BSEG and MARA.
    6.     Report that lists the shipping point, loading point, transport partner name and the shipping date      given the sales order number as user input.
    7.     Created an interactive list displaying sales orders and line items, which needed to be delivered by      a certain date. Selection criteria were used to enter the specified delivery dates.
    8.     Developed a  report which displays material wise Suppliers for a given plant.
    9.     Developed a  report that displays Sales Analysis By Customer.
    10.     Developed a report that tracking down the invoices.
    11.     Developed Monthly Extract Report for Indirect Sales.
    12.     Developed a report program for displaying General Material data according to the selection of the material number and batch number by the user provided on the  selection  screen.
    13.     Report that displays all the late shipments in a particular period of time.
    14.     Developed vendor performance report that lists vendor name, material supplied, planned and actual delivery times, payment terms and prices.
    15.     Developed a  report that displays a list of Purchase Requisitions.
    16.     Developed a report in material master that outputs valuated stock, grouped by material type and plant . Data was extracted from MARA, MARC, MARD, MAKT, EKKO, EKPO, MKPF, MSEG and T001W.
    17.

  • Find Queries associated to Search Defines

    Hi,
    We are trying to consolidate and work out where we are with our list of queries (one very long list) and which ones re used where. I know how to find the list of queries used in alerts, for example:
    SELECT T0.Name, T0.Active, T1.QName, T2.CatName, T4.U_Name  FROM OALT T0 INNER JOIN OUQR T1 ON T0.QueryId = T1.IntrnalKey INNER JOIN OQCN T2 ON T1.QCategory = T2.CategoryId INNER JOIN ALT1 T3 ON T3.Code = T0.Code INNER JOIN OUSR T4 ON T3.UserSign = T4.USERID
    How ever I was wondering if anyone can help point me in the direction to find the queries associated to:
    Formatted Searches on forms - a query or tables where this information is possibly stored so I can list all queries used on forms.
    User Menus - a query that allows me to list the queries linked to user menus
    Any help or guidance is much appreciated
    Many Thanks
    Matthew

    Hi
    I found this query on the forum some time ago. It gives you a list of formatted searches.
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 7 THEN 'Drag & Relate'
    WHEN 9 THEN 'Drag & Relate'
    WHEN 10 THEN 'Query Wizard'
    WHEN 12 THEN 'Define Costing Field'
    WHEN 13 THEN 'Choose From List'
    WHEN 17 THEN 'User Preferences'
    WHEN 18 THEN 'Name Change'
    WHEN 19 THEN 'EU Sales Report -Selection Criteria'
    WHEN 20 THEN 'Serial Numbers Management - Selection Criteria'
    WHEN 21 THEN 'Define Serial Numbers'
    WHEN 22 THEN 'Serial Number Transactions Report - Selection Criteria'
    WHEN 23 THEN 'Serial Number Transactions Report'
    WHEN 24 THEN 'Create String for Serial No.'
    WHEN 25 THEN 'Select Serial Numbers'
    WHEN 26 THEN 'Serial Number Completion'
    WHEN 27 THEN 'Serial Number Completion - Selection Criteria'
    WHEN 28 THEN 'Choose S/N and Batches for Jtree - %s'
    WHEN 30 THEN 'User-Defined Fields'
    WHEN 31 THEN 'Manage User Fields'
    WHEN 34 THEN 'Field Data'
    WHEN 38 THEN 'Settings'
    WHEN 39 THEN 'Document Journal'
    WHEN 40 THEN 'Batch Management - Selection Criteria'
    WHEN 41 THEN 'Define Batch Numbers'
    WHEN 42 THEN 'Batch Number Selection'
    WHEN 43 THEN 'Batch Number Completion'
    WHEN 44 THEN 'Batch Number Completion'
    WHEN 45 THEN 'Batch Number Transactions Report'
    WHEN 46 THEN 'Batch Number Transactions Report - Selection Criteria'
    WHEN 47 THEN 'Tax Report'
    WHEN 48 THEN 'EU Sales Report'
    WHEN 49 THEN 'Tax Error Report'
    WHEN 50 THEN 'Define Sales Tax Jurisdictions - Selection Criteria'
    WHEN 51 THEN 'Define Sales Tax Codes'
    WHEN 53 THEN 'Tax Report - Selection Criteria'
    WHEN 54 THEN 'Landed Costs - Split'
    WHEN 58 THEN 'Document Journal'
    WHEN 59 THEN 'Accounts - Selection Criteria'
    WHEN 60 THEN 'Filters Amount'
    WHEN 61 THEN 'Tax Report'
    WHEN 62 THEN 'Define Warehouses'
    WHEN 63 THEN 'Define Item Groups'
    WHEN 64 THEN 'Define Account Segmentation'
    WHEN 65 THEN 'Purchase Order Confirmation'
    WHEN 66 THEN 'Define %s Segment Codes'
    WHEN 67 THEN 'Define Inventory Cycles'
    WHEN 68 THEN 'Edit G/L Account'
    WHEN 69 THEN 'Segment Codes - Selection Criteria'
    WHEN 70 THEN 'Create New Company'
    WHEN 71 THEN 'Tax Report - Selection Criteria'
    WHEN 72 THEN 'Tax Report'
    WHEN 75 THEN 'Reverse Transactions'
    WHEN 76 THEN 'Tax Jurisdiction'
    WHEN 80 THEN 'Pick & Pack Manager - Selection Criteria'
    WHEN 81 THEN 'Pick & Pack Manager'
    WHEN 82 THEN 'Choose Bank'
    WHEN 83 THEN 'Link Invoices to Payments - Selection Criteria'
    WHEN 84 THEN 'Link Invoices to Payments'
    WHEN 85 THEN 'Pick List'
    WHEN 86 THEN 'Help Settings'
    WHEN 90 THEN 'Inactive Items'
    WHEN 91 THEN 'Inactive Items - Selection Criteria'
    WHEN 92 THEN 'Inactive Customers - Selection Criteria'
    WHEN 93 THEN 'Inactive Customers'
    WHEN 95 THEN 'Customize'
    WHEN 96 THEN 'Last Prices Report'
    WHEN 100 THEN 'Execute'
    WHEN 110 THEN 'Queries'
    WHEN 111 THEN 'Parameter Directory'
    WHEN 115 THEN 'Query Generator'
    WHEN 120 THEN 'Trial Balance'
    WHEN 133 THEN 'A/R Invoice'
    WHEN 134 THEN 'Business Partner Master Data'
    WHEN 135 THEN 'Payment Terms'
    WHEN 136 THEN 'Company Details'
    WHEN 137 THEN 'Correction Invoice'
    WHEN 138 THEN 'General Settings'
    WHEN 139 THEN 'Order'
    WHEN 140 THEN 'Delivery'
    WHEN 141 THEN 'A/P Invoice'
    WHEN 142 THEN 'Purchase Order'
    WHEN 143 THEN 'Goods Receipt PO'
    WHEN 146 THEN 'Payment Means'
    WHEN 148 THEN 'Define Currencies'
    WHEN 149 THEN 'Quotation'
    WHEN 150 THEN 'Item Master Data'
    WHEN 152 THEN 'Open Items List'
    WHEN 153 THEN 'User Defaults'
    WHEN 154 THEN 'Inventory Status'
    WHEN 155 THEN 'Price Lists'
    WHEN 157 THEN 'Price List'
    WHEN 160 THEN 'Choose From List'
    WHEN 161 THEN 'Transaction Journal Report'
    WHEN 163 THEN 'Balance Sheet'
    WHEN 164 THEN 'Profit and Loss Statement'
    WHEN 165 THEN 'Balance Sheet - Selection Criteria'
    WHEN 166 THEN 'Trial Balance - Selection Criteria'
    WHEN 167 THEN 'Trial Balance'
    WHEN 168 THEN 'G/L Accounts Opening Balance'
    WHEN 169 THEN 'SAP Business One'
    WHEN 170 THEN 'Incoming Payments'
    WHEN 171 THEN 'Cycle Count Recommendations'
    WHEN 172 THEN 'Document Numbering'
    WHEN 174 THEN 'Define Customer Groups'
    WHEN 177 THEN 'Define Payment Terms'
    WHEN 179 THEN 'A/R Credit Memo'
    WHEN 180 THEN 'Returns'
    WHEN 181 THEN 'A/P Credit Memo'
    WHEN 182 THEN 'Goods Returns'
    WHEN 183 THEN 'Print Preferences'
    WHEN 184 THEN 'Document Printing - Selection Criteria'
    WHEN 185 THEN 'Serials - %s'
    WHEN 187 THEN 'Add Recipient'
    WHEN 188 THEN 'Send Message'
    WHEN 189 THEN 'Test Report Balance Settings'
    WHEN 190 THEN 'Save as Distribution List'
    WHEN 191 THEN 'Print'
    WHEN 194 THEN 'Execute Commands'
    WHEN 196 THEN 'Payment Means'
    WHEN 197 THEN 'Payment Means'
    WHEN 198 THEN 'Messages/Alert Overview'
    WHEN 202 THEN 'Alerts Management'
    WHEN 210 THEN 'Save Report'
    WHEN 228 THEN 'Document Settings'
    WHEN 229 THEN 'Journal Vouchers'
    WHEN 237 THEN 'Gross Profit for Quotation'
    WHEN 239 THEN 'Gross Profit of Order'
    WHEN 240 THEN 'Gross Profit of Delivery'
    WHEN 241 THEN 'Gross Profit of Outgoing Invoice'
    WHEN 242 THEN 'Gross Profit of Correction Invoice'
    WHEN 245 THEN 'Trial Balance Budget Report - Selection Criteria'
    WHEN 246 THEN 'Trial Balance Budget Report'
    WHEN 247 THEN 'Define Vendor Groups'
    WHEN 250 THEN 'Define Interest'
    WHEN 251 THEN 'Define Formatted Search'
    WHEN 254 THEN 'Define Field Values'
    WHEN 255 THEN 'Choose Company'
    WHEN 256 THEN 'Choose Company'
    WHEN 260 THEN 'Balance Sheet Budget Report - Selection Criteria'
    WHEN 261 THEN 'Balance Sheet Budget Report'
    WHEN 265 THEN 'Balance Sheet Comparison - Selection Criteria'
    WHEN 266 THEN 'Balance Sheet Comparison'
    WHEN 267 THEN 'Profit and Loss Statement Comparison - Selection Criteria'
    WHEN 268 THEN 'Profit and Loss Statement Comparison'
    WHEN 280 THEN 'Trial Balance Comparison - Selection Criteria'
    WHEN 281 THEN 'Trial Balance Comparison'
    WHEN 285 THEN 'Show History'
    WHEN 286 THEN 'Differences'
    WHEN 290 THEN 'Price List Item Details'
    WHEN 291 THEN 'Define Hierarchies for Price List'
    WHEN 295 THEN 'Add to User Menu'
    WHEN 296 THEN 'Organize User Menu'
    WHEN 303 THEN 'Opportunities Analysis'
    WHEN 304 THEN 'Period - Selection Criteria'
    WHEN 305 THEN 'Dynamic Opportunity Analysis'
    WHEN 306 THEN 'Opportunity Analysis'
    WHEN 307 THEN 'Opportunity Analysis - Selection Criteria'
    WHEN 308 THEN 'Business Partners - Selection Criteria'
    WHEN 309 THEN 'Opportunities Pipeline'
    WHEN 312 THEN 'Sales Employees'
    WHEN 313 THEN 'Opportunities Won'
    WHEN 314 THEN 'Opportunity List'
    WHEN 315 THEN 'Opportunities Won - Selection Criteria'
    WHEN 316 THEN 'Specified Stage Analysis Report'
    WHEN 317 THEN 'Sales Employees'
    WHEN 318 THEN 'Stage Analysis'
    WHEN 319 THEN 'Stage Analysis - Selection Criteria'
    WHEN 320 THEN 'Sales Opportunity'
    WHEN 321 THEN 'Linked Documents'
    WHEN 322 THEN 'Linked Document'
    WHEN 323 THEN 'Sales Employee'
    WHEN 324 THEN 'Stage'
    WHEN 325 THEN 'Documents'
    WHEN 327 THEN 'Dates'
    WHEN 328 THEN 'Amounts'
    WHEN 329 THEN 'Sales Employees'
    WHEN 330 THEN 'Stage'
    WHEN 331 THEN 'Stage'
    WHEN 333 THEN 'Special Prices - Item Details'
    WHEN 334 THEN 'Copy Item Details'
    WHEN 335 THEN 'Special Prices - Hierarchies'
    WHEN 336 THEN 'Copy Special Prices to Selection Criteria'
    WHEN 338 THEN 'Sales Employees'
    WHEN 339 THEN 'Update Special Prices Globally'
    WHEN 340 THEN 'Stage'
    WHEN 341 THEN 'Documents'
    WHEN 342 THEN 'Percentage Rate'
    WHEN 343 THEN 'Date'
    WHEN 344 THEN 'Amounts'
    WHEN 345 THEN 'Items - Selection Criteria'
    WHEN 350 THEN 'G/L Account Determination'
    WHEN 352 THEN 'Define Sales Stages'
    WHEN 363 THEN 'Balance Sheet'
    WHEN 365 THEN 'Profit and Loss Statement'
    WHEN 366 THEN 'Profit and Loss Statement Budget Report'
    WHEN 369 THEN 'Exchange Rate Differences'
    WHEN 370 THEN 'Exchange Rate Differences - Selection Criteria'
    WHEN 371 THEN 'Conversion Differences'
    WHEN 372 THEN 'Conversion Differences - Selection Criteria'
    WHEN 373 THEN 'Rate Differences - Line Details'
    WHEN 382 THEN 'Extended Preferences'
    WHEN 383 THEN 'Reconciliation'
    WHEN 384 THEN 'Reconciliation Wizard'
    WHEN 385 THEN 'Process External Bank Statement'
    WHEN 386 THEN 'Reconciliation - Selection Criteria'
    WHEN 387 THEN 'Reconciliation'
    WHEN 388 THEN 'Manage Previous Reconciliations - Selection Criteria'
    WHEN 389 THEN 'Manage Previous Reconciliations'
    WHEN 390 THEN 'Journal Entry'
    WHEN 391 THEN 'Journal Vouchers'
    WHEN 392 THEN 'Journal Entry'
    WHEN 393 THEN 'Journal Vouchers'
    WHEN 399 THEN 'Data Update'
    WHEN 400 THEN 'Reconciliations'
    WHEN 401 THEN 'Tax Reporting'
    WHEN 402 THEN 'Advances on Corporate Income Tax on Sales Report'
    WHEN 403 THEN 'Tax Report Detailed by Months'
    WHEN 404 THEN 'Import Bank List'
    WHEN 409 THEN 'Reconciliation Printing Preferences'
    WHEN 411 THEN 'Period-End Closing - Selection Criteria'
    WHEN 412 THEN 'Period-End Closing'
    WHEN 419 THEN 'Define Address Formats'
    WHEN 420 THEN 'Profit and Loss Statement - Selection Criteria'
    WHEN 421 THEN 'Profit and Loss Statement Budget Report - Selection Criteria'
    WHEN 422 THEN 'Define Business Partner Properties'
    WHEN 424 THEN 'Define Credit Cards'
    WHEN 425 THEN 'Select Items to Copy'
    WHEN 426 THEN 'Payments to Vendors'
    WHEN 427 THEN 'Change Internal Document Name'
    WHEN 429 THEN 'Define Item Properties'
    WHEN 430 THEN 'Business Partners Opening Balance'
    WHEN 435 THEN 'Define Credit Card Payment Methods'
    WHEN 436 THEN 'Define Credit Card Payment'
    WHEN 437 THEN 'Credit Card Management'
    WHEN 440 THEN 'Credit Card Management - Selection Criteria'
    WHEN 441 THEN 'Define Budget Distribution Methods'
    WHEN 443 THEN 'Define Budget'
    WHEN 444 THEN 'Define Budget'
    WHEN 445 THEN 'Budget Item Details'
    WHEN 446 THEN 'Budget Report - Selection Criteria'
    WHEN 447 THEN 'Budget Report'
    WHEN 448 THEN 'Restore Budget Balances'
    WHEN 452 THEN 'Budget Scenarios'
    WHEN 453 THEN 'Import Budget Scenarios'
    WHEN 454 THEN 'Copy Budget Scenarios'
    WHEN 487 THEN 'Choose BP'
    WHEN 501 THEN 'General Ledger'
    WHEN 502 THEN 'Transaction Report by Projects - Selection Criteria'
    WHEN 503 THEN 'Transaction Report by Projects'
    WHEN 504 THEN 'Payment Wizard'
    WHEN 505 THEN 'Define Payment Methods'
    WHEN 506 THEN 'Currency Restriction'
    WHEN 507 THEN 'Form Wizard'
    WHEN 508 THEN 'Choose from List'
    WHEN 509 THEN 'Payment Wizard Reports'
    WHEN 510 THEN 'Vendor Withholding Tax - Selection Criteria'
    WHEN 515 THEN 'Withholding Tax Report'
    WHEN 520 THEN 'Check Document Numbering'
    WHEN 521 THEN 'Create/Edit Categories'
    WHEN 530 THEN 'Documents serial numbering list'
    WHEN 540 THEN 'Item Query'
    WHEN 550 THEN 'Inventory Posting List - Selection Criteria'
    WHEN 551 THEN 'Expanded Selection Criteria'
    WHEN 599 THEN 'Expanded Selection Criteria'
    WHEN 600 THEN 'Items List - Selection Criteria'
    WHEN 601 THEN 'Items List'
    WHEN 603 THEN 'Check Fund - Selection Criteria'
    WHEN 604 THEN 'General Ledger - Selection Criteria'
    WHEN 605 THEN 'Expanded Selection Criteria'
    WHEN 606 THEN 'Deposit'
    WHEN 607 THEN 'Check Fund'
    WHEN 608 THEN 'Price List - Selection Criteria'
    WHEN 609 THEN 'Document Journal - Selection Criteria'
    WHEN 610 THEN 'Expanded Selection Criteria'
    WHEN 612 THEN 'Postdated Check Deposit'
    WHEN 614 THEN 'Postdated Credit Voucher Deposit'
    WHEN 615 THEN 'Commission'
    WHEN 630 THEN 'GST Report'
    WHEN 631 THEN 'Detailed Report %s'
    WHEN 632 THEN 'Manual Transactions'
    WHEN 636 THEN 'Posting Period'
    WHEN 640 THEN 'Define Hierarchies and Expansions'
    WHEN 650 THEN 'Special Prices - Items - Selection Criteria'
    WHEN 651 THEN 'Activities'
    WHEN 652 THEN 'Contact Overview for Business Partner'
    WHEN 653 THEN 'Define Cash Discount'
    WHEN 655 THEN 'Payment Drafts Report'
    WHEN 662 THEN 'Interest Rates on Backlog Report - Business Partners - Selection Criteria'
    WHEN 664 THEN 'Define Commission Groups'
    WHEN 666 THEN 'Define Sales Employees'
    WHEN 668 THEN 'Special Prices for Business Partners'
    WHEN 669 THEN 'Special Prices - Items - Selection Criteria'
    WHEN 670 THEN 'Recurring Postings'
    WHEN 672 THEN 'Define Bill of Materials'
    WHEN 673 THEN 'Open Work Orders Report'
    WHEN 674 THEN 'Bill of Materials Report - Selection Criteria'
    WHEN 675 THEN 'Production Recommendations'
    WHEN 676 THEN 'Missing Raw Material'
    WHEN 677 THEN 'Work Order'
    WHEN 679 THEN 'Bill of Materials Report'
    WHEN 680 THEN 'Confirmation for recurring postings'
    WHEN 681 THEN 'Cycle Count Recommendations - Selection Criteria'
    WHEN 682 THEN 'Restore Item Balances'
    WHEN 683 THEN 'Messages'
    WHEN 687 THEN 'Missing exchange rates'
    WHEN 688 THEN 'Revaluation Preferences'
    WHEN 689 THEN 'Inventory Status - Selection Criteria'
    WHEN 691 THEN 'Revaluation - Selection Criteria'
    WHEN 692 THEN 'Profit and Loss Statement Revaluation'
    WHEN 693 THEN 'Balance Sheet Revaluation'
    WHEN 694 THEN 'Trial Balance Revaluation'
    WHEN 695 THEN 'Export Transactions to SAP Business One'
    WHEN 696 THEN 'Correcting main accounts in transactions'
    WHEN 698 THEN 'Quality Control'
    WHEN 700 THEN 'Define Balance Sheet Templates'
    WHEN 701 THEN 'Define Profit and Loss Report Templates'
    WHEN 702 THEN 'Define Trial Balance Templates'
    WHEN 703 THEN 'Financial Report Template - Expansion'
    WHEN 704 THEN 'Financial Report Templates'
    WHEN 705 THEN 'Define Banks'
    WHEN 706 THEN 'Financial Report Template'
    WHEN 707 THEN 'Choose Copy Template'
    WHEN 708 THEN 'Formula for Profit and Loss Template'
    WHEN 709 THEN 'Template Properties'
    WHEN 710 THEN 'Define Transaction Codes'
    WHEN 711 THEN 'Define Projects'
    WHEN 712 THEN 'Define %s Rates'
    WHEN 713 THEN 'Define Sales Tax Jurisdiction Types'
    WHEN 714 THEN 'Template Properties'
    WHEN 720 THEN 'Goods Issue'
    WHEN 721 THEN 'Goods Receipt'
    WHEN 730 THEN 'Define Interest'
    WHEN 731 THEN 'Define Meaning'
    WHEN 732 THEN 'Define Information Source'
    WHEN 733 THEN 'Define Sales Stages'
    WHEN 734 THEN 'Define Causes for Failure'
    WHEN 735 THEN 'Define Partners'
    WHEN 736 THEN 'Define Competitors'
    WHEN 750 THEN 'Edit Chart of Accounts'
    WHEN 751 THEN 'Edit Chart of Accounts'
    WHEN 752 THEN 'Transaction Journal Report - Selection Criteria'
    WHEN 753 THEN 'Account Code Generator'
    WHEN 754 THEN 'Find Account'
    WHEN 755 THEN 'Find Account'
    WHEN 756 THEN 'Account Code List'
    WHEN 757 THEN 'Find G/L Accounts'
    WHEN 760 THEN 'Define Indicators'
    WHEN 770 THEN 'Define Triangular Deal'
    WHEN 771 THEN 'Inventory in Warehouse Report'
    WHEN 772 THEN 'Inventory in Warehouse Report - Selection Criteria'
    WHEN 773 THEN 'Stocks per Warehouse'
    WHEN 774 THEN 'Define Data Migration Package'
    WHEN 775 THEN 'Define Goods Shipment'
    WHEN 776 THEN 'Define Locations'
    WHEN 777 THEN 'Inventory Posting List - Selection Criteria'
    WHEN 779 THEN 'Define 1099 Table'
    WHEN 800 THEN 'Posting Templates'
    WHEN 802 THEN 'Sales Order Balance'
    WHEN 804 THEN 'Chart of Accounts'
    WHEN 805 THEN 'G/L Account Details'
    WHEN 806 THEN 'Chart of Accounts'
    WHEN 809 THEN 'Bookkeeping Balance'
    WHEN 810 THEN 'Define Profit Centers'
    WHEN 811 THEN 'Define Distribution Rules'
    WHEN 812 THEN 'Table of Profit Centers and Distribution Rules'
    WHEN 819 THEN 'Profit Center - Report - Selection Criteria'
    WHEN 820 THEN 'Choose Company'
    WHEN 821 THEN 'System Startup'
    WHEN 822 THEN 'New Company'
    WHEN 823 THEN 'Profit Center - Report'
    WHEN 824 THEN 'User Administration'
    WHEN 830 THEN '835874 Report - replace report'
    WHEN 840 THEN 'Inventory Tracking'
    WHEN 841 THEN 'Check and Restore Former Reconciliations'
    WHEN 849 THEN 'Voiding Checks for Payment'
    WHEN 850 THEN 'Checks for Payment Drafts'
    WHEN 851 THEN 'Bank Codes'
    WHEN 852 THEN 'Define Users'
    WHEN 853 THEN 'Define Deduction Groups'
    WHEN 854 THEN 'Checks for Payment'
    WHEN 855 THEN 'G/L Accounts and Business Partners'
    WHEN 856 THEN 'Voiding Checks for Payment'
    WHEN 857 THEN 'Sales Analysis Report - Selection Criteria'
    WHEN 858 THEN 'Voiding Checks for Payment'
    WHEN 859 THEN 'Inventory Posting List by Item'
    WHEN 860 THEN 'Inventory Posting List by BP'
    WHEN 861 THEN 'Inventory Posting List by'
    WHEN 863 THEN 'Comprehensive Import'
    WHEN 864 THEN 'Restore G/L Account and Business Partner Balances'
    WHEN 865 THEN 'Define Indexes'
    WHEN 866 THEN 'Define foreign currency exchange rates'
    WHEN 870 THEN 'Purchase Analysis - Selection Criteria'
    WHEN 871 THEN 'Tax Report - Date - Selection Criteria'
    WHEN 876 THEN 'Define Interest Rates'
    WHEN 877 THEN 'Define Meeting Locations'
    WHEN 878 THEN 'Define Credit Vendors'
    WHEN 879 THEN 'Define Deduction Groups'
    WHEN 888 THEN 'Define Contact Types'
    WHEN 889 THEN 'Define Contact Subjects'
    WHEN 890 THEN 'Define Expenses'
    WHEN 892 THEN 'G/L Accounts and Business Partners - Selection Criteria'
    WHEN 893 THEN 'Define Length and Width UoM'
    WHEN 894 THEN 'Define Weight UoM'
    WHEN 895 THEN 'Define Tax Groups'
    WHEN 896 THEN 'Define Customs Groups'
    WHEN 897 THEN 'Define Manufacturers'
    WHEN 898 THEN 'Define Landed Costs'
    WHEN 899 THEN 'Define Shipping Types'
    WHEN 900 THEN 'Inventory Valuation - Selection Criteria'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2 AND T2.FormID < 901
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 901 THEN 'Inventory Valuation Report'
    WHEN 902 THEN 'Update After Inventory'
    WHEN 906 THEN 'Entering stock balance sheet'
    WHEN 907 THEN 'Beginning Quantities and Cycle Counting'
    WHEN 908 THEN 'Select Database'
    WHEN 909 THEN 'Items - Selection Criteria'
    WHEN 910 THEN 'Transaction Settings'
    WHEN 911 THEN 'Year Transfer'
    WHEN 912 THEN 'BP Properties'
    WHEN 914 THEN 'Items - Selection Criteria'
    WHEN 916 THEN 'Year Transfer'
    WHEN 917 THEN 'BP Properties'
    WHEN 918 THEN 'Accounts - Selection Criteria'
    WHEN 919 THEN 'Items - Selection Criteria'
    WHEN 920 THEN 'Card Properties'
    WHEN 921 THEN 'Card Properties'
    WHEN 922 THEN 'Business Partners Opening Balance - Selection Criteria'
    WHEN 923 THEN 'G/L Accounts Opening Balance - Selection Criteria'
    WHEN 924 THEN 'G/L Accounts'
    WHEN 925 THEN 'Accounts - Selection Criteria'
    WHEN 926 THEN 'Accounts - Selection Criteria'
    WHEN 930 THEN 'Accounts - Selection Criteria'
    WHEN 940 THEN 'Stock Transfer'
    WHEN 941 THEN 'Define Countries'
    WHEN 942 THEN 'Define Departments'
    WHEN 943 THEN 'Define Branches'
    WHEN 944 THEN 'Define States'
    WHEN 946 THEN 'Data Migration Wizard'
    WHEN 950 THEN 'Authorization Tree Management'
    WHEN 951 THEN 'Authorizations'
    WHEN 952 THEN 'Open Saved Query'
    WHEN 953 THEN 'Automatic Summary Wizard'
    WHEN 954 THEN 'Business Partners - Selection Criteria'
    WHEN 957 THEN 'Save Query'
    WHEN 958 THEN 'Define Discount Groups'
    WHEN 960 THEN 'Cash Flow - Selection Criteria'
    WHEN 961 THEN 'Cash Flow'
    WHEN 962 THEN 'Customer Receivables Aging - Selection Criteria'
    WHEN 963 THEN 'Vendor Liabilities Aging - Selection Criteria'
    WHEN 964 THEN 'Customer Receivables Aging'
    WHEN 965 THEN 'Vendor Liabilities Aging'
    WHEN 968 THEN 'Restore'
    WHEN 969 THEN 'Restore Wizard'
    WHEN 971 THEN 'Restore Open Check Balances'
    WHEN 973 THEN 'Report 856'
    WHEN 974 THEN 'Specified deduction at source report for vendor'
    WHEN 975 THEN 'Contact Overview - Selection Criteria'
    WHEN 976 THEN 'Contact Overview'
    WHEN 977 THEN 'Data Migration Packages'
    WHEN 978 THEN 'Creating journal entries'
    WHEN 989 THEN 'Encoding Table'
    WHEN 990 THEN 'Volume & Weight Calculation'
    WHEN 991 THEN 'Choose Documents'
    WHEN 992 THEN 'Landed Costs'
    WHEN 993 THEN 'Define Business Partner Catalog Numbers'
    WHEN 994 THEN 'Global Update to Business Partner Catalog Numbers'
    WHEN 995 THEN 'Choose BP'
    WHEN 996 THEN 'Table Sort'
    WHEN 997 THEN 'Properties'
    WHEN 998 THEN 'Settings'
    WHEN 1011 THEN 'Sales Journal'
    WHEN 1012 THEN 'Cash Report'
    WHEN 1020 THEN 'Tax Report - Purchasing Preferences'
    WHEN 1021 THEN 'Tax Report'
    WHEN 1030 THEN 'Choose From List Settings'
    WHEN 1100 THEN 'Graphic'
    WHEN 1101 THEN 'Graphic Preferences'
    WHEN 2002 THEN 'Card Properties'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 900 AND T2.FormID < 3001
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 3001 THEN 'Document Drafts - Selection Criteria'
    WHEN 3002 THEN 'Document Drafts'
    WHEN 3007 THEN 'Expenses'
    WHEN 3020 THEN 'Queries List'
    WHEN 3090 THEN 'Payment Methods for BP - Selection Criteria'
    WHEN 3900 THEN '1099 Editing - Selection Criteria'
    WHEN 3901 THEN '1099 Editing'
    WHEN 3902 THEN '1099 Report - Selection Criteria'
    WHEN 3903 THEN '1099 Box - Selection Criteria'
    WHEN 3904 THEN '1099 Report - Selection Criteria'
    WHEN 3905 THEN '1099 Report'
    WHEN 3906 THEN '1099 Detailed Report per Vendor'
    WHEN 3907 THEN '1099 Opening Balance - Selection Criteria'
    WHEN 3908 THEN '1099 Opening Balance'
    WHEN 3910 THEN 'Define Late Payments Fees'
    WHEN 3915 THEN 'EST'
    WHEN 4000 THEN 'Define survey variables'
    WHEN 4001 THEN 'Message to User'
    WHEN 4002 THEN 'Changing Description'
    WHEN 4666 THEN 'User Reports'
    WHEN 4667 THEN 'Create User Report'
    WHEN 5003 THEN 'Update Control Report'
    WHEN 8001 THEN 'Define Business Partner Priorities'
    WHEN 8002 THEN 'Define Dunning Levels'
    WHEN 8003 THEN 'User Tables'
    WHEN 8004 THEN 'Define Payment Blocks'
    WHEN 8005 THEN 'Central Bank Ind.'
    WHEN 8006 THEN 'Define Solution Statuses'
    WHEN 8007 THEN 'Define Service Call Origins'
    WHEN 8008 THEN 'Define Service Call Statuses'
    WHEN 8009 THEN 'Define Service Call Types'
    WHEN 8010 THEN 'Define Service Call Problem Types'
    WHEN 8011 THEN 'Define Employee Types'
    WHEN 8012 THEN 'Define Employee Statuses'
    WHEN 8013 THEN 'Define Termination Reasons'
    WHEN 8014 THEN 'Define Education Types'
    WHEN 8015 THEN 'Define Agents'
    WHEN 8017 THEN 'Define File Formats'
    WHEN 8018 THEN 'Define Doubtful Debts'
    WHEN 8020 THEN 'Define Queues'
    WHEN 8661 THEN 'Set Rate for Selection Criteria'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 3000 AND T2.FormID < 10001
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 20004 THEN 'Import from Excel'
    WHEN 20007 THEN 'Export Transactions'
    WHEN 20010 THEN 'Export Account Balances to Text File'
    WHEN 20011 THEN 'Import External bank Statement'
    WHEN 20012 THEN 'Define Interface for Importing Bank Statement'
    WHEN 20013 THEN 'Export Accounts to Foreign Software'
    WHEN 20019 THEN 'Import Items from Foreign Software'
    WHEN 20030 THEN 'Export Accounts to Pinkasit Software'
    WHEN 20100 THEN 'Launch Application'
    WHEN 20101 THEN 'Application Details'
    WHEN 20200 THEN 'Sales Analysis by Customer'
    WHEN 20201 THEN 'Sales Analysis by Customer'
    WHEN 20202 THEN 'Sales Analysis by Customer'
    WHEN 20203 THEN 'Sales Analysis by Items'
    WHEN 20204 THEN 'Sales Analysis by Item'
    WHEN 20205 THEN 'Sales Analysis by Items'
    WHEN 20206 THEN 'Sales Analysis by Customer'
    WHEN 20207 THEN 'Sales Analysis by Customer'
    WHEN 20208 THEN 'Sales Analysis by Customer'
    WHEN 20209 THEN 'Sales Analysis for Customer'
    WHEN 20210 THEN 'Sales Analysis for Customer'
    WHEN 20211 THEN 'Sales Analysis for Customer'
    WHEN 20212 THEN 'Purchase Analysis by Vendor'
    WHEN 20213 THEN 'Purchase Analysis by Vendor'
    WHEN 20214 THEN 'Purchase Analysis by Vendor'
    WHEN 20215 THEN 'Purchase Analysis by Items'
    WHEN 20216 THEN 'Purchase Analysis by Items'
    WHEN 20217 THEN 'Purchase Analysis by Items'
    WHEN 20218 THEN 'Purchase Analysis by Vendor'
    WHEN 20219 THEN 'Purchase Analysis by Vendor'
    WHEN 20220 THEN 'Purchase Analysis by Vendor'
    WHEN 20221 THEN 'Purchases Analysis for Vendors'
    WHEN 20222 THEN 'Purchases Analysis for Vendors'
    WHEN 20223 THEN 'Purchase Analysis for Vendors'
    WHEN 20230 THEN 'Sales Analysis by Customer (Annual)'
    WHEN 20231 THEN 'Sales Analysis by Customer Group (Annual)'
    WHEN 20232 THEN 'Sales Analysis Report by Customer (Detailed)'
    WHEN 20233 THEN 'Sales Analysis Report by Customer (Detailed)'
    WHEN 20234 THEN 'Sales Analysis Report by Customer (Monthly)'
    WHEN 20235 THEN 'Sales Analysis by Customer Group (Monthly)'
    WHEN 20236 THEN 'Sales Analysis by Customer (Quarterly)'
    WHEN 20237 THEN 'Sales Analysis by Customer Group (Quarterly)'
    WHEN 20238 THEN 'Sales Analysis by Items (Annual)'
    WHEN 20239 THEN 'Sales Analysis by Item Group (Annual)'
    WHEN 20240 THEN 'Sales Analysis Report by Item (Detailed)'
    WHEN 20241 THEN 'Sales Analysis by Item Group (Detailed)'
    WHEN 20242 THEN 'Sales Analysis Report by Items (Monthly)'
    WHEN 20243 THEN 'Sales Analysis by Item Group (Monthly)'
    WHEN 20244 THEN 'Sales Analysis Report by Items (Quarterly)'
    WHEN 20245 THEN 'Sales Analysis by Item Group (Monthly)'
    WHEN 20246 THEN 'Sales Analysis by Sales Employee (Annual)'
    WHEN 20247 THEN 'Sales Analysis Report by Sales Employee (Monthly)'
    WHEN 20248 THEN 'Sales Analysis by Sales Employee (Quarterly)'
    WHEN 20249 THEN 'Purchase Analysis by Vendors (Annual)'
    WHEN 20250 THEN 'Purchase Analysis by Vendor Groups (Annual)'
    WHEN 20251 THEN 'Purchase Analysis Rep. by Vendor (Detailed)'
    WHEN 20252 THEN 'Sales Vol. Analysis Rep. for Cust. (Detailed)'
    WHEN 20253 THEN 'Purchase Analysis Rep. by Vendors (Monthly)'
    WHEN 20254 THEN 'Purchase Analysis by Vendor Groups (Monthly)'
    WHEN 20255 THEN 'Purchase Analysis by Vendors (Quarterly)'
    WHEN 20256 THEN 'Purchase Analysis by Vendor Groups (Quarterly)'
    WHEN 20257 THEN 'Purchase Analysis by Items (Annual)'
    WHEN 20258 THEN 'Purchase Analysis by Item Groups (Annual)'
    WHEN 20259 THEN 'Purchase Analysis Rep. by Vendor (Detailed)'
    WHEN 20260 THEN 'Purchase Analysis by Item Groups (Detailed)'
    WHEN 20261 THEN 'Purchase Analysis Rep. by Sales Employee (Monthly)'
    WHEN 20262 THEN 'Purchase Analysis by Sales Employee (Quarterly)'
    WHEN 20263 THEN 'Purchase Analysis by Sales Employee (Annual)'
    WHEN 20264 THEN 'Sales Analysis Report by Sales Employee (Detailed)'
    WHEN 20266 THEN 'Purchase Analysis Rep. by Items (Monthly)'
    WHEN 20267 THEN 'Purchase Analysis by Item Groups (Monthly)'
    WHEN 20268 THEN 'Purchase Analysis Rep. by Items (Quarter)'
    WHEN 20269 THEN 'Purchase Analysis by Item Groups (Quarterly)'
    WHEN 20270 THEN 'Purchase Analysis Rep. by Sales Employee (Detailed)'
    WHEN 20271 THEN 'Choose Detailed Analysis Report'
    WHEN 20301 THEN 'Update Delivery Notes'
    WHEN 20302 THEN 'Delivery Notes - Selection Criteria'
    WHEN 20303 THEN 'Delivery Summary Report - Selection Criteria'
    WHEN 20304 THEN 'Delivery Summary Report'
    WHEN 20305 THEN 'Summary Report for Delivery Notes on Invoices'
    WHEN 20306 THEN 'Invoices Summary Report - Selection Criteria'
    WHEN 20307 THEN 'Export general data file'
    WHEN 20308 THEN 'Define Retail Stores'
    WHEN 20309 THEN 'Export document to retail chain'
    WHEN 20311 THEN 'Define Retail Stores'
    WHEN 20320 THEN 'Interest Calculation Report - Selection Criteria'
    WHEN 20321 THEN 'Interest Report'
    WHEN 20322 THEN 'Interest Report for Card %s'
    WHEN 20330 THEN 'Payments to Vendors'
    WHEN 20331 THEN 'Unapproved Payments to Vendors Report'
    WHEN 20450 THEN 'Credit Card Summary - Selection Criteria'
    WHEN 20451 THEN 'Credit Card Summary'
    WHEN 20452 THEN 'Credit Card Vouchers for Update'
    WHEN 20453 THEN 'Items - Selection Criteria'
    WHEN 20454 THEN 'Items - Selection Criteria'
    WHEN 20502 THEN 'Credit Card Debit'
    WHEN 20605 THEN 'Links'
    WHEN 20607 THEN 'Update FC Rate from the Internet'
    WHEN 20611 THEN 'Open a service call in SAP Manage support center'
    WHEN 20612 THEN 'Support List'
    WHEN 20620 THEN 'Country Upgrader'
    WHEN 20621 THEN 'Upgrade Preparation Test'
    WHEN 20700 THEN 'Define Users'
    WHEN 20701 THEN 'Change Password'
    WHEN 20702 THEN 'Define Payment Run Defaults'
    WHEN 20703 THEN 'Payment Run - Payment Methods'
    WHEN 40001 THEN 'Item by Warehouses'
    WHEN 40003 THEN 'Display Connected Files'
    WHEN 40005 THEN 'Calendar'
    WHEN 40009 THEN 'Calendar Settings'
    WHEN 40011 THEN 'Month Calendar'
    WHEN 40012 THEN 'Define Alternative Items'
    WHEN 40013 THEN 'Alternative Items - Selection Criteria'
    WHEN 40014 THEN 'Define Alternative Items'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 10000 AND T2.FormID < 50101
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 50101 THEN 'Define Approval Stages'
    WHEN 50102 THEN 'Define Approval Templates'
    WHEN 50103 THEN 'Request for Approval'
    WHEN 50104 THEN 'Approval Status Report - Selection Criteria'
    WHEN 50105 THEN 'Approval Status Report'
    WHEN 50107 THEN 'Approval Decision Report - Selection Criteria'
    WHEN 50108 THEN 'Approval Decision Report'
    WHEN 50109 THEN 'Sweeping Update'
    WHEN 50300 THEN 'RP Export Strings'
    WHEN 60000 THEN 'Machine ID'
    WHEN 60001 THEN 'Properties'
    WHEN 60002 THEN 'Connected Users'
    WHEN 60003 THEN 'License Removal'
    WHEN 60006 THEN 'License Server Definition'
    WHEN 60009 THEN 'Define Localizations'
    WHEN 60011 THEN 'View Preferences'
    WHEN 60013 THEN 'Dunning Terms'
    WHEN 60014 THEN 'Dunning Wizard'
    WHEN 60016 THEN 'Define Packages Types'
    WHEN 60017 THEN 'Define Packages'
    WHEN 60018 THEN 'Define Employee Position'
    WHEN 60019 THEN 'Define Teams'
    WHEN 60020 THEN 'Pick List Details'
    WHEN 60021 THEN 'AddOn Identifier Generator'
    WHEN 60022 THEN 'Dunning History Report'
    WHEN 60023 THEN 'Dunning History Summery Report'
    WHEN 60048 THEN 'Details'
    WHEN 60049 THEN 'Deposited - Details'
    WHEN 60050 THEN 'Bill of Exchange Managment'
    WHEN 60051 THEN 'Bill of Exchange Managment'
    WHEN 60052 THEN 'Bill of Exchange Transactions'
    WHEN 60053 THEN 'Bill of Exchange - Receivables'
    WHEN 60054 THEN 'Bill of Exchange Transactions'
    WHEN 60055 THEN 'Bill of Exchange Reconciliation'
    WHEN 60056 THEN 'Bill of Exchange - Payables'
    WHEN 60057 THEN 'AddOn Registration'
    WHEN 60058 THEN 'AddOns Administrator'
    WHEN 60059 THEN 'AddOns Manager'
    WHEN 60070 THEN 'License Administration'
    WHEN 60071 THEN 'Define Predefined Text '
    WHEN 60090 THEN 'A/R Invoice'
    WHEN 60091 THEN 'A/R Reserve Invoice'
    WHEN 60092 THEN 'A/P Reserve Invoice'
    WHEN 60100 THEN 'Employee Master Data'
    WHEN 60101 THEN 'Absence Info'
    WHEN 60102 THEN 'Education'
    WHEN 60103 THEN 'Reviews'
    WHEN 60104 THEN 'Previous Employment'
    WHEN 60105 THEN 'Employee / Phone Book Report - Selection Criteria'
    WHEN 60106 THEN 'Employees List'
    WHEN 60107 THEN 'Phone Book'
    WHEN 60108 THEN 'Absence Report - Selection Criteria'
    WHEN 60109 THEN 'Employees Absence Report'
    WHEN 60110 THEN 'Service Call'
    WHEN 60115 THEN 'Recommended Solutions'
    WHEN 60116 THEN 'Service Call Expenses'
    WHEN 60117 THEN 'Expense Document - Selection Criteria'
    WHEN 60120 THEN 'Knowledge Base Solution'
    WHEN 60125 THEN 'Contract Templates'
    WHEN 60126 THEN 'Service Contract'
    WHEN 60130 THEN 'Service Calls Report - Selection Criteria'
    WHEN 60131 THEN 'Service Calls'
    WHEN 60132 THEN 'Service Call Views'
    WHEN 60133 THEN 'Service Monitor'
    WHEN 60135 THEN 'Service Contracts Report - Selection Criteria'
    WHEN 60136 THEN 'Service Contracts'
    WHEN 60138 THEN 'Average Closure Time'
    WHEN 60139 THEN 'Average Closure Time Report - Selection Criteria'
    WHEN 60140 THEN 'My Open Service Calls'
    WHEN 60141 THEN 'My Service Calls'
    WHEN 60142 THEN 'My Overdue Service Calls'
    WHEN 60143 THEN 'Service Calls for BP'
    WHEN 60150 THEN 'Customer Equipment Card'
    WHEN 60151 THEN 'Customer Equipment Report - Selection Criteria'
    WHEN 60152 THEN 'Customer Equipment Report'
    WHEN 60156 THEN 'Sale Opportunity List Report Filter'
    WHEN 60157 THEN 'Select Customers'
    WHEN 60158 THEN 'Date'
    WHEN 60159 THEN 'Amounts'
    WHEN 60160 THEN 'Percentage Rate'
    WHEN 60161 THEN 'Documents'
    WHEN 60162 THEN 'Opportunities list report'
    WHEN 60163 THEN 'Opportunities forecast report'
    WHEN 60164 THEN 'Select Customers'
    WHEN 60165 THEN 'Date'
    WHEN 60166 THEN 'Amounts'
    WHEN 60167 THEN 'Percentage Rate'
    WHEN 60168 THEN 'Documents'
    WHEN 60169 THEN 'Opportunities Forecast Report'
    WHEN 60171 THEN 'Opportunities list report'
    WHEN 60173 THEN 'Define Relationships'
    WHEN 60174 THEN 'Define Industry'
    WHEN 60175 THEN 'Lost opportunities report'
    WHEN 60176 THEN 'Select Customers'
    WHEN 60177 THEN 'Date'
    WHEN 60178 THEN 'Amounts'
    WHEN 60179 THEN 'Percentage Rate'
    WHEN 60180 THEN 'Documents'
    WHEN 60181 THEN 'Lost opportunities Report'
    WHEN 60182 THEN 'My open opportunities Report'
    WHEN 60183 THEN 'My close opportunities Report'
    WHEN 60184 THEN 'Source distribution over time report'
    WHEN 60185 THEN 'Select Customers'
    WHEN 60186 THEN 'Date'
    WHEN 60187 THEN 'Amounts'
    WHEN 60188 THEN 'Percentage Rate'
    WHEN 60189 THEN 'Documents'
    WHEN 60190 THEN 'Source distribution over time Report'
    WHEN 60191 THEN 'Opportunities Statistics report'
    WHEN 60192 THEN 'Select Customers'
    WHEN 60193 THEN 'Date'
    WHEN 60194 THEN 'Amounts'
    WHEN 60195 THEN 'Percentage Rate'
    WHEN 60196 THEN 'Documents'
    WHEN 60197 THEN 'Statistics Report'
    WHEN 60198 THEN 'Opportunities list report'
    WHEN 60199 THEN 'Statistics Report'
    WHEN 60200 THEN 'Control Accounts'
    WHEN 60201 THEN 'Bookkeeping Balance by Control Accounts'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 50000 AND T2.FormID < 60202
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 60202 THEN 'Service Calls by Queue'
    WHEN 60203 THEN 'Response time by Owner Report'
    WHEN 60205 THEN 'Define Territories'
    WHEN 60206 THEN 'Service Calls by Queue'
    WHEN 60207 THEN 'Response time by Owner Report'
    WHEN 60210 THEN 'Set Default Template for Report'
    WHEN 60211 THEN 'Business Partners - Selection Criteria'
    WHEN 60214 THEN 'Data Ownership Permissions'
    WHEN 60215 THEN 'Data Ownership Exceptions'
    WHEN 60216 THEN 'Opportunities Forecast over time report'
    WHEN 60217 THEN 'Select Customers'
    WHEN 60218 THEN 'Date'
    WHEN 60219 THEN 'Amounts'
    WHEN 60220 THEN 'Percentage Rate'
    WHEN 60221 THEN 'Documents'
    WHEN 60222 THEN 'Forecast over time Report'
    WHEN 60223 THEN 'Opportunities list report'
    WHEN 60265 THEN 'Balance Sheet Comparison - Selection Criteria'
    WHEN 60266 THEN 'Define New Status'
    WHEN 60300 THEN 'Tax Report - Selection Criteria'
    WHEN 60301 THEN 'Withholding Tax Report'
    WHEN 60302 THEN 'VAT Refund Report'
    WHEN 60305 THEN 'Tax Reconciliation Report'
    WHEN 60310 THEN 'Tax Summary Report - Selection Criteria'
    WHEN 60330 THEN 'Stamp Tax Report'
    WHEN 60350 THEN 'Tax Summary Report'
    WHEN 60361 THEN 'Define Document Belguim Localization'
    WHEN 60400 THEN 'Object Properties'
    WHEN 60401 THEN 'Document Properties'
    WHEN 60402 THEN 'Area Properties'
    WHEN 60403 THEN 'Object Properties'
    WHEN 60410 THEN 'Period-End Closing - Selection Criteria'
    WHEN 60411 THEN 'Period-End Closing Settings'
    WHEN 60412 THEN 'Period-End Closing Settings'
    WHEN 60413 THEN 'Period-End Closing'
    WHEN 60414 THEN 'Period-End Closing'
    WHEN 60420 THEN 'Find G/L Accounts'
    WHEN 60501 THEN 'Bill of Exchange Fund'
    WHEN 60502 THEN 'Bill of Exchange Fund - Selection Criteria'
    WHEN 60504 THEN 'Withholding Tax Table'
    WHEN 60505 THEN 'Payment Dates'
    WHEN 60506 THEN 'Holiday Dates'
    WHEN 60507 THEN 'Installments'
    WHEN 60508 THEN 'Payments List'
    WHEN 60510 THEN 'Manage User Keys'
    WHEN 60511 THEN 'Down Payments to Draw'
    WHEN 60555 THEN 'Document Journal'
    WHEN 60600 THEN 'G\L Acoounts Inflation Wizard'
    WHEN 60601 THEN 'User Defined Object Wizard'
    WHEN 60605 THEN 'Cost Of Sale Revaluation Wizard'
    WHEN 60610 THEN 'Stock Inflation Wizard'
    WHEN 60700 THEN 'Define %s'
    WHEN 60712 THEN 'Define Tax Codes'
    WHEN 60713 THEN 'Define Tax Categories'
    WHEN 60714 THEN 'Define Tax Types - Selection Criteria'
    WHEN 60715 THEN 'Update Serial Numbers'
    WHEN 60716 THEN 'Update Batch Numbers'
    WHEN 60750 THEN 'User Permission Form'
    WHEN 60751 THEN 'User Perm. - Forms ID'
    WHEN 63771 THEN 'Command Center - Settings'
    WHEN 65000 THEN 'WT Mode'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2 AND T2.FormID > 60201 AND T2.FormID < 65001
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 65001 THEN 'Vendor Mode - Detailed Format'
    WHEN 65002 THEN 'Document Type'
    WHEN 65007 THEN 'Nota Justificativa Report'
    WHEN 65008 THEN 'Anexo report'
    WHEN 65009 THEN 'Appendix O and P'
    WHEN 65010 THEN 'Report 347'
    WHEN 65011 THEN '347 Report'
    WHEN 65012 THEN 'Vendor Selection'
    WHEN 65013 THEN '349 Report'
    WHEN 65014 THEN '349 Report'
    WHEN 65015 THEN 'Define Withholding Tax Codes'
    WHEN 65016 THEN 'Exception Report'
    WHEN 65017 THEN 'WT Codes Allowed'
    WHEN 65018 THEN 'Update Parent Item Prices - Selection Criteria'
    WHEN 65019 THEN 'Template'
    WHEN 65020 THEN 'Update Parent Item Prices Globally'
    WHEN 65021 THEN 'Installments'
    WHEN 65022 THEN 'Update Stock Valuation method Report'
    WHEN 65023 THEN 'Update Stock Method - Selection Criteria'
    WHEN 65024 THEN 'Appendix O and P'
    WHEN 65025 THEN 'Deferred Sales And Purchase Ledger - Selection Criteria'
    WHEN 65026 THEN 'Deferred Sales And Purchase Ledger'
    WHEN 65027 THEN 'Sales And Purchase Ledger'
    WHEN 65028 THEN 'Annual Sales List'
    WHEN 65050 THEN 'Insufficient Available Quantity'
    WHEN 65051 THEN 'Serial Numbers Details'
    WHEN 65052 THEN 'Define Bussiness Partner Bank Accounts'
    WHEN 65053 THEN 'Batches Details'
    WHEN 65055 THEN 'Quantities'
    WHEN 65060 THEN 'Define Stamp Tax Groups'
    WHEN 65070 THEN 'Tax Declaration Boxes '
    WHEN 65080 THEN 'Print Invoice'
    WHEN 65081 THEN 'Folio Number Confirmation'
    WHEN 65082 THEN 'Folio Numbers Confirmation'
    WHEN 65083 THEN 'Folio Number Assignment'
    WHEN 65084 THEN 'Document Selection for Folio Number Assignment'
    WHEN 65085 THEN 'Document Selection for Folio Number Assignment'
    WHEN 65086 THEN 'Documents Folio numbering list'
    WHEN 65087 THEN 'Check Folio Numbering'
    WHEN 65088 THEN 'Text Editor'
    WHEN 65100 THEN 'Define Period Indicators'
    WHEN 65200 THEN 'MRP Wizard'
    WHEN 65201 THEN 'Define Forecasts'
    WHEN 65203 THEN 'Warehouses Selector'
    WHEN 65204 THEN 'Pegging Information'
    WHEN 65211 THEN 'Production Order'
    WHEN 65212 THEN 'Select Items To Copy'
    WHEN 65213 THEN 'Issue for Production '
    WHEN 65214 THEN 'Receipt from Production '
    WHEN 65215 THEN 'Order Recommendations Report - Selection Criteria'
    WHEN 65217 THEN 'Order Recommendations Report'
    WHEN 65250 THEN 'Tax Declaration Boxs Report'
    WHEN 65300 THEN 'A/R Down Payment'
    WHEN 65301 THEN 'A/P Down Payment'
    WHEN 65302 THEN 'A/R Invoice Exempt'
    WHEN 65303 THEN 'A/R Debit Memo'
    WHEN 65304 THEN 'A/R Bill'
    WHEN 65305 THEN 'A/R Exempt Bill'
    WHEN 65306 THEN 'A/P Debit Memo '
    WHEN 65307 THEN 'A/R Export Invoice'
    WHEN 65308 THEN 'A/R Down Payment Request '
    WHEN 65309 THEN 'A/P Down Payment Request '
    WHEN 65310 THEN 'Tax Declaration Boxs Report'
    WHEN 70001 THEN 'Material Revaluation'
    WHEN 999999 THEN 'About SAP Business One'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2 AND T2.FormID > 65000
    ORDER BY T1.QName

  • Standard Report for 5 Accounting Books

    Hi SAP Guru,
    Would like to know what is the corresponding Standard Report or tcode in SAP for the following books:
    1. Disbursements Journal
    2. Receipts Journal
    3. Sales Journal
    4. General Ledger Journal
    5. Cash Journal
    Appreciate your feedback on this.
    Thanks,
    Julie Ann

    Julie-
    I don't think SAP has standard reports for all the books you have mentioned. SAP has some line item reports like FBL1N - Vendors, FBL3N - General Ledger Accounts, FBL5N - Customers and depending on your needs you will have to customize these reports. Like for example, if you want to see receipts journal you will use FBL3N and include only those GL Accounts which are responsible for receipts and similarly for disbursements.
    But, there is a functionality called cash journal which if you implement will get some of your reporting needs. I have never worked on cash journal, but know it is out there.
    As far as sales journal is considered, see if you can use transactions SDO1, VA05.
    Also check transaction SAP1 which gives SAP Standard reports. Maybe there is some report that helps you.
    Shail

  • Ineractive report

    hi,
    how to create an interactive report which displays the month wise sales journal based on sales organization, material number and billing date..
    thanx and regards
    kalpana

    Hi,
    An Interactive report is one which an user can interact with, ideally on clicking on a primary list the user would be navigated to a secondary list. Similarly you can navigate till 20 secondary lists.
    Pls find below a simple example of interactive list from SAP Library :
    <b>
    REPORT demo_list_interactive_1.
    START-OF-SELECTION.
      WRITE: 'Basic List, SY-LSIND =', sy-lsind.
    AT LINE-SELECTION.
      WRITE: 'Secondary List, SY-LSIND =', sy-lsind.
    </b>
    Copy and paste this code on your abap editor, execute the same. You`ll understand the functionality.
    Apart from this you can also creative interactive reports using ALV GRID / ALV LIST...for which you would have to use Events.
    Hope this info. is helpful. If you`ve have access to SAP Library, refer to document no. 980.
    Reward points if helpful.
    Regards

  • Error while posting to Tax Journal Entry for sales and use tax

    Hi,
    I am trying to post a journal entry (FB50) to cleanup and correct the liability on our sales and use tax. All  lines are giving warnings and messages.Give me a suggestion  on how to get it to post .  Or if needed, another solution to correcting the balances in the sales and use taxes.
    But the entry to a/c # 226530 is giving an information message but still wouldnu2019t save.
    The Error message is
    Enter the tax base amounts for account 226400 in company codeAFCO
    Message no. F5A375
    Diagnosis
    You are posting directly to a tax account. Enter the tax base amounts per item using the function "Tax Amounts".
    Kindly help me how to fix the above issue.
    Thanks
    Suvarna

    You may want to check out the following notes... they may shed some light on your problem.
    681930 - Posting on tax account possible w/o specific. of base amount
    1090096 - FB60 / MIRO - Checking direct tax after change (F5A375)
    944978 - FB60 / MIRO - check of direct tax after change

  • Sales and purchase journal - balance carry forward to next page

    Hi all,
    When we run sales and purchase journals in transaction S_ALR_87012357 (Belgium) and print it we want a summary per page and balance carry forward to next page.
    The paging is correct by selecting "statistical info not printed" in output control but we don´t want only summary on last page, instead on every page and a total summary on last page.
    Does anyone knows how to mangage this?
    Best regards Lisa

    With a developer implement a the BADI  FI_TAX_BADI_010

  • Cash sales directly to cash journal

    Hi All,
    I need help in this exit. Once sales invoice is created that will post to accounting .I want to posting that to cash journal automatically at that time of creating accounting document. This is possible only through enhancement. I tried with exit SDVFX004 but it is not successful.
    Regards,
    Madhu.

    At the header level the copying requirements should be 003 - Header/delivery related.
    reference number should be E. All others blank.
    At the item level
    Copying reqmts - 004
    Data VBRK/VBRP  001
    billing qty  B
    POS/NEG  QTY  +
    Pricing type C
    All other fiels should be blank.
    regds
    Jude

  • How to disable the sales organization for journals in an activity?

    Hello,
    I had some products created direcly in mySAP CRM (not downloaded from R/3) that don't need - and don't have - sales organization information (They don't even have the "SD" view on them, and represent product families, that are common to many companies, or even services, valid for all sales organizations in the company). Then, althought I created a journal saying that it was not dependent on a sales organization, when I insert this product on the journal, the error message no. CRM_PRODUCT_I419  appers "Product X in sales organization Y.,distribution channel Z not  scheduled ".
    Is there any way I can disable this check of the activity on a journal's product, or something that could prevent this error from happening (apart form inserting the sales organization information on the product?
    The version I use is 4.0
    Thanks in advance!
    With my best regards
    Simone
    Edited by: Simone Pereira on Apr 16, 2008 10:03 PM

    hi
    m sorry i cant send you any screenshots as such  as i m not having SAP on my system.
    but you can go inside the SPRO and there in CRM-->Master Data> Product-----> Product catalog
    inside the catalog you must be having some product specific attributes there.
    just deactivate them if you do not want to use them
    also inside the org model again check whether the journal is org independent or not
    guess it will help
    best regards
    ashish

  • Wrong journal on Sales Return, how to correct it.

    Hi all,
    When create the Sales Return, produce the wrong journal :
    Variance HPP   (DB)
    COGS               (CR)
    It should be:
    Inventory           (DB)
    COGS                (CR)
    How to correct it ?
    If we use JE to reclass it, it will cause not match between:
                       1. Inventory Audit Report (summarize by Accounts)
                       2. Account Balance (Inventory Account)
    Is there any best way to correct it, so that between 1 and 2 will be match.
    Thanks in advance,
    Best regards,
    Surya

    Hello Friend,
    if you sales return acount mapped correct then This is not wrong entries it is correct .
    some time SAP find Variance  base on target document amount or with out delivery make issue note for same materials.
    Thanks
    Manvendra SIngh Niranjan

Maybe you are looking for