Extras in Queries

download Extras in Queries

of 16

Transcript of Extras in Queries

  • 8/2/2019 Extras in Queries

    1/16

    Attune for Manufacturers

    Extras in Queries

    User Guide

    Document Version: 0.1 (Draft)

  • 8/2/2019 Extras in Queries

    2/16

    attune USA

    1400 Main St.

    Waltham, MA 02452USA

    T+1 781 8990664 F+1 781 8990664www.attuneconsulting.com

    Copyright 2006-2009 attune. All rights reserved. No part of this publication may be

    reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any

    language, in any form or by any means, electronic, mechanical, photocopying, recording, or

    otherwise, without prior written permission from attune. All copyright, confidential

    information, patents, design rights and all other intellectual property rights of whatsoever

    nature in and to any source code contained herein (including any header files and

    demonstration code that may be included), are and shall remain the sole and exclusive

    property of attune. The information furnished herein is believed to be accurate and reliable.

    However, no responsibility is assumed by attune for its use, or for any infringements of

    patents or other rights of third parties resulting from its use.

    SAP and AFS are registered trademarks of SAP.

    Microsoft and Microsoft Windows XP are registered trademarks or trademarks of Microsoft

    Corporation in the United States and/or other countries.

    All other trademarks are the property of their respective owners.

    attune USA LLC, attune Lanka pvt ltd, attune Germany Gmbh, attune UK Limited, attune Italia S.r.L.,

    attune Australia (Pvt) Ltd, attune Hong Kong, attune Consulting India Pvt. Ltd., attune do Brasil

    are all subsidiaries of attune holdings.

    Logo is the property of attune holdings.

    http://www.attuneconsulting.com/http://www.attuneconsulting.com/http://www.attuneconsulting.com/
  • 8/2/2019 Extras in Queries

    3/16

    Document ControlDocument

    Version

    Description Date Changed/ Reviewed

    0.1 (Draft) Initial Draft 16/06/2009 Gunith de Silva/Tharaka Perera

    0.1 (Draft) Reviewed 16/06/2009 Eshan Weeratunga

  • 8/2/2019 Extras in Queries

    4/16

    Icons

    Icon Meaning

    Caution

    Example

    Note

    Recommendation

    Syntax

    External Process

    Business Process Alternative/Decision Choice

    Typographic Conventions

    Type Style Description

    Example text Words or characters that appear on the screen. These include field names, screen

    titles, pushbuttons as well as menu names, paths and options.Cross-references to other documentation.

    Example text Emphasized words or phrases in body text, titles of graphics and tables.

    EXAMPLE TEXT Names of elements in the system. These include report names, program names,

    transaction codes, table names, and individual key words of a programming

    language, when surrounded by body text, for example, SELECT and INCLUDE.

    Example text Screen output. This includes file and directory names and their paths, messages,

    source code, names of variables and parameters as well as names of installation,

    upgrade and database tools.

    EXAMPLE TEXT Keys on the keyboard, for example, function keys (such as F2) or the ENTER key.

    Example text Exact user entry. These are words or characters that you enter in the system exactlyas they appear in the documentation.

    Variable user entry. Pointed brackets indicate that you replace these words and

    characters with appropriate entries.

  • 8/2/2019 Extras in Queries

    5/16

    Table of Contents

    1. Introduction .......................................................................................................................................... 1

    2. Creating an Additional Field .................................................................................................................. 2

    3. Coding for the Traffic Lights .................................................................................................................. 3

    4. Adding a Local Field .............................................................................................................................. 7

    5. Assigning Transaction Code for Query .................................................................................................. 9

  • 8/2/2019 Extras in Queries

    6/16

    1

    1. IntroductionThis user guide will enable the user to generate query reports more effectively with additional

    functionality. The user manual will provide some tips for the users to enhance the query reports.

    In addition to the basic functionality of a query, the user can add extra features such as additional fields

    with coding and selection fields. This done in the following manner in the particular info set.

    Transaction code SQ02

  • 8/2/2019 Extras in Queries

    7/16

    2

    2. Creating an Additional Field

  • 8/2/2019 Extras in Queries

    8/16

    3

    3. Coding for the Traffic LightsQuery reports have the functionality of providing traffic light system, which will provide a graphical

    insight of the status for the users.

    Once the field has been created the user needs to write the coding necessary for the inclusion of the

    traffic lights for the Status field.

  • 8/2/2019 Extras in Queries

    9/16

    4

    For this scenario the coding is written for the following requirement for the DIFOT report.

    If Schedule Qty & Delivered Qty and Oder Date & Posting Date are equal the traffic light will be GREEN.

    If Qty condition has been met and the Posting Date is prior to the Order Date the traffic light will be

    GREEN.

    If either of the above conditions have not been met the traffic light will be ORANGE.

    If both the conditions have not been met the traffic light will be RED.

    Checkand Save the coding.

  • 8/2/2019 Extras in Queries

    10/16

    5

    How to get the ID of the Symbol

    Transaction code SE38

    Give program name as icons and double-click on icon

  • 8/2/2019 Extras in Queries

    11/16

    6

    Select the ID for the required symbol.

    Then the Info Set again prior to creating the query.

  • 8/2/2019 Extras in Queries

    12/16

    7

    4.Adding a Local FieldTransaction code SQ01

    This will give the user text boxes to enter short names. Assign variants for the fields required.

    Scheduled Qty and Qty of Goods Received is required for the new local field Balance Qty. Therefore

    SCH variant is assigned to Scheduled Qty and DEL variant is assigned to Qty of Goods Received and the

    calculation formula is given based on these variants.

  • 8/2/2019 Extras in Queries

    13/16

    8

    Specify the Heading as wanted to appear in the query report and specify the basic calculation for the

    additional field.

  • 8/2/2019 Extras in Queries

    14/16

    9

    The additional local field can depicted as follows.

    5.Assigning Transaction Code for QueryStep 1 Get the program name.

  • 8/2/2019 Extras in Queries

    15/16

    10

    Step 2 Assign Transaction code

    Transaction code SE93

  • 8/2/2019 Extras in Queries

    16/16

    11