wrapper tool for creating multiple info objects

12
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 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

Upload: jothikumarjayaraman

Post on 21-Apr-2015

121 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Wrapper Tool for Creating Multiple Info Objects

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

© 2011 SAP AG 1

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

Page 2: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 2

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

Page 3: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 3

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:

1

2 3

4

Page 4: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 4

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.

1

2

3

Page 5: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 5

7. Save the Tcode 8. Template to create info object file.

4

5

6

Page 6: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 6

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.

7

8

Page 7: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 7

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

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

particular info area.

1

2

3

4

Page 8: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 8

Complete Code:

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

1

2

3

4

5

Page 9: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 9

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.

6

7

8

Page 10: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 10

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‟

Page 11: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 11

Related Content

www.sdn.sap.com

www.help.sap.com

For more information, visit the EDW homepage

Page 12: Wrapper Tool for Creating Multiple Info Objects

Wrapper Tool for Creating Multiple Info Objects in one go

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

© 2011 SAP AG 12

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.