Please provide some code for my problem..Thanks
Hi friends,
How to pick words starting with some sort from a word document and write the data to a text file..for example
we have many words in document starting with PGOT..
Now i have to pickup words starting with PGOTXXXX and write to a text file..
How to achieve this with pl/sql..
pls provide sample code...
Thanks in advance
asp
A small change in the code will work. It goes like this..
CREATE OR REPLACE PROCEDURE rw_demo IS
InFile utl_file.file_type;
OutFile utl_file.file_type;
vNewLine VARCHAR2(4000);
StartPos number;
EndPos number;
searchword varchar2(100);
BEGIN
InFile := utl_file.fopen('CTEMP', 'in.txt','r');
OutFile := utl_file.fopen('CTEMP', 'out.txt', 'w');
IF utl_file.is_open(InFile) THEN
LOOP
BEGIN
utl_file.get_line(InFile, vNewLine);
StartPos := 1;
loop
StartPos := INSTR(vNewLine,'PGOT',StartPos);
exit when StartPos = 0;
EndPos := INSTR(vNewLine,' ',StartPos);
If EndPos = 0 then
SearchWord := substr(vNewLine,StartPos);
ELSE
SearchWord := substr(vNewLine,StartPos,EndPos-StartPos);
END IF;
end loop;
utl_file.put_line(OutFile, searchword);
utl_file.fflush(OutFile);
END;
END LOOP;
COMMIT;
END IF;
utl_file.fclose(InFile);
utl_file.fclose(OutFile);
END rw_demo;
If you see my solution, i have a variable EndPos will contain the position of ' ' (a space) starting from the position of the string 'PGOT'. E.g. the line is "PGOTRFG ABC". Now as per the procedure StartPos will be 1 and EndPos will be 8. So the substr() will fetch PGOTRFG. Incase if the line is "PGOTRFG" then StartPos will be 1 and EndPos will be 0 and so the substr (in if part) will fetch PGOTRFG. you got it?
Similar Messages
-
May you please provide some information for Cisco 1600 AP is better than Juniper AP ?
Hello all,
May you please provide some information for Cisco 1600 AP is better than Juniper AP ?
I would like to know some comparison test between Cisco 1600 AP with Juniper AP.
Thanks very much !
Crowsyou cannot compare like this you need to compare it with model by model just compare the data sheet of both .But remeber cisco has larger portfolio and is ranked better then juniper in Gartner report 2013 you can you that in reference.
********Do rate helpful posts************* -
JdevTeam - Please provide addin code for 9i and Dreamweaver
Can someone on the JDev team plase post the code for integrating Dreamweaver with Jdev 9i on the JDev source code samples site? This was demonstrated at ODTUG in Las Vegas.
Thanks!I don't know about the ODTUG demo, but the toolmanager extension from the JDeveloper extension exchange can easily be used to get dreamweaver (or any other tool) to execute when you right click on an HTML file.
Check it out at:
http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/toolmanager/content.html -
hello please help me in my problem in apple id, i cannot connect to my ipad mini in itune store and app store because they find me a credit card but i dont have credit card. what can i do now? i need an answer for this problem. thank you
I would suggest that you buy a visa or mastercard gift card and put a few dollars on it and use it to access the store. Just add money to it before you want to buy something from the store and it will act like a normal credit card for you.
-
Please provide some scenario(project) with step-by-step document for both I
Hi BPS&IP Expert,
I am new one to BPS and IP, So
I would like to do some scenario in IP and BPS
Please provide some scenario(project) with step-by-step document for both IP &BPS
Send to ID( g a n e s h 4 u 1 @ g m a i l . com)
Please help me
Regards,
GRhi ganesh,
check the foll links,
for Integrated Planning
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/content.htm
Business Planning
http://help.sap.com/saphelp_nw2004s/helpdata/en/05/242537cedf2056e10000009b38f936/content.htm
https:/service.sap.com/~sapidb/011000358700001990992004E/Transition_BPS.ppt
https:/service.sap.com/~sapidb/011000358700006942212005E/BW_IP_NW2004s_standard.pdf
regards,
raghu. -
Please provide some notes in enhancements
hi abapers i am new to enhancements please provide some notes and faq's
[email protected]Hi Prasanna,
check the below links.
User Exits.
http://www.erpgenie.com/sap/abap/code/abap26.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
http://www.planetsap.com/userexit_main_page.htm
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/what-is-user-exits.htm
http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
BADI
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
award points it help full,
Thanks and Regards,
Pavankumar -
On 7-20-2013 I found an iPad in WI and would like to return it to its owner. Please provide some type of contact information to ID it.
Apple won't do that. (this is a user to user support forum by the way, you're not speaking to Apple themselves)
Your best bet would be to turn it over to the police, or run an ad (having the owner either provide the unlock code to ID it, or something)
Or if you have access to the device, peruse the contacts and find someone to call (for example if you see an entry for 'mom' you can contact that person and say 'i found your kid's ipad')
Apple doesn't run a device location service. -
Yoga 10 HD+ OTA update- please provide some info
Today I saw a new uodate for my Yoga HD+. The size is approx. 70Mb, after the update (I accepted it) I still have 4.4.2 Android version, same as before the update. Can I ask for more info what was the target for this update and what changes in the system it suppose to make?
Actually, I'd like to read this info BEFORE the update goes to OTA, so I will have some idea what to expect, but it did not happen... Please provide some info now, if possible. The line on screen was about some fixes and new features. Hope tech support has this information.
Thank you.
mikeLenovo doesn't provide change logs for its Android tablet firmware, which is something needs to change.
-
Please provide some important using Enhancements/BADIs in Self service proc
Hi experts,
Please provide some important generally using Enhancements/BADIs in Self service procurement with classic Scenario.
Also pls provide some details regarding those enhancements.
Also pls. provide some important reports in SAP-SRM
Thanks
ReshmaNot sure what u r trying to do.
Nornally many requirements are fulfilled with doc change Badi.
SRM provides very basic reports but if u want good reports u need BI
Regards,
NNK -
Please give some inputs for Sales order costing
please give some inputs for Sales order costing
Dear Chandu
If you use the valuated sales order stock, the actual cost of goods manufactured is updated to the sales order item (item in an inquiry, quotation, or sales order) under an inventory change cost element.
If you use the nonvaluated sales order stock, the actual cost of goods manufactured is updated to the sales document item under a settlement cost element or a source cost element.
Sales and administration costs are updated under a separate cost element.
Thanks
G. Lakshmipathi -
How can i Customize the UIShell Global Area ? Please provide some steps to Customize the UIShell Global Area ?
Actually I need to manipulate the Sign Out link and put my own Sign out link there...If you want to customize the UI Shell you need to download the code from UI Shell - ADF UI Patterns - Dynamic Tabs UI Shell Template Functional UI Pattern ; modiffy and use the updated code
-
Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy
Hi Tony,
Please refer this KB document : Return, cancel, or exchange an Adobe order
Please let me know if you need any further assistance.
Regards,
Rahul -
Select all and dselect all can any body provide a code for these buttons
hi
i have taken 4 buttons for select all and dselect all and sort up and sort down can any body provide a code for these buttons.
thankshi,
Refer this link...
code for select_all and deselect_all in modulepool -
M y firefox 10.0.2The safety site never tick auto fix ID andPasswords, why my security trading ac. still can auto fix my user ID.how to clear it, please teaching me to fix this problem.THANK YOU.
http://www.omahapokernews.org
http://www.holdempokernews.org
http://www.7cardstudplay.net
http://www.5cardstudplay.net
http://www.holdemspot.org
http://www.texasholdemstate.net
http://www.texasholdemstate.com
http://www.pokerbonuslist.net
http://www.pokerdownloadz.org
http://www.signuppoker.net
http://www.tournamentpokerz.com
http://www.pokercalculatorz.com
http://www.omahaodds.org
http://www.omahaouts.org
http://www.texasholdemrulesonline.net
http://www.onlineholdemtips.com
http://www.pokerhilo.net
http://www.poker-hilo.com
http://www.hilopokers.com
http://www.nolimit-holdempoker.net
http://www.texasholdemlimits.org
http://www.texasholdemlimits.net
http://www.onlinepokerlimits.org
http://www.onlinepokerlimits.net
http://www.onlinepokerlimits.com
http://www.texasholdemlimits.com
http://www.7cardplayer.net
http://www.5cardplayer.net
http://www.omahaacademy.org
http://www.omahapokerrooms.net
http://www.onlinepokerroomstop.net
http://www.playpoker-toppokerrooms.com
http://www.texasholdemz.com
http://www.playpokeronline-casinos.com
http://www.texasholdem-vip.com
http://www.gamble-poker-holdem.com
http://www.playpoker-holdem.com
http://www.onlinetexasholdem-poker.com
http://www.texasholdempokeracademy.com
http://www.vip-texasholdem.com
http://www.playfree-poker-online.com
http://www.texasholdem-pokerrooms.org
http://www.toppokerrooms.ws
http://www.toppokercasino.ws
http://www.onlinepokercasino.ws
http://www.playpoker-online.ws
http://www.online-texasholdem.ws
http://www.play-texas-holdem.ws
http://www.internet-texas-holdem-poker.ws
http://www.poker-player.ws
http://www.luckyschool.com -
Can you please provide the information for writing ocp
Hi,
Iam planning to write OCP exam, can you please provide the information for it.
what are the courses i need to take.where can i get the study material for it.
Looking forward for your replyThe 9i OCP track is 2 plus 2 exams plus a hands-on course. Follow the links you got above.
The best study material, if you really want to study and get to know the stuff, is available here on OTN. Download and practice the Database together with reading the Concepts, SQL Reference, Admin and Performance tuning guides from 10g or 9i libraries.
Use the Search to lookup concepts, syntax etc.
Maybe you are looking for
-
PO dryage accruel vendor conition type and MR11 value is not maching?
Dear Gurus, In PO, for delivery cost, FRC2 condition type is used...In PO history tab, I am seeing that there are diffrences of amount 2000 b/w GR and IR... but in MR11 GR/IR clerance report, I am seeing that -1257 is coming for FRC2 conition type(de
-
Getting count - formula variable
Hi Guys, Need you help. I have a cube with data like this: Division | Customer | Keyfig1 | KeyFig2 D1 A 10 20 D1 B 10 20 D1 C 10 20 D1 D 10 20 D1 E 10 20 In my Query i need to get the c
-
Selection printing not active in photosmart C6280
I am using this printer with Windows 7 Premium and on my Safari browser I cannot select part of a page to be printed it is not active I can only select pages not just a paragraph . Is there a fix for this?
-
Moblie me and icloud(ipad 2)
I already have a mobile me account but when I try to log in to icloud using that account I am told the email is already taken and that I have to choose a new one. Can anyone help?
-
Playing sound using ActionScript 3.0 (newbie)
I have a Flash animation I've created, and at the last minute we have decided to add one audio track to the background. The problem is, I have a looping animation in the timeline, so simply inserting the audio into a layer in the timeline will not w