Soumettre la recherche
Mettre en ligne
Upload flat file in sap bi
•
4 j'aime
•
3,540 vues
Obaid shaikh
Suivre
Upload flat file in sap bi
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 15
Recommandé
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
Recommandé
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
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
blackmambaettijean
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
BkGupta21
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
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
Contenu connexe
Dernier
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
blackmambaettijean
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
BkGupta21
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
Dernier
(20)
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
En vedette
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
En vedette
(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.