About importing serial numbers into SAP

Hi All,
I need to import serial number from our old ERP system into our SAP B1 system. What I understand is serial number always attached to a document like goods receipt or delivery. In documents object, there is property called Series which looks like what I interested. But when I look at this child object in DI, I didn't find any method to add serial number. My question is how I can add serial number to a document object? For example, I have received 10 products with serial, how I can do it in DI? Is anyone can share some of your code to me so I can take it as an sample ?
Thanks.
Lan

Dear Zhanglan,
This is Inventory goods receipt sample
Dim oDoc As SAPbobsCOM.Documents
        oDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
        ' header
        oDoc.DocDate = Today.Date
        ' Lines
        oDoc.Lines.ItemCode = "ItemCode"
        oDoc.Lines.WarehouseCode = "01"
        oDoc.Lines.Quantity = 2
        ' Lines + Serial Number
        oDoc.Lines.SerialNumbers.InternalSerialNumber = "SN0001"
        oDoc.Lines.SerialNumbers.Notes = "My first Serial Number"
        oDoc.Lines.SerialNumbers.Add()
        oDoc.Lines.SerialNumbers.InternalSerialNumber = "SN0002"
        oDoc.Lines.SerialNumbers.Notes = "My second Serial Number"
        oDoc.Lines.SerialNumbers.Add()
        ' End - Add Inventory Goods Receipt
        oDoc.Add()
nd.Q

