Вы находитесь на странице: 1из 12

Wrapper Tool for Creating Multiple

Info Objects in one go

Applies to:
Applicable for all SAP BW/BI release. For more information, visit the EDW homepage

Summary
Wrapper tool use the customized program to fill the backend tables that has been created at the time of
infoobject create and activate. By using this process creation of individual infoobject time will reduce, process
will be automating the creation of characteristics infoobjects and keyfigures.
Author:

Om Ambulker

Created on: 15 July 2011

Author Bio
Om Ambulker is the SAP BI consultant from last 3.5 years and he is involve in implementation and
support project in sap BW

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


1

Wrapper Tool for Creating Multiple Info Objects in one go

Table of Contents
Wrapper tool for Creating Multiple Characteristics and Keyfigure in one go ...................................................... 3
Assign Infoobjects to the infoarea ...................................................................................................................... 7
Related Content ................................................................................................................................................ 11
Disclaimer and Liability Notice .......................................................................................................................... 12

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


2

Wrapper Tool for Creating Multiple Info Objects in one go

Wrapper tool for Creating Multiple Characteristics and Keyfigure in one go


Step by step guide to create Characteristics in one go
1. Go to ABAP Editor using T-code SE38
2. Enter program technical name
3. Click on create button by selecting source code in subobjects

4. Paste the code in program editor

Complete Code:

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


3

Wrapper Tool for Creating Multiple Info Objects in one go

5. Save and activate the code


6. Create a customized T-code via SE93 to access the program or we can directly run the program in
SE38 by clicking on the execute button.

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


4

Wrapper Tool for Creating Multiple Info Objects in one go

7. Save the Tcode


8. Template to create info object file.

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


5

Wrapper Tool for Creating Multiple Info Objects in one go

Wrapper
Template.XLS

infofile.csv

keyfigfile.csv

9. Run the T-Code

10. Enter the Info area and absolute file path and press execute button.

Note: Sometime it will happen that Infoobjects created in the unassignednode. To assign proper infoarea to the
infoobjects run the below program.

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


6

Wrapper Tool for Creating Multiple Info Objects in one go

Assign Infoobjects to the infoarea


Assigning the info objects in particular infoarea.
Step by step guide to create and execution of assign program
1. Go to ABAP Editor using T-code SE38
2. Enter program technical name
3. Click on create button by selecting source code in sub objects

1
3

4. Write logic to assign info objects and key figure to assign characteristics and key figure to a
particular info area.

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


7

Wrapper Tool for Creating Multiple Info Objects in one go

Complete Code:
5. Create another customized T-Code for assigning the infoobjects to the infoarea.

1
2

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


8

Wrapper Tool for Creating Multiple Info Objects in one go

6. Use the same file that we created for infoobject in assigning the infoarea.
7. Run the T-code ZASSIGN to map the infoobjects in the infoarea.

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


9

Wrapper Tool for Creating Multiple Info Objects in one go

Check list for Characteristics:


Description
Check number of columns should be 6 or 7 if compounding is used.
Infoobject name should follows naming convention
See if DATA TYPE is one of the four possible data types such as
CHAR,NUMC,DATS or TIMS.
Technical Name should be between 3 9 characters .
All fields should be in capital except text(long & short)
Short text should not be more than 20 characters.
Long text should not be more than 60 characters.
INTLEN should not be more than 17 for numbers.

Column TYPE should have value CHA

Check list for Key Figures:


Description
Check number of columns should be 12.
Infoobject name follows naming convention
See if DATA TYPE is one of the four possible data types such as
CHAR,NUMC,DATS or TIMS.
Technical Name should be between 3 9 characters
All fields should be in capital except text(long & short)
Short text should not be more than 20 characters.
Long text should not be more than 60 characters.
INTLEN should not be more than 17 for numbers.

Column TYPE should have value KYF

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


10

Wrapper Tool for Creating Multiple Info Objects in one go

Related Content
www.sdn.sap.com
www.help.sap.com
For more information, visit the EDW homepage

SAP COMMUNITY NETWORK


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


11

Wrapper Tool for Creating Multiple Info Objects in one go

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


2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com


12

Вам также может понравиться