How to create no ranges extension
Hi,
I am already assigened no ranges for GL/KA/KR/KZ like
GL for 1000-1999
KA for 2000-2999
KR for 3000-3999
KZ for 4000-4999
But now the situation is i am post the documetns up to last number.
i am taken SAP standard no ranges for vendors like 15 for KZ and like 14,18.
now the documents posted up to 1999,2999,3999,4999 So i want to extend the no ranges for these document what are the various types to extend the no ranges.
Subbu
HI
Go to FBN1 and re-create the no ranges with
GL for 5000-5999
KA for 6000-6999
KR for 7000-7999
KZ for 8000-8999
Hari
Similar Messages
-
How to create numkr range in pe03
hello experts
how to create number range in pe03 when already some others number range is saved whether to delete the others ra nge or create a new one under others. even after creating under otherwise it is showing as errorHi,
Pls correct it T.code.. Number ranges will create in PA04 T.Code. not in PE03. PE03 for features. In PE03 - NUMKR feature- will assign the default number range- for trigger automatic no. while hiring ee's.
See, if already some number ranges saved into one number range, you can split it with other number range like;
01 - 000001 - 100000
Like in your system it was saved like above.
now you want to split the above no. range to below number range. I hope you are expecting following way.
01- 000001 - 50000
01- 500001- 100000
Regards,
Devi. -
Hi All Sap Experts
Please tell me How to create Number Range
I tried with the Transaction Code " SNRO "
But Im getting The following error
Dialog box title : " Buffering Methods ".
Message in the Dialog box is :
-Numbers may be lost!
-Do not use for Financial accounting Documents!!
?. Do you want set this Buffering method?
And another error is :
Dialog box title : " Transport number range intervals "
Message in the Dialog box is :
The number range intervals are not included in automatic customizing changes.
Transport all changes made within range interval maintenance must be
triggered manually.
In the initial screen for range interval maintenance function
<b> Interval</b> --> <b>Transport</b>
Please note the information that you get when transporting intervals.
So please tell me the solution for this error.
Thank you
Basu
Another ishi,
Create number range object using OYSN.
Then call the following function modules.
FORM get_next_id CHANGING p_discrep.
DATA: last_id LIKE zrecaudit-discrep,
quant LIKE inri-quantity, "dummy
code LIKE inri-returncode. "returncode
CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
EXPORTING
object = 'ZRECAUDIT'
EXCEPTIONS
foreign_lock = 1
object_not_found = 2
system_failure = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZRECAUDIT'
IMPORTING
number = last_id
quantity = quant
returncode = code
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8.
CALL FUNCTION 'NUMBER_RANGE_DEQUEUE'
EXPORTING
object = 'ZRECAUDIT'
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
ENDIF.
ENDFORM. " get_next_id
<u><i><b>refer the links</b></i></u>
http://www.sap-img.com/ge003.htm
http://www.sap-basis-abap.com/sapmm009.htm
http://www.erpgenie.com/abap/code/abap33.htm
http://www.kabai.com/abaps/z26.htm
Rgds
Anversha -
How to create encrypted File Extension??
hi Folks
i'd ilke to ask how to create file extension and how encrypt this extension??
to make my question clear suppose we develop a word proceesing Application i would like this Application produce let say ".kad" when saving it and how to make this extension ".kad" encrypted meaning that we couldn't open the file unless my Application is existing.
can anyone help me or give a tip to start of the way!!!!!!!!
thnxHi eng_kadry,
if a little confusion is enough for you can use just a binary format, i.e. do not store readable text, but compacted binary information.
If you really need to encrypt your data have a look at JCE (Java Crypto Extension) which provides various encryption algorithms.
Note: You can't encrypt a file extension you encrypt the file. You can't prevent anybody opening the file with a hex-editor, but if you use binary or a really encrypted format he/she won't be able to make any sense out of it.
Another note: Be aware that your program will always contain everything it needs to decrypt the files, so if anybody goes through the pain of decompiling your program he/she will be able to use the files and you can't prevent decompilation
regards
Spieler -
How to Create DB Explorer extension using jdeveloperr
Hi,
I want to create a DataBase explorer extension to lookup all db component.
after selecting some component i have to generate some xml files.
Can anyone please guide me how i can develop such extension?
I have download extension sdk and going through some sample. But i m not able to figure out how to develop DB explorer.
Thanks in advance.
-Amit SharmaYou already have a DB explorer availble in JDeveloper -> choose View->Database->Database Navigator
I think what you are looking to actually develop is a context menu for that explorer - the samples have demos of how to build context menu.
Also note that the DB navigator is actually coming from SQL Developer - so their articles about extensions might also help:
http://www.oracle.com/technology/products/database/sql_developer/files/extensions.htm -
How to create number ranges with "OK60" transaction or any other.
Hello,
I need to create a new number range to asigne to a document type , using transaction OK60 ( the error says this transaction).
but I only can display with this transaction, and I would like to update.
Is there any other transaction to do this , or is there any way to do this with this transaction OK60?
Thank you very much.
Kind regards
OlgaHi,
OK60 indeed is used for creating number ranges for FI/CO earmarked funds transactions. You should press on 'Pencil' button and create an interval. If for some reasons, you cannot do this via this transaction, try using SNRO transaction, with IRW_BELEG parameter. If this also fails, then apply to BASIS team to check your authorizations.
Regards,
Eli -
Hi experts,
I need to populate two column in order to get waiting time, then i need to create minute range as below:-
i ) less than 30 minute
ii) 30 minute - 60 minute
iii) 60 minute - 90 minute
iv) more than 90 minute
select TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'),count(TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))
from visitlochis vlh
where servicing_datetime is not null
and arrival_datetime is not null
AND servicing_datetime >= TO_DATE ('01/01/2009', 'dd/mm/yyyy')
AND servicing_datetime <= TO_DATE ('10/01/2009', 'dd/mm/yyyy')
and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))>=60
and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))<=90
group by TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99')
Any advise and guidance is needed..
Thanks in advanceHi,
Welcome to the forum!
What is the prupose of the WHERE -clause conditions:
and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))>=60
and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))<=90? It looks like you're trying to only get waiting times between 60 and 90 minutes; but since you're comparing strings to numbers (the expressions to the left of the >= and <= operators are strings, but the expressions to the right are numbers) you might be getting something you didn't expect.
If you want to assign one of the numbers 1, 2, 3 or 4 to each row, depending on its wait time, you could always use CASE, like this:
CASE
WHEN vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME < (1 / 48) THEN 1 -- 1/48 day = 30 minutes
WHEN vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME < (2 / 48) THEN 2
WHEN vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME < (3 / 48) THEN 3
WHEN vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME >= (3 / 48) THEN 4
END AS wait_grpTo avoid computing the difference 4 times, you could do it once in a sub-query.
In certain circumstances, you can do something a little shorter.
For example, if servicing_datetime is never earlier than arrival_datetime, you can get the same results as above like this:
1 + LEAST ( FLOOR ( ( vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME)
/ 48
, 3
) AS wait_grp -
How to create number range for custom object
Hi all,
I want to create number range for custom object or custom tables
Thanks
HemalathaHi,
Thanks, I am able to create a number range for custom object through SNRO tcode.
Thanks
Hemalatha -
How To create number range for custom BO
Dear All,
I have created a Custom Business Object and i have created its alternative key.. I want an Internal number range to be used against that alternative key.
How do i achieve this functionality?
Regards,
DhruvinHi Dhruvin,
Find the below discussion where I answered to generate number.
Does anyone have sample code to auto generate Alternate key/ID field data
in this example number will start from 1, you can enter your own starting number.
If it help you or have any doubt, let me know.
regard
Sunil -
How to create age range according to customer's requirement
SAP delivered standard age range(0age_range) as below:
1 <20
2 20 - 29
3 30 - 39
4 40 - 49
5 50 - 59
6 60 - 69
7 >= 70
Cusomter's requirement:
1 <=25
2 26 - 30
3 31 -35
4 36 - 40
5 41 - 45
6 46 - 50
7 51 - 55
8 >= 56
How to handle this case if we use 0age instend of fixed age range(0age_range). should we maintain this from external flatfile, if yes, please provider the format. Thank!Hi,
You can write a routine in the update rules for the range as you mentioned.
Plz find the below code which may help u...
DATA: AGE TYPE 0AGE.
IF AGE <= 25.
RESULT = '1'.
ELSEIF AGE > 26 AND AGE <= 30.
RESULT = '2'.
ELSEIF AGE > 31 AND AGE <= 35.
RESULT = '3'.
ELSEIF AGE > 36 AND AGE <= 40.
RESULT = '4'.
ELSEIF AGE > 41 AND AGE <= 45.
RESULT = '5'.
ELSEIF AGE > 46 AND AGE <= 50.
RESULT = '6'.
ELSEIF AGE > 51 AND AGE <= 55.
RESULT = '7'.
ELSEIF AGE >= 56.
RESULT = '8'.
ENDIF.
Hope this helps u...
Regards,
KK. -
How to create extended range network using three apple airport extremes?
Hello! The idea is, I want to use Apple routers to create a large range network for a hotel that has 300 FT Hallway. I have tried everything in the airport utility but nothing works. The idea is, in the whole 300 FT hallway, i want to put three apple airport extreams. one in the middle of the hallway which will be connected to the modem, one on the each end of the hallway that will be connected to the middle airport extreme via eithernet or extend network range option from airport utility.
Image shows, what I am trying to achieve.
http://imageshack.us/scaled/landing/35/10e6.jpg
These what I have tried so far. Airport extreme is refered here as "airport"
1. Connect Airport 1 to modem, then on Airport 2 use extend network feature to extend the range of airport 1 network. This did not work. Airport 2 keeps on blinking yellow.
2. Did same thing as step 1 but also tried it using ethernet cable going from Airport 1 in to Airport 2's ethernet inbound port.
3. Connected modem to switch, from swith one ethernet cable goes in to Airport 1 and one cable from SWITCH goes in to the airport 2's ethernet port.
Only thing that works is, if I connect ONLY ONE airport to the modem or the switch. I am not able to use two airport extremes together.
Please advise what I can do using these or other apple products to have extended wifi coverage in the entire hallway.
I, however do need to use three extremes as one is not enough to cover the area.
Thank you.
Hopefully some one can help me and correct me where I am doing something wrong.
Thanks.Exactly what model extreme are you using??
What device is being used as setup with airport utility?
1. Connect Airport 1 to modem, then on Airport 2 use extend network feature to extend the range of airport 1 network. This did not work. Airport 2 keeps on blinking yellow.
Amber blinking just means something needs adjusting.. it should still show up in the utility and you can find out what the extreme is complaining about. If not start over.. it is absolutely crucial you factory reset and start over.. the extreme must present as a new wireless device in wifi and then you can setup to extend the existing wireless.
2. Did same thing as step 1 but also tried it using ethernet cable going from Airport 1 in to Airport 2's ethernet inbound port.
This is a much better arrangement.. The Extreme plugged into the Modem.. what mode is it in? It must create a wireless network.. make sure the network name is short.. no spaces and pure alphanumeric.
The extreme plugged into to give better range.. must be in bridge mode.
It must create a wireless network of the exact same name.. exact same security settings and same password.
Follow the instructions here if you do not follow.
http://support.apple.com/kb/HT4260
3. Connected modem to switch, from swith one ethernet cable goes in to Airport 1 and one cable from SWITCH goes in to the airport 2's ethernet port.
This is the same configuration as 2. There is no difference where you put the switch.
Only thing that works is, if I connect ONLY ONE airport to the modem or the switch. I am not able to use two airport extremes together.
Setup according to the apple instructions for roaming network.. it will work.
If it fails give us more info.. what model AE. etc.
Also give us the IP address and screenshot of each units setup for wireless. -
How to create new file extension and associate an application with it?
Hi,
I want to create a new file extension named ".emsof" and
associate any text editor with it like notepad++ in windows 8.1
Moreover all of these files should be searched by having filter of "*.emsof" like any other ordinary files.
Please guide me about hoe to do it?
Thanks.Hi BurrWalnut,
Thanks for the help.
Will this command also allow me create and save file with .emsof extension and to filter files through .emsof extension (Like we can filter through .doc or .txt extension)???
1. I don’t know what you mean by ‘filter’. In your initial post you mentioned searching, if that’s what you mean, you can search for any extension.
2. An easy to understand example of the assoc and ftype commands is a .txt file, which we all use in Notepad:
Typing assoc .txt in a cmd prompt will return txtfile (the file type).
Typing ftype txtfile will return %SystemRoot%\System32\notepad.exe %1 (the full path of the program and %1 representing a passed parameter).
Alternatively, look in the registry hive HKEY_CLASSES_ROOT for .txt and further down for txtfile.
3. If you add an entry that is later unwanted, you can easily delete it by typing assoc .emsof= and pressing Enter. Then delete the filetype by typing ftype myext= and pressing Enter. You can, of course, just delete the entries in the registry (nor recommended
for beginners).
4. Test it out now but be aware not to use extensions or filetypes that currently exist.
5. Display all extensions and their associated file types by firstly copying the following 4 lines:
assoc >"%userprofile%\desktop\assoc.txt
start notepad "%userprofile%\desktop\assoc.txt
exit
cls
Press the Windows Logo key+X (or right-click or press and hold the bottom left corner) and choose Command Prompt/Windows PowerShell (Admin). Using the mouse right-click, paste the 4 copied lines to the Command Prompt window. A .txt file is created on the Desktop
and Notepad will open and display the list. The list represents the registry keys located in the merged HKEY_CLASSES_ROOT. In the left pane, look for the extension, for example .txt. The (Default) field in the right pane contains the file type, e.g. txtfile.
6. Now display all file types and their associated programs by substituting the above 4 lines with these:
ftype >"%userprofile%\desktop\ftype.txt
start notepad "%userprofile%\desktop\ftype.txt
exit
cls
Another .txt file is created on the Desktop and Notepad will open and display it. This list represents the registry keys in HKEY_CLASSES_ROOT further down beyond the extensions. Look for the file type, for example txtfile, then click or tap shell\open\command.
In the right pane, the (Default) field shows the full path of the program that opens it, e.g. notepad.
7. NOTE. In operation, any keys in HKEY_CURRENT_USER\Software\Classes (current user) take precedence over those in HKEY_LOCAL_MACHINE\Software\Classes (all users) and both keys appear as the merged HKEY_CLASSES_ROOT. Any changes should be made to HKCU and
HKLM. The HKEY_CLASSES_ROOT keys are intended to be read from, not written to. -
Bex: How to create a range on a DATE char
Hi expert,
into a query I haveat my disposal two date char: 0DATE1 and 0DATE2.
I need to build a Restricted Keyfigure where using the char 0DATE1 as interval
This interval must be as following:
range-low = 0DATE2
range-high =0DATE2 + 5 (day).
Is possible realize this type of range?
Thanks for your cooperation.
ClaudiaHi,
Simply build a Customer Exit variable on 0DATE1 and take the 0DATE2 as user input variable.
Now in the customer exit variable under step I_STEP = 2.
Read the value of I_T_VAR_RANGE table for variable 0DATE2 and populate the customer exit variable of 0DATE1.
wa_data-low = wa_var_range-low.
wa_data-low = wa_var_range-low + 5.
wa_data-option = 'BT".
wa_data-sign = 'I'.
append wa_data to e_t_data.
You will get the required range populated.
Regards,
Durgesh. -
Thinking Cap's On Please: How to create a range in PL/SQL similar to C++
Okay, I had to step on go "Whoa!"
Goal: to write a segment of code that will detect and identify a value in a range and then replace it by the following progress on the next element. In other words range A . . Z, and value is current set to D. I want to detect "D" and UPDATE it to "E". I saw an example of using DECODE as follows:
For example:
You could use the decode function in an SQL statement as follows:
SELECT supplier_name,
decode(supplier_id, 10000, 'IBM',
10001, 'Microsoft',
10002, 'Hewlett Packard',
'Gateway') result
FROM suppliers;But, you need to still have logic increment the value within the range to the next higher value. Okay, it can be done, but seems like it could be painful without a build in Oracle function. The code that I must adapt is shown below where the AGL-X, or PGL-X will need to be incremented to AGL-Y, or PGL-Y. It might be easier to just use decode and hard fix 26 values for each if.
declare
cursor c1 is
select * from alumni.amrexrt
where amrexrt_pidm = 2895;
cursor c2 is
select * from alumni.amrexrt
where amrexrt_pidm = 2895;
amrexrt_rec alumni.amrexrt%rowtype;
r2 alumni.amrexrt%rowtype;
begin
for amrexrt_rec in c1 loop
if (amrexrt_rec.amrexrt_exrs_code = 'AGL') then
update amrexrt
set amrexrt_exrs_code = 'AGL-X'
where amrexrt_pidm = 2895
and amrexrt_exrs_code = 'AGL';
elsif (amrexrt_rec.amrexrt_exrs_code = 'MGL') then
update amrexrt
set amrexrt_exrs_code = 'MGL-X'
where amrexrt_pidm = 2895
and amrexrt_exrs_code = 'MGL';
elsif (amrexrt_rec.amrexrt_exrs_code = 'PGL') then
update amrexrt
set amrexrt_exrs_code = 'PGL-X'
where amrexrt_pidm = 2895
and amrexrt_exrs_code = 'PGL';
end if;
Insert into alumni.amrexrt
amrexrt_pidm,
amrexrt_exrs_code,
amrexrt_ext_value,
amrexrt_ext_score,
amrexrt_ext_level,
amrexrt_activity_date
Values
amrexrt_rec.amrexrt_pidm,
amrexrt_rec.amrexrt_exrs_code,
amrexrt_rec.amrexrt_ext_value,
'754', --amrexrt_rec.amrexrt_ext_score,
amrexrt_rec.amrexrt_ext_level,
amrexrt_rec.amrexrt_activity_date
end loop;
for r2 in C2 loop
dbms_output.put_line('PIDM: ' || r2.amrexrt_pidm || 'EXRS_CODE: ' || r2.amrexrt_exrs_code);
end loop;
--Rollback;
end;In C++, you are able to specify a range and write it so the compiler can detect the position within the range. I don't or think that PL/SQL does this in the same way. Any thoughts? I am dry out of ideas.
Edited by: Preston on May 3, 2011 12:05 PMHi,
Preston wrote:
Very, interesting! Is there another way to utilize the first two lines without an "EXEC"? The security filter sniffs for EXEC outside of production and disables our connections.I used a bind_variable, :letters_in_order, just to make maintenance easier. In this simple example, that string was used twice; in your real application, you may need to use it more times. By setting a bind variable, I guaranteed that, if you needed to change the definition of :letters_in_order, you would only have to change the code in one place. If you have to make the change in several places, there's a chance that you'll miss one of those places, and that kind of mistake can be hard to find and fix.
You don't have to use any kind of variable; you can hard-code the string literal 'KPCOFGS' everywhere I use the bind variable, for example:
... || SUBSTR ( 'KPCOFGS'
, 1 + INSTR ( 'KPCOFGS' ...
The rest of this message shows different ways to use variables:
(1) Bind Variable (but no EXEC)
(2) Substitution Variable
(3) Column
<h3>(1) Bind Variable (but no EXEC)</h3>
"EXEC stmt;" is equivalent to BEGIN stmt; END;/", so you can try:
{code}
BEGIN
:letters_in_order := 'KPCOFGS';
END;
{code}
The main query would remain exactly as posted earlier, with :letters_in_order.
I don't see any point in blocking EXEC, but allowing this, and maybe your security mechanism doesn't allow it.
<h3>(2) Substitution Variable</h3>
You could try a substritution variable:
{code}
DEFINE letters_in_order = KPCOFGS
{code}
and, wherever I originally used :lettrs_on_order, use the substitution variable, inside single-quotes:
{code}
... || SUBSTR ( '&letters_in_order'
, 1 + INSTR ( '&letters_in_order' ...
{code}
Substitution variables are a much bigger security threat than bind variables, but that doesn't mean your system won't allow them.
<h3>(3) Column</h3>
The most promising approach (but perhaps the least efficient) would be to derive a column called letters_in_order right in the query. Here's one way:
{code}
WITH got_letters_in_order AS
SELECT code -- and whatever other columns you need
, 'KPCOFGS' AS letters_in_order
FROM t
-- WHERE ... -- if you need any filtering, put it here
SELECT code
, SUBSTR ( code
, 1
, INSTR (code, '-')
|| SUBSTR ( letters_in_order
, 1 + INSTR ( letters_in_order
, SUBSTR ( code
, 1 + INSTR (code, '-')
, 1
, 1
) AS new_code
FROM got_letters_in_order -- *** CHANGED ***
{code} -
Create no. range for excise group
Plz suggest how to create no. range for excise group.
Thanks in advance
vibhutiDATA: spfli_wa TYPE spfli,
r_carrid TYPE RANGE OF spfli-carrid,
r_carrid_line LIKE LINE OF r_carrid.
r_carrid_line-sign = 'I'.
r_carrid_line-option = 'BT'.
r_carrid_line-low = 'AA'.
r_carrid_line-high = 'LH'.
APPEND r_carrid_line TO r_carrid.
SELECT *
FROM spfli
INTO spfli_wa
WHERE carrid IN r_carrid.
ENDSELECT.
Maybe you are looking for
-
Skip navigation Apple Support Mac iPod iPhone iPad iTunes Support Apple Support Communities Welcome, kvasu88(Sign out) NewYour StuffHistoryBrowse Search for: Search Apple Support Communities > Discussions HT1918: iTunes Store: Changing account infor
-
Post Install steps for htmldb 1.6.1
I am done with a new installation on RHL - 10g DB install on ORACLE_HOME1 - Standalone 9.0.4 Http Server for the CCD on ORACLE_HOME2 - Install of HTMLDB 1.6.0 and later patch of 1.6.1 error free I am following the post installation steps for configur
-
Hi , I have just aquired Adobe Premiere Elements8, and since I have never used this programme nor any other editing programme before, I am battling to get to grips with the basics in the shortest possible time. I am able to get to the point of readi
-
Need help with port mapping on Airport Utility 6.1
Ive been trying to port map on my TC with Airport Utility 6.1 and failing miserably. Port still closed. Can anyone advise where Im going wrong? Am trying to set up my home camera to be viewed outside. I managed to key in the ports etc under Network a
-
In Applets, unable to type in TextFields if JRE 1.4 is selected in browser
In Applets, unable to type in TextFields if JRE 1.4 is selected in browser (IE and Netscape), mouse events are functioning normally. I was able to select CheckBoxes, set the focus from one TF to another TF, but unable to type into it. Java Console sh