USERS_GEN : Upload User from file
Does anyone knows where the field cournty is stocked and what is its role?
Thanks
Hello, here is the snippet of the information of this transaction
Option 1: Upload Users from File (ASCII)
Prerequisite
The data fields for a user are in a row and are separated by a
semicolon. You can generate these files in MS Excel, for example, (save
the Excel sheet as file type CSV). The order of the fields is critical.
Example
o D030456;Smith;50000105;[email protected];de
o C00213445;Doe;50000106;[email protected];us
o D23456;Moser;50010203;[email protected];dk
Note
In the menu under Goto -> Define Separator, you can determine if a
semicolon or a comma is to be accepted as a separator.
If all the data in the file is not accessible, default values are used
for the missing data. If the file contains an e-mail address, the system
generates a password and sends it via e-mail to the user. If the file
has not e-mail address, you are prompted to specify an initial password
for all users.
You must specify the technical key for the fields Academic title, Form
of address, Manager indicator, Role and Country.
o You can find the system keys for the academic title in field
TITLE_KEY of table TSAD2.
o You can find the system keys for the address text in field TITLE of
table TSAD3T.
o If the user is to be a manager, you check the field Manager
indicator.
o If you are assigning a role for a user, the file must contain the
technical name of the role. You should check in advance in
Transaction PFCG if the role actually exists.
Regards, Luciano.
Similar Messages
-
Automated password emails for Users_Gen (Upload users from files)
Hello ,
when we upload new users from file in users_gen , an automated email is being sent to the users which contains the user's password.
Can you please let me know if we can change the text of that email , if yes how ..
I want to include an extra line when the mail is sent to the users ...
rgds
ChetanHello Chatan,
unfortunately the text is hard coded, so you need an ABAP-er. He would need to insert the following code:
Include: LBBP_MASS_CREATIONF02
Form: help_form_send_email
MOVE TEXT-010 TO MAIL_CONTENT-LINE.
APPEND MAIL_CONTENT.
*<<< Start of Insert >>>
MOVE 'Your text' TO MAIL_CONTENT-LINE.
APPEND MAIL_CONTENT.
*<<< End of Insert >>>
RECEIVERS-RECEIVER = p_email.
RECEIVERS-REC_TYPE = 'U'.
RECEIVERS-COM_TYPE = 'INT'.
APPEND RECEIVERS.
Regards,
Peter Jancik -
Hi,
We are working on SRM 4.0 classic , SP 11.
We want to upload the users + cost center using upload users from file option in USERS_GEN transaction. The problem is we dont have the option of selecting the cost center and logical system on the main screen.
We have considered the OSS note Note 871216 - Cost Center not Updated with transaction Users_Gen. And the code corrections are already present in the system.
But the check boxes for selecting the cost center and logical sytem are not available.
Any guesses.
Many thanks in advance.Hi Daniel,
Thanks for the reply.
But the problem is selection of the check boxes for cost center and logical system, these two are not appearing on the screen.
I can down load the file format using option " Download user data to file". While doing this you have option of selecting data like fax number, telephone number etc. But there is no option of selecting the cost center / logical sytem.
On the same line while uploading the users I do not have the check boxes for the cost center / logical sytem. How can to activate these check boxes so that cost center data is also uplaoded while generating the users as well.
Thnak you -
Upload user chosen file for the app to access directly
hello all,
i'd like my app to upload a user chosen file from user's hard
drive but i want the flash app to have direct access to the
uploaded bitmap rather than saving the file to the server via php.
i've seen examples to send the FileReference object to a
serverside script for uploading to the server but i just want the
flash app to use the bitmap w/o needing to save the file.
is the file data only uploaded by php or during the
FileReference.upload()? how to get access to the bitmap data?
help!
TIA,
michaelthx kglad. as far as you know, is that the only way? i was
hoping that FileReference was able to gain access to the bitmap to
pass it to the flash app directly. -
I cannot upload photos from file upload window anymore
When trying to select photos to upload to blog or attach to emails it shows the photos icon in the list on the left along with music, films etc, but when I click on it it shows only the iPhoto icon and will not let me select individual photos. It tells me to select iPhoto to show the pictures in the library but it will not click through and only lets me select the whole library to attach to blog or email. This has been getting worse for a while and I often had to click into usic or films and then back to photos to get the library to show but now it will not show up the contents at all. When I open iPjoto all is normal.
As a Test:
Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there? -
How do you import a list of users from a file? (BPC 7.5NW)
In adding users from a network domain, the related personnel filter provides three choices. One of the choices allows a BPC administrator to import a list of users from file. For some reason, the radio button alongside that option is grey and the choice is inoperable. Does anyone know what steps-configuration or later-must be taken to make this choice operable and to be able to import the list of users from a file?
Edited by: Greg Tyrl on Jul 11, 2011 8:17 PMmake a new addressbook and in that import Outlook's
-
Fresh Install of Mountain Lion how do I export users from Lion Server
I've been having some issues with Lion Server, mainly Kerberos related and Profile Manager. So I want to start fresh with Mountain Lion.
I've installed ML and Server, and profile manager is working now for the first time (yay!)
Now I want to Import all my existing Open Directory users from Lion, I don't want to Import the entire OD though because I think some of my kerberos issues will just get carried over to ML.
I would like to just export the Users to a file then use ML server to import users from file, but I can't see an option to export in Lion Server, I have tried doing it from WGM on Lion but the 'users' file is not recognised by ML serverGreat thanks for the reply, I'll try it tonight when everyone has logged off.
Yeah I was very pleased initially with kerberos on Lion, it worked great to start with, now I'm just getting expired tickets for a default realm when some users log in, yet other users continue to work fine.
I was planning to slowly install Mountain Lion Server and test is thouroghly but I've had a bit of a disaster that if forcing me to go live with ML server quicker than I wanted to!
Basically because on Lion Server I have all the Service Data on a separate drive, and I upgraded to ML server on a backup copy of Lion Server just to see what it was like, though now I've rebooted the original Lion drive but half of the services are now screwwed up because the ML Server must have changed them, so things like Wiki Server and Profile Manager are now broken from the Lion Server boot, they just show "Error Reading Settings"
I realise now I should have moved the Service data back to the local drive before doing a test upgrade so I wouldn't have messed it up! but now it seems like my best way forward is a fresh install of ML Server -
Restricting users from uploading files greater than certain size in Kpro
Hi,
How can we restric users from uploading files in SAPoffice which are greater than certain size (5MB)?
Awaiting for reply.Hello Gino,
you go to Tcode DC10, in the define document type,
there is a option file size, this gives you restriction , only if you are not using KPro and content server.
If you are using Kpro and content server, then please do the enhancement (SE80, package ,CV)
With the help of this you can restrict and put the warinig message if your original size is exceed.
Thanks & Regards,
nitin
Award point if useful -
Delete file from the list & as well as from file upload
I have come across a situation where there is a sap.ui.unified.FileUploader & user is free to upload as many file selected. then there is a button to display the list of added files as list(deleteable list). list delete is possible by using the standard function provided in the explored of SAP UI5 SDK document. but how to bind both the controls?? do that at the time of deleting the list it will also delete the files added in FileUploader. attaching the screenshot for better understanding...
SAP UI5 Version 1.24.3Hi,
you can use the setValue() method when you delete a file from the list:
oFileUploader.setValue("");
Kind regards,
RW -
Upload data from excel (not the excle file) into SAP
Guys,
how can we upload data from excel sheet into SAP? I mean just the data not the entire file,
I have a requirement where user press a button in excel sheet and the data in the sheet will get uploaded into SAP.
I am sure we have to use BAPI and some VB programming for macros, I will really appriciate if anyone can help how to achive this.
some sample code exampe will help.
Cheers!I think u r writing BDC for Uploading the data from excel flile to sap. for this is the code I am sending u can use then for Uploading data from excel to sap.
DATA: lv_filename TYPE rlgrap-filename.
FIELD-SYMBOLS : <fs>.
DATA : l_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
DATA : l_index TYPE i.
PARAMETERS : startcol TYPE i ,
startrow TYPE i ,
endcol TYPE i ,
endrow TYPE i .
PARAMETERS: p_flnam LIKE rlgrap-filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = sy-repid
FIELD_NAME = ' '
IMPORTING
file_name = p_flnam .
MOVE p_flnam TO lv_filename.
Uploading the flat file from the desktop
START-OF-SELECTION.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = lv_filename
i_begin_col = startcol
i_begin_row = startrow
i_end_col = endcol
i_end_row = endrow
TABLES
intern = l_intern
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT l_intern BY row col.
LOOP AT l_intern.
MOVE l_intern-col TO l_index.
ASSIGN COMPONENT l_index OF STRUCTURE itab TO <fs>.
MOVE l_intern-value TO <fs>.
AT END OF row.
APPEND itab.
CLEAR itab.
ENDAT.
ENDLOOP.
I hope it will help u.
Regards
Nayan -
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
KarenHi,
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 -
'No Upload Authorization' While Uploading a Text File from Multiple Select
Hi all,
The User is trying to upload a text file from Multiple Selection screen of a Query in BEx and it gives the error message of 'No Upload Authorization' (Error DB886).
In 'Logon data' tab of Tcode SU01, it has 'User' for 'User Group for Authorization check' for this User.
I could upload a text file from Multiple Selection screen with my User Id.
An idea about this error, PLEASE ?
Thanks,
Venkat.Hi Ron,
This User does not have the access to Tcode ST01.
The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
Any further suggestions, PLEASE.
Thanks. -
Uploading data from excel file to a dynamically created internal table
Hi,
I have a requirement where i have to upload data from an excel file into a database table. I would be able to determine the structure of the table only at runtime based on the user input.. so i have created an internal table dynamically.
Could you please tell me if its possible to upload data from an excel file to the dynamically created internal table using any function modules?
I thought of doing this by declaring a generic internal table of one field and then uploading the *.csv file into it and then splitting it based on "," and then assigning it to the field symbol referencing the internal table.. but my file length exceeds 132 characters and i'm only able to get data of lenght 132 char's in my internal table ( generic one).
Could anyone please show me a way around this.
Thanks in advance,
HarshaSure, check this out.
report zrich_0002.
type-pools: slis.
field-symbols: <dyn_table> type standard table,
<dyn_wa>,
<dyn_field>.
data: it_fldcat type lvc_t_fcat,
wa_it_fldcat type lvc_s_fcat.
type-pools : abap.
data: new_table type ref to data,
new_line type ref to data.
data: iflat type table of string.
data: xflat type string.
data: irec type table of string with header line.
data: tabix type sy-tabix.
data: file type string.
selection-screen begin of block b1 with frame title text .
parameters: p_file type rlgrap-filename default 'c:Test.csv'.
parameters: p_flds type i.
selection-screen end of block b1.
start-of-selection.
* Add X number of fields to the dynamic itab cataelog
do p_flds times.
clear wa_it_fldcat.
wa_it_fldcat-fieldname = sy-index.
wa_it_fldcat-datatype = 'C'.
wa_it_fldcat-inttype = 'C'.
wa_it_fldcat-intlen = 10.
append wa_it_fldcat to it_fldcat .
enddo.
* Create dynamic internal table and assign to FS
call method cl_alv_table_create=>create_dynamic_table
exporting
it_fieldcatalog = it_fldcat
importing
ep_table = new_table.
assign new_table->* to <dyn_table>.
* Create dynamic work area and assign to FS
create data new_line like line of <dyn_table>.
assign new_line->* to <dyn_wa>.
file = p_file.
call method cl_gui_frontend_services=>gui_upload
exporting
filename = file
changing
data_tab = iflat
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.
loop at iflat into xflat.
clear irec. refresh irec.
split xflat at ',' into table irec.
loop at irec.
tabix = sy-tabix.
assign component tabix of structure <dyn_wa> to <dyn_field>.
<dyn_field> = irec.
endloop.
append <dyn_wa> to <dyn_table>.
endloop.
* Write out data from table.
loop at <dyn_table> into <dyn_wa>.
do.
assign component sy-index of structure <dyn_wa> to <dyn_field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <dyn_field>.
else.
write: <dyn_field>.
endif.
enddo.
endloop.
Regards,
Rich Heilman -
Hello,
I am using jdev 11.1.2.4.0...
The requirement is that users would like to upload images from their local drive to server drive and they would like display images from server drive later.
We don't want to keep images in database. I am not sure what the solution should be; however, I plan to ....
1. create a table to keep an information of images -- image_id, image_location (server drive), image_filename
2. create a page where users can enter image information and specific filename from a local drive (I think I will use inputFile component) and provide the preview button to display an image on screen before save it. To save data is to save information to the database and copy an image file to the server drive (the destination location for image files is predefined.)
3. create another page where users can browse information from the database and display an image for a selected record by getting from the server.
I need suggestions on...
1. how to display an image on page from the local drive?
2. how to copy a file from a local drive to a server?
3. how to display an image on page from the server drive?
Thank you.
natSee:
http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-1/
http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/
http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
Where Timo saves images to the database, you save it to the file system (examples on how to do this from Java are available plenty if you just Google for it). Similar to Timo you then use the image tag to display images. The difference is that you can directly add the URL from the database table.
The benefit of using a database to host images is that you are not dependent on file server structures though
Frank -
Uploading a text file from webi filter area as part of the query condition
Post Author: balasura
CA Forum: Publishing
Requirement : Uploading a text file from webi filter area as part of the query condition Hi, I am in a serious requirement which I am not sure available in BO XI. Can some one help me plz. I am using BO XI R2, webi I am generating a ad-hoc report, when I want to give a filter condition for a report, the condition should be uploaded from a .txt file. In the current scenario we have LOV, but LOV could hold only a small number of value, my requirement is just like a lov but the list of values will be available in a text file ( which could number to 2000 or 2500 rows). I would like to upload this 2500 values in the form of a flat text file to make a query and genrate report. Is it possible in BO XI? For Eg:- Select * from Shipment Where u201CShipment id = u2018SC4539u2019 or Shipment id = u2018SC4598u2019u201D The u201Cwhereu201D condition (filter) which has shipment id will be available in a text file and it needs to be loaded in the form of .txt file so that it will be part of the filter condition. Content of a .txt file could be this shipment.txt =============== SC4539 sc2034 SC2343 SC3892 . . . . etc upto 2500 shipment Ids I will be very glad if some could provide me a solution. Thanks in advance. - BalaHi Ron,
This User does not have the access to Tcode ST01.
The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
Any further suggestions, PLEASE.
Thanks.
Maybe you are looking for
-
Read this if you are having trouble burning CDs in itunes
Always X8 burn speed, Old versions of Toast showed that was the highest for my old fully spec'd iMac. A disc burner and CDRs might be up to x52 but the computer is rarely !! Mine works at X52, but Im not so impatient that I need it at that X8 always
-
HT4946 Yesterday I brought home my new iPhone 5! Love it. Backup-Restore problem
Yesterday I brought home my new iPhone 5! Love it. Problem is I cannot put the stored information, that I backed up on iTunes from my iPhone 4S, onto the iPhone 5. I continue to get a message that the file is corrupt, or won't sync with the new de
-
Hellow Guys, Can anybdy help in developing one sample interface in 7.4 as I'm new to this environment. I want some small interface developed in ESR and ID and walkthru me so that I can develop on my own in my environment.. I need in a clear way. Plz
-
Hi, how to create an alias for a domain name in /etc/hosts file ? Wh have this : 192.168.2.30 mymachine.domaine1.domaine2.com mymachine How can I create an alias for mymachine.domaine1.domaine2.com ?? Many thanks.
-
Can any one suggest the steps for gathering schema level statistics?