How to generate external material number?
hi all,
I need to create material in the report. this material number is assigned external (manually). but the user want to generate the number.
I only found the function ' MATERIAL_NUMBER_GET_NEXT' , which can only generate the internal number.
Is there other function which can help me to generate the external material number?
Thanks in advance.
Ned
you can use another number range II
so you use fm number_get_next to generate a material number .
And you can use this number for mm01 or an interface to create you material number I external
A.
Similar Messages
-
How to generate external network number based on WBS element number
Hi all(experts)
I am new to PS and I have a requirment.
<u>To derive network no. from WBS identifier.</u>
Enhancement is CNEXOO12
Function module is EXIT_SAPLCOKO_002(data transfer for Network number).
I wnat to know how to use the above enhancement to generate external network number based on the WBS element number. We have to take the Project number and extract the part of the name from it and then assign it to NETWORK and ACTIVITIY under it. The above also depends upon the project type.
Please let me know the fields\structures\tables that are needed and available during runtime in this Function module exit. If possible with some examples.
Thanks for your time.
SHHi Karthik
Thanks for sending me the table relations.
Can you please help me with the following.
1) Can you please expand the table relations with an example because when I am doing a relation I am not able to get the AUFNR fromAUFK-->PSPEL because the there are four levels of WBS in the Project and if I plug the first level WBS from the PRPS there are no table entries found. if I put directly the WBS(fourth level X-yyyyyyy95.xxxx10.10.2) in the AUFK-PSPEL table it works and I get the AUFNR.
2) Can I do retrieve the network number from the sales order(KDUAF).
Please suggest.
By enhancing this CNEX0012(EXIT_SAPLCCOKO_002) which transactions in PS are affected.
Please reply at your earliest.
As always thanks for your time and your help
SH. -
How to generate new perner number using Abap Code in pa0002. what is the fu
how to generate new perner number using Abap Code in pa0002. what is the function Module used.
hi
define internal number ranges for ur implementation then when u run PA 40 do not input any employee number , system will generate the employee number automatically.
Regards
sameer -
How to make External Reference number and Ref Date Mandatory in Complaints
Dear Experts,
Greetings!!!.
How to make External Reference number (EXT_REF_NUMBER ) and Ref Date ( EXT_REF_DATE ) Mandatory in Complaints.
Regards,
SanyHI,
You can use Incompleteness Procedure to make those fields mandatory in complaint transaction.
Regards,
PP -
External Material Number range
Dear all,
Is it possible if I define external number range only with numbers not alphabet. I have defined external number range as 000000001 to zzzzzzzzzzzz but its not accepting external number as 10000203030 when creating material master.
Pls guideCheck 2 Function Modules:
EXIT_SAPLMG02_001 - Customer Exit: Internal Material Number Assignment
EXIT_SAPLMG02_002 - Customer Exit: External Material Number Assignment
Also one material type can only be assigned to one internal and one external number range
both number ranges must not overlay each other,
Number range can be defined like this from 1 to zzzzzzzzzzzzzzzzzz so anything can be done within this one range -
External material number with trailing spaces
Hi ,
One of our users created a material number(external number range) by copying it from a spreadsheet. The value he copied had trailing spaces and when he copied it on to material number field the trailing spaces were not removed by SAP conversion routines . But when we deliberately type in trailing spaces the system removes them. Has anyone faced this kind of problems before? If so what is the solution.
Thanks,
VeeraAny Input??????
-
External material number should not contain purely numbers
Hi Gurus,
I have created the material number range for a specific material type. I need the number to be assigned externally. When i try to create a new material master (with only numbers)on the above material type, the system throwing " For the specific material type, external matl no should not contain purely numbers".
Any body pls explain.
Thanks,
Saravananhi
check while mentioning number range have u entered any alphabet in from and to filed
i.e from A to ZZZ then system will ask u to add atlease 1 alphabet
if u use 1000000000 1000099999 as external number range then u can use only numerical numbers in number range
pls check same
Vishal... -
How to generate a random number with at least 6 digits?
Hi all,
All is in the question. :-)
I would like to generate a random number but the function "random
number" in Labview isn't accurate enough.
Do you know an algorithm to generate a random number of 6 or more
digit?
Thanks,
PFHi PF,
It's simple. Use 2 random number functions in the same process. Now you
should have 2 distinct random numbers that have the same accuracy. Let's say
LV gives accuracy up to the thousandth (0.XXX), now if you divide one number
by 1000 and then add to the other number you should then have something like
0.XXXXXX. Actually, LV random number function can give up to about 17 digits
(decimal). If you are looking for more digits (>17 digits), the idea above
may not work, then the last thing you may want try is to generate two or
three random numbers then convert all these decimal numbers to fractional
strings chop off the 0 and dot then concatinate them together. After all
it's still a random number. How many digits do you want to get? Make sure
the indicators acce
pt that many digits?
Good luck
Louis.
P-F wrote in message
news:[email protected]..
> Hi all,
>
> All is in the question. :-)
>
> I would like to generate a random number but the function "random
> number" in Labview isn't accurate enough.
>
> Do you know an algorithm to generate a random number of 6 or more
> digit?
>
> Thanks,
>
> PF -
How to generate the batch number for group of records
Hi All,
requirement: i have created one sequence to generate the batch numbers.i have to get the nextval of the sequence for batch number (this column is not part of the table. its dynamic column/alias column) only for every 50000 records of a table.
detail description:
for example, if i have 10 records in a table. And, if i want to generate the batch number for every 2 records, then the output should look like belo.
batch-number qty
1 10
1 20
2 30
2 40
3 50
3 60
4 70
4 80
5 90
5 100
Please help me on this. Please let me know if you need more info.one more update on the above request. this has to be done using SQL query only.
-
How to use Vendor Material Number in Purchase Order Creation - ECS Scenario
Hi SRM Gurus,
We are in Extended Classic Scenrio - SRM 5.0.
We want Vendor Material Number to be printed in the Purchase Order Layout. I remember in R/3 we have inforecord, wherein we have vendor Material number. Where do we maintain vendor material number in SRM. Suggest a suitable solution.
Thanks & Regards,
RamkumarHi
Please refer to BBP_PD transaction to get the SRM Shopping cart (use Object type - BUS2121) / Local PO details (Use Object Type - BUS2201).
<u>Please use the following useful links to refer in this case.</u>
<b>Re: PO Display
Vendor material no is not replicated in R/3
Re: PO Display
Re: SRM PO SMARTFORM
Re: SRM PO Print
Re: SRM PO SMARTFORMS
You need to copy the standard SAP smartform BBP_PO to a custom smartform say - ZBBP_PO.
SRM SPRO Configuartion Settings ->
In SPRO -> SRM-SRM server-Cross Application basic Settings ->Set output Actions and output format->Define Action for output document.
Select Action profile as BBP_PD_PO, click on processing type, choose smart form print or fax or e-mail as per your requirement and
change PO name as ZBBP_PO, in this case.
Incase you need any assitance, let me know.
Hope this will help.
Regards
- Atul -
How to generate customize employee number
Hi,
I am trying to generate customize employee number and for that i have taken following steps
1. I changed employee number generation from automatic to manual
2. I created a sequence
3. I wrote a pl/sql code to create a customize employee number using the sequence concating it with text like 'EMP||'-'||seq.nextval.
4. I registered the pl/sql code in apps through formula function window.
But when i create a new employee it doesnt generate customize employee number.
Any Idea where am i mistaking.
Regards
MajidYou need to use the EMP_NUMBER_GENERATION fast formula of type Person Number Generation
The formula needs to be setup in the Setup Business group (business group id = 0)
Call your pl/sql function through the formula function in the EMP_NUMBER_GENERATION fast formula
Look into the help in the fast formula window for help on the the EMP_NUMBER_GENERATION fast formula.
The name of the fast formula has to be EMP_NUMBER_GENERATION for Employees, CWK_NUMBER_GENERATION for contingent workers and APL_NUMBER_GENERATION for applicants.
There was some document in metalink but was later removed by Oracle citing that it is a customization.
Also check this thread
simple employee number generationformula needed
Hope this helps.
-Debojyoty -
How to generate sales order number
Hai friends,
In sales order creation, I want to generate a sales order number (i.e., 1 for the first sales order, 2 for the second and so on). This number should be generated successively in background. How it can be done..?Hello,
Yes, I'm struggling to understand what you're after too. You could create a z table to keep track of the number if it's bespoke. Otherwise try these tables: FBN1, NRIV (intervals), T161 (po) TNRO (linked to NRIV).
Good luck!
Ash Thomas
http://www.ashthomas.com
Sap Abap Developer & Sap Abap Programmer -
How to generate a random number within a specified tolerance and control that tolerance.
I am trying to simulate data without using a DAQ device by using a random number generator and I want to be able to control the "range" of the random number generated though. On the front pannel, the user would be able to input a nominal number, and the random number generator would generate numbers within plus or minus .003 of that nominal number. The data would then be plotted on a graph. Anyone know how to do this? Or if it's even possible?
Just for information sake, the random number is supposed to look like thickness measurements, that's why I want to simulate plus and minus .003 because the data could be thinner or thicker than the nominal.
Thanks in advance!!
Solved!
Go to Solution.You can create a random number with a gaussian probability profile using two equal distributed (0...1) random numbers and applying the Box Muller transform.
I wrote one many years ago, her it is. (LabVIEW 8.0).
Message Edited by altenbach on 04-12-2010 09:13 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
BoxMuller.vi 10 KB -
How to generate unique document number ?
Hi All,
We need to generate Document Number where there should be any gap, so that we cannot use sequence. For example : Invoice Number.
one possible approach like : Select MAX(InvoiceNumber)+1 from invoice, what if that table has millions of rows, is this reliable enough ?
How to avoid two user do the same query at same time that lead to dupplicate number ?
Anybody has done it this way in production? or any other approach ?
Thank you for your info,
xtantoI strongly second Justin's strong suggestion about re-considering the requirement.
Be aware that for any of the schemes suggested to have a chance of working, all access to the table must be through stored procedures that use a SELECT FOR UPDATE on the counter table. No user in the database can have insert privileges on the document table except the owner. The owner's password should be kept in a locked safe and be unknown to anyone. If for some reason the owner needs access to the database, then remove the password from the safe, do what needs to be done, then get some guy off the street to set a new password, write it down and lock it in the safe again.
If you really need a gap-free number, it needsto be another column, separate from the PK. Use a sequence to generate the pk gaps and all, then create a procedure that runs periodically to update the gap free column. Soemthing like:
SQL> CREATE PROCEDURE fix_gap_free AS
2 l_v NUMBER;
3 TYPE id_tbl IS TABLE OF number INDEX BY BINARY_INTEGER;
4 l_ids id_tbl;
5 l_id2s id_tbl;
6 BEGIN
7 SELECT MAX(NVL(id2,0)) INTO l_v FROM t;
8 SELECT id, ROW_NUMBER() OVER (ORDER BY id)
9 BULK COLLECT INTO l_ids, l_id2s
10 FROM t
11 WHERE id2 IS NULL;
12
13 FORALL i IN 1 .. l_ids.COUNT
14 UPDATE t
15 SET id2 = l_id2s(i) + l_v
16 WHERE id = l_ids(i);
17 COMMIT;
18 END;
19 /
Procedure created.
SQL> SELECT * FROM t;
ID ID2
1
2
5
7So, id2 is going to be the gap-free column.
SQL> exec fix_gap_free;
PL/SQL procedure successfully completed.
SQL> SELECT * FROM t;
ID ID2
1 1
2 2
5 3
7 4So first pass is fine. Now lets add a few rows, so the table now looks like:
SQL> SELECT * FROM t;
ID ID2
1 1
2 2
5 3
7 4
8
9
25and generate more gap free number:
SQL> exec fix_gap_free;
PL/SQL procedure successfully completed.
SQL> SELECT * FROM t;
ID ID2
1 1
2 2
5 3
7 4
8 5
9 6
25 7If there may be deletions in the table, and you need to maintain the gap free nature, then just skip the WHERE id2 IS NULL predicate.
John -
How to handle same material number but different condition?
In our industry(aerospace aftermarket), we can have inventory for one material in different conditions, e.g new, overhauled, scrap, etc. We use batch management and store the condition at the batch level. This probably was not the best way to handle this and now we're wondering how we can run MRP for a specific material, but only for certain conditions.
From what I understand MRP only occurs at the material level, not the material-condition level. Is my assumption correct? Obviously, we would not want to include scrap inventory in any MRP or forecasting calculations. So if we had 10 for material 1234 in inventory, we'd want to exclude the amount that's scrap or any other condition we don't want to include in a forecast/MRP.
Is there a best practice that someone can share to handle this type of inventory management issue? Thanks!Hi,
I've never used this but please have a look at it:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/126422bd9c11d1b54f0000e82de178/frameset.htm
Planning startegies for variants:
This section describes how to plan products that have a practical limited number of possible combinations of characteristics and characteristic values. Technically speaking this section describes the use of variants to sell configurable materials.
Regards,
Csaba
Edited by: Csaba Szommer on Feb 5, 2009 10:46 PM
Maybe you are looking for
-
Is there a way to turn off all push notifications off at once on iOS7
Is there a way to turn off all push notifications off at once on iOS7 (iPhone5s). Used to be able to on iOS6. Handy features for soccer fans and such who PVR games but have lots of apps that push the score
-
Is there a way to open a corrupted image?
I took about 80 photos with my Canon PowerShot A590 last week of very cool street art in SF. About 7 of the photos were of artists doing their work ... a one time opportunity to catch this. Later that day I looked back at those photos in the camera
-
A problem due to a namespace conflict!!
Dear Edwin, The problem of the proxy, was partially solved. this has been "overcame" by using a private ISP and not our university network. Though the compilation of the example orabpel/samples demos/AmazonFlow.bpel was successful, there is still a p
-
Moving video from music list to iphone
Hey all need some help. I have a concert video that came with an album purchase. It is listed in the itunes music library, but not in the movies/tv library. I have tried to drag and drop into the movies/tv library but can't for some reason. I'd like
-
What happened to the Arrowheads ?
In Illustrator CS4 you used to add Arrowheads as an effect (under the Stylize - Add Arrowheads tool), and in CS5 it's moved to the Stroke panel. Unfortunately it appears that's not all that's changed. It now appears to be impossible to create the ki