How To Upload the spcial characters like u00FC ,u00E4 and u00F6 using GUI_UPLOAD
Hello Everybody,
I am trying to Upload the text file with 2 fields Fieldname and fieldvalue....
Both fields having some special charactres like Ü;Ö and Ä ....
After uploading ...I am getting the # in place of special characters in the internal table..
How can I get the special characters ..????
Thanks in advance
Regards
Preethi
Hello ......
Thanks for your very helpful answer.....but still I am facing the same problem,
Please find the function module and let me know the what is the problem.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
FILENAME = lv_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
DAT_MODE = SPACE
CODEPAGE = SPACE
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
READ_BY_LINE = 'X'
IMPORTING
FILELENGTH =
HEADER =
CHANGING
data_tab = gt_file
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
NOT_SUPPORTED_BY_GUI = 17
ERROR_NO_GUI = 18
others = 19
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks and Regards
Preethi
Similar Messages
-
How to remove the Special characters like @,#,$<,..from text field. we nedd to remove any specila char from text field .
ex:text = just#fi%cation@text
the text should be justification.hi check this ..
data:char(25) value '5#4#2#&1#&',
char1(9) .
replace all occurrences of '#' in char with 'and' .
replace all occurrences of '&' in char with 'num' .
write: char.
or use this..
data:char(25) value 'test@ing*5#4#2#&1#&',
char1(9) .
replace all occurrences of '#' in char with space .
replace all occurrences of '&' in char with space .
replace all occurrences of '@' in char with space .
replace all occurrences of '*' in char with space .
write: char.
regards,
venkat. -
How to get the query result of improvement (Before and After ) using sql de
how to get the query result of improvement (Before and After ) using sql developer.
Check
http://www.oracle.com/technetwork/articles/sql/exploring-sql-developer-1637307.html -
How do I get special characters like x̱, g̱, and ḵ?
I work in an Alaska Native language, and develop most of my curriculum and documentation in InDesign CS6. I have a keyboard that uses the characters x̱, g̱, and ḵ frequently to work in the language. In the InDesign CC trial, only the ḵ is working and the x̱ and g̱ show up as x and g. This makes the product of much less use, and I see no reason to upgrade if it has fewer options. The newer releases of Microsoft Word and Mac Pages, while much less powerful and precise, have no problems with these characters.
Suggestions?
I cannot afford to spend time copying and pasting these characters. That seems to work, but that does not make sense to me.
Thanks.The ones that are not working are a combining diacritic. This shift means working in multiple programs since a lot of the curriculum I have developed is in InDesign. The work stream is going to be disrupted by not being able to see it all in once place and moving between programs.
Here are the letters:
Ḵ — 1E34 Latin capital letter k with line below
ḵ — 1E35 Latin small letter k with line below
G̱ — 0047 Latin capital letter g + 0331 Combining macron below
g̱ — 0067 Latin small letter g + 0331 Combining macron below
X̱ — 0058 Latin capital letter x + 0331 Combining macron below
x̱ — 0078 Latin small letter x + 0331 Combining macron below -
How to upload the data from XML file to SAP database using IDOC
Hi,
I need some steps to upload data from XML format file from other directory to SAP database using IDOC.
how to approch this please if any one knows give me ans
it will be a great help ful to me
Thanks in Advance
MallikThank you vijay,
But i heard that by using this Fun modules, when we are passing IDOC in back ground schedule, so some other depended FM not supporting, so how to approach this and how to avoid this problem.
Have you worked on this before if any one worked on this please help me out
And thank you once again for your valuable information
Best Regards
Mallik -
How to login the remote desktop with user id and password using coded ui
we are using vs 2013, we have automated some automated test cases using coded ui. i have on problem while i am running the those test cases in remote system. here the scenario is "after executed one test case we need to restart the system. After restarted
I have to login the remote system with user credentials to continues execution for the remaining test cases." it is very helpful to me.. so please guide me how to overcome these problem?
Thanks in advance ...Hi Divakar,
As far as I know, there isn’t this feature of remote test in VS2013.
I suggest that you could submit this feature request:
http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there so the others can vote it. If you submit this suggestion, you might post that link here which will
benefit others who has the similar issue
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I need to continuously acquire data from daqmx card, write into a file and at the same time corelate (in terms of time) the data with signals from other instruments. The current problem is that there is time delay during read and write data into buffer,thus causing misalignment of the data from multiple instruments. Is there a way to solve the delay? or Is there a way to mark the time of the data acquisition in the buffer? If I know the starting time (e.g. 0) of data acquisition and sampling rate (e.g. 1kHz), can I simply add 1ms to each data sample in the buffer? The current code is shown below.
void DataCollectionWin::ConnectDAQ()
DAQmxErrChk(DAQmxCreateTask ("", &taskHandle));
DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0,Dev1/ai1,Dev1/ai2,Dev1/ai3,Dev1/ai4,Dev1/ai5,Dev1/ai16,Dev1/ai17,Dev1/ai18,Dev1/ai19,Dev1/ai20,Dev1/ai21,Dev1/ai6,Dev1/ai7,Dev1/ai22","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandle,"",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,60000));
DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandle,DAQmx_Val_Acquired_Into_Buffer,50,0,EveryNCallback,NULL));// Every 50 samples the EveryNSamplesEvent will be trigured, to reduce time delay.
DAQmxErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,NULL));
DAQmxErrChk (DAQmxStartTask(taskHandle));
int32 CVICALLBACK EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples, void *callbackData)
DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,50,10.0,DAQmx_Val_GroupByScanNumber,data,50*15,&read,NULL));
//memcpy(l_data,data,6000);
SetEvent(hEvent);
l_usstatus_e[0]=g_usstatus[0];// signals from other instruments that need to be corelated with the data from daq cards.
l_optstatus_e[0]=g_optstatus[0];
if( read>0 ) // write data into file
//indicator=1;
for (i=0;i<read;i++)
{ //fprintf(datafile,"%d\t",i);
fprintf(datafile,"%c\t",l_usstatus_s[0]);
fprintf(datafile,"%c\t",l_usstatus_e[0]);
fprintf(datafile,"%c\t",l_optstatus_s[0]);
fprintf(datafile,"%c\t",l_optstatus_e[0]);
fprintf(datafile,"%.2f\t",data[15*i]);
// sprintf( pszTemp, "%f", data[6*i]);
// pListCtrl->SetItemText(0, 2, pszTemp);
//pWnd->m_trackinglist.SetItemText(0, 2, pszTemp);
fprintf(datafile,"%.2f\t",data[15*i+1]);
fprintf(datafile,"%.2f\t",data[15*i+2]);Hello kgy,
It is a bit of a judgment call. You should just choose the board that you think has the most to do with your issue. For example, this issue was much more focused on setting up your data acquisition task than the Measurement Studio environment/tools, so the MultifunctionDAQ board would have been the best place for it. As for moving your post to another board, I do not believe that is possible.
Regards,
Dan King -
How to upload the documents like PDF, EXCEL and WORD
Hi,
I am working on UI, I am tracking the COREMODS data using this UI. My requirement is need to maintain the related documents also in database using this UI. I think SLM system have that functionality. If any one know about this functionality, explain about
How to upload the documents into database.
How to maintain this documents in database.
Is there any standard methods/function modules to upload this documents ( I am not asking about content of document, I am expecting about total file).
i.e. I want to maintain the all core mod related test cases and other documents in SAP database.
How to handle this functionality?
RayuduHi Rayudu,
For office documents we can use [Business Document Service|http://help.sap.com/saphelp_nw70/helpdata/EN/3d/90a9371c726343e10000009b38f842/frameset.htm]
Cheers,
Jose. -
How to upload the file from website into R/3
Dear Experts,
I want to post the data in r/3 using bdc.but flat file is available in some website for eg.'www.sap.com'.how to retrieve the flat file from the website and how to upload the data from website to r/3.
It is very urgent please help me.
Thanks & Regards,
Ashok.Hi Ashok,
We cannot directly pulled data from website. we need to activate webservices and rfcs. Better you could asked to your Basis guy that he knows or not. If not then do sdn you will get the appropriate answer. I can only say that its possible and we can download from website.
Regds,
Rakesh -
How to upload the master data from legacy to SAP
Hi Frends,
how to upload the master data from legacy system to SAP System once the configuration is over.how to carry forward the open items of vendors and customers while uploading.who will upload functional consultantsor ABAPER.
please clarify me
Regards
Sap GuruHi ,
use LSMW or BDC for uploading Master & transaction data.
This work is done by the Respective Functional team.
Chandra -
How to upload the data from excel(3 tabs) file to sap environment
Hi all,
This is Mahesh.
how to upload the data from excel(3 tabs) file to sap environment (internal tables) while doing bdc.Hi,
The FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' makes it possible to load a worksheet into an internal table in ABAP.
However, if you want to get the data from several worksheets, I think you are stuck with OLE access to your Excel Workbook...
You can find a solution for 2 worksheets in this post :
TO UPLOAD DATA FROM 2 EXCEL SHEETS INTO TWO INTERNAL TABLES
I think you can easily modify it to handle any number of worksheets.
Hope it helps !
Best regards,
Guillaume -
How to upload the image and diplay the image in the browser using jsp
How to upload the image and diplay the image in the browser using jsp
thanks
shani'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question
-
How to upload the data to SAP-DMS(Document Management System)
Dear sir,
How to upload the data to SAP-DMS (Document Management System) please give me the code for this .ex for (excel format or tab deliminated) to sap system through BAPI i have to pass.
regards
R M PatilHi,
May be following link may help you.
/thread/315373 [original link is broken]
/message/205534#205534 [original link is broken]
Thanks,
Sree. -
how to upload the files from javascipt.can any body send the code for that.
You can't upload files with Javascript, that would be a huge security hole. At highest you can use Javascript to submit a form with a file field, but the user still have to select the file himself.
-
How to upload the RM and PM budjeted cost in sap.
Dear sap guru's,
Could you please suggest me , how to upload the 2008 budjeted cost(RM/PM) in sap, One way i can upload the budjet Through materi master( costing2 tab) ie planed price1 or 2 , Please suggest me is there any other way to upload the Budjeted cost of (RM/PM), or if i upload in planed price 2 is there any effect in future. Kindly suggest me to this example ,
BUDJETED OCST ACTUAL COST VARIANCE
FG COST IS -: 5 Rs FG COST IS : 4 RS FG COST IS :1 RS
Two materials under FG Two materials under FG
Budjeted Price MAP
1) RM cost ;- 2 Rs RM cost ;- 1 Rs RM cost ;- 1 Rs
2) PM cost :- 3 Rs. PM cost :- 2 Rs PM cost :- 1 Rs
Please suggest me is there any report to view Total budjeted ocst , actual cost and variance report for Each FG wise and RM AND PM wise.
Kindly consider this issue as an high priority one, pls guide me, my client is very much urgent.
Thanks & Regards,
Kumar.. TCode : LSMW.
2. Enter Project name, sub project name and object name.
Execute.
3. Maintain object attributes.
Execute
select Batch Input recording
goto->Recording overview
create
recording name.
enter transaction code.
start recording
do recording as per ur choice.
save + back.
enter recording name in lsmw screen.
save + back
Now there will be 14 steps.
2. MAINTAIN SOURCE STRUCTURES.
Here you have to enter the name of internal table.
display change
create
save + back
3. MAINTAIN SOURCE FIELDS.
display change
select structure
source_fields->copy fields.
a dialogue window will come .
select -> from data file
apply source fields
enter No. of fields
length of fields
attach file
save + back
4. MAINTAIN STRUCTURE RELATIONS
display change
save + back
5. MAINTAN FIELD MAPPING & CONVERSION RULE
display change
click on source field, select exact field from structue and enter
repeat these steps for all fields.
save+back
6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
execute
save + back
7. SPECIFY FILES.
display change
click on legacy data
attah flat file
give description
select tabulatore
enter
save + back
8. ASSIGN FILE
execute
display change
save + back
9. IMPORT DATA.
execute
display change
save + back
10. DISPLAY IMPORTED DATA
enter ok, it willl show records only.
back
11. CONVERT DATA
execute
display change
save + back
12. DISPLAY CONVERTED DATA
execute
display change
save + back
13. CREATE BATCH INPUT SESSION
tick keep batch input folder
F8
back
14. RUN BATCH INPUT SESSION.
sm35 will come
Object name will be shown here
select object & process
inputs given by KAPIL
Maybe you are looking for
-
Saving projects with Transitions and Titles - iMovie 3
Every time I edit a movie in iMovie 3, add transitions and titles, and then save, the next time I open the project, I get a window saying there are x number of stray clips (my transition and title clips) and would I like to move them to the clip pane
-
How to expand a Root-Element in ALV-Tree?
Hi, i use ALV-Tree and try to expand the first hierarchie. I try this: TRY. GR_TREE_NODE = GR_TREE_NODES->ADD_NODE( RELATED_NODE = ROOT_KEY *EXPANDER = ABAP_TRUE* RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_FIRST_CHIL
-
How can I cut/paste a rasterized PDF?
I have a bunch of scanned-in PDF documents. I want to cut parts out from one scanned-in document and paste it into another scanned-in document. They aren't individual pictures, rather just pieces of the document. I can't figure out how to accomplish
-
Can anyone guide me to ideas on basics of parallel processing in SQL
Hi all, Can anyone guide me to ideas on basics of parallel processing in SQL and its usage in the the performance tuning of the query. If so what's the syntax to be followed and how to arrive at the optimized query after tuning
-
I have a site I recently launched with Contribute and Dreamweaver. I am using CSS to control the alignment and spacing of images. The problem I'm having is that I get strange rendering from pages created in Contribute because, by default, it wants t