Find the Number range
Hi all;
Can any one help me on this issue !!
How to find the Number Range for Customer / Venodor.
we have already assign the Number range and how to find the next availabilty number.
I .e I need the next Availability number for Customer/ Vendor Nuber.
Thanks
-Ravi.
Hi,
Refer
Aphanumeric number range for customer/vendor
To get the next available number:
Go to SNRO-> Click on Number Ranges button -> Click on status -> u will get the current number
Also you can use FM "NUMBER_GET_NEXT" to get the next number
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZDOCNUM'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
number = v_docno
QUANTITY =
RETURNCODE =
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.
Regards
Sumana
Similar Messages
-
How to find out the Number range object for Incident number
How to find out the Number range object for Incident number ?
CCIHT_IAL-IALID
regards,
lavanyaHI, an example.
data: vl_num type i,
vl_char(6) type c,
vl_qty type INRI-QUANTITY,
vl_rc type INRI-RETURNCODE.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'ZRG0000001'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
NUMBER = vl_num
QUANTITY = vl_qty
RETURNCODE = vl_rc
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
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
vl_char = vl_num.
write vl_char.
Regard -
Urgent : Unable to maintain the Number ranges for Excise Groups
Hi CIN experts............
In Development server I created 3 excise Groups (E2,E3 and E4), the same I was transported to Production.
J_1IRG23A1, J_1IRG23A2 object number ranges are Excise Group specific.
When I go to Tools - Number Ranges to maintain number range for J_1IRG23A1, J_1IRG23A2 objects I didn't find these excise groups.
Im able to see these Excise groups in Tools - Number ranges in Development server, but not in Production.
Can any one guide me something to resolving the issue ?
regards
Durga RamHello Nagaraju,
Can you please tell me the customozing path for maintaining the number ranges for PM log entries.
I require to mention customizing path in my document.
Puneet -
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 -
Find Free Number Ranges of Customer and Vendor Accounts
Hi,
We have a requirement where we want to report to customer the free numbers present in customer and Vendor Accounts Groups.
To solve this, I went through XKN1 and XDN1, where I go the current number for each Vendor and Customer Account Group.
But the customer is having a strange requirement. They want to know, the free numbers available in these customer range.
Please see the attached doc for the requirement and the solution which has been given.
Please let me know, how to find the free numbers available in SAP system.
Regards,
DevdatthHello Devdath,
You can go to table KNA1. In the selection criteria, give the number range for each Account group and click on Number of entries.
This will give you the number of customers created for that account group. SUbtract this number from the total number to get the Balance.
Note: This is for the number ranges which are externally defined.
For internally defined number ranges, you can simply go to XDN1 and get the balance.
Similarly for Vendors, use table LFA1
I hope this is what you needed.
BR
Amitash -
How can prevent the number range of document skip
Dear friend,
I want to preverify the cancel billing document process via VF11. If the FI period is closed, the cancel billing document (which refers to closed period) process is not permitted.
I found the user exit: SDVFX001 (User exit header line in delivery to accounting) and implemented / activated it already.
My user exit is work, the cancel process of old billing document is denied, but !!! I found that the number range of cancel document is reserved already (but the document is not create). So the number range of cancel document is skip in the next time when I cancel other billing document....
Are there any exit or BTE to prevent this case?
Thank you in advances,
Sam.Hi,
In your user exit itself, try finding out any FM available for closed period.
Thanks,
Sriram Ponna. -
Hi All,
creating by F-01 a 'sample document', SAP gives me the message F5150: "... the number range ... is missing ..."
But in OBA7 and FBN1 I can't find the missing range.
Is there a different customizing step to create a range for sample document?
Thanks
GandalfRefer this link.
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/96/8b434c43ce11d189ee0000e81ddfac/frameset.htm
You can basically use the sample document as a reference while posting an accounting document. Use T Codes FBR1/FBR2. -
Error in changing the number range from the external to the internal no.
Dear all,
Here is the error found when using the T-Code PA30 for hiring an employee. while changing the number range from external to internal using Tcode PE03, the error found was ' could not find interval for the number range'
Can anyone help me out?Hi,
Thanks for your reply.
Please check out what i have done
The number range intervals displayed using T-code PA04 are
No From To Current No. Ext.
1 00000001 00069999 checked
2 00070000 00079999 70295 unchecked
3 00080000 09000000 checked
Using T-code PE03, the feature numbkr was changed i.e the return value has been changed from 3 to 2(internal no. assigned)
Error found when performing action using T-Code PA30 is -could not find interval for the number range 2.
Could you please clarify?
Thanks -
How to find the number of occurence of a string
String str="The AR tech seeks experienced candidates in java,jsp. The candidates should have atleast 1 year of experience in the specified skills.";
here i need to find the number of occurence of the string "experience".
how to find it out?String str="The AR tech seeks experienced candidates in java,jsp. The candidates should have atleast 1 year of experience in the specified skills.";
String findStr = "experience";
int count = 0;
int index = 0;
while(index != -1) {
index = str.indexOf(findStr, (count == 0 ? 0 : index + findStr.length()));
if(index != -1) {
count++; -
How to find the number of data items in a file written with ArryToFile function?
I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
If you are young work to Learn, not to earn.
Solved!
Go to Solution.What about:
OpenFile ( your file );
cnt = 0;
while ((br = ReadLine ( ... )) != -2) {
if (br == -1) {
// I/O error: handle it!
break;
cnt++;
CloseFile ( ... );
There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to find the number of entries in a master data table
Hi Experts,
I am trying to find the entries in 0CUSTOMER master data.
BW>LISTCUBE>Data target: 0CUSTOMER and selected the fields that I need.
I would like to know how to find the "number of entrees". I tried to run the SUM for a count field, but it is taking forever as there are huge number of records .Hi Dev,
Go to the change/display mode of the info object (0CUSTOMER) in your case. Go to the Master data/Text tab. Here you will find the master data tables according to your settings (P orQ or X or Y). Double click on the table name and it will take you to the SE11 display. From there, you can check the number of records as you do in any transparent table.
Hope this helps.
Thanks and Regards
Subray Hegde -
How to find the number of links in a website
hi every body
can any one clear my doubt
my doubt is that
in a website how to find the number of links the hole website contains
is there any navigation tool to find that
plz help me yar
i am waiting for the replyIf you're talking about commercial sites (sites you don't have the source code for) I'm not sure.
If you want to count the links in site that you have the source code for, it should be relatively easy to write a Java application to do it. All you really need to do is have a list of the files you want to count links in, read each file line by line and check for the existance of the <a> tag in each line. Anywhere their is an <a> tag there is a link.
Hope this helps. -
How to find the number of times method being called.....
hi,
can any one pls tell me how to find the number of times the method being called......herez the example....
Refrence ref = new Refrence();
for(int i = 0;i < arr.length; i++){
if(somecondition){
ref.getMethod();
here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....can any one pls tell me how to find the number of times the method being called......
herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
How To Ask Questions The Smart Way
Eric Steven Raymond
Rick Moen
Write in clear, grammatical, correctly-spelled language
We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes. -
How to find the number of fetched lines from select statement
Hi Experts,
Can you tell me how to find the number of fetched lines from select statements..
and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
Thanks in advance
santoshHi,
Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
For ex:
data: itab type mara occurs 0 with header line.
Select * from mara into table itab.
Write: Sy-tabix.
This will give you the number of entries that has been selected.
I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
Hope this helps,
Sudhi
Message was edited by:
Sudhindra Chandrashekar -
How to find the number of occurance of a string in text field of Infopath form?
Hi All,
In Infopath text field, How to find the number of occurrence of a particular string in that field?
Thanks in advance!You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
Example:
String: "1"
Box A - "123451234512345"
Box B - "23451234512345"
Box C - "2345234512345"
Box D - "234523452345"
etc.
We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected]
Maybe you are looking for
-
Is there a way to sync apps and pictures between iphone and ipad.
I am going back to work in a few weeks and I am looking for a way to sync the iPad/iPhone so that I have quick saccess to see my son and keep track of his baby app that I use. Plus I want to be able to have easy access to any photos takne with the i
-
Hi All, As usual, my requirement is a bit complex. It is like this. A program is run in background through a job. This program creates some SAPSCRIPT pages and these pages are to be converted to a PDF file. Upto this everything is fine. Now the issue
-
Can i use 4gb of ram after 10.6 upgrade on MA589LL?
Hello, I am new to Mac. I have a late 2006 iMac (MA589LL) that I have upgraded to 3GB of RAM. It has 10.4.11 on it but i have 10.6 in the mail. The specs say that it is limited to 3GB of Ram but it also says that the hardware will support 2 x 2GB sti
-
I accidentally deleted launch pad icon, how can I reinstall it?
I accidentally deleted the launch pad icon from the bottom menu bar when I downloaded a game. How can I put it back in?
-
Hallo ihave created two jsp files wth NWDS. They are at the folder dist / PORTAL-INF / jsp test1.jsp and test2.jsp. test1.jsp: <html> <body> <form action="test2.jsp" method="post"> <input type="text" name="PARAMETER" >