Top Banner
 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1 Create Transaction Code for Infoset Queries Using Area Menu Applies to: SAP ECC 6.0. For more information, visit the ABAP homepage Summary It is not easy to create transaction code for Infoset queries (standard area / global area) through SE93. Also it 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 (Generate Query), Otherwise the transaction code will still point to the old generated program.Transaction code will be automatically created by system through Area Menu (SE43). This system generated transaction code points to 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 years work experience in ABAP, Infoset Query reports and Report Writer / Painter reports.
21

BC-SAP QUERY Transaction Code for Infoset Queries Using Area Menu

Oct 15, 2015

Download

Documents

micoelho

SAP Query Manual
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2009 SAP AG 1

    Create Transaction Code for

    Infoset Queries Using Area Menu

    Applies to:

    SAP ECC 6.0. For more information, visit the ABAP homepage.

    Summary

    It is not easy to create transaction code for Infoset queries (standard area / global area) through SE93. Also it 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 (Generate Query), Otherwise the transaction code will still point to the old generated program.Transaction code will be automatically created by system through Area Menu (SE43). This system generated transaction code points to 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 years work experience in ABAP, Infoset Query reports and Report Writer / Painter reports.

  • 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 .................................................................................................................................................... 3

    Process ..................................................................................................................................................... 4 Steps in Detail .............................................................................................................................................................. 4

    1. Creating Area menu - one time activity .................................................................................................................... 4

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

    4. Transaction codes for other reports. ...................................................................................................................... 17

    Related Content .......................................................................................................................................... 20

    Disclaimer and Liability Notice ..................................................................................................................... 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 system automatically assigns a transaction code to call the report from the menu.

  • 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. Creating Area 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)

  • 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 Area Menu

  • 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.

  • 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.

  • 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

  • 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 system generated or user entered).

  • 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

  • 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.

  • 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.

  • 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.

  • 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 Global Area, user group and query name.

  • 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

  • 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

  • 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

  • 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.

  • 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

  • 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 the ABAP homepage.

  • 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 21

    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 or code 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.