create t-code in sap

Upload: ramsonar

Post on 05-Apr-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Create T-Code in SAP

    1/21

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 1

    Create Transaction Code forInfoset Queries Using Area Menu

    Applies to:

    SAP ECC 6.0. For more information, visit theABAP homepage.

    Summary

    It is not easy to create transaction code for Infoset queries (standard area / global area) through SE93. Alsoit is not recommended to create T code on the generated program name E.g.:

    AQDPA1==========AV_C002=======). This is because if the Infoset Query undergoes any changes,then at least once the Infoset query should be executed through SQ01 transaction in production (GenerateQuery), Otherwise the transaction code will still point to the old generated program.Transaction code will beautomatically created by system through Area Menu (SE43). This system generated transaction code pointsto Infoset query (standard area / global area) and not the generated program.

    Author: Subin John

    Company: Larsen & Toubro InfoTech Limited

    Created on: 1 September 2009

    Author Bio

    Author is working as a Sr. Software Engineer in Larsen & Toubro Infotech. He has 4 plus yearswork experience in ABAP, Infoset Query reports and Report Writer / Painter reports.

    https://www.sdn.sap.com/irj/sdn/abaphttps://www.sdn.sap.com/irj/sdn/abaphttps://www.sdn.sap.com/irj/sdn/abaphttps://www.sdn.sap.com/irj/sdn/abap
  • 7/31/2019 Create T-Code in SAP

    2/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 2

    Table of Contents

    Area menu ......................... ......................... ......................... ......................... ........................... ..................... 3Process ..................................................................................................................................................... 4

    Steps in Detail .............................................................................................................................................................. 41. Creating Area menu - one time activity .................................................................................................................... 42. Creating the first T-code in the Area menu .............................................................................................................. 54. Transaction codes for other reports. ...................................................................................................................... 17

    Related Content .......................... ......................... ......................... ......................... ........................... .......... 20Disclaimer and Liability Notice .......................... ......................... ......................... ......................... ................ 21

  • 7/31/2019 Create T-Code in SAP

    3/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 3

    Area menu

    Area menus are tree navigation / structure in which you can put all the types of reports. The systemautomatically assigns a transaction code to call the report from the menu.

  • 7/31/2019 Create T-Code in SAP

    4/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 4

    Process

    The whole process have been explained or broken into 3 parts.

    Create Area menu. ( A one time activity )

    Creating the first T-code in the Area menu.

    Creating subsequent transaction codes in the Area menu.

    Steps in Detail

    1. CreatingArea menu - one time activity

    1.1 Go to Transaction SE43 Area Menu Maintenance

    1.2 Enter a name (E.g.: ZAREAMENU) for the area menu and click on Create

    1.3 Enter a description of your choice for the Area menu

    1.4 Save the area menu in $TEMP (temporary package)

  • 7/31/2019 Create T-Code in SAP

    5/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 5

    1.5 The Area menu has been created.

    2. Creating the first T-code in the Area menu

    2.1 Go to transaction SE43 and enter the Area menu created (ZAREAMENU) and click on Change AreaMenu

  • 7/31/2019 Create T-Code in SAP

    6/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 6

    2.2 As we are going to create the first T-code to this area menu, we need to select Add entry as Subnode.In all subsequent cases, choose Add entry at same Level.

  • 7/31/2019 Create T-Code in SAP

    7/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 7

    2.3 Click on Add report

    2.4 Select

    a. Radio button SAP Query.

    b. If the Query exists in Global area, check checkbox Global area.

    Input user group and query name.

  • 7/31/2019 Create T-Code in SAP

    8/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 8

    2.5 On selecting Display other options

  • 7/31/2019 Create T-Code in SAP

    9/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 9

    2.6 After clicking on , the following screen appears to save the transaction code (either systemgenerated or user entered).

  • 7/31/2019 Create T-Code in SAP

    10/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 10

    Save it in the appropriate package (Both cases shown above)

    2.7 Click on Create Request on the prompt for Workbench request.

    2.8 Input an appropriate description and click Save

  • 7/31/2019 Create T-Code in SAP

    11/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 11

    2.9 Click on . The system will capture the transaction code in a new transport request.

  • 7/31/2019 Create T-Code in SAP

    12/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 12

    2.10 At this stage, you can edit the text if needed. Click

    2.11 Follow the screen shot below for displaying the transaction code.

    This concludes the step for creating Transaction code for an Infoset query for the first time.

  • 7/31/2019 Create T-Code in SAP

    13/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 13

    3. Creating subsequent transaction codes in the Area menu

    3.0 Go to SE43 and type in the Area menu created. Click Change Area menu icon

    3.1 Follow the instructions on the below screen shot.

  • 7/31/2019 Create T-Code in SAP

    14/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 14

    3.2 Click on Add report.

    3.3 Click on after selecting Report type (SAP Query), check checkbox if Query belongs to GlobalArea, user group and query name.

  • 7/31/2019 Create T-Code in SAP

    15/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 15

  • 7/31/2019 Create T-Code in SAP

    16/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 16

    3.4 Click on Save (Saving system generated T code in a package)

    3.5 Click on

  • 7/31/2019 Create T-Code in SAP

    17/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 17

    3.6 The transaction code for the Infoset query was created and added in the tree menu.

    3.7 Click on Save.

    4. Transaction codes for other reports.

    4.1 Transaction code for R3 SE38 ABAP report

  • 7/31/2019 Create T-Code in SAP

    18/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 18

    4.2 Transaction code for Report Writer reports.

  • 7/31/2019 Create T-Code in SAP

    19/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 19

  • 7/31/2019 Create T-Code in SAP

    20/21

    Create Transaction Code for Infoset Queries Using Area Menu

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 20

    Related Content

    Area Menu

    Infoset Query

    For more information, visit theABAP homepage.

    http://help.sap.com/saphelp_47x200/helpdata/en/00/783b377bfdcf61e10000009b38f936/frameset.htmhttp://help.sap.com/saphelp_47x200/helpdata/en/00/783b377bfdcf61e10000009b38f936/frameset.htmhttp://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htmhttp://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htmhttps://www.sdn.sap.com/irj/sdn/abaphttps://www.sdn.sap.com/irj/sdn/abaphttps://www.sdn.sap.com/irj/sdn/abaphttps://www.sdn.sap.com/irj/sdn/abaphttp://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htmhttp://help.sap.com/saphelp_47x200/helpdata/en/00/783b377bfdcf61e10000009b38f936/frameset.htm
  • 7/31/2019 Create T-Code in SAP

    21/21

    Create Transaction Code for Infoset Queries Using Area Menu

    Disclaimer and Liability Notice

    This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not

    supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

    SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,

    and anyone using these methods does so at his/her own risk.

    SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article orcode sample, including any liability resulting from incompatibility between the content within this document and the materials and

    services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this

    document.