Item Codes-Automatic(urgent)

Hi All,
I want to define Item Code as Default i.e In SAP How we are getting the Default numbering for eg.1,2,3,4.........I want in the same way for the Item Code.IS IT POSSIBLE through Query based FMS or any other way??
Thanks in Advance.
mona

Dear Mona,
In order to resolve the issue, please do the following steps :-
1. Create a Initial Item code I0000 manually in the application.
2. Save the following query :-
Select max(Itemtype)
+ cast(substring( max(Itemcode), 2, len(max(Itemcode)))
+ 1 as nvarchar(10)) from OITM                                              
Where Itemtype = $[OITM.Itemtype]
3. Create a formatted search based on the above query and assign it to the itemcode field. (Open Item master in add mode )
4. Then select refresh the formatted search regularly with the Item description change.
5. Then Go to item master data in add mode put something in item code field and then type the correct item description and click tab.
    Now your Itemcode field will display as "I0001".
Regards,
Rakesh Pati
SAP Business One Forum Team

Similar Messages

  • How to generate item codes automatically

    Hi,
    My customer wants that the inventory item code be generated automatically based on its description. The code should have:
    - 3 first characters of the description
    - A sequential increased number, to make the code unique.
    e.g. the item called "Petrol" should have the code "pet004".
    To achieve this, I have created a database procedure. So the user that works in "Item Master" form, will fill out "description" field and the "Item" field should be automatically populated based on the return value of this procedure.
    Is there any way how to achieve this through personalization?
    Or, is there any standard way that Oracle offers for automatic generation of item codes?
    Thank youl

    Hi,
    You have to do it using forms personalization.
    Thanks,
    PS.

  • Inverted Comma's coming in Item description Automatically-Urgent

    Hi All,
    I am bit confused about how Inverted comma appears automatically although not required.What is the solution for that.My client doesn't requires that.Try to rep ASAP.
    Thanks in advance
    mona

    I would like to know whether Inverted comma's appearing for all item names that you import (or) for few.
    1. If your answer is "for few" then "check for your master data in excel sheet"
    2. Whether your master data - item description contains any single quote/ double quote/ special characters.
    3. Save your excel master data file in "CSV" format
    4. Open the "CSV" format file in notepad and use find and replace to remove those unswanted special characters (including inverted comma's).
    5. Import/ Update based on your database status.
    Note: As risk is involved in doing these steps directly in Live database, I recommend you do in test system at first.
    Hope this helps.
    Regards
    Satish

  • How I can know which row is parent item code or child item in matrix?

    Hi,
    In marketing document, when insert a item into contents page, if it is a BOM then all child item will be inserted into matrix automatically. My question is when i view the rows in matrix how i can know which row is normal master item and which row is a child item row? From the UI, i can only see the child item code looks readonly but how i can know it in my add-on code? I tried to get the edittext box object from item No. cell, but i can't find any difference.
    Thanks!
    Lan

    Sorry, i found an issue when i try to retrieve the BOM Type column value. I am in adding mode, when i insert a BOM with components, the bom type will appears as "Component of a Sales BOM". But in the event, when I try to get the value from this cell (it is combobox), it gives another value which is not same with the one it appears in the matrix. Is anyone know how to solve my problem?
    Thanks!
    Lan

  • Multiple Item Codes in a MRP Generated PR

    Dear Sir,
    We have a requirement to have "Multiple Item Codes" in a single PR . The PR are generated thru MRP . The criterion  to have multiple Items in a single PR is that a PR will contain multiple Items codes pertaining to the same Material-Group .
    We have come to know that for this MD15 tcode can be used . But the problem with this is that there is manual effort required for clubbing of multiple Items in a single PR from the planned order .
    We look forward for some automatic way for handling the above requirement .
    Request you to kindly help me on the above issue please .
    Regrds
    B Mittal

    If you are getting Currency key from file then before passing data to BAPI, Check the value of Currency key, if it is not USD then display error message.

  • Item code

    Dear All,
    We have inventory settings as follows:
    1. Group
    Fruit
    2. Name
    Pineaple
    3. Code
    P001
    4.Grade
    value : 24 -> Grade A, Grade B, Grade C
    5. Price List
    Grade A, Grade B, Grade C
    I am really confusing whether I have to create itemcode P00124A or just P001, but I create UDF contains grade value 24, price list grade A, B, C and warehouse code A, B, C.
    But if the item have to downgrade because of quality decrease, I have to change its level to grade B or even C. If the quality is more and more decrease (not B or C), I have to change the item code.
    Pls give advice. Thx
    Rgd,
    Edu
    (Georgia will win)

    I am happy to hear your answer.
    I suggest to use batch no. as lot number for the item. I create UDF in category : inventory --> batch number for items named grade and then I link it to a grade value table.
    I agree with your idea :
    lots
    grade A
    grade B
    but lot number required by user is the date of the fruit receiving. So, it is important and it will be a main criteria to assess the grade value in making downgrade decision.
    Anyway, in administration module --> general settings --> tab inventory --> unique serials number by field : I choose none. What will be I choose so that the above can be applied ?
    However, what about the price list ? do you have the automation to make the unit price change automatically when the warehouse code change ?
    Pls give advice.
    Rgd,
    Steve "Edu"

  • Auto item code generation

    Hi Friends,
    My problem is this. My client is want automatic item code generation so how I can do this can you please suggest me.

    Hi Naveen,
    I found these two fms's which would enable automatic item code generation. See if it helps you.
    declare @temp as char(20)
    IF $[OITM.ItmsGrpCod] = 101
    BEGIN
    set @temp=(select isnull(max(right(ItemCode,4)),0) + 1 from OITM where (ItmsGrpCod= 101) and (len(ItemCode)=7))
    set @temp='DRM'+isnull(replicate(0,4-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OITM.ItmsGrpCod] = 102
    BEGIN
    set @temp=(select isnull(max(right(ItemCode,4)),0) + 1 from OITM where (ItmsGrpCod= 102) and (len(ItemCode)=7))
    set @temp='PKG'+isnull(replicate(0,4-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    And:
    DECLARE
    @NUM AS CHAR(7)
    SET @NUM =
    (SELECT RIGHT(MAX(CardCode), 7) FROM OITM)
    SET @NUM = @NUM + 1
    BEGIN
    IF @NUM IS NULL OR @NUM = 0
    BEGIN
    SELECT 'I0000001'
    END
    IF @NUM < 10
    BEGIN
    SELECT 'I000000' + @NUM
    END
    IF @NUM > 9 AND @NUM < 100
    BEGIN
    SELECT 'I00000' + @NUM
    END
    ----COMPLETE THE CODE
    END
    Thanks,
    Joseph

  • Pull the tax code automatically in the column field ??

    Could you please guide me how to pull the tax code automatically in the column field in the Sale Order form? I don't refer to the tax determination.

    Hi,
    In the Demo database, please create a new Business Partner and assign a tax code under the Business Partner Master Data > Accounting tab > tax tab. Make sure that the Business Partner is tax liable.
    Then try to create a SO for that BP Code and see whether the tax code is populated in the tax code field.
    Also, check that the Item taken into the SO is tax liable and under the Sales Tab what tax code is selected.
    Please update the results from the testing.
    Kind Regards,
    Jitin
    SAP Business One Forum Team
    Edited by: Jitin Chawla on Aug 11, 2011 5:55 PM

  • Item Code Auto generation in item master UDF field

    Dear Expert,
    I want to Generate automatic item code in the item master U_STY UDF field . the number start with 'SL' prefix 
    like this  'SL000001' and continue when i generate next item master.
    for example 'SL000001' for X item . when add next item Y  then item nuber will be 'SL000002'.  kindly help me.
    thanks.
    sridharan
    Edited by: Sridharan.R on Oct 28, 2011 10:02 AM

    Hi!
    Try this
    declare @temp as char(15)
    IF (Select max(Itemcode) from OITM ) IS Null
    BEGIN
    set @temp = 'SL000001'
    select cast(@temp as char(15))
    END
    set @temp=(select max(right(ItemCode,6)) + 1 from OITM )
    set @temp='SL'+isnull(replicate(0,6-len(@temp)),'')+@temp
    select cast(@temp as char(15))
    END
    Regards,
    [Thanga Raj K|Q3 Wrap-Up: What happened in the third quarter of 2009 in the SAP Business One Community]

  • How to import Symbocic  Character in Items Code through DTW

    Dear all
    My client maintained their Item code as Alphanumeric with Symbolic character example-(Item Code Like 375-1802041-Б2, 375-1802041-2u03A0, 375-1802041-Б2, 375-1802041-Ж and 375-1802041-я).
    The problem is when I import this codes through DTW using CSV format the all Symbolic character are automatically convert  to u2018?u2019 and the Data import was failed the message show u201C invalid Item Codeu201D.
    Then how to import this item codes in SAP B1 through DTW.
    Please help me to solve above problem.
    Thanks
    Subhas Pal

    It is better if you just use standard ASCII characters for Item Code.  Think about website address, will you use those special characters?
    You may try to put those special codes to part of item description field if you can.
    To replace those symbols, you may use number to get one-to-one mapping. Such as Ж = 16, Я = 42
    Thanks,
    Gordon

  • Reg: Diffrent Barcodes for one Item code

    Hi,
    For my client( Retail),He wants to have different Barcodes for one Item code.But one Item code we can enter only one barcode.So please solve my issue.Urgent.
    Thanks in advance
    Vinay

    Hi Vinay
    SAP Business One is not really suited to the retail environment and I would suggest that if the functionality is an issue, you consider a retail add-on. The problem is that in retail, multiple bar codes must be available to identify the product at the time of selling (scanning being the preferred method), and a UDT will not directly solve the problem. An alternative would be some SDK development, but this could be costly, and it might be better to look at a complete add-on rather.
    Another issue is the handling of multiple pack sizes and pricing per pack size, which in SAP Business One requires multiple items to be created as you only have one field to use, namely Sales UOM & Items per Sales Unit. This effectively only gives you 2 levels, namely single and shrink. In retail you often buy and sell in Pallets, Cases, Shrinks & Singles. Each of this pack sizes has a different bar code as well.
    Can you give me more detail on how SAP Business One is currently being configured to cater for this retail customer, and I cna guide you better.
    Kind regards
    Peter Juby

  • Inventory account not defined in item code

    Hi,
         Iam trying to add A/p Credit memo from A/P invoice (Copy to method) and changing Unit price of one item (there 8 items) then it gives error of "Inventory account not defined item code" i check all accounts in Item group and Wh also.i also change item gr.of particular item and update it correct item gr.relogin but still problem occurs so pl suggest me solution.
    Regards
    Sudhir Pawar.

    HI
    If ur using purchasing acc.System  method u have to define the accounts for purchase acc., purchase offset acc. then ly it will allow to add. Also check the new  item group which u have changed now,  check whether all acc.s r there r not in that group.
    Also Purchase Return acc.
    Giri
    Edited by: Giri dharan on Aug 18, 2009 11:15 AM

  • Duplicate Item code

    Hi All,
    My query goes like this
    SELECT DISTINCT(T0.[ItemCode]), T0.[ItemName], T1.[OnHand] as STOCK_IN_METER, T2.[Price] as BASE_PRICE, T0.[U_Length_In_Meter],T1.[OnHand]/T0.[U_Length_In_Meter] as STOCK_IN_PIECE, T0.[U_Weight_kgm], T1.[OnHand]* T0.[U_Weight_kgm] as TOTAL_KG FROM OITM T0  INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode INNER JOIN OINM T2 ON T0.ItemCode = T2.ItemCode WHERE T1.[WhsCode] ='03' and T0.[ItmsGrpCod] ='102' and  T1.[OnHand] <>0
    Why Duplicate item code is coming and how to solve that?
    Regards,
    Rupa Sarkar

    Hi Rupa,
    There could be many different Prices under OINM for one item. You can only use OITM.LastPurPrc or a specific price under a specific price list for a item.
    Thanks,
    Gordon

  • Duplicate Item Codes

    Every item has 12 digits code.
    Reason of duplicate item code opening:
    1. Different description formats for same part
    2. Different unit of measurement
    3. Different export place(e.g. China and India)
    4. Different old code
    5. Same use of part in different system leads to different catalog
    so different code
    Due to these reason the person who create code for items can’t
    differentiate between the new item and existing item code. This
    leads to opening of new item code for an existing code and hence
    duplicate code.

    Hello,
    I think application do not help you with this. This is business problem not application problem. In my company a few person can create items and a few person can request new items. This process should be centralized and you have make some procedure in your organization. You can make some rules to valid new item before creating it.
    Regards,
    Luko

  • VA05 report exectution  Excel format few line items gets automatically skip

    Dear,
    SAP support Team & Other team Members On SDN.
    As we are generating report from VA05 screen for retail sales order list, the report shows full required data but when the report is executed in Excel format few line items gets automatically skipped & further tried generated in TXT format the whole report get properly dragged.
    This problem is only in PRD Server, when i am teting the same in DEV Server it is properly Generated in EXCEL with Proper LINE ITEMS.
    Please kindly provide me with some Solution regarding the same.
    Warm Regards,
    Mohammed Hassan Naveed
    Deputy SAP Basis Consultant

    Hi,
    Have you tried using VA05N?

Maybe you are looking for

  • Mac Mini and Apple TV.

    I have a Mac Mini bought about 10 months ago.  It is WiFi enabled.  I would like to use Apple TV.  Will I need anything other than an Apple TV unit to connect with the Mac Mini?

  • VPN to Mountain Lion Server issues

    Hi, I checked a lot of VPN threads here today, but I wasn't able to find a solution for my problem just now. I try to connect by VPN to my Mountain Lion Server, but I get an error message that the VPN server is not responding. I get this message from

  • Where can I find the Stickies database (content). I recovered my hard drive from Time machine and need to load old data.

    Where can I find the Stickies database (content) in OS 10.8 and above. I recovered my hard drive from Time machine and it loaded the app but not the content.

  • Synchronous Inbound ABAP Proxy - Manage status in SXMB_MONI

    Hi Gurus!! I have a synchronous SOAP->PI->ABAP Proxy. This ABAP Proxy sends a response to the Sender SOAP with the result of the process execution. If the execution finishes with an error (by example, the material to change is locked by another user)

  • Nokia E72 Memory (RAM) Problem

    Hi everyone, I recently installed Opera Mobile 12 in my phone and have been facing RAM problems a lot lately.... After I surf the internet for sometime, i frequently get the messege showing ''Memory Full: Please Close Some Applications and Try Again'