How to copy LSMW Recording to SHDB

Hi
I created some complex Recording in LSMW , now i need to use this recording in SHDB (to make an ABAP program for use BDC) ; but this LSMW recording does not appears in SHDB.
Does somebody knows how can i copy to SHDB some recording created in LSMW ?
Any help will be appretiated.
Regards
Frank

Hi Frank,
The only solution I see is to download LSMW project, only the recording, open it and work out the file in Excel to format the columns as to the upload file format in SHDB.
Regards,
Edgar

Similar Messages

  • How to copy last record to a new record ?

    Hello,
    i have a question pls.
    i want to copy last record to every new record
    say,
    multirecord forms has : Tank_no Last_measured Lab_Denisty
    record1 : 1009aw 1532.94 .5796
    what i want to do next record is copying last record (record1 ) as
    record2 : 1009aw 1532.94 .5796
    so the user may change the Last_measured only and not to have to rewrite the Tank_no and the Lab_Denisty cause it doesn't change.
    May i do this ? if yessss, but How..?
    Regards,
    Abdetu..

    Hello poelger
    i check it then found the following code :
    DUPLICATE_RECORD Examples /*
    ** Built-in: DUPLICATE_RECORD;
    ** Example: Make a copy of the current record and increment
    ** the "line_sequence" item by one.
    DECLARE
    n NUMBER;
    BEGIN
    ** Remember the value of the 'line_sequence' from the
    ** current record
    n := :my_block.line_sequence;
    ** Create a new record, and copy all the values from the
    ** previous record into it.
    Create_Record;
    Duplicate_Record;
    ** Set the new record's 'line_sequence' to one more than
    ** the last record's.
    :my_block.line_sequence := n + 1;
    END; but then which trigger best fit the procedure should i use
    w-c-r or w-n-r-i Triggers
    and what is meant by line_sequence pls. ?
    Regards,
    Abdetu..

  • How to copy a record into a new one

    I would like to copy a whole record into a new one. Duplicate_Record doesn't help, because I do not necessarily want to copy the last record, but any record.
    The user should be able to open a record and then call "copy" and the current record is beeing copied into a new one. The user can also choose "new record" and nothing will be copied into the new record.
    So, if I want to copy the record, it's always the last one that has been opened.
    Should I save the values from the last record in globals and pack them into the new record?

    Sorry, the data is very complex, so I can't give an example. But to say it in a simpler way: I would like to copy any record, opened by the user. But not the last record in the database -> therefore I can't use duplicate_record.
    Hope it is clearer this time?still you have not given the data and output which you want.
    But not the last record in the database
    what did you mean here...
    oracle doesnt have a track of the records which were inserted to the db.

  • How to copy a record with an Automatic Row Processing (DML) ?

    Hi,
    I want to duplicate (to copy) a record.
    I have a form, with an Automatic Row Processing (DML), looking for the PK stored into an item named P26_ID and populating the values into the corresponding items of the form.
    I have an Automatic Row Processing (DML) which permit to update, delete and modify the row.
    So far so good.
    I thought it would be good if I calculate a new value for the PK and stored it into the P26_ID.
    Then I thought the Automatic Row Processing (DML) would see that it is a new value for the PK and would "decide" insert a new record.
    But it does not work like that. I thought it was because the item P26_ID is database column type; so I switched to another item named P26_ID_NEW and put this new pk into this item. I then created another Automatic Row Processing (DML), triggered by this button, and which will look into this new item. It does not work either.
    Where do i go wrong ?
    Thank you for your kind help !
    Christian

    Christian:
    Assuming that the 'Duplicate' function is available only when the page is in 'Edit' mode, ie. a record has already been loaded into the form you can do the following to duplicate this record
    1) Define a button named 'Duplicate'
    2) Set the target of this button to be 'URL'
    3) Set the URL for this button to be
    javascript:duplicate();
    4) Add this bit of JS into the page HTML header<script>
    function duplicate() {
    $s('<name_of_PK_page_item>','');
    doSubmit('CREATE');
    </script>Varad

  • How to Copy LSO records of an employee to another employee

    Hi LSO Experts,
    I have a requirement to copy existing employee's LSO records andassign the same to another employee. This scenario comes in when same guy is rehired with a Wrong iring action (having a new Pernr). Thus we need to allocate all his previous training details to this new pernr.
    I think FM LSO_GET_BOOK_PARTICIPANT will provide all training records details of a guy. However, what should be the appoach to copy these records to a brand new Pernr ?
    While digging up deep, I found, linking with LSO records with PERNR lies in the table HRP1001 and hrpad614. However linking field between these two tables are auto generated by SAP.
    I want to transfer all existing records of one employee to another employee. Please let me know the right aproach.

    Hi LSO Experts,
    I have a requirement to copy existing employee's LSO records andassign the same to another employee. This scenario comes in when same guy is rehired with a Wrong iring action (having a new Pernr). Thus we need to allocate all his previous training details to this new pernr.
    I think FM LSO_GET_BOOK_PARTICIPANT will provide all training records details of a guy. However, what should be the appoach to copy these records to a brand new Pernr ?
    While digging up deep, I found, linking with LSO records with PERNR lies in the table HRP1001 and hrpad614. However linking field between these two tables are auto generated by SAP.
    I want to transfer all existing records of one employee to another employee. Please let me know the right aproach.

  • LSMW recording from SHDB

    hi friends,
    1.can i connect recording which is there in SHDB tcode
    to LSMW[if yes plz tell me how]
    2.in new creation of LSMW can i copy the required steps alone from old LSMW
    3.i have one error in MY LSMW 1st step recording
    remaining steps r correct.how to correct that error in recording
    thanke in advance
    soorya

    hi

  • How to copy existing record

    Hi All,
         i have one form which displays values from differnt tables. It show only 2 values from table "identification", depending on the value shown to user user will click button "Copy". Now i want to copy the current record from identification table and using these values new record will be created in identification table but i want to change the value of one column 'ident_c' to 'N' this value is static, "Identification" table has Composite Primary Key on two column includes ident_c.
         How can achieve this.
    Regards
    Rupesh.

    hi,
    Dont know whether this will help you..
    You need to do this manually.
    Create plsql process for the copy button pn submit computation.
    source
    declare
    V_column2 type%table.columnname;
    V_columnN number;
    begin
    select column2,column3,...column N into V_column2,V_Column3...V_columnN from identification where primarykeycolumnname=:P1_PKcolumnname; -- you need to pass correctly
    insert into identification(primarykeycolumn,ident_c,column2,...column N)values(seqname.NEXTVAL,'N',V_column2,..V_columnN);
    end;
    when the user click copy button the passed primary key row will get insert with new seq value and static 'ident_c' ='N'.
    is this your are focusing to get?
    thanks
    Mark Wyat

  • How to copy recorded live stream to new drive

    I was wondering if anyone out there knows how to copy a recorded live stream to a new drive on the server?  I can copy the file within the virtual app directory but not to another drive.
    The only solution i found was to edit the application.xml:
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
        </StreamManager>
    But unfortunately i need to rename the file once its recorded, and i'm having a hard time accessing that drive/directory where the file is located.
    Any help is greatly appreciated.
    thanks

    Hi,
    What I understood from your query I am providing you a solution:
    1. You can use the below to copy recorded live stream to new drive/directory in Application.xml
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
    </StreamManager>
    2. By default, a script can access files and directories only within the application directory of the hosting application. A server administrator can grant access to additional directories by specifying virtual directory mappings for File object paths. This is done in the FileObject tag in the Application.xml file, as shown in the following example:
    <FileObject>
          <VirtualDirectory>/_definst_;e:\Sync\_definst_\</VirtualDirectory>
    </FileObject>
    3. Create one application folder suppose test and then create main.asc file inside that which will have the below code
    application.onConnect = function(client) {
    application.acceptConnection(client);
    var fileObj = new File("_definst_");
    var fl = new Array();
    trace("File name : " + fileObj.toString());
    if (fileObj != null)
      if (fileObj.isDirectory)
       fl = fileObj.list();
       for (i in fl)
        trace("Directory : " + fl[i].name);
        if (fl[i].isFile)
         trace("File : " + fl[i].name);
         trace(fl[i].renameTo("dvrstream"+i));
        }//if closes
       }// for closes
      }//if closes
    }//if closes
    }// application closes
    This server side application rename files but since the folder which we had to access was outside application directory of the hosting application we had to map it using step 2.
    If this solution does not answer your query please be more ellaborative on what exactly are you trying to achieve. That will help me to answer your query correctly.
    Regards,
    Amit

  • LSMW- Recording : Multiple Line Items

    I am trying to create an LSMW recording that simulates transaction O3I7.
    The thing is that we have different line items. This is similar to a sales order where we have header details and items details.
    I created a recording. Then I created two structures. One header Structure and one Item structure. I define the specific header fields under the header structure and the item fields under the item structure.
    However LSMW gives me an error. Because in LSMW each recording is considered as one target structure. I can't have more source structures than Target structures. Since I have One recording LSMW gives me an error.
    I tried to create two recordings but this does not work since LSMW will read each one as a different transaction.
    Does anyone know how to create LSMW recording with multiple line items so he/she can help?
    Thx

    Hi,
    Not sure about the transaction that you have mentioned. However, in LSMW recording, you can load the items along with the header in 2 steps using 2 data files.
    Step1: Create the header along with the first line item. Here you use a file which contains the header data along with the first line item data.
    Step2. Add subsequent line items to the header. In this case you need to enter the transaction in change mode. The data file may contain items data only. Please be sure to have an identifier at header level to add the items in that specific document.
    Hope this helps.
    Best Regards, Murugesh

  • How  to  copy  the  table1selected  records into table 2 in webdynpro java.

    Hi 
           how  to  copy  the  table1selected  records into table 2 in webdynpro java.
    venkat
    Edited by: venkatpvr on Sep 23, 2011 11:53 AM

    Hi Venkat,
    You have 2 Value Nodes one for Table1 and second for Table2.
    Table1 node having one more Value Attribute i.e check Box data type is Boolean. Now you are requirement are select records from Table1 Node and click on One Method that records will moves to Second Table2 Node.
    Create One Method for getting the Records from 1-Table to 2-Table
    CopytoTable2 ()
    In this method you have to write code like this
    If (wdContext.nodeTable1.Checkbox(true))
    If(1. Check the Table1 Value Node Size()>0)
    Get the Table1 records and set to table2 Value node.
    Else
    Please select check box// Error message
    Hope this helps!!
    Regards
    Vijay K

  • How to upload data for me01 using lsmw recording method

    *dear expert please tell me the complete procedure for how to upload data in me01 transaction using lsmw recording method.
    Moderator Message: Duplicate post locked.
    Edited by: Vinod Kumar on May 8, 2011 7:56 PM

    Hi,
    To be honest I don't understand your question. When You execute LSMW and create project, then all steps are shown in a very clear way with good description. With which one you have problems?
    Best regards
    Marcin Cholewczuk

  • How to copy a LSMW

    Hello
    I've a problem copying a LSMW.
    I've distinct projects (each one with a subproject) and I want to copy all the subprojects under one unicque project, so anybody can tell me how to copy one subproject from one LSMW to another?
    Thanks in advance.

    Ok Ravi,
    I have copied the subproject to another project but a warning message appears advicing me that the rules will not be copied.
    What does this message mean? How i can import this rules?
    Thank you!

  • How to handle table control in lsmw recording method

    hi expert please tell me the procedure for how to handle table control in lsmw recording method
    Locked for same reason as how to upload data for me01 using LSMW BDC METHOD
    Edited by: Matt on May 9, 2011 8:52 AM

    Sri,
    just search in SDN search box by giving table control in lsmw you will get hell lot of threads for same.
    Amit.

  • HOW TO DOWNLOAD ERROR RECORDS IN LSMW

    hi abap gurus ,
    i have 2 queries .
    1) first of all how  to identify error records while running in background while using predefined progrmmes .
    2) if there are any error records how to download those error records , can any one give the logic to download the error records while handling LSMW with predefined programmes or
    bapis .
    regards ,
    dinesh .

    1) first of all how to identify error records while running in background while using predefined progrmmes .
    If there is a session for that u can moniter the session in SM35 for the error records.....
    2) if there are any error records how to download those error records , can any one give the logic to download the error records while handling LSMW with predefined programmes or
    bapis .
    Hi,
    In the field mappings and conversion rules,
    in the global section,define an internal table.
    data : begin of it_errors occurs 0,
    desc type string,
    end of it_errors.
    and where ever you have wrong or empty values for the fields,populate error there to the internal table.
    for example, if Material no is blank,i have to give err msg
    IF NOT MATMAS_MRPVIEW-MATNR IS INITIAL.
    BMM00-MATNR = MATMAS_MRPVIEW-MATNR.
    else.
    IT_ERROR-DESC = 'Material no is empty'.
    append it_error.
    SKIP_RECORD. "to skip further processing of this error record.
    ENDIF.
    like this you populate all the error records to that IT_ERRORS internal table.
    and finally download it using GUI_DOWNLOAD in the event
    '__END_OF_PROCESSING__'
    there is another way also, you can create a Session in the LSMW, and record the error records in the session then process the error records in the session
    Hope you got it
    ~~Guduri

  • SHDB vs LSMW recording

    Hi, can anybody please tell the difference between SHDB recording vs LSMW recording?
    Thank you

    This is because of the change in screen.
    When you are doing recording for BDC only minimum necessary fields appear on the screen or you can say a different screen appears from the transaction screen.
    This also helps in avoiding complexities in BDC during background mode.
    Regards,
    Amit
    Reward all helpful replies.

Maybe you are looking for

  • Gmail ... IMAP ... Mac Mail.app ... Mavericks ... SOLUTION -1

    hi all, hopefully this will give you enuff info to figure out what to do (if anything), but i urge you to read thru the links below to see if you are experiencing the same issues or not, & if so, what to do about them. THE BACKGROUND INFO: i've been

  • Sharing more than 1 camera from PC

    Hello all, I have recently set up a BigBlueButton (www.bigbluebutton.org), further known as BBB, server running on a VM, the PC on which the VM is residing runs on Windows 7 Pro 64-bit. I have 4 webcams, all of them Logitech HD C270. I am working on

  • Application builder Error: Windows SDK function returned an error. (Error code -12) *** End Error Report

     try to create an installer in Labview 8.6.  The build fail and I got this message. CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi  >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CD

  • Dynamic columns in Business Workplace

    Hi All ,    We have an issue with Dynamic columns in Business Workplace ....We have changed the standard layout of the inbox with additional Dynamic Column with displays the Last Reserved By user of the Workitem... Issue is that - the value is not re

  • "Use all monitors" option missing in 8.0 Mac Client

    I'm using Mac Client 8.0.24091 with a mini display to VGA adapter and I don't see an option for 'Use all monitors' when I create connections to my work desktop with dual monitors. Can someone help me? Does the mini to VGA not support it?