How to retrive the number from the number range
Hi
i am using the oracle 9i I have the following table, it contains 4 milion records
operator Number_series loc
airtel 9849143161-9849143166 hyd
symon 625421-625424 pune
super 53246217-53246220 mum
from the above mention table how could i retrive the data like
operator number loc
airtel 9849143161 hyd
airtel 9849143162 hyd
airtel 9849143163 hyd
airtel 9849143164 hyd
airtel 9849143165 hyd
airtel 9849143166 hyd
symon 625421 pune
symon 625422 pune
symon 625423 pune
symon 625424 pune
super 53246217 mum
super 53246218 mum
super 53246219 mum
super 53246220 mum
i am using the oracle 9i I have the following table, it contains 4 milion records
operator Number_series loc
airtel 9849143161-9849143166 hyd
symon 625421-625424 pune
super 53246217-53246220 mum
from the above mentiond table how could i retrive the data like
operator number loc
airtel 9849143161 hyd
airtel 9849143162 hyd
airtel 9849143163 hyd
airtel 9849143164 hyd
airtel 9849143165 hyd
airtel 9849143166 hyd
symon 625421 pune
symon 625422 pune
symon 625423 pune
symon 625424 pune
super 53246217 mum
super 53246218 mum
super 53246219 mum
super 53246220 mum
Similar Messages
-
How to retrive the purchase agreement/promotion using sale order number
Hi ,
I am an ABAPER . I need a flow for *sale order to purchase agreement/promotion *
My query is how to retrive the purchase agreement/promotion (VBAK-KNUMA is blank for all ) using sale order number ?
Thanks
Sree
Edited by: Sree Merugu on Sep 11, 2008 6:58 PMHi ,
I am an ABAPER . I need a flow for *sale order to purchase agreement/promotion *
My query is how to retrive the purchase agreement/promotion (VBAK-KNUMA is blank for all ) using sale order number ?
Thanks
Sree
Edited by: Sree Merugu on Sep 11, 2008 6:58 PM -
hey guys
i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
"copy if newer"
can anyone please help? i appreciate that !Hello,
From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
you need to copy that file into storage folder before reading data. Please try the following code snippets.
private async void Button_Click_9(object sender, RoutedEventArgs e)
//check if file exists in storage folder, and then copy to local storage
bool flag = await FileExistsAsync("Data.db3");
if (!flag)
var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
// open sqlite and read data
public async Task<bool> FileExistsAsync(string fileName)
try
await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
return true;
catch (FileNotFoundException)
return false;
Regards,
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. -
Can you please how to retrive the new netprice from the new validity period
Hi,
When you display a contract using ME33K and you click on a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
and each period will have different netprice in it.
One will be old date before the PO was created and the other new one which has validity till 31.12.999..We want to fetch the netprice for the new validity date but currently the program is fetching this data from the table EKPO which is having the netprice of the old date only..
Can you please how to retrive the new netprice from the new validity periodThank you so much.
But I need more help specific to my problem.
Let me describe the same.
Suppose the PO creation date is 04.07.2007
The conditions for an item in a contract for the PO are as follows;
1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
We need to always fetch the netprice from the validity period which always matches with the PO creatio date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
This data is then used to fetch the get the netpr data from EKPO.
<u>what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date</u>..
Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
p_c_k_bstyp TYPE ebstyp
p_p_bukrs TYPE bukrs
p_p_ekorg TYPE ekorg
p_p_ekgrp TYPE bkgrp
*Begin of Mod-004
fp_p_cernam type ty_r_ernam
p_p_cernam TYPE ernam
*End of Mod-004
p_s_werks LIKE s_werks[]
p_s_matnr LIKE s_matnr[]
p_s_lifnr LIKE s_lifnr[]
p_s_val_dt LIKE s_val_dt[].
*mod-002
data : l_amount type BAPICURR_D, " Net price
l_waers TYPE waers, " Currency Key
l_eff_amount type BAPICURR_D. " Effective value
data: l_v_netpr type bprei.
*mod-002
SELECT ebeln
bukrs
bstyp
aedat
ernam
lifnr
zterm
ekorg
ekgrp
waers
wkurs
<b>kdatb
kdate</b>
inco1
INTO TABLE i_ekko
FROM ekko
WHERE ebeln IN p_s_cebeln
AND bstyp EQ p_c_k_bstyp
AND bukrs EQ p_p_bukrs
AND ekorg EQ p_p_ekorg
AND ekgrp EQ p_p_ekgrp
*Begin of Mod-004
AND ernam EQ p_p_cernam
AND ernam IN fp_p_cernam
*End of Mod-004
AND lifnr IN p_s_lifnr
AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
IF sy-subrc EQ 0.
Populates internal table i_ekpo using EKPO table.
SELECT ebeln
ebelp
loekz
txz01
matnr
werks
ktmng
menge
meins
bprme
netpr
peinh
webaz
mwskz
uebto
untto
erekz
pstyp
knttp
repos
webre
konnr
ktpnr
ean11
effwr
xersy
aedat
prdat
INTO TABLE i_ekpo
FROM ekpo
FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln
and aedat = i_ekko-aedat
AND werks IN p_s_werks
AND matnr IN p_s_matnr.
LOOP AT i_ekpo INTO rec_ekpo.
MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
MOVE rec_ekpo-loekz TO rec_contr-loekz.
MOVE rec_ekpo-txz01 TO rec_contr-txz01.
MOVE rec_ekpo-matnr TO rec_contr-matnr.
MOVE rec_ekpo-werks TO rec_contr-werks.
MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
MOVE rec_ekpo-menge TO rec_contr-menge.
MOVE rec_ekpo-meins TO rec_contr-meins.
MOVE rec_ekpo-bprme TO rec_contr-bprme.
MOVE rec_ekpo-netpr TO rec_contr-netpr.
move l_v_netpr TO rec_contr-netpr.
mod-002
read table i_ekko into rec_ekko with key
ebeln = rec_ekpo-ebeln.
l_waers = rec_ekko-waers.
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-netpr
IMPORTING
AMOUNT_EXTERNAL = l_amount.
rec_contr-netpr = l_amount.
mod-002
MOVE rec_ekpo-peinh TO rec_contr-peinh.
MOVE rec_ekpo-webaz TO rec_contr-webaz.
MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
MOVE rec_ekpo-uebto TO rec_contr-uebto.
MOVE rec_ekpo-untto TO rec_contr-untto.
MOVE rec_ekpo-erekz TO rec_contr-erekz.
MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
MOVE rec_ekpo-knttp TO rec_contr-knttp.
MOVE rec_ekpo-repos TO rec_contr-repos.
MOVE rec_ekpo-webre TO rec_contr-webre.
MOVE rec_ekpo-konnr TO rec_contr-konnr.
MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
MOVE rec_ekpo-ean11 TO rec_contr-ean11.
MOVE rec_ekpo-effwr TO rec_contr-effwr.
mod-002
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-effwr
IMPORTING
AMOUNT_EXTERNAL = l_eff_amount.
rec_contr-effwr = l_eff_amount.
*mod-002
MOVE rec_ekpo-xersy TO rec_contr-xersy.
APPEND rec_contr TO i_contr.
CLEAR: rec_ekpo,rec_contr.
mod-002
CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
mod-002
ENDLOOP.
Modifying i_contr using i_ekko.
SORT i_ekko BY ebeln.
LOOP AT i_contr INTO rec_contr.
READ TABLE i_ekko INTO rec_ekko WITH KEY
ebeln = rec_contr-ebeln
BINARY SEARCH.
MOVE rec_ekko-bukrs TO rec_contr-bukrs.
MOVE rec_ekko-bstyp TO rec_contr-bstyp.
MOVE rec_ekko-aedat TO rec_contr-aedat.
MOVE rec_ekko-ernam TO rec_contr-ernam.
MOVE rec_ekko-lifnr TO rec_contr-lifnr.
MOVE rec_ekko-zterm TO rec_contr-zterm.
MOVE rec_ekko-ekorg TO rec_contr-ekorg.
MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
MOVE rec_ekko-waers TO rec_contr-waers.
MOVE rec_ekko-wkurs TO rec_contr-wkurs.
MOVE rec_ekko-kdatb TO rec_contr-kdatb.
MOVE rec_ekko-kdate TO rec_contr-kdate.
MOVE rec_ekko-inco1 TO rec_contr-inco1.
MODIFY i_contr FROM rec_contr.
ENDLOOP.
ENDIF.
REFRESH: i_ekko,
i_ekpo.
CLEAR : rec_ekko,
rec_ekpo,
rec_contr.
ENDFORM. "select_contracts
Thanks. -
MessageFileUpload how to retrive the file name?
Hi there guys,
maybe it's a stupid question but i cannot find the answer :_( any of you knows how to retrive the file name i am going to upload from the messageFIleUpload item?
Thank You, Pier Paolo.
Edit: Found in another post!! eeheh LAZY ME!! :_)
Message was edited by:
PandreoLNice to know that you found the solution. You could have as well used the javadoc for the same.
--Shiv -
hi all
please help how to save a movieclip in flash to svg...and how
to retrive the saved svg to movieclip in flash?
thanksDo you mean from flash in a web page or do you mean
converting the swf file format (maybe with a decompiler or
whatever).
If you're meaning to do it from flash in a web page:
You can't save a movieclip from flash to svg. You could
perhaps record drawingAPI commands and create the appropriate svg
output in an internal xml object which you then send to the server.
But I don't know of any pre-built classes to do that (disclaimer:
because I don't know of any doesn't mean they don't exist).
Going from svg to flash is doing it the other way around.
Converting the svg paths back to actionscript drawing commands. I
think I've seen some examples of this online somewhere. -
How to retrive the deleted data in Z table
Hi Gyes,
How to retrive the deleted data in Z table.
Thanks & Regards,
SureshHello Suresh
If you have not activated the technical setting "Log data changes" in the definition of your z-table (which is unlikely) then there will be no change documents available.
If you have downloaded your z-table entries sometimes you could use these data for recovery.
Otherwise your last change is to ask your <b>basis team</b> when the last backup has been made.
Regards
Uwe -
How to retrive the deleted entries in the ztable
please let me know how to retrive the deleted entries in the ztable.
>
Naseer uddin wrote:
> Hi,
>
> While creating a table have u activated the buffering (full).
> if not then it is not possible to retrive the lost data, and if u have activated the full buffering of table then it is possible to retrive data, up to some extent, using transaction Code se14.
Complete Nonsense.*
buffering doesn't mean that it will buffer the records back in database ,once you deleted.it means it will allow the buffer the table to memory only while read access. -
How to retrive the overwritten SAP Default Configuration
Hi There,
I was trying to enhance the component BT115IT_SLSO to add some new fields into the table view Items.
I copied the view configuration to my Z config key but by mistake & added the fields into the default view and saved the changes. Now the default configuration is screwed up.
Can some one point out how to retrive the SAP standard configuration( where it is stored ). In the configuration tab of the view the configuration looks ok but in Web UI I see all the columns available in the context node, and makes the view useless, when I go to the personlization of the view all fields shows the message < Error in Meta data > and I can not see the details of the fields.
I have already backed off my enhancement. Now I want to retrive the view configuration.
Your help will be highly appreciated.
Thanks,
Vikash.Issue resolved.
Solution was In BSP workbench when I went to choose configuration I saw that just next to std conf there was column for cust conf. and both were marked X so I deleted the conf and that gave me the standard conf back.
Thanks,
Vikash. -
How to retrive the archive PR
or
anyway that user can view it in display mode
Edited by: shakir on Jun 5, 2010 2:07 PMCheck this link
[retrive the archive PR|http://help.sap.com/erp2005_ehp_03/helpdata/EN/8d/3e4b63462a11d189000000e8323d3a/frameset.htm] -
PA04-How to make existing Number Range/interval external.
Question: PA04-How to make existing Number Range/interval external.
One of the Pernr Number ranges/interval in PA04 is Internal(box is
unchecked) and i want to make it "External" (check the box) to load some data.
Issue: The issue is, the check box is Greyed out and i can not check it. But i have access to
everything else in PA04:
- create and delete number ranges
- change the "Current number"
- Uncheck the box to make the External to Internal.
But i can not Check the box to make it External from Internal due to the greyed
out box for this number range.
The only solution i can think of about it is to - Delete the number range
and add it again and check the box when doing that. And once the Data load is done Uncheck the box.
Is there a better option..?Once you have made your decision to define a number range as 'internal' it is not possible to reverse this. check this http://scn.sap.com/thread/1976017
-
How to find next number range for project definition in tcode CJ20N
Hai Experts,
Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
Note: I searched in forum before posting, but couldn't find the solution.
Thanks
Regards,
Prabu S.Hi,
For project defination internal number is assigned by system.
When you saves's project then system allocate one number to project defination, you can view it,
SE11 >>> table PROJ >> Click on contents >>> execute,
here you will get your project defination & number is assigned to project defination.
kapil -
HOW TO CREATE EXTERNAL NUMBER RANGE IN OM
HI ALL
HOW TO CREATE EXTERNAL NUMBER RANGE IN OM
PLEASE GIVE ME SPOON FEEDING
IT IS VERY URGENT FOR ME
PLEASE PLEASE AND PLEASE
REGARDSok i understood u want the img path for maintaing
positions ,jobs , Org units
Path:IMG->Personnel Mgmt->OM->Basic Setting->Maintain Number ranges.
IMG go to Personnel Management -> Organizational Management -> Basic Settings
-> Maintain Number Ranges.
Select subgroup $$O to maintain number range for Org Unit and click on Number range Maintenance. Then click on change Intervals. Now you can create both internal and external number range for Org Unit according to your requirement.
Similarly for Position select subgroup $$S and follow the same process.
Edited by: Sikindar on Feb 7, 2008 11:23 AM
Edited by: Sikindar on Feb 7, 2008 11:28 AM -
How to retrive relational data from an XMLType column in Oracle 10g R2
Hi
I want how to retrive the data which is in XML document in an XMLColumn in a Table(or an XMLTable which has the XML Document). This XML Document has to be Queried with XQuery as a Relational data(not an XML Document).
If any body has some ideas please share it across ASAP.
please share an example for this because i am new to this XQuery.
Thanks in Expectation,
Selva.Got it working now. I used the 'extract' function in my select statement, but had to add the .getStringValue() fuction. The extract function, just by itself, returns an XMLDocument type. The call for the column in the SQL statement looked like this.
extract(XML_CONTENT, '/ROOTOBJECT').getStringVal() xml_content
Thanks so much for your help. Problem solved! -
How to create a number ranges in QM notification?
Hi Exprets
How to create a number ranges in QM notification?
Please help me...
RamDeat Thyagarajan,
Notification type 01
Notification cat 05
Parameters
Notification origin General Notification
Catalog profile SAPISR
Early no.allocation 06 Number range
My Notification type 01, I am assined 06 number range. 06 number range have limit 1-100000.
I have used upto 100000. Now how I can extend my number limit.
Thanks for support...
Ram -
How to create a Number range?
Hi,
How to create a number range for a field to give our own number for a field?Hello,
Go to transaction SNRO.
Take a look at these: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-13] and [http://help.sap.com/saphelp_nw04/helpdata/en/7b/6eb2aa7aed44ea92ebb969e03081fb/frameset.htm]
Regards,
Maybe you are looking for
-
HP psc 2175 all in one not responding to paper size selected
Im trying to print out wedding invitations using the downloaded template from the invitation company, through microsoft word 2003, windows xp, sp3. And my printer wont respond to any aper size selections other than 8.5x11. It won't even let me change
-
No key event when compose keys are pressed
I am supporting a legacy application for Sabre which maps some of the keys differently. For example, on a French keyboard the Compose key which is used to put a ^ on top of the vowel characters is to be remapped to produce a special character called
-
Could I disable ZCM Record on MBR as default setting ?
Hi Because customer usually use some recovery AP (like Ghost),but usually cause some workstation register issue,he ask me whether we could disable ZCM Record on MBR as default setting or not ? when workstation generate extra workstation objects, he c
-
Hi Everyone, We are currently implementing the BI 7 print to PDF functionality and it seems to be very good. We've managed so far to print data tables via the context menu and are aware that printing graphs with the data tables can also be achieve by
-
Hi, I was in Malaysia but when I was download a apps in App Store their just told me need to change the location setting from china to others country!how do I do this setting?