Regexp_replace not able to convert
Hi Team,
I am using once query using regexp_replace plz find below query.
Data for Address_1_v is 1@81, and Address_2_v is @@PO BOX ST289 SOUTHERTON
SELECT ACCOUNT_LINK_CODE_N,
XMLELEMENT("ADDRESS_DTLS",XMLATTRIBUTES(
NVL(regexp_replace(ADDRESS_1_V,'[^0-9 A-Z a-z/,()''"@&]',''),'ADDR1') AS "ADDRESS1",
NVL(regexp_replace(ADDRESS_2_V,'[^0-9 A-Z a-z/,''()"@&]',''),'ADDR2') AS "ADDRESS2"
)) "ADDRESS_X"
FROM CB_ADDRESS where account_link_code_n=8293277;
o/p
ACCOUNT_LINK_CODE_N ADDRESS_X
8293277 <ADDRESS_DTLS ADDRESS1="1@81" ADDRESS2="@@PO BOX ST289 SOUTHERTON"></ADDRESS_DTL
Why it doesn't replace? Previously it is replacing.
The "^" character at the start of the set of characters specificed, tells it that you want to pattern match everything NOT in the set of characters.
So, if you string contains something that is not in that set.... e.g..
SQL> ed
Wrote file afiedt.buf
1 with t as (select 'This is my test ? string.' as addr1 from dual)
2 --
3 -- end of test data
4 --
5 select regexp_replace(addr1, '[^0-9 A-Z a-z/,()''"@&]','') as result
6* from t
SQL> /
RESULT
This is my test string
then those characters will get replaced. In this case, the "?" and the "." characters were removed.
Similar Messages
-
Not able to convert string attribute to number and date please help me out
not able to convert string attribute to number and date attribute. While using string to date conversion it shows result as failure.As I am reading from a text file. please help me out
Hi,
You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
regards,
Nick -
Not able to convert word file to PDF using Adobe Acrobat 9 Standard
Hi,
I am not able to convert word file to PDF using Adobe Acrobat 9 Standard. When I try to convert, it starts the process and in between I am getting this prompt, as shown in figure below and the conversion process stops. The PDF is not created.
Note: The filename 'Acr85.doc' in the above prompt keeps changing and is random.
I tried clicking Yes, No and Cancel on the above prompt, but the conversion process just stops and PDF is not getting generated.
I am able to create PDFs from web pages. No issues with that. Not working only with Word.
Can someone help me with this.
Thanks,
Vinay Jaassiel Kankipati
Technical WriterIn MSWord please changes the settings as "Adobe PDF" menu => "Change Conversion Settings" goto Tab Bookmark and clicks the option Convert Word Bookmarks. Now you convert the Doc to PDF you can achieve the Bookmark.
Hope this help you
Sudhakar -
My software is STUCK on "Retrieving current session status" What is this and how do I fix it? i am not able to convert any files at all!! Please help!
Hi JulietaQ,
In order to help you better.
Please let me know which application or Service of Adobe you are using. If this is subscription i would request you to log-out and log-in back and let me know if that helps.
~Ajlan Huda -
I just downloaded the free trial of Adobe PDF to Word converter and was not able to convert a PDF file to word. Could anyone please help? Thx
Part of the problem in helping is likely that there is no program Adobe -- that is the company name. You are in the Acrobat forum, but it sounds like you have subscribed to Export PDF or such, a different program. The subscription to Acrobat is currently $19.99 per month.
-
having problems converting pdf to word. I'm not able to convert the file, what do I need to do?
Hi prates77,
I'm sorry to hear that you're having trouble converting files. Are you receiving the conversion error regardless of the file that you try to convert? Does the error occur whether you use the web interface, or convert via Reader? And an odd question: how many files do you have stored in your Acrobat.com account? We have seen reports of this error when there are a large number of files stored in the root folder of your Acrobat.com account.
I look forward to hearing back from you.
Best,
Sara -
I am not able to convert movies, keep getting this message The document “The Walking Dead Trailer - YouTube-2.mp4” could not be opened. The movie's file format isn't recognized. not sure why, anybody know
Sounds like someone ripped the movie off of YouTube and it got corrupted in the process. Try getting the movie file again, or try using an alternative movie player such as VLC: http://www.videolan.org
-
Is QT Pro not able to convert to .mp3?
The answer might be No. I have searched the web and also the discussion ... but to be sure now
Is QT Pro not able to convert to .mp3?Oddly enough....uh, yeah. Has something to do with patent issues.
QuickTime cannot export to MP3, but iTunes can...and iTunes can play any audio format that QuickTime can. So if it is just an audio file, that might be a workaround.
--Dave Althoff, Jr. -
Not able to convert SOAP object to java object
Hi,
I was able to get SOAP Response, but in that response string field is not able to be transformed into java object.
Can you be able to give suggestion to solve this problem.
Thanks in advance,Hi,
You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
regards,
Nick -
Not able to convert spool output to PDF file properly
Hi guys,
i have got spool which contains russian characters which needs to be converted to PDF file.
Note: ******Assuming user enters only one spool in S_Spool*******
I am using following code to do this:
**---- Get Spool ID Details from TSP01
select * from tsp01 into table i_tsp01 where rqident eq s_spool.
**---- Sort Table in Ascending order based on Spool Id
sort i_tsp01 by rqident.
**---- Get information about Multiple spools
loop at i_tsp01.
**---- Get Multiple Spool information
call function 'RSPO_RETURN_SPOOLJOB'
exporting
rqident = i_tsp01-rqident
tables
buffer = i_spool_table
exceptions
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
others = 8.
if sy-subrc = 0.
endif.
**---- Get the Last line index (Number of Lines)
describe table i_spool_table lines v_lines.
i_otf[] = i_spool_table[].
endloop.
**---- Convert the OTF information to PDF.
call function 'CONVERT_OTF_2_PDF'
importing
bin_filesize = v_size
tables
otf = i_otf
doctab_archive = i_doc
lines = i_pdf
exceptions
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
others = 3.
if sy-subrc <> 0.
message i002(sy) with 'Cannot convert to PDF, exiting....'.
leave program.
endif.
DATA: v_numbytes TYPE i.
DATA : v_return1(128).
CONCATENATE 'C:\' 'F_spool' '.pdf' INTO v_return1.
CONDENSE v_return1.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = v_return1
filetype = 'BIN'
IMPORTING
filelength = v_numbytes
TABLES
data_tab = i_pdf
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10 .
IF sy-subrc NE 0.
EXIT.
ENDIF.
i have already tried standard pgm : RSTXPDFT4. But it does not work.
Suitable answers will be rewarded.
Thanks,
GURUHi Guru,
Use FM 'CONVERT_ABAPSPOOLJOB_2_PDF'.
Refer this code:
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Regards,
Hemant -
I am able to log in but am not able to convert files?
I have paid for the subscription but am not getting the option to convert pdf files.
Have you tried signing out and then back in?
-
Not able to convert html page to SAPUI5
Hi ,
i am new to SAPUI5 and i want to convert my website to SAPUI5 which is made in HTML5.
But i am unable to do.
I have used listbox and search option in my page. And i do not know how to get that in SAPUI5.
can you tell that is it possible to convert the page ( If yes then how?) or i have to make one new project ?
Thank you?Hi,
You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
regards,
Nick -
Not able to convert planned order via MD04 to PROD ORD
Hello Exoerts,
In MD04 transaction
I need to launch the material ARXXXXXXX-AR in production
I am selecting the planned order - 3YYYYYYY0
I am clicking on the convert to Production Order button.
I am getting the first message :
Error during availability check. for the order % 00000000001 u2013 (refer journal)
I validate the message and I have another message:
Material missing for the order (refer log)
I decide to launch the order with the missing one, and I again get the Error message of during availability check, and there, I get blocked and I cannot go further .. I cannot launch my PO.
Kindly help me on this.Hi,
Porblem is with material availability check. Check in OPJK and find what checking rule you have define for your order type for order creation and release.
second thing you have to do is go to material master of your all bom components and find out checking group (mrp3) and then check in opjj whether checking control for the combination of checking group (material master) and checking rule (order type) is
maintain or not. If not then maintain it.
Regadrs,
Dhaval -
Not able to convert to PDF using ShareAPI.addFile
Hi,
I am using Java library to use acrobat.com service of converting word doc to PDF. I am using following call to upload the doc for converion:
node=
shareAPI.addFile(acrobatUser, uploadFile, uploadFile.getName(), "Test doc",null, false,true);
node.getPDFState() is always retrurning 0 i.e. unknown.
I am planning to call ShareAPI.getPDF(acrobatUser, node) call once I get 'converted' status in getPDFStatus() call.
I can see the document upoaded to my account but there was no PDF.
Am I doing something wrong?
ThanksJust want to let you know that I've escalated your question within the team. Thanks for your patience until I hear back.
Michelle -
Not able to convert my application file from mxml to Action Script
Hi,
In my mobile project I want to convert my application file from mxml to ActionScript.When I do this I get error and when I digged into the code I found that the error comes in preloader class initialize method as preloader property in System Manager class is null(line 2026 in SystemManager class).it actually represents the splashScreen class.When I tried to set the splash Screen the document says we cannot set this property from action script.
I know we have an option of action script mobile project but it doesnt recognise TabbedViewNavigatorApplication.
So how can I overcome the problem.I get the following error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.preloaders::Preloader/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:261]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\4.5.1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:2103]
at mx.managers::SystemManager/initHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\m x\managers\SystemManager.as:2588]
Maybe you are looking for
-
My Ipod Touch will not let me sign into my apple account without adding a credit card number
I don't have a credit card, or a gift card; an when I go to download an app I log into my account; but it wont 'Fully' log me in until I press 'review', then it does the whole "Your credit card number is a required field". Thus resulting in me not be
-
I have an iPod with some apps that I want to put the apps onto the iPad I just purchased, what is the easiest way?
-
IPad keeps closing or kicking me out
When using safari or even on app store browsing apps. The iPad suddenly closes. It's been happening for 2 weeks. Could it be a virus
-
BPC and Financial consolidation
Dear All, I would like to understand what is difference between BPC and Financial consolidation. I have a client who wants to implement only consolidation in system and we would like to know which product to implement BPC or Financial consolidation.
-
Hi, I want to update the filed value 'FAKSK' in standard table VBAK.Can anyone suggest to update vbak by using any FUNCTION MODULES OR BAPI'S Your help is appreciable.thank u. with rgds.hari...