Similar Messages

  • Import Serial numbers into MIGO from Excel

    Hi there
    We would like to be able to import serial numbers from a spreadsheet into MIGO.
    We purchase from vendors and they ship directly to the customer and provide us with a spreadsheet of serial numbers. These then are manually imput into SAP by copying them six at a time. Is there a way we can import the serial numbers directly into MIGO?
    Thank you
    Tiri

    Hi
    I am experiencing the same issue.  I need to create up to 3000 serial numbers in MIGO at a time.  In IQ04 I am able to create a numeric list.  However our serial numbers are alpha numeric or numeric ending in a test figure.  Copy and past only allows 28 entries.  I do have the serial numbers in electronic format.
    You are referring to upload functionality, but don't seem to find the "button" or function to upload from text or excel.
    Anybody able to assist?
    Regards

  • How to Import XML file into SAP B1

    Dear All,
    I have a scenario like,
    I am receiving a XML file from a 3rd party application for the daily Creation,Update of Item Master,BP Master, Marketing Documents. I want to import this file into SAP B1 through its approp objects. I understand DTW has limitation in its file types (Semicolo,Tab,Comma,ODBC). How do i do this ? Please guide me.
    Thanks,
    Thanga Raj K

    Hy folks,
    I´m frim Brasil and I've been studying the tool EFM (Eletronic File Manager) to learn more about it!
    There I saw that we can extract to XML "any" infomation from the database we want, mainly through the GEP.
    However, as I've seen, this Add-On can not import any XML file into SBO, unless for the BFP wich can be imported in conjunction with the BTHF Add-on.
    So I ask: how is it possible to import XML data into SBO database? Is it possible to be done through the EFM? or  it´s really necessary to write a code specifically to do that?
    Besides, I know that de B1iSN fit to this necessity... but when I tried to use it, by the custom "object" for BP, for example, there are some data wich the mapping conteined in this custom "process" that can not be imported... I tried to understand how to map those other fields not imported by the custom but this has been dificult to me as I am a implementation consultant focused in administrative process not on development...
    Could you please help me with this subject!
    Thanks a lot,
    Denis

  • Import Serial numbers in Goods Receipt

    Hi Experts,
    We are receiving 100's of serialized items per day that have serial numbers that are not sequential. It is not very efficient to type them in one by one.
    How do I import them using DTW? Or is there another more efficient way to do this?
    Thanks!
    Jane

    Hi,
    Please refer SAP note:
    841270
    - How to import serial numbers correctly via the DTW
    Thanks & Regards,
    Nagarajan

  • Problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007

    Gentlemen,
    I have a problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007,
    My current Support Package Level is:
    SAP_ABA       700     0015
    SAP_BASIS     700     0015
    PI_BASIS      2006_1_700     0006
    ST-PI     2005_1_700     0006
    CRMUIF         600     0003
    SAP_BW       700     0017
    SAP_AP                700     0012
    BBPCRM                600     0002
    First I had the following error:
       Syslog: k CQ3 : UMGSETTING&                                          rscpexcc 12
       GetDBMigrateCodePagesLangs uses TCP0D, TCPDB, TCP0C.
         0 entries from FUNCT (%/SAPCND/CNF_GET_RECORD_FROM_DB%) deleted.
         0 d /   0 i /   0 u /   6 = 100% ucf FUPARAREF
         6 entries for FUPARAREF imported (/SAPCND/CNF_GET_RECORD_FROM_DBA*).
         0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
         0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
         0 d /   0 i /   0 u /   1 = 100% ucf TFTIT
         1 entry for TFTIT imported (D/SAPCND/CNF_GET_RECORD_FROM_DB*).
       successfully set a temporary lock on table REPOSRC
       REPOS /SAPCND/LDETERMINATION$14                A replaced.
       REPOS /SAPCND/LDETERMINATIONU14                A replaced.
        [dev trc     ,00000]  Wed Nov 26 16:33:14 2008                         1315447  8.171484
        [dbdsoci.    ,00000]  *** ERROR => invalid offset 0 for placeholder 16
                                                                                    71  8.171555
       unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
       dsql_open returned with unexpected error code 2
       Please contact the SAP support.
       End of Transport (0016).
       date&time: 26.11.2008 - 16:33:14
       5 warnings occured.
       3 errors occured.
       Main import
       End date and time : 20081126163314
       Ended with return code:  ===> 16 <===
    After I got this error I upgraded the Kernel from patch level 159 to 179,
    After that I restarted the update again but the system is still running on u201CIMPORT_PROPERu201D and dose not given any update,
    From Import logs of the queue I can see the following,
       Summary:
        24 DOCUT imported.
        16 DYNPS imported.
        30 DYNPT imported.
       387 REPOS imported.
        43 REPOT imported.
       Totally 505 Objects imported.
       Totally 3636 tabentries deleted.
       Totally 14 objects activated.
       Totally 12229 tabentries imported.
       62066888 bytes modified in database.
        [dev trc     ,00000]  Wed Nov 26 18:14:19 2008                         20996974  40.917838
        [dev trc     ,00000]  Disconnecting from ALL connections:                   30  40.917868
        [dev trc     ,00000]  Disconnecting from connection 0 ...                  287  40.918155
        [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=00000000003005B8,usrhp=00000000002FB748)
                                                                                  5759  40.923914
        [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=00000000003005B8,srvhp=00000000061530E8)
                                                                                    921  40.924835
        [dev trc     ,00000]  Now I'm disconnected from ORACLE                    8230  40.933065
        [dev trc     ,00000]  Disconnected from connection 0                        90  40.933155
        [dev trc     ,00000]  statistics db_con_commit (com_total=527, com_tx=307)
                                                                                    59  40.933214
        [dev trc     ,00000]  statistics db_con_rollback (roll_total=0, roll_tx=0)
                                                                                    52  40.933266
       Disconnected from database.
       End of Transport (0004).
       date&time: 26.11.2008 - 18:14:19
       2 warnings occured.
       Main import
       End date and time : 20081126181419
       Ended with return code:  ===> 4 <===
    Please advice me.
    Regards,
    Ahmed

    I have similar problem while updating support packages in SAP R/3 4.6C environment. 
    000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
    000 dsql_open returned with unexpected error code 1                                                                             
    000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
    000 dsql_open returned with unexpected error code 1                                                                             
    Here is an outline of series of events that happened:-
    We are applying in support packages in SAP R/3 4.6C HR Development
    (TFI) environment. We planned with installing all the SP stacks
    starting from 1 to 9.
    -Updated kernel, tp , r3trans and SPAM level to latest level.
    We received the following error in Import_Proper step of Support
    package upgrade. Though the step has been repeated after making sure
    that we have all the required files at OS level, we go this error
    repeatedly.
    Main import
    Transport request___: SAPKB46C52
    System______________: TFI
    tp path : tp
    Version and Release: 305.13.25 46D
    check-sum error in datafile after 9374854 bytes.
    Main import
    End date and time : 20081205192603
    Ended with return code: ===> 16 <===
    When we renamed Co-File & data_file at OS level to see if the files are
    created again and reran we got the following error.
    Main import
    Transport request___: SAPKB46C52
    System______________: TFI
    tp path : tp
    Version and Release: 305.13.24 46D
    Main import
    End date and time : 20081205185117
    Ended with return code: ===> 12 <===
    We tried importing the individual support package SAPKB46C52 from STMS
    and the transport cancelled at an earlier step with the same error.
    Dictionary import
    Transport request___: SAPKB46C52
    System______________: TFI
    tp path : tp
    Version and Release: 305.13.25 46D
    check-sum error in datafile after 9374854 bytes.
    Dictionary import
    End date and time : 20081205195929
    Ended with return code: ===> 16 <===
    While playing around I have deleted the transport from the tp buffer
    and added manually, before doing so I made a backup of tp buffer at OS
    level and I got following error though I reverted back to backed-up
    copy.
    - Error in phase: IMPORT_PROPER
    - Reason for error: TP_BUFFER_INCONSISTENCY
    - Return code: 0008
    - Error message: Wrong sequence of Packages in the tp buffer (e.g.
    SAPKB46C52 )
    I then tried to disassemble the package separately and reran the
    import queue. Now I have RC 8 on that support package.
    When I did R3trans -l on the datafile it completed successfully.
    D:\>R3trans -l \usr\sap\trans\data\RB46C52.SAP
    This is R3trans version 6.05 (release 46D - 27.10.08 - 16:32:00).
    R3trans finished (0000).
    I verified the size of file "CSR0120031469_0023301.PAT" and it is the
    same as mentioned in SSP.
    Let us know is there is a workaround.

  • I want to chat about import of music into my ishuffle

    I want to chat about import of music into my ishuffle.  Can u provide me the link to connect to the right person from support team

    There is no such thing as an ishuffle, but you can read the user manual for iPod shuffle here:
      http://support.apple.com/manuals/#ipod

  • Serial numbers in SAP B1

    Hi Experts
    I'm using serial numbers for some trading items in SAP B1, currently nearly we have 250,000 available serial numbers in the system. but when we do a transfer the whole system gets stuck and no body else can work on the system for a long time.
    what can i do about this any suggestions.
    Thanks & Regards
    Kanishka Wickrama

    Hi!
    Is this happing for all user or only to a particular user ?
    Take a Backup of your live server, make a test environment and do this.
    Clear the Messages in INBOX of SAP.
    Also, Modify the Change Log to 10 instead of 99 in
    Adminstration > System initiallisation > General Setting > Services > History / Log to 10.

  • New serial numbers in SAP for new equipment

    Hi Experts,
    I recently ordered new machines & receipted machines prior to creating serial numbers. The serial numbers created are not showing as being in new stock location XXXX.
    Later, unreceipted the PO & tried to create serial numbers first before re-receipting the equipment in, but did not work as expected.
    How to deal with this situation?

    Hi!
    Is this happing for all user or only to a particular user ?
    Take a Backup of your live server, make a test environment and do this.
    Clear the Messages in INBOX of SAP.
    Also, Modify the Change Log to 10 instead of 99 in
    Adminstration > System initiallisation > General Setting > Services > History / Log to 10.

  • Import data Automatically into SAP

    Hi all,
    Is is possible to import data Automatically in SAP?
    For Ex: if the client having online filling form (through website) is is possible to upload data directly into SAP?
    one getting the alert or approval they will add the document.
    Regards
    Anish

    Hi Anish,
    This can be done through scheduled DTW job.
    Thanks,
    Gordon

  • Importing development class into SAP from out site

    Hi Guys,
    I am integrating SAP-GIS Using Smallworld business integrator 4 for SAP.
    In the doumentaion they asked to import
    K900363.DEV
    D900363.DEV
    R900363.DEV
    into SAP from SBI4 with TR
    All development classes are located in one single transport request:
    DEVK900363.
    can any body tell me what is the procedure to do in SAP.
    how to import into SAP Development class?
    thanks in advance.
    rgdasari

    Dear Prasada,
      The document what we got with SBI4(integrator for SAP and Smallworld)is giving below. full description giving below.I am a ABAP with BAPI Consultant.I don't have BASIS knowledge.if possible pls send me in detail where we need to which TRCOD we need import those .dev files and how to create ne Dev clall with Given TR requerst..ect..
    Importing the Business Integrator source files You import the Business Integrator sources for SAP as transport files. To transport development objects from one SAP system to another, you create a Request. Different kinds of requests exist. Change Requests usually transport
    changes from one known system into another in a known Target Transport Layer. This is the usual method in an SAP environment in which you have a development system, a quality system and a production system. For the Business Integrator SAP sources, Transport of Copies is used. All objects from the Business Integrator are included in the development classes ZPLUG, ZPL_DDIC, and ZPLUG_EXT. They are packed in one single transport file. Ask your SAP system administrator to import the files into the SAP environment.When you import copies into different systems, in the development class, the properties TRANSPORTLAYER and HOMESYSTEM do not change. You must change them manually using transaction SE03 (Transport Organiser Tools). Select CHANGE OBJECT CATALOG ENTRIES and select R3TR DEVC xxx (xxx stands for the development class, for example, ZPLUG). Press F8 to change the TransportLayer, the owner, and the home system of the development class. Repeat this for all three
    development classes (ZPLUG, ZPL_DDIC and ZPLUG_EXT).

  • Importing Adobe form into SAP (sfp)

    Hi Friends
    I am trying to import an Adobe form designed in Live cycle designer outside SAP into SAP form builder (tcode SFP). The form imports fine in 'Layout' section of form builder but when I save it, it doesn't get saved. I mean if I save and try to open form later in SFP tcode the saved form disappears. The form also disappears when I activate the from in SAP builder (tcode SFP).
    Am I doing anything wrong while importing pdf file or form designed outside SAP? Please help.
    Regards
    Sunny

    Hello,
    I am aware its is possible to use "import" in SFP menu. But I don´t know how. I would like to assure you, you can just copy the layout in your source form (it was just some layout created in standalone LCD) and copy it into the opened layout (LCD in SAP) in your SFP transaction. Then the editor think you have just finished drawing that and everything works the way you expect.
    Regards, Otto

  • Can't import Serial Numbers with DTW

    Hi,
    I'm trying all day long to import data with the oInventoryGenEntry Template. I always got the error message :
    [IGN1.WhsCode][line: 1],'LS46BPPNB connot be released from stock without a full selection of serial/batch no.'Application-defined or object-defined error65171.
    here are the content of the files related to :
    'Documents' :
    RecordKey;DocDate;Comments;JournalMemo
    RecordKey;DocDate;Comments;JournalMemo
    1;20090601;Stock ini Logis;Stock ini Logis
    'Document_Lines' :
    Recordkey;linenum;ItemCode;Quantity
    Recordkey;linenum;ItemCode;Quantity
    1;0;LS46BPPNB;4
    'SerialNumbers'  :
    RecordKey;BaseLineNumber;ManufacturerSerialNumber
    RecordKey;BaseLineNumber;ManufacturerSerialNumber
    1;0;BP46HS1S300170
    1;0;BP46HS1S300183
    1;0;BP46HS1S300184
    1;0;BP46HS1S400018
    I've tried to simulate an exit rather than an entry. I succeeded by adding a column 'SystemSerialNumber' with valid data into.
    But, I have to generate an entry and i'm not supposed to know what SystemSerialNumber will be used.
    An idea?
    Best regards,
    Francis

    I found a way.
    I have to define the column LineNum BEFORE the column BaseLineNumber.
    With these files, it's OK :
    Document_Lines :
    RecordKey;LineNum;ItemCode;Quantity
    RecordKey;LineNum;ItemCode;Quantity
    1;0;LS32BHLNS;1
    1;1;LS46BHYNS;1
    1;2;LS40BPPNB;5
    SerialNumbers :
    RecordKey;LineNum;BaseLineNumber;ManufacturerSerialNumber
    RecordKey;LineNum;BaseLineNumber;ManufacturerSerialNumber
    1;0;0;BH32HS1Q900088
    1;1;1;BH46HS1Q900095
    1;2;2;BP40HS1QC00223
    1;3;2;BP40HS1QC00224
    1;4;2;BP40HS1S100356
    1;5;2;BP40HS1S100391
    1;6;2;BP40HS1S100396
    Thank you all
    Francis

  • Import Accounts Receivable into SAP 2007 with DTW

    I am trying to import AR into a new database, and I have already set up the customers and appropriate financials. I also realize that I need to import these as "service" invoices, with balances due. Or at least, that seems to be the way others are doing it. But I am getting stuck with an error:
    Invalid total {OINV.DocTotal} Application-defined or object-define error 65171.
    Here is my test data:
    RecordKey     CardCode     DocDate     DocDueDate     DocNum     DocTotal     DocType
    RecordKey     CardCode     DocDate     DocDueDate     DocNum     DocTotal     DocType
    1     C10000     20080908     20080908     1000     1487     dDocument_Service
    2     C10003     20080813     20080813     1001     2142.23     dDocument_Service
    3     C10003     20080813     20080813     1002     1194.51     dDocument_Service
    4     C10003     20080821     20080821     1003     722.02     dDocument_Service
    I have tried making the import file both CSV and TXT. I have formatted the DocTotal column as general and numeric (don't think it matters in a TXT file anyway) but I keep getting all four records rejected.
    What am I missing? Thanks in advance.

    Right you are!
    Here's the Document Lines file:
    RecordKey LineNum     ItemCode     ItemDescription     LineTotal     Quantity
    RecordKey LineNum     ItemCode     ItemDescription     LineTotal     Quantity
    1      0      AR Conversion      AR Conversion   1487.5      1
    2      0      AR Conversion      AR Conversion   2142.23    1
    3      0      AR Conversion      AR Conversion   1194.51    1
    4      0      AR Conversion      AR Conversion   722.02      1
    I probably don't need the Item Description, but I don't think its the problem...but hey, if I knew what the problem was, I wouldn't be here!
    Edited by: Dante Amodeo on Oct 27, 2008 4:13 PM

  • Error while Importing Integration kit  Transport Requets into SAP ECC 5.0

    HI ,
    1.  AT BO side -> I can see the many roles, but under 'role import tab'  in CMC  when i add any 'role' and click on update button,
         system showing an  error as below .
       "Failed while trying to get user list using class CSecRfcRemoteUsersActGrp in method CSecSAPR3Binding::GetUsersInternal(). Error code: 3. Description: Syntax error in program /CRYSTAL/SAPLSECURITY .. "
    2. After successfull installation of integration kit on windows 2008 server, i have imported the transport request into SAP ECC    
       5.0 When i  imported open sql connectivity transport request, i got error mesage . The error message number is 8 and it came
      for Generation of programs and screens. i have installed sap gui 710 ( verion : 7100.1.0.1027).
      I also transported remaining transport request (infoset, row level, cluster definition, security functions) but all these request
      contain similar error. Now when i try to login into sap  its going dump.Is there any possibility of reverting back the transport
      requests.
      Pls help me to fix these issues.
    Edited by: sheshikanth reddy on Apr 14, 2010 2:15 AM

    Hi ingo,
    Now i can able to transport successfully after following the order.
    Thank you very much
    Edited by: sheshikanth reddy on Apr 14, 2010 11:46 PM
    Earlier i have imported non unicode request numbers into sap unicode system.
    tats why i got error.
    Now i have imported unicode request number to unicode sap system with sequence.
    Edited by: sheshikanth reddy on Apr 15, 2010 12:19 AM

  • Import of bulk serial numbers with Goods Receipt

    Hello
    I need to create an Add-On that automates the creation of Goods Receipt PO documents with linked serial numbers. Using the DI API I manage to create the Goods Receipt and link about 1000 serial numbers to one document without any problems. When the item qty (and linked serial number qty) goes beyond 10,000 it crashes (probably runs out of memory).
    I know an alternative would be possibly using the DI Server. Has anyone ever done this with such big volumes? Not sure if the DI Server would be able to handle say 100,000 serial numbers, at a time.
    Any advice is appreciated.
    Thanks,
    Jéan

    Thanks Gordon.
    This is not good news. I am just concerned as the SDK help on DI Server specifically states:
    "Business partners can use the DI Server for the following main scenarios:
    ==>> Heavy duty operations, such as batch"
    I assume this is the same type of "heavy duty operation" as a data take-on would be? Or does it mean that B1's serial number management is limited to small quantities at a time.
    Jéan

Maybe you are looking for

  • Selecing old attribute value in an implementation class

    Dear All, Am using ADF 11.1.1.3 and am trying to write some validation on an entity's implementation class ( in doDml method ) and i need to compare one attribute old value with the current value ... how can i do that ?

  • Migration Request getting failed with error code 152

    Hi Experts, We are creating a migration request for moving a transport along the path Development-Quality-Production ( tcode                        /POWERCOR/MRCRE ). But the import into Quality is getting failed with return code 152 and status code

  • Canon EOS REBEL 4Ti, Screen Scrables

    Hello Team, I have a Canon 4Ti, currently running the current 1.0.4 Firmware. the issue is that the screen has scattered, multi colured, distorted lines while using it in live mode. these lines appear when i power on the camera and could see them on

  • Roaming in Canada, Niagara Falls

    I've been reading different and confusing reviews.  What is the coverage while visiting Niagara Falls?  I read that I could text, call US without roaming.  I read that if I get too far from the river/falls I won't have coverage.  If we are traveling

  • My n8 gps positioning can't find me off-line abroa...

    I just got back from Spain i had the maps for Spain downloaded for off-line use but for some reason in off-line mode the gps couldn't find me unless I went on-line and that can be expensive anyone know why? any help is appreciated