How to import data from CSV to TCode COR6N

Hi friends,
Please help me. I don't know how to import data from CSV file to TCode COR6N. (time ticket for production order)
I used function: BAPI_PRODORDCONF_CREATE_TT to fill information into TCode COR6n, but it thrown error: "Orders of the order type ZP01 cannot be confirmed". ZP01 is my Order Type.
Thanks in advance.
Nguyen Phuoc Toan.

You can use the LSMW tool to do this.
The details of LSMW BAPI method is as follows :-
Business Object:- BUS2116
Method:-CREATEPREDEFTIMETICKETMULTIPLE
Message Type:- PPCC2PRETTICKET
Basic Type:- PPCC2PRETTICKET01
Regards
Dhirendra

Similar Messages

  • How to import data from CSV to TCode COR1?

    Hi SAP PP guru,
    How to import data from CSV file to TCode COR1?
    Thanks in advance,
    Nguyen Phuoc Toan.

    Nguyen,
    You have not yet confirmed what your requirement is?
    You can take the help of ABAP person to understand what BDC or LSMW is about, basically this is a tool provided by SAP that would enable you to record a transaction process and you can use the code to perform the transaction in mass. [Help on LSMW|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ad/2d54a41d7011d2b42e006094b944c8/content.htm]
    Regards,
    Prasobh

  • How to import data from CSV file with columns separated by semicolon?

    I migrate database from MS SQL 2008 to ORACLE 11g
    I export data to CSV file from MS SQL
    then I try to import it to Oracle
    several tables goes fine using Import data option in the SQL Developer
    Standard CSV files with data separated by comma were imported.
    chars, date (with format string), and integer data are imported via import wizard without problems
    the problems were when I try to import table with noninteger numbers with modal part separated by comma not by dot
    comma is the standard separator for columns in CSV file
    so I must change the standard separator to semicolon
    then the import wizard have problem to correct recognize the columns data because it use only standard CSV comma separator :-/
    In SQL Developer 1.5.3 Tools -> Preferences -> Migration -> Data Move Options
    I change "End of Column Delimiter" to ; but it doens't work
    Is this possible to change the standard column separator for import data wizzard in SQL Developer 1.5.3?
    Or maybe someone know how to import data in SQL Developer 1.5.3 from CSV when CSV colunn separator is set to semicolon?

    A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.

  • How to import data from CSV files to OIM?

    Hello,
    We have to import some of the files which are in csv format and are placed in a specific folder hierarchy. Please help as i am not able to proceed further.
    Thanks a lot!

    To write custom scheduler tasks you need to write a class which extends SchedulerBaseTask class.
    See this link. Re: Custom reconcilation
    Also GTC flat file retrieves data from file and creates identity/account in OIM. You can use either ways to meet your requirements.

  • How to import data from CSV file into a table by using oracle forms

    Hi,
    I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
    the user can select CSV file by using open dialog .
    can any one help me to find method to make import and select file from the client machine ?
    thx.

    1. create table blob
    CREATE TABLE IB_LOVE
      DOC          BLOB,
      CONTRACT_NO  VARCHAR2(20 BYTE)                NOT NULL
    )2. use the code below to insert:
           INSERT INTO ordmgmt.ib_love
                       (contract_no, doc
                VALUES (:control.contract_no_input, NULL
           lb$result :=
             webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
                                                 'CONTRACT_NO = ' || :control.contract_no_input);
           :SYSTEM.message_level := 25;
           COMMIT;
           :SYSTEM.message_level := 0;3. use the code below to download
         if :control.CONTRACT_NO_INPUT is not null then
              vboolean :=   webutil_file_transfer.DB_To_Client_With_Progress(
                               vfilename,  --filename                       
                              'IB_LOVE', ---table of Blob item                       
                              'DOC',  --Blob column name                       
                              'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record                       
                              'Downloading from Database', --Progress Bar title                       
                              'Wait to Complete'); --Progress bar subtitle  client_host('cmd /c start '||vfilename);
              client_host('cmd /c start '||vfilename);                 
         else
              errmsg('Please choose contract no');
         end if;4. use the code below to open file dialog
    x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
    :b2.FILE_NAME:=X;

  • Import data from csv to SQL database

    How to  Import data from csv to SQL database through BLS-xMII?

    Hi,
    if you using Oracle, you may also use the bulk insert with MII. You can use the String List to XML parser to convert your CSV to XML, and then use a query that calls a stored procedure which does the bulk insert.
    Also have a look at thread [read XML file into stored procedure|http://forums.sdn.sap.com/click.jspa?searchID=63850236&messageID=7455643].
    Michael

  • How to import data from excel or csv files to Oracle table

    hello everybody,
    I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
    Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
    So, how can I import the excel data into Oracle table.
    Thank you in advance.
    cheers,
    shima

    Even easier. Download JDeveloper 11G from this site.
    Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
    Columns -- move the selected columns that you want to load to the box on the right
    Data Types -- select column name from second column to which the data for each column of the import file should load
    DML -- click this tab to generate the INSERT SQL
    Once done click 'Insert'

  • How to import contacts from csv to Iphone 4S?

    How to import contacts from csv to Iphone 4S?

    Hi,
    you can use this app to import your contacts from CSV file to your iPhone:
    https://itunes.apple.com/us/app/contacts-in-import-csv-contacts/id549639443?mt=8
    You can send CSV file to app via email attachment ot iTunes. More details:
    http://csvcontacts.wordpress.com/user-instructions/
    You can handle phone number types correctly ("mobile","work","home"), import birdthays from any date format and many more.

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How to import data from all excel worksheet ?

    hi
    I want to import data from excel worksheet. There is a fm ALSM_EXCEL_TO_INTERNAL_TABLE but it read data only from "actual" sheet. How can I   
    read data from all exel spread sheets ?
    krzys

    Hi,
    check this code, this is gathered from one of the thread.
    report zole123.
    INCLUDE ole2incl.
    DATA:  count TYPE i,
           application TYPE ole2_object,
           workbook TYPE ole2_object,
           excel     TYPE ole2_object,
           sheet TYPE ole2_object,
           cells TYPE ole2_object.
    CONSTANTS: row_max TYPE i VALUE 256.
    DATA index TYPE i.
    DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
    DATA: BEGIN OF itab3 OCCURS 0, place(50), END OF itab3.
    *START-OF-SELECTION
    START-OF-SELECTION.
      APPEND: 'name1' TO itab1, 'surname1' TO itab2,
                                  'worli' TO itab3,
                'nam2' TO itab1, 'surname2' TO itab2,
                                  'chowpatty' TO itab3,
               'name3' TO itab1, 'surname3' TO itab2,
                                  'versova' TO itab3,
                'name4' TO itab1, 'surname4' TO itab2,
                                  'grant road' TO itab3,
                'name5' TO itab1, 'surname5' TO itab2,
                                  'gaon' TO itab3,
                'name6' TO itab1, 'surname6' TO itab2,
                                  'mahim' TO itab3.
    CREATE OBJECT application 'excel.application'.
    SET PROPERTY OF application 'visible' = 1.
    CALL METHOD OF application 'Workbooks' = workbook.
    CALL METHOD OF workbook 'Add'.
      CREATE OBJECT excel 'EXCEL.APPLICATION'.
      IF sy-subrc NE 0.
        WRITE: / 'No EXCEL creation possible'.
        STOP.
      ENDIF.
      SET PROPERTY OF excel 'DisplayAlerts' = 0.
      CALL METHOD OF excel 'WORKBOOKS' = workbook .
      SET PROPERTY OF excel 'VISIBLE' = 1.
    Create worksheet
      SET PROPERTY OF excel 'SheetsInNewWorkbook' = 1.
      CALL METHOD OF workbook 'ADD'.
    DO 3 TIMES.
        IF sy-index GT 1.
          CALL METHOD OF excel 'WORKSHEETS' = sheet.
          CALL METHOD OF sheet 'ADD'.
          FREE OBJECT sheet.
        ENDIF.
      ENDDO.
      count = 1.
      DO 3 TIMES.
        CALL METHOD OF excel 'WORKSHEETS' = sheet
          EXPORTING
            #1 = count.
       perform get_sheet_name using scnt sname.
        CASE count.
          WHEN '1'.
            SET PROPERTY OF sheet 'NAME' = 'firstName'.
            CALL METHOD OF sheet 'ACTIVATE'.
            " add header here
            LOOP AT itab1.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name " for headings change the - 1 to + 1 to accomodate 2 extra lines
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab1-first_name.
              SET PROPERTY OF cells 'Value' = itab1-first_name.
            ENDLOOP.
          WHEN '2'.
            SET PROPERTY OF sheet 'NAME' = 'LastName'.
            CALL METHOD OF sheet 'ACTIVATE'.
    " add header here
            LOOP AT itab2.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name " for headings change the - 1 to + 1 to accomodate 2 extra lines
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab2-last_name.
              SET PROPERTY OF cells 'Value' = itab2-last_name.
            ENDLOOP.
          WHEN '3'.
            SET PROPERTY OF sheet 'NAME' = 'place'.
            CALL METHOD OF sheet 'ACTIVATE'.
    " add header here
            LOOP AT itab3.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name " for headings change the - 1 to + 1 to accomodate 2 extra lines
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab3-place.
              SET PROPERTY OF cells 'Value' = itab3-place.
            ENDLOOP.
        ENDCASE.
        count = count + 1.
      ENDDO.
    Save excel speadsheet to particular filename
      GET PROPERTY OF excel 'ActiveSheet' = sheet.
      CALL METHOD OF sheet 'SaveAs'
                       EXPORTING #1 = 'c:\temp\exceldoc1.xls'     "filename
                                 #2 = 1.                          "fileFormat
    Note: to make headings, change the -1 to +1 where specified in the above code and add the following where i have mentioned to add it
    index = row_max * ( sy-tabix - 1 ) + 1.
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'value' = header1.
    Reward for helpful answers
    Thanks
    Naveen khan

  • How to import date from pl/sql

    I m using 9i database and form 6i windows 2003
    I created a form and using this code to get the backup, resulting I get a .DMP file.
    I want to import data from this DMP file through pl/slq .. how can I ?
    I want that only data should be import from dmp file.
    my export code :-+_
    Declare
    user_name varchar2(50) := Get_Application_Property(username);
    pass varchar2(50) := Get_Application_Property(password);
    Cstring varchar2(50) := Get_Application_Property(connect_string);
    str varchar2(100);
    Begin
    str :='Exp userID='||user_name||'/'||pass||'@'||Cstring||' rows=y file='||:Path;
    :EXP_BLK.PS:=PASS;
    :EXP_BLK.UR:=USER_NAME;
    :EXP_BLK.ST:=CSTRING;
         :Status := 'Backup Start.....Please Wait.......';
         Synchronize;
         Host(Str);
    Bell;
    bell;
         :Status := 'Backup Sucessfully Completed....';
         Synchronize;
    End;

    First of all this is not Forms forum, this is PL/SQL forum.
    Next, your question and the content inside your post confused me. We are not getting one thing - where do you want to import date data type?
    please explain.
    Regards.
    Satyaki De.

  • Help Me... How to get Data from CSV File...?

    Hi Everyone..!
    This is yajiv and am working in CS3 Photoshop platform. I know about Java Script. Is it possible to get the data from CSV files. Actually our client use to send us the CSV files which contains a lot of swatch name and reference files in one particular image name.
    Actually how we work on that CSV file is, first we copy file name to search that CSV file. then get the result to paste into layer name. This process continue till the end of swatch.
    Thank in Advance
    -yajiv

    > Is it possible to get the data from CSV files.
    Have you tried searching this forum?

  • HT1296 How to IMPORT data from iphone to pc without icloud or itunes?

    I don't understand how many article I have read and every one is talking about "how to EXPORT data from iDevice to pc but no article is available about "how to IMPORT data (Music, Videos or office files) to iDevice without using icloud or itunes?" can somebody have the answer???

    Well I wonder why that is?  Very simple answer, because YOU CAN'T!

  • BUG 3.0/3.1 Import data from CSV in non english local

    Hello,
    I have 3.0 on a German XP (NLS Decimal "," and Group ".") but with
    AddVMOption -Duser.language=en
    because of bug 9231534
    I try to import data from a delimited file that contains the number "123,23"
    When I use the Import Data Wizard it generates an insert with "12323.0". This import works, but gives me the wrong values, 12323 instead of 123,23.
    I have 3.1 with german UI and try the same import.
    It generates a correct insert "123.23", but on executing it fails, because it expects the german decimal separator, this is wrong for two reasons:
    The generated script has a dot as decimal separator and it would not make sense to use a comma, because this is the value separator in an insert script.
    To execute the script it should use the same NLS-Setting as for generating.
    Regards
    Marcus

    Hello,
    has anybody found a solution?
    Testcase: SQL Developer 3.1 on a German XP with default NLS Settings
    CREATE TABLE "TEST_TABLE"
           "NUM" NUMBER
          ,"VCH"  VARCHAR2(10 BYTE)
        ) ;Test file test_insert.dsv
    num;vch
    1;KL
    1,5;tz
    12345,45;ooImporting using the wizard inserts the first row correctly, for the others I get
    SET DEFINE OFF
    --Einfügen für Zeilen  1  bis  3  nicht erfolgreich
    --ORA-01722: invalid number
    --Zeile 2
    INSERT INTO TEST_TABLE (NUM, VCH) VALUES (1.5,'tz');
    --Zeile 3
    INSERT INTO TEST_TABLE (NUM, VCH) VALUES (12345.45,'oo');Beside the wrong umlaut in the message the insert statement itself is correct, because you cannot use the german decimal separator "," in the script. The bug is, that it should use the same NLS settings for generating and running the script.
    Regards
    Marcus

  • How to import data from corel draw file

    Dear Fellows
    i have a problem which is very interesting. i have a data like
    (rollno, name, course, duration and a photo of the candidate) in corel
    file. the problem is how to import selected data from the corel file
    into the oracle or any other database. Kindly guide me how to do this.
    Regards
    (BASIT)

    This can be automated... Most Windows applications support (or did support) DDE (Dynamic Data Exchange). In its basic form, you can send DDE commands to an application. E.g. load file using this filename, use the selection option on the menu, save the selection as a text file, etc.
    In other words, you can interact with an application using DDE only - no keyboard or mouse input required.
    DDE itself is fairly straightforward and not that difficult to code - the complexity is in the DDE payloads that need to be send to the application to make it behave the way you want it to. In the "old" days, this was documented in some fashion by applications. I cannot recall seeing any specific DDE commands and specs for common Window applications for many years now. Also, DDE was made part of the then new OLE2 spec and have since taken a backseat.
    Not even sure if apps today still properly support it...
    So instead of putting Corel data into Oracle, I would rather look at it the other way. After all, Oracle is the server - not Corel. Have a web front-end (written in APEX) that allows you to specify the participant's details and store this in Oracle.
    Create an export filter in Oracle that dumps this into a XML (or similar) format understood by Corel. Having Corel open this file, convert it, and print it. Then look at how to automated these steps in Corel (using VB for Apps or something).

Maybe you are looking for

  • IS there any way i can make something appear on the external screen or use the camera or microphone?

    IS there any way i can make something appear on the external screen or use the camera or microphone?

  • Every time i send a text phone sends 3

    every time i send a text message my phone sends 3 of the same message to the person

  • VK11,

    Hi Experts, I have to create Condition Records using VK11. Please suggest me BAPI or function module for this, as i dont want to use bdc fot this. Regards Mohit

  • TX and RX on N210

    Hi I am a new user of USRP and GNU Radio.I want to transmit and receive signal at the same time on USRP N210 but while doing this I am getting a timeout error Traceback (most recent call last):   File "/home/ubuntu/Desktop/top_block.py", line 78, in

  • Creating Material Using BAPI

    Hi Friends, I want to create a material using BAPI, can anyone give me some sample program or can any one give me links which earlier posted this problem. Points for sure for sample program. thanks and regards Vijaya