How to allow users to upload a flat file to BW
Hi All,
For a planning application I would like to permit our users to upload a flat file on their local desktop to the infopackage and execute the load.
We would like to empower the users to prepare and upload their flat files into BW from their desktop without asking for BW support.
Please let me know if any of you have followed this approach.
Thanks
Karen
Hi,
The possible steps..
1. Create a small program and then give
Selection Screen:
FIle name : -
Note: Ask users give always same file name i.e. xyz.csv
Once user will give file name and execute it then file will save in Application Server (You fix the path like /usr/sap/BI1/DVEBMGS00/work, you create seperate folder in Application server)
2. Create a small Program with is using Events..
REPORT ZTEST_EV.
DATA: EVENTID LIKE TBTCJOB-EVENTID.
DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
EVENTID = 'ZEVENT1'.
EVENTPARM = 'ZEVENTPARAM'.
CALL FUNCTION 'RSSM_EVENT_RAISE'
EXPORTING
I_EVENTID = EVENTID
I_EVENTPARM = EVENTPARM
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
3. Once user will upload the file in Step 1, then he need to run this Program,.
4. You craetea Process Chain using this Event, then once User will run this program then the Data Loads will happen through Process Chain.
Note: Eventhough this is lengthy process, it is protected 100%, because we are not giving any access to User, we just given reports/programs to execute.
Thanks
Reddy
Thanks
Reddy
Similar Messages
-
How to upload a flat file into a Z DB table
Hi All,
For a planning application I would like to permit our users to upload a flat file to a internal table to be persisted on to any given database Z Table. From here we would use it in a planning application.
Please kindly share the code and approach to implement this in BSP.
Thanks
KarenHi Karen,
Check the links mentioned below.
[Excel to internal table|Excel to Internal table in BSP;
[upload excel into BSP|upload excel sheet into BSP application;
The two links show how to convert an excel file data to internal table in BSP application.Similarly you can convert the flat file data to internal table and then modify the Z DB table to store the data from internal table.
Regards,
Anubhav -
How to allow user upload file on applet??
Sorry I'm new to programming here, but I'm trying to allow user to upload a file to the server so the program inside the server can user the file as input.
I've noticed that JFileChooser, the ideal class for this, is not allowed on the applet, so I don't know how to go about doing this.
Thanks for any input!ok
you wish to transfer a file from applet to server.
1. Applet gets the file
the applet needs to access the file System therefor it must b a signed applet to get aound the security restrictions. This is why the JFileChooser doesn't work. Check out the tutorials on jars and applets, particularly the security notes.
2. opens a connection with the server
so the applet has a file and needs to send it. there needs to be a service of some form on the destination computer to execpt the file. Perhaps you write your own perhaps you use HTTP.
3. server software stores the file
where an applet is an mini application that runs within the confines of the web browser. a SERVLET is a service program which runs with in the confines of a server, such as a web server.
this is a lot easier to do HTML rather that applet in my opinion but which ever. -
How do I allow users to upload personal files through website?
How do I allow users to upload personal files through our website?
I am trying to allow the visitors the ability to upload images for a future contest we will be hosting. I am trying to build a submit form with personal fields (already got this done) along with a field they can upload 1 or 2 images. I want the form to send me an email with details along with image files. I have a BC webbasic+ account and I am using Muse for my web editing.
Can someone point me in the right direction?Hi,
You could apply a "file attachment" field within the web form. If needing more than 1 file attachment you'll need to access your form code and hard-code the additional field.
The form will collect the file(s) and will be held within the case details under "related files". You can also assign a workflow to recieve notifications however only 1 file will appear in each email. To see the other files you'll need to access your order details.
All this can be create and managed within your site's admin. yoursite.com/admin
Within the site admin...
http://helpx.adobe.com/content/help/en/business-catalyst/using/create-insert-form.html (Creation of webform, etc)
http://helpx.adobe.com/content/help/en/business-catalyst/sbo/customer-database.html#id_227 59 (Manage customer web form submissions)
Hope this helps!
-Sidney -
How to allow user print their draft anwsers before sending it as final ?
How to allow user print their draft anwsers before sending it as final in a form central questionnaire ?
Hey MTdev,
Panel close? events cannot be triggered on a VI being viewed or controlled remotely. Some more information on that can be found in the help here:http://zone.ni.com/reference/en-XX/help/371361E-01/lvprop/vi_panel_closeq/. My suggestion would be to set the Title Bar on the front panel of your remote VI to not be visible so that their only option for closing the window is to click the logout button. Are you using Remote Front Panels(http://zone.ni.com/devzone/cda/tut/p/id/3277) to do this instrument control? Using remote front panels allows you to manage a lot of the multiple people accesssing at the same-time type issues so it may be something to look into if you are not already using this method.
Regards,
Kevin
Product Support Engineer
National Instruments -
How to allow user chaning his password in OBIEE 11g weblogic custom LDAP?
Hi,
How to allow user chaning his password in OBIEE 11g weblogic custom LDAP?
I need to give user an option to do so, without the intervention of any Administrator. I also do not want to make user a Administrator else he will be able to login in weblogic and can do any damages unknowingly.....
Regards,
RahulHi,
Replace the line in the instantconfig.xml
<WebMessage name=”kmsgChangePasswordLink”><!–<HTML><sawm:messageRef name=”kmsgUIChangePassword”/></HTML>–></WebMessage>
with
<WebMessage name=”kmsgChangePasswordLink”><HTML><sawm:messageRef name=”kmsgUIChangePassword”/></HTML></WebMessage> -
How to upload a Flat file into sap database if the file is in Appl'n Server
Hello Sap Experts , Can you tel me
" How to upload a Flat file into sap database if the file is in Application Server.
what is Path for that ?
Plz Tel Me its Urgent
Thanks for allHi,
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB *
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
* con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
* Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop. -
Anybody knows that how to Allowing user Customization at runtime for portle
Anybody knows that how to Allowing user Customization at runtime for portlet.
What i want is to let user Customization persist to the repository. (not session). bu tmy testing accodring the Jdev 11g guide shows not working for portlet..
Any body knows how to do this for portlet ? Web center 11g
thanks a lot.
WayneHi Wayne,
You can only save runtime customizations to the repository for the users present in jazn-data.xml file (If you are using file based security).
You will have to do the following before you can start saving user customizations:
1. Create Webcenter Template project.
2. Apply ADF Security
3. Use page-definition files for jspx pages.
After this, whatever customizations you do, will be saved to persistence storage.
Better would be to try this on server. Since, before deploying, you run the pre-deployment tool, which will take the MDS Repository path as an input and store all persistence storage there.
If there is nothing in that location, you can be sure something is wrong and debug it.
Hope that was helpful.
Regards,
Kunal Chheda. -
How to upload a flat file which is saved as .html format.
hi techies,
I have to upload a flat file which is saved in .HTML format. Is there any function moudles seperately to
upload html flat file or using GUI_UPLOAD.. can we upload it ???
Please need a suggestion...
Rgds.,
subashhi gautam,
this FM is taking html string as input and giving the output, not the file...
any more suggesstions dude..
Rgds.,
subash -
How to load hierrarchies using dtp using flat file in bw ineed clear ste
how to load hierrarchies using dtp using flat file in bw ineed clear steps
Hi,
If you want to load InfoObjects in the form of hierarchies, you have to activate the indicator with hierarchies for each of the relevant InfoObjects in the InfoObject maintenance. If necessary, you need to specify whether the whole hierarchy or the hierarchy structure is to be time-dependent, whether the hierarchy can contain intervals, whether additional node attributes are allowed (only when loading using a PSA), and which characteristics are allowed.
1.Defining the source system from which you want to load data:
Choose Source System Tree ® Root (Source System) ® Context menu (Right Mouse Button) ® Create.
For a flat file, choose: File System, Manual Metadata; Data via File Interface.
2.Defining the InfoSource for which you want to load data:
Optional: Choose InfoSource Tree ®Root (InfoSources) ® Context Menu (Right Mouse Button) ® Create Application Component.
Choose InfoSource Tree ® Your Application Component ® Context Menu (Right Mouse Button) ® Create InfoSource ® Direct Update
Choose an InfoObject from the proposal list, and specify a name and a description.
3.Assigning the source system to the InfoSource
Choose InfoSource tree ® Your Application Component ® One of your InfoSources ® Context Menu (Right Mouse Button) ® Assign Source System. You are taken automatically to the transfer structure maintenance.
The system automatically generates DataSources for the three different data types to which you can load data.
Attributes
Texts
Hierarchies (if the InfoObject has access to hierarchies)
The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
4.Maintaining the transfer structure / transfer rules
Choose the DataSource to be able to upload hierarchies.
Idoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject, for which hierarchies are loaded. With this transfer method, during loading, the structure is converted to the structure of the PSA, which affects performance.
PSA transfer method: The transfer methods and the communication structure are also generated here.
5.Maintaining the hierarchy:
Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields. This option allows you to load characteristic values having a length greater than 32 characters.
Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
Description
Field Name
Length
Type
Node ID
NODEID
8
NUMC
InfoObject name
INFOOBJECT
30
CHAR
Node name
NODENAME
32
CHAR
Catalog ID
LINK
1
CHAR
Parent node
PARENTID
8
NUMC
First subnode
CHILDID
8
NUMC
Next adjacent node
NEXTID
8
NUMC
Language key
LANGU
1
CHAR
Description - short
TXTSH
20
CHAR
Description - medium
TXTMD
40
CHAR
Description- long
TXTLG
60
CHAR
The system transfers the settings for the intervals and for time-dependency from the InfoObject maintenance. Depending on which settings you have defined in the InfoObject maintenance, further table fields can be generated from the system.
The valid from and valid to field is filled if you select Total Hierarchy Time-dependent in the InfoObject maintenance. The time-dependent indicator is activated if you select the Hierarchy Nodes Time-dependent option in the InfoObject maintenance.
6.Save your entries.
Depending on which settings you defined in the InfoObject maintenance, additional fields can be generated from the system. Also note the detailed description for Structure of a Flat Hierarchy File for Loading via an IDoc and for Structure of a Flat Hierarchy File for Loading via a PSA.
Also find the below blog for your reference...
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
You can load hierarchy using process chain...
Find the below step by step procedure to load hierarchy using process chain...
http://help.sap.com/saphelp_nw70/helpdata/EN/3d/320e3d89195c59e10000000a114084/frameset.htm
Assign points if this helps u...
Regards,
KK.
Edited by: koundinya karanam on Apr 8, 2008 1:08 PM
Edited by: koundinya karanam on Apr 8, 2008 1:09 PM -
Time taken to upload a flat file in SAP BI
Hello Experts,
Want to know , about how much time it will generally take to upload a flat file in SAP BI having data volume near about 10 million .
OR what is standard time taken to upload the data from a flat file what ever be the size of the the flat file in terms of records ,
please provide me the detaild information regarding the time taken , plz clarify it , and thanks in advanceHi,
there are some other points that you need to consider while trying to evaluate your question:
- how wide is your file/how many columns it has?
- what's the type of interface you using for flat file upload? is it: flat file loaded from user workstation? from application server? from web interface (like planning app)?
- how complex is login used to transform the data from flat file before data is saved in BW objects?
In general 10mil of records is not a problem is not a problem if you using upload from application server. If you using load from user workstation thsi can be an issue. Even less performant is load of that much data via web interface. -
To upload a flat file into BW using a variable entry in web application
hi guys,
how to upload a flat file into the web browser using a
a variable entry in the wad application.
Thanks,
your help will be duly appreciated
Message was edited by:
Vj.R Tthanks arun
but is it not possible to load the flat file at bex level which
might be the same at wad level
and also what do you mean the load package
triggered from the backend and how do i
manipulate the data is it at bex level or wad level
please elaborate.
thanks
your help will be rightly acknowledged. -
Error message while uploading the flat file
Hi Experts,
I am getting the error message while uploading the flat file.
Message class: MG
Number: 147
The message is: Several descriptions exist for the language JA.
Please guide me why this error is occuring.
Regards
Akshayhi,
how are you uploading the file and where ?
u can use open dataset , read dataset or gui_upload
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/e92637c2cbf357e10000009b38f936/frameset.htm -
How to extract data from Essbase to Flat File using ODI
Hi,
Anyone know how to extract data from Essbase to Flat File using ODI?
Thanks in advance.
Regards,
SumardiHi,
Have you read through :-
Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
If you have read them and are still have a problem at what stage are you having the issues?
Cheers
John
http://john-goodwin.blogspot.com/ -
Hello Everyone
i am srikanth. i would like to know wheather do we have a facility for Delta Upload for flat file. If yes can u please give me the steps.
thanks in advance
srikanthHi Sabrina...thank you for ur help...i did load the data from cube to ods
steps.
1. i generated export data source on the cube
2. i found the name of the cube with prefix 8<infocube name> in the infosource under DM application component.
3. there are already communication structure and transfer rules activated but when i am creating update rules for the ods..i am getting the message 0recordmode missing in the infosource.
4. so i went to infosource and added 0recordmode in communication structure and activated but the transfer rules in yellow colour..there was no object assigned to 0recordmode but still i activated.
5.again i went to ods and created update rules and activated (tis time i didnt get any message about 0recordmode).
6.i created infopackage and loaded.
a)Now my question is without green signal in the transfer rule how data populated into the ods and in your answer you mentioned to create communication structure and transfer rules where in i didnt do anything.
b) will i b facing any problem if i keep loading the data into the ods from cube (in yellow signal) ..is it a correct procedure..plz correct me..thanks in advance
Maybe you are looking for
-
Address Book Importing.
How do I get all the addresses I have in my IMail program( you know when you type in an 'a" and all the a's come up, b's.c's etc.) in the mail programn, into Address?
-
Is there a way for me to send an ipod from canada to the USA online?
does anyone know if i can end an ipod from canada online to usa online? i mean can i send someone in the usa a ipod from canada online?
-
Why isn't my iPod (5th Generation) turning on all the way?
Okay earlier my iPod died and I plugged it in, while it was charging I was about to open my message app. Right when I clicked on it my iPod died or did something anyways. Now whenever I turn it on I just see the white apple logo for several seconds a
-
Reconciliation problem between MB51 and MC.A report
I need to know the total receipts and issues value during certain periods for certain plant/location. Although, MC.A report shows total receipt and issues values but when I execute MB51 and make total of all receiving stock then values doesnt match
-
HT201303 What is a security code
Please help me in understanding, what is a security code in under the 'payment options'