How to remove werid character from table
Hi all,
My db version as below:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
May i know anyone has experienced in removing weird characters (non-A-Z, 1-10,) from table? I would like do data cleansing that to remove all weird char/ funny char from rows.
Thanks a lot.
Lygine
Hi ...
Is there any possible that data able to automatically converted into German e..g
Nürnberg = NÜrnberg.
There are large volume of french or german data as of below:
Vösendorf
Würenlingen
I still find no way that i can have bulk conversion for those weird data.
Is there anyone got idea about it?
Thanks,
Lygine
Similar Messages
-
WebDynpro Java: how to remove blank element from Table and Dropdown.
Hi Folks
In a webdynpro application,
I created a table and witten the below code to populate the table
IPrivateDummyView.IFirst_TableElement First_Table_Element = null;
First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
First_Table_Element.setF_Value("One");
wdContext.nodeFirst_Table().addElement(First_Table_Element);
First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
First_Table_Element.setF_Value("2");
wdContext.nodeFirst_Table().addElement(First_Table_Element);
As per the code, i got 2 row in the table.
But , i have one Empty row on top of the table , how to get ride of this.
i find the same problem happening with dropdown too, where i used DDBI, i populated a the content as mention, but i initial 2 row as blank and then i have my own elements ,as per my code.>
> how to remove blank element from Table and Dropdown
>
Change selection property of related node to from 0..1 to 1..1 (mandatory)
Re: DropdownByIndex and empty line (Thread: DropdownByIndex and empty line )
Re: Can the empty selection be removed from element dropdownbykey(Thread: Can the empty selection be removed from element dropdownbykey )
Edited by: Anagha Jawalekar on Nov 18, 2008 10:28 PM -
How to remove default value from table definition?
Hi,
running 9.2
Following problem :
I need to remove default value from table.
Example
CREATE TABLE MY_TABLE(
NAME VARCHAR2(50) DEFAULT 'NAME',
AGE NUMBER DEFAULT 0
Now even when I use MODIFY like
ALTER TABLE MY_TABLE MODIFY (NAME VARCHAR2(10) );
The default is still there:
SELECT DATA_DEFAULT FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'MY_TABLE';
Is there any way?
ThanksThanks,
found the answer. It is not possible!!!!
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm
Note:
If a column has a default value, then you can use the DEFAULT clause to change the default to NULL, but you cannot remove the default value completely. That is, if a column has ever had a default value assigned to it, then the DATA_DEFAULT column of the USER_TAB_COLUMNS data dictionary view will always display either a default value or NULL -
How to remove Heading 4 from Table Of Contents
HI,
how can i remove Heading 4 from the Table Of Contents in Word 2007?
I needed to create the Heading 4 (built in themes only go to level 3) by myself (it was very complicated) but finally managed to get it to work.
The problem is that when i view the properties of my theme it has the following attributes:
Font: Not Bold, Indent: Left: 1,9 cm, Hanging: 1,14 cm, Space Before: 6 pt, Style: Linked, Quick Style, Based on: Heading 3
The built in themes however have it different:
Indent: Left: 1,27 cm, Hanging: 0,89 cm, Level 3, Style: Linked, Quick Style, Based on: Heading 2, Following style: Indryk3
There is a parameter called "Level"which my theme does not have. When i create the Table Of Contents and set "Show levels" to 3 then it will display FOUR levels (three built-in and my Heading 4).
Please help. How to get the "Level" parameter to appear for my theme as well?Hi
Thanks for your answer. The only invisible character is the section break thing at the very top of the blank page. I can't figure out how to place it directly after the Table of contents. If I remove the section break, the Table of Contents merges with the following section, which is not what I want at all. -
How to remove paragraph breaks from table cells?
I need to remove paragraph breaks from selection of cells in my table and replace them with a space and a dot.
Tried this and it did not work:
=SUBSTITUTE(AH2,CHAR(10)," .")
I also tried to use find and replace, but it didn't work either.
Any ideas?Berbato wrote:
I need to remove paragraph breaks from selection of cells in my table and replace them with a space and a dot.
Tried this and it did not work:
=SUBSTITUTE(AH2,CHAR(10)," .")
Did you read the error message returned by the app ?
I also tried to use find and replace, but it didn't work either.
I'm sure that you didn't inserted the correct value in the "Find/Search" field but I can't guess what was the one which you inserted ? .
I selected the character to replace, Copy it then pasted it in the Find/Search field.
Yvan KOENIG (VALLAURIS, France) jeudi 27 janvier 2011 17:46:44 -
How to remove foreign key from table?
i want a query from which i will remove foreign key from the table. plz help me in it. the table is created as follows:
CREATE TABLE cw06_course
(coursecode NUMBER(4) CONSTRAINT coursecode_pk PRIMARY KEY,
department NUMBER(4) CONSTRAINT course_department_nn NOT NULL,
coursename VARCHAR2(25),
courseleasder NUMBER(4),
CONSTRAINT course_department_fk FOREIGN KEY (department) REFERENCES cw06_department(deptno));parent keys not foundWell, while the constraint was not available (dropped), someone took the opportunity and inserted rows into your child table that do not have a corresponding value in your parent table.
Why was the constraint dropped in first place? why did you give someone the opportunity to insert constraint violating value into the table?
You must either:
1). remove the child rows not found in parent
2). create parent rows fr missing child rows.
3). enable novalidate the constraint so existing values can remain without parent but future rows must confirm. -
How to remove multiple rows from table
Hi All,
in my application iam using two tables,
this is my code
int selection = wdContext.nodeA().getLeadSelection();
String num = wdContext.nodeA.geAAt(selection).getV_Num();
for(int b=0;b<wdContext.nodeVn_Context().size();b++)
if(wdContext.nodeVn_Context().getVn_ContextElementAt(b).getVa_num().equalsIgnoreCase
(num))
wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
here Vn_Context is having 4 rows, i mean size of Vn_Context is 4. when i use this code to remove that 4 rows based on the condition, which i gave in if, its able to remove only one row, so how to remove those four rows, is this code correct or not, please help me.Hi sushma,
if you have 4 row then why should you give the condition for removing rrow..because when you gave condition the depends on your lead selection of getVa_num().so you will return perticullar row of getVa_num(). value of lad selection ..this would not match of other row value(getVa_num().so it will remove only that value of lead selection of getVa_num().
better you remove taht condition.
int selection = wdContext.nodeA().getLeadSelection();
String num = wdContext.nodeA.geAAt(selection).getV_Num();
for(int b=0;b<wdContext.nodeVn_Context().size();b++)
//if(wdContext.nodeVn_Context().getVn_ContextElementAt(b).getVa_num().equalsIgnoreCase
//(num))
wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
no need to give the condition right now..
if you want to remove multiselection row,i mean selected row for multiple then you select the row as per your rows delete.
for(int b=0;b<wdContext.nodeVn_Context().size();b++)
if(lead==b || wdcontext.nodeVn_Context().isMultiselection(b){
wdContext.nodeVn_Context().removeElement(wdContext.nodeVn_Context().getVn_ContextElementAt(b));
this way you do solve your problem..
thanks
jjati -
How to remove certain character from a string?
Follows the table:
CT_TRABALH
400rj101
400rj102
400rj103
400rj104
400rj105
400rj106
400rj107
400rj108
400rj109
400rj1010
400rj1011
I woulld like to make the following with its values. For example the value 400rj1010
I would like to remove its last character (400rj101) and then relace the last zero for the last number(400rj111) by query. Is there any way I can achieve this?I would write something a little more generic :
SCOTT@demo102> with tbl as
2 (select '400rj101' as CT_TRABALH from dual union all
3 select '400rj102' from dual union all
4 select '400rj103' from dual union all
5 select '400rj104' from dual union all
6 select '400rj105' from dual union all
7 select '400rj106' from dual union all
8 select '400rj107' from dual union all
9 select '400rj108' from dual union all
10 select '400rj109' from dual union all
11 select '400rj1010' from dual union all
12 select '400rj10120' from dual union all
13 select '400rj14120' from dual union all
14 select '412rj14120' from dual union all
15 select '400rj1011' from dual )
16 select CT_TRABALH,
17 case when substr(CT_TRABALH,-1,1) = '0'
18 then decode(instr(substr(CT_TRABALH,1,length(CT_TRABALH)-1),0,-1),
19 0, substr(CT_TRABALH,1,length(CT_TRABALH)-1),
20 substr(CT_TRABALH,1,instr(substr(CT_TRABALH,1,length(CT_TRABALH)-1),0,-1)-1)
21 ||substr(CT_TRABALH,-2,1)
22 ||substr(CT_TRABALH,instr(substr(CT_TRABALH,1,length(CT_TRABALH)-1),0,-1)+1,
23 length(CT_TRABALH)-instr(substr(CT_TRABALH,1,length(CT_TRABALH)-1),0,-1)-1))
24 else CT_TRABALH
25 end as CT_TRABALH_0
26 from tbl;
CT_TRABALH CT_TRABALH_0
400rj101 400rj101
400rj102 400rj102
400rj103 400rj103
400rj104 400rj104
400rj105 400rj105
400rj106 400rj106
400rj107 400rj107
400rj108 400rj108
400rj109 400rj109
400rj1010 400rj111
400rj10120 400rj1212
400rj14120 402rj1412
412rj14120 412rj1412
400rj1011 400rj1011
14 rows selected.
SCOTT@demo102> Nicolas. -
How to remove a character in a file??
I'm not getting how to remove a character from a file.Could anyone post a method to do this?Any help would be appreciable.
Ohhh... and one more thing... unless you're really unlucky, a few "extranious trailing nulls" won't make a jot of difference to the size of the file on disk, each each file "fills" whole blocks anyway, which is 1K (I think) on both fister and *nix... unless of course we're talking "lots" of trailing-nulls, or lots-and-lots of files.
-
How to remove the bookmark from the table of contents?
Hi everyone, I have a question:
How to remove the bookmark from the table of contents in Captivate 6?
Regards...Doug, your frustration is making you "bug" gun trigger happy. LOL
LOL, I suppose I have.
I believe the answer you are looking for is in the publishing preferences: under LMS advanced settings, look for the option: never send resume data.
[can someone please confirm this - I am not at a desktop now]
Anyhow, selecting this option will stop resume data - so the lesson will treat even returning learners as new. Hopefully, this will work for you.
This works! Thank you again!
*but* Why isn't Captivate asking the learner to make the choice of whether to start over or resume. It does this correctly if the lesson is published stand-alone.
Thanks again! -
How to remove a package from package structure?
Hello profs,
i have a problem. I add a package 'A' to another package 'B' in the package builder.
Now i don't know how to remove package 'A' from the list of package 'B'.
I have not found in the docu of package builder how to remove a package from the included list.
Has somebody an idea how to do it?
Thanks a lot.I found out that the relation between the packages saved in table TDEVC.
Field PARENTCL contains the surrounding package 'B' of the package 'A' field DEVCLASS.
At the moment the only way to remove the package is to modify the table.
But i look for another possibility for this issue.
Best regards
Waldemar -
How to remove the Char.from one Operating Concern
Hi Guys,
How to remove the Char. from one Operating Concern.
I have created one Char. (WWDOC) and moved to Operating Concern (OOCC). Operating Concern is in red status.
Now, i want to remove that new assigned Char. (WWDOC)from the operating concern (OOCC). I did't find any option in the menu also.
Appreciate your help.....
T&R
VVRHi Sasi,
Iam not able to push back that char. from my operating concern. In help it is given you have to delete the data contents in the table before pushing back. Please let me know if any other option available.
Thanks for your reply.
VVR -
How to remove duplicates records from output ?
how to remove duplicates records from output ? i used delete adjacent but duplicates records are coming again ..suggest me
hi shruthi,
thanks for ur answer ..but duplicates records coming again
here is my code >> plz check it out
*& Report ZCRM_TROUBLE_TICKET
REPORT zcrm_trouble_ticket.
TYPES : BEGIN OF ty_qmih,
qmnum TYPE qmnum,
equnr TYPE equnr,
iloan TYPE iloan,
ausvn TYPE ausvn,
ausbs TYPE ausbs,
auztv TYPE auztv,
auztb TYPE auztb,
iwerk TYPE iwerk,
END OF ty_qmih,
BEGIN OF ty_qmel,
qmnum TYPE qmnum,
qmtxt TYPE qmtxt,
indtx TYPE indltx,
priok TYPE priok,
strmn TYPE strmn,
strur TYPE strur,
ltrmn TYPE ltrmn,
ltrur TYPE ltrur,
objnr TYPE qmobjnr,
arbpl TYPE lgwid,
vkorg TYPE vkorg,
vtweg TYPE vtweg,
spart TYPE spart,
END OF ty_qmel,
BEGIN OF ty_ihpa,
parnr TYPE i_parnr,
parvw TYPE parvw,
objnr TYPE qmobjnr,
END OF ty_ihpa,
BEGIN OF ty_crhd,
arbpl TYPE arbpl,
objid TYPE cr_objid,
END OF ty_crhd,
BEGIN OF ty_crtx,
ktext TYPE cr_ktext,
objid TYPE cr_objid,
END OF ty_crtx,
BEGIN OF ty_qmfe,
fecod TYPE fecod,
fegrp TYPE fegrp,
qmnum TYPE qmnum,
END OF ty_qmfe,
BEGIN OF ty_qmur,
urcod TYPE urcod,
urgrp TYPE urgrp,
urtxt TYPE urstx,
qmnum TYPE qmnum,
END OF ty_qmur,
BEGIN OF ty_iloa,
tplnr TYPE tplnr,
iloan TYPE iloan,
END OF ty_iloa,
BEGIN OF ty_output,
qmnum TYPE qmnum,
equnr TYPE equnr,
iloan TYPE iloan,
ausvn TYPE ausvn,
ausbs TYPE ausbs,
auztv TYPE auztv,
auztb TYPE auztb,
iwerk TYPE iwerk,
qmtxt TYPE qmtxt,
indtx TYPE indltx,
priok TYPE priok,
strmn TYPE strmn,
strur TYPE strur,
ltrmn TYPE ltrmn,
ltrur TYPE ltrur,
objnr TYPE qmobjnr,
arbpl TYPE lgwid,
vkorg TYPE vkorg,
vtweg TYPE vtweg,
spart TYPE spart,
parnr TYPE i_parnr,
parvw TYPE parvw,
arbpl TYPE arbpl,
objid TYPE cr_objid,
arbpl1 TYPE arbpl,
ktext TYPE cr_ktext,
fecod TYPE fecod,
fegrp TYPE fegrp,
urcod TYPE urcod,
urgrp TYPE urgrp,
urtxt TYPE urstx,
tplnr TYPE tplnr,
END OF ty_output.
DATA : it_qmih TYPE STANDARD TABLE OF ty_qmih,
it_qmel TYPE STANDARD TABLE OF ty_qmel,
it_ihpa TYPE STANDARD TABLE OF ty_ihpa,
it_crhd TYPE STANDARD TABLE OF ty_crhd,
it_crtx TYPE STANDARD TABLE OF ty_crtx,
it_qmfe TYPE STANDARD TABLE OF ty_qmfe,
it_qmur TYPE STANDARD TABLE OF ty_qmur,
it_iloa TYPE STANDARD TABLE OF ty_iloa,
it_output TYPE STANDARD TABLE OF ty_output,
wa_qmih TYPE ty_qmih,
wa_qmel TYPE ty_qmel,
wa_ihpa TYPE ty_ihpa,
wa_crhd TYPE ty_crhd,
wa_crtx TYPE ty_crtx,
wa_qmfe TYPE ty_qmfe,
wa_qmur TYPE ty_qmur,
wa_iloa TYPE ty_iloa,
wa_output TYPE ty_output.
INITIALIZATION.
REFRESH : it_qmih,
it_qmel,
it_ihpa,
it_crhd,
it_crtx,
it_qmfe,
it_qmur,
it_iloa,
it_output.
CLEAR: wa_qmih,
wa_qmel,
wa_ihpa,
wa_crhd,
wa_crtx,
wa_qmfe,
wa_qmur,
wa_iloa,
wa_output.
start-of-selection.
SELECT qmnum
equnr
iloan
ausvn
ausbs
auztv
auztb
iwerk
FROM qmih
INTO TABLE it_qmih.
SORT it_qmih BY qmnum .
DELETE ADJACENT DUPLICATES FROM it_qmih COMPARING qmnum equnr iloan ausvn ausbs auztv auztb iwerk.
SELECT qmnum
qmtxt
indtx
priok
strmn
strur
ltrmn
ltrur
objnr
arbpl
vkorg
vtweg
spart
FROM qmel
INTO TABLE it_qmel
FOR ALL ENTRIES IN it_qmih
WHERE qmnum = it_qmih-qmnum.
SORT it_qmel BY qmnum.
DELETE ADJACENT DUPLICATES FROM it_qmel COMPARING qmnum
qmtxt
indtx
strmn
strur
ltrmn
ltrur
objnr
arbpl
vkorg
vtweg
spart.
IF it_qmel IS NOT INITIAL.
SELECT parnr
parvw
objnr
FROM ihpa
INTO TABLE it_ihpa
FOR ALL ENTRIES IN it_qmel
WHERE objnr = it_qmel-objnr.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_ihpa COMPARING parnr
parvw
objnr.
IF it_qmel IS NOT INITIAL.
SELECT arbpl
objid
FROM crhd
INTO TABLE it_crhd
FOR ALL ENTRIES IN it_qmel
WHERE objid = it_qmel-arbpl.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_crhd COMPARING arbpl
objid.
IF it_qmel IS NOT INITIAL.
SELECT ktext
objid
FROM crtx
INTO TABLE it_crtx
FOR ALL ENTRIES IN it_crhd
WHERE objid = it_crhd-objid.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_crtx COMPARING ktext
objid.
IF it_qmih IS NOT INITIAL.
SELECT fecod
fegrp
qmnum
FROM qmfe
INTO TABLE it_qmfe
FOR ALL ENTRIES IN it_qmih
WHERE qmnum = it_qmih-qmnum.
ENDIF.
SORT it_qmfe BY qmnum.
DELETE ADJACENT DUPLICATES FROM it_qmfe COMPARING fecod
fegrp.
IF it_qmih IS NOT INITIAL.
SELECT urcod
urgrp
urtxt
qmnum
FROM qmur
INTO TABLE it_qmur
FOR ALL ENTRIES IN it_qmih
WHERE qmnum = it_qmih-qmnum.
ENDIF.
SORT it_qmur BY qmnum.
DELETE ADJACENT DUPLICATES FROM it_qmur COMPARING urcod
urgrp
urtxt.
IF it_qmih IS NOT INITIAL.
SELECT tplnr
iloan
FROM iloa
INTO TABLE it_iloa
FOR ALL ENTRIES IN it_qmih
WHERE iloan = it_qmih-iloan.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_iloa COMPARING tplnr
iloan.
LOOP AT it_qmih INTO wa_qmih.
wa_output-qmnum = wa_qmih-qmnum.
wa_output-equnr = wa_qmih-equnr.
wa_output-iloan = wa_qmih-iloan.
wa_output-ausvn = wa_qmih-ausvn.
wa_output-ausbs = wa_qmih-ausbs.
wa_output-auztv = wa_qmih-auztv.
wa_output-auztb = wa_qmih-auztb.
wa_output-iwerk = wa_qmih-iwerk.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_qmel INTO wa_qmel WITH KEY qmnum = wa_qmih-qmnum.
wa_output-qmtxt = wa_qmel-qmtxt.
wa_output-indtx = wa_qmel-indtx.
wa_output-priok = wa_qmel-priok.
wa_output-strmn = wa_qmel-strmn.
wa_output-strur = wa_qmel-strur.
wa_output-ltrmn = wa_qmel-ltrmn.
wa_output-ltrur = wa_qmel-ltrur.
wa_output-objnr = wa_qmel-objnr.
wa_output-arbpl = wa_qmel-arbpl.
wa_output-vkorg = wa_qmel-vkorg.
wa_output-vtweg = wa_qmel-vtweg.
wa_output-spart = wa_qmel-spart.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_ihpa INTO wa_ihpa WITH KEY objnr = wa_qmel-objnr.
wa_output-parnr = wa_ihpa-parnr.
wa_output-parvw = wa_ihpa-parvw.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_crhd INTO wa_crhd WITH KEY objid = wa_qmel-arbpl.
wa_output-arbpl = wa_crhd-arbpl.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_crtx INTO wa_crtx WITH KEY objid = wa_crhd-objid.
wa_output-ktext = wa_crtx-ktext.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_qmfe INTO wa_qmfe WITH KEY qmnum = wa_qmih-qmnum.
wa_output-fecod = wa_qmfe-fecod.
wa_output-fegrp = wa_qmfe-fegrp.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_qmur INTO wa_qmur WITH KEY qmnum = wa_qmih-qmnum.
wa_output-urcod = wa_qmur-urcod.
wa_output-urgrp = wa_qmur-urgrp.
wa_output-urtxt = wa_qmur-urtxt.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_iloa INTO wa_iloa WITH KEY iloan = wa_qmih-iloan.
wa_output-tplnr = wa_iloa-tplnr.
APPEND wa_output TO it_output.
CLEAR wa_output.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM it_output COMPARING qmnum
equnr
ausvn
ausbs
auztv
auztb
iwerk
qmtxt
indtx
priok
strmn
strur
ltrmn
ltrur
vkorg
vtweg
spart
parnr
parvw
arbpl
ktext
fecod
fegrp
urcod
urgrp
urtxt
tplnr.
*CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
CLIENT = SY-MANDT
FLG_USER_STAT = ' '
objnr =
ONLY_ACTIVE = 'X'
spras = en
BYPASS_BUFFER = ' '
IMPORTING
ANW_STAT_EXISTING =
E_STSMA =
LINE =
USER_LINE =
STONR =
EXCEPTIONS
OBJECT_NOT_FOUND = 1
OTHERS = 2
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id =
language =
name =
object =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines =
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*LOOP AT IT_OUTPUT INTO WA_OUTPUT.
*WRITE : / WA_OUTPUT-qmnum,
WA_OUTPUT-equnr,
WA_OUTPUT-iloan,
WA_OUTPUT-ausvn,
WA_OUTPUT-ausbs,
WA_OUTPUT-auztv,
WA_OUTPUT-auztb,
WA_OUTPUT-qmtxt,
WA_OUTPUT-indtx,
WA_OUTPUT-strmn,
WA_OUTPUT-strur,
WA_OUTPUT-ltrmn,
WA_OUTPUT-ltrur,
WA_OUTPUT-objnr,
WA_OUTPUT-arbpl,
WA_OUTPUT-parnr,
WA_OUTPUT-parvw,
WA_OUTPUT-objid,
WA_OUTPUT-ktext,
WA_OUTPUT-fecod,
WA_OUTPUT-fegrp,
WA_OUTPUT-urcod,
WA_OUTPUT-urgrp,
WA_OUTPUT-urtxt,
WA_OUTPUT-tplnr.
*ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = 'E:\CRM1.TXT'
FILETYPE = 'ASC'
APPEND = ' '
write_field_separator = '|'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
IMPORTING
FILELENGTH =
TABLES
data_tab = it_output
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to remove leading zeros from variable
hi,
how to remove leading zeros from variable like it_vbap-matnr.
value in it_vbap-matnr is 000000000000000358
i want to remove leading zeros so that it become 358
regards
deepakYou can use Function Module <b>'CONVERSION_EXIT_MATN1_OUTPUT'</b>
This Function Module will eliminate leading Zeros.
For each MATNR Value read form DB Table,u can eliminate Leading zeros and then modify ur Internal table.
I think u will not get leading Zeros into utr Internal table when u read from VBAP.
Bcoz MATNR in VBAP itself have Conversion routine.
If u r getting leading zeros,U can use following Logic.
tables:
vbap.
data:
t_vbap like standard table of vbap.
select matnr
from vbap
into corresponding fields of table t_vbap.
loop at t_vbap into vbap.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT'
EXPORTING
INPUT = vbap-matnr
IMPORTING
OUTPUT = vbap-matnr
modify t_vbap from vbap transporting matnr.
endloop.
Hope this will work..... -
How to remove corrupt image from iPhoto
Somewhere in my photo library I have a photo that iPhoto really doesn't like! I want to know how to remove this image from my library, possibly by deleting it via Finder.
When I scroll through my photos in iPhoto the software hangs momentarily, and then crashes completely, whenever it gets to this particular image. When I try to export my photos (for backup purposes) iPhoto always crashes when trying to export this same image.
The problem has appeared with one of the recent updates to iPhoto, when I originally imported this image I could see and export the image just fine. The same issue is preventing me from migrating my photo library to the new Photos app - the import process that runs when I first launch Photos always crashes at the same point, presumably because of this same image file.
I am unable to remove the image by deleting it via iPhoto because I can't get iPhoto to display the image without crashing, please can anyone suggest another way to get rid of it.I've been trying to post details from the crash report here, but the forum software tells me that the message contains 'an invalid character' - which character is invalid? Who knows...
Maybe you are looking for
-
TS3694 every time i try to restore my ipod it says "error"
Every time I try to restore my Ipod it says "error"! heeeeelp!!
-
Hi, 1) We are showing the result of a (detailed) BI query in a table in Visual Composer. What are the recommendations / best practices with regards to the query's result lines ? If you don't suppress the result line it comes through in the table like
-
Hi I've ceated this shatter map with After effects. http://img388.imageshack.us/img388/2644/bild2yr8.png It's made out of 256 solids via Scripts and expressions. Now,how can i create a gradient map so i have got control over all pieces . I'd like to
-
Problem when I am saving my file
hello Problem is : when I saving my file it will come something wrong Unformatted & without Artboard, I must to make " save as " command every time i want to save my files If i need to modified my file should be make " save as " if we make " Save" th
-
New computer has been loaded with old Itunes library but a number of purchases prior to 9/18/08 are not "authorized" when I try to play them. They are all items I purchased from Itunes but they won't play any longer even though they show in my Itunes