Suche senden
Hochladen
Upload flat file in sap bi
•
4 gefällt mir
•
3,540 views
Obaid shaikh
Folgen
Upload flat file in sap bi
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 15
Empfohlen
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 system
Bhaskar Reddy
SAP BW - Info cube
SAP BW - Info cube
Yasmin Ashraf
SAP BW - Creation of hierarchies (time dependant hierachy structures)
SAP BW - Creation of hierarchies (time dependant hierachy structures)
Yasmin Ashraf
SAP BW - Master data load via flat file
SAP BW - Master data load via flat file
Yasmin Ashraf
Step by step procedure for loading of data from the flat file to the master d...
Step by step procedure for loading of data from the flat file to the master d...
Prashant Tyagi
Trigger bi process chain from ecc
Trigger bi process chain from ecc
Obaid shaikh
Sap bw lo extraction
Sap bw lo extraction
Obaid shaikh
Db connect with sap bw
Db connect with sap bw
Obaid shaikh
Empfohlen
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 system
Bhaskar Reddy
SAP BW - Info cube
SAP BW - Info cube
Yasmin Ashraf
SAP BW - Creation of hierarchies (time dependant hierachy structures)
SAP BW - Creation of hierarchies (time dependant hierachy structures)
Yasmin Ashraf
SAP BW - Master data load via flat file
SAP BW - Master data load via flat file
Yasmin Ashraf
Step by step procedure for loading of data from the flat file to the master d...
Step by step procedure for loading of data from the flat file to the master d...
Prashant Tyagi
Trigger bi process chain from ecc
Trigger bi process chain from ecc
Obaid shaikh
Sap bw lo extraction
Sap bw lo extraction
Obaid shaikh
Db connect with sap bw
Db connect with sap bw
Obaid shaikh
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Precisely
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Mattias Andersson
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Weitere ähnliche Inhalte
Kürzlich hochgeladen
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Precisely
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Mattias Andersson
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Kürzlich hochgeladen
(20)
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Empfohlen
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Empfohlen
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Upload flat file in sap bi
1.
SAP COMMUNITY NETWORK
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 Upload Flat File in SAP BI/BW Applies to: SAP BI/BW Summary This Article demonstrates the step by step process to upload Flat file to an ABAP Table then load the same into SAP BI/BW objects via process Author: Obaidullah Shaikh Company: AG Technologies Created on: 15 September 2011 Author Bio Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas (ABAP) and he has experience of multiple custome reports development and has experience of Migration/upgradation projects as well.
2.
Upload Flat File
in SAP BI/BW 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 Introduction .........................................................................................................................................................3 Create table ........................................................................................................................................................3 ABAP Program ...................................................................................................................................................4 Create Data source.............................................................................................................................................6 Replicate that Datasource ..................................................................................................................................7 Create Transformation........................................................................................................................................7 Create Info Package...........................................................................................................................................8 Create DTP.........................................................................................................................................................8 Create Process chain .........................................................................................................................................9 Create an Event................................................................................................................................................10 Start Condition of Process Chain..................................................................................................................10 Schedule the process chain..........................................................................................................................10 Create a T-Code ...............................................................................................................................................11 Run that T-Code ...............................................................................................................................................12 Select File .........................................................................................................................................................12 Check the Chain log .........................................................................................................................................13 Related Content................................................................................................................................................14 Disclaimer and Liability Notice..........................................................................................................................15
3.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3 Introduction Most of the companies are maintaining some of the transactions in Flat file (Excel Sheet) and they want to load that flat file to SAP BI, there are multiple ways to load Flat file into BW. BI consultant will maintain the Data flow for that flat file and whenever file will come via an email or any other way, BI person will load it manually on daily basis but this is not the right way to load flat file. BI consultant uses any tool to transfer the file from client to Application server and load from there via process chain. But this is also not a best practice in all the types of operating system specially Windows. Because while transferring the file virus will also move and that will create problem in server so the best way is to transfer it via ABAP Code. This document will discuss how can load data from file to ABAP table and then we will load the same to BI object. User just needs to run a Transaction code and select the corresponding file, he want to load. Create table Create a table in BW that will store the records structure of that table will same as flat file
4.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4 ABAP Program Write the following ABAP program in SE38 DATA S_FILE TYPE STRING. “To Get Path of csv file that need to loaded in BI CALL FUNCTION 'WS_FILENAME_GET' IMPORTING FILENAME = S_FILE. “ZTEST is ABAP TABLE in SAP BI System that will store the records coming from Flat file TABLES ZTEST. DATA: BEGIN OF WA1, MAT(18) TYPE C, PLANT(5) TYPE C, END OF WA1, ITAB LIKE TABLE OF WA1, WA_FINAL LIKE ZTEST, ITAB_FINAL LIKE TABLE OF WA_FINAL. DATA STR TYPE STRING. DELETE FROM ZTEST. CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = S_FILE FILETYPE = 'ASC' HAS_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = ITAB . DATA J TYPE I. DATA L TYPE I. CLEAR STR. "The Following code will convert the data from internal table to Database Table LOOP AT ITAB INTO WA1. L = STRLEN( WA1-MAT ). “Since data is Comma separated that's why a record will be a string “e.g. M01, 1000 will be a single string that needs to be separated depending upon "Commas in between the string WHILE WA1-MAT+J(1) <> ',' . CONCATENATE STR WA1-MAT+J(1) INTO STR. J = J + 1.
5.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5 ENDWHILE. WA_FINAL-MAT = STR. CLEAR STR. J = J + 1. WHILE J < L . CONCATENATE STR WA1-MAT+J(1) INTO STR. J = J + 1. ENDWHILE. WA_FINAL-PLANT = STR. CLEAR STR. APPEND WA_FINAL TO ITAB_FINAL. J = 0. INSERT INTO ZTEST VALUES WA_FINAL. ENDLOOP. "FM to Trigger Event that will trigger Process chain of Data load DATA EVENT TYPE STRING. EVENT = 'ZPATH_IP'. CALL FUNCTION 'BP_EVENT_RAISE' EXPORTING EVENTID = EVENT .
6.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6 Create Data source Create a DataSource in SAP BI (RSO2 T-code) You can also maintain generic delta also in this data source
7.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7 Replicate that Datasource Replicate the Datasource from RSDS and activate it Create Transformation
8.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8 Create Info Package Create DTP
9.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9 Create Process chain
10.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10 Create an Event Create an event from SM64 that will trigger Chain. Start Condition of Process Chain Schedule the process chain
11.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11 Create a T-Code Create a T-code from SE93. User will just need to run this t-code Enter descrition and select start object as “Program and selection screen(report transaction)” Enter the ABAP Program name (ZINS_PATH)
12.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 12 Run that T-Code Select File After running the T-code, A dialog will pop-up to select the file that is going to be loaded
13.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 13 Check the Chain log Data is successfully loaded to BW
14.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 14 Related Content http://forums.sdn.sap.com/thread.jspa?threadID=1281874 https://www.sdn.sap.com/irj/scn/wiki?path=/display/SCM/Move%252ba%252bfile%252bfrom%252bsourc e%252bto%252btarget%252bdirectories%252bin%252bAPO https://www.sdn.sap.com/irj/scn/thread?messageID=7224879#7224879
15.
Upload Flat File
in SAP BI/BW SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 15 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.