You are on page 1of 21

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 1

Create Transaction Code for Infoset Queries Using Area Menu

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 2

Create Transaction Code for Infoset Queries Using Area Menu

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 3

Create Transaction Code for Infoset Queries Using Area Menu

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)

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 4

Create Transaction Code for Infoset Queries Using Area Menu

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 5

Create Transaction Code for Infoset Queries Using Area Menu

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 6

Create Transaction Code for Infoset Queries Using Area Menu

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 7

Create Transaction Code for Infoset Queries Using Area Menu

2.5 On selecting Display other options

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 8

Create Transaction Code for Infoset Queries Using Area Menu

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 9

Create Transaction Code for Infoset Queries Using Area Menu

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 10

Create Transaction Code for Infoset Queries Using Area Menu

2.9 Click on

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 11

Create Transaction Code for Infoset Queries Using Area Menu

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 12

Create Transaction Code for Infoset Queries Using Area Menu

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 13

Create Transaction Code for Infoset Queries Using Area Menu

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.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 14

Create Transaction Code for Infoset Queries Using Area Menu

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 15

Create Transaction Code for Infoset Queries Using Area Menu

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

3.5 Click on

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 16

Create Transaction Code for Infoset Queries Using Area Menu

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 17

Create Transaction Code for Infoset Queries Using Area Menu

4.2 Transaction code for Report Writer reports.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 18

Create Transaction Code for Infoset Queries Using Area Menu

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 19

Create Transaction Code for Infoset Queries Using Area Menu

Related Content
Area Menu Infoset Query For more information, visit the ABAP homepage.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 20

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

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 21

You might also like