Infotype 0000 - FM for Inserting records ?

Hi ,
Can anyone tell me which FM I can use to insert a
record into IT0000 with a Z-action type without
casing any data discrepancy ?
Thanks a lot.
Regards,
Sandip.
<removed_by_moderator>
Edited by: Julius Bussche on Jan 20, 2009 11:29 AM

Thank you for answering.
I have tried using LSMW with Idoc messages and recordings but with no success.
I also tried using HR_INFOTYPE_OPERATION to put a hiring action into infotype 0000 but i get an error message 'Personnel number not yet assigned'.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
      infty         = '0000'
      number        = '310'  "New external personnel number
      record        = data_for_infoset_0000
      operation     = 'INS'
      validitybegin = '01011970'
      validityend   = '01019999'
    IMPORTING
      return        = p
      key           = t_p.
Can i use HR_INFOTYPE_OPERATION to hire new employees, and how can i do it?
Now I think my only hope is RPUSTD00, so i wan't to try it.

Similar Messages

  • JavaScript Error when adding the Server Behaviors for insert Record in php_mysql

    Hi guys,
    I am using Adobe DreamWeaver CS4.
    Here is the Scenerio, i am doing  php mysql driven website.
    While adding the server behavior for insert record i got following error
    Plz help me..
    Thanks in Advance
    RafelNash

    Have you found a fix to this??

  • Exist RFC Function or Bapi for insert Records form a external program?

    i create a Ztable same as tell me here:
    http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
    5 String Fileds 2 Date Fields 2 Numeric Fields
    my question is exist a RFC Function or Bapi for insert Records form a external program (Delphi/Visual Basic)?
    Any advices?
    Thanks.

    hi madhurao123 thanks for answer.
    But Why block the Thread?
    This question is no so basic, yet never learn, the forum must be open to these questions maybe open a forum somewhere basic but must be able to do these basic questions.
    IT Toolbox commented the same thing, but if not here or ITtoolbox or where else can ask basic questions?
    Advise me, thank you.

  • Task-flow for inserting record in a popup

    Hi all,
    I am using Jdeveloper 11.1.1.0.
    I have a page with a lot of panelTabbed that displays a lot of data of a table.
    I would like to have a button that show a popup and launch a task-flow for inserting data in the table in more steps.
    I have created:
    1) one fragments for every inserting step
    2) a bounded task-flow having an activity (createInsert before the activities (fragments) to insert a new record), with a task flow return (cancel and commit) to save or rollback the data.
    3) obviusly, a button that show the popup for inserting a new record. I have inserted the task-flow defined in 2) as a region in the dialog of my popup.
    When I launch my page:
    1) I see an empty form (instead of seeing the first record)
    2) the data inserting on the popup are not saved
    3) the second time I try to launch the popup, I see nothing, only the OK button of the dialog.
    I know, in the new version of Jdeveloper it is possible to insert a task flow in a popup, but is it possible, in the previous (my) version?
    Thanks
    Andrea

    1) You are seeing an empty form because you are probably calling CreateInsert method of your data control. You should call it only if you are going to create a new record. Also, if this is a new record, you should not show the tabs below. In my case, i am doing like this:
    There are 3 pages, ListPage, CreatePage and Edit Page.
    User first enters to List page (because it is the default activity in taskflow), to list Master records in a table. There are also 2 buttons, Create and Edit. If Create button is clicked, CreateInsert method is invoked and then CreatePage is called. In create page, there are only 1 form of Master's attributes. After user commits, taskflow redirects the page back to ListPage.
    If user selects a row in list page then press Edit button, EditPage is called, but without calling a CreateInsert method. You don't have to invoke any methods if your table in ListPage has a SelectionListener (which is set by default).
    in launch listener, you can run a method like this:
    public void saveState(LaunchEvent launchEvent) {
    DCIteratorBinding ib = ADFUtils.findIterator("YourMasterIterator");
    RequestContext requestContext = RequestContext.getCurrentInstance();
    //we save key.
    String key = ib.getCurrentRow().getKey().toStringFormat(true);
    requestContext.getPageFlowScope().put("yourKey", key);
    and in return listener:
    public void loadState(ReturnEvent returnEvent) {
    RequestContext requestContext = RequestContext.getCurrentInstance();
    if (null == requestContext.getPageFlowScope().get("yourKey"))
    return;
    DCIteratorBinding ib = ADFUtils.findIterator("YourMasterIterator");
    if (null != ib)
    ib.setCurrentRowWithKey((String)requestContext.getPageFlowScope().get("yourKey"));
    You can find ADFUtils.java and JSFUtils.java in Store Front Demo project and some other sample projects.
    2) About the X button... This is the biggest problem of inline-popups. As far as i learned from people in this forum, it is not possible to remove that if you use an inline-popup. And it does not invoke returnListener. But, it does a rollback! I think it is a big problem and i am hoping to find a solution too. Using a popup component instead of inline-popup as dialog can be a workaround.
    user10799119 wrote:
    Hi Deniz,
    thank you for you reply.
    My task flow is sharing data controls with its caller, because main page displays updatable record, while the button launch a task flow in the popup to create a new record of the same table.
    I have understood what you are saying (save the current key when I launch the popup and restore the key when I return from the popup), but:
    1) when I enter in the main (caller) page, I see an empty form, and not the first record of my table. Why?
    2) the returnListener works even if I close the dialog with the "x" (in the up-right angle of the dialog) or only with its buttons?
    3) where can I find the code/links/examples/guides to implement launchListener and the returnListener for my button?
    Thank you
    Andrea
    Edited by: user10799119 on 2-dic-2009 05:26
    Edited by: user10799119 on 2-dic-2009 05:31Edited by: Deniz Gulmez on 02.Ara.2009 09:52
    Edited by: Deniz Gulmez on 02.Ara.2009 09:58

  • Polling database for inserted records

    I have to poll database for records insertion.The thing is that the field on which i am updating the sequence table is not generated sequentially and there is no other field which can be used for this purpose and also i cannot add any more fields in the table to use logical delete.So how i can still poll for new records added.

    You could use a trigger on your table to populate another table - and on this table have a logical delete column, You can define a view over the two tables and poll that view.

  • How to make the Tabular Form for Inserting records only?

    Hello Experts
    I need to create a Tabular form page to use it to insert records only. I do not want to update or delete records. I want the user to fill some fields and then validate it and submit. Also, I need to add a field that shows the sum of a specific field of the added records.
    Thanks a lot for all your help.

    UPDATE_LTD
    For Maintain subset of data (Update selected data)
    SHOW_LTD
    Display subset (Display Selected Data)
    TVIMV-VARIANT
    Variant name. Use variant (only with UPDATE_LTD, SHOW_LTD and TRANSP_LTD)
    For more information refer the below link
    [Maintain parameter transaction code|http://help.sap.com/saphelp_webas630/helpdata/en/a7/5134f9407a11d1893b0000e8323c4f/content.htm]
    Hope this helps.
    Thanks.,
    Balaji

  • BAPI req for inserting records in PA2002 table

    Hi,
    I need a BAPI for uploading data from XI to PA2002 table. I need suitable BAPI for inserting in PA2002 table so that i can view the result in PA30 under 2002 IT and 0800 subtype. I have to insert pernr,begda,endda & working hours.
    Kindly help.
    Thanks,
    Ramesh

    Hello Ramesh,
    I dint find any Standard BAPI . But i think you can use this following code and Create a RFC (or) BAPI.
    http://diocio.wordpress.com/2007/04/27/sap-abap-insert-infotype-data-with-maintain-text/
    regards
    Gangaprasad

  • BAPI or Function Module for inserting record in any " Org. Mgmt" Infotype

    Hi All,
    I am working on HR-ABAP.
    I wanted to know the name of the <b>BAPI </b>or the <b>Function Module.</b> that can be used to insert the records in any of the <b>Organization Management</b> Infotype, particularly in the <b>Planned Compensation</b> infotype HRP1005.
    It is Quite Urgent. Kindly drop ur post if u have any idea even.
    Thanks and Regards
    Ajay

    RH_INSERT_INFTY
    Regards,
    Amit
    Reward all helpful replies.

  • Which builtin to used for inserting record

    iam using forms 6i ,i need to add a trigger in when-button-pressed that will insert a new record in the form,,insert_record is restricted only for use in on-insert trigger,the case is not with delete_record built in,,which buitlin to use? thx in adv

    Amit,
    if the record should be added to a table then you navigate to teh block, go to the last record, call "next;" and then add teh data to teh individual fields.
    Frank

  • How do I create a storedprocedure for inserting records using UserId?

    micah D

    Authentication and interaction are two seperate topics.
    How are you managing your authentication? Via SQL Server? Inside your app? Using Active Directory?
    The insert proc itself isn't a big deal. You'll have to provide the user a form within your app to submit the data, and probably pass it to your proc as variables:
    CREATE PROC createCustomer (@firstName VARCHAR(30), @lastName VARCHAR(30), @phone VARCHAR(15), @address1 VARCHAR(30), @address2 VARCHAR(30), @city VARCHAR(30), @state VARCHAR(30), @zip VARCHAR(10), @userID BIGINT)
    AS
    BEGIN
    INSERT INTO myCustomerTable (firstName, lastName, phone, address1, address2, city, state, zip, userID)
    VALUES (@firstName, @lastName, @phone, @address1, @address2, @city, @state, @zip, @userID)
    END
    This is assuming of course, that the information will be passed from your app to the proc using something like:
    createCustomer @firstName, @lastName, @phone, @address1, @address2, @city, @state, @zip, @userID

  • Insert record in INFOTYPE

    I have not worked wiith infotypes...Please guide me...
    I have created Employee infotype with number 9035.
    I added that structure in the standard infotype table PA9035 (HR Master Record: Infotype 9035)
    in that standard infotype some other SAP includes are also there.
    I want to insert some records based on some logic in my include Infotype. How to insert records in that include...?
    since in the other include some P.K fields are there..But i dont have value for all the p.k's. I can pass only PERNR value(one of the P.k's).... so how can i insert a record in that infotype??
    Please help me..
    Regards,
    Thendral.

    Hello Elan
    It all depends on how you want to insert records to your infotype.
    Say if you want to insert data programmatically you can use the FM HR_INFOTYPE_OPERATION by passing the data in the infotype structure namely P9035 (...in your case)
    If you want to insert records through transaction then you can do it through tcode PA30, you have to enter the personnel number and the infotype 9035 in the field provided on screen. Then you can choose the Create button to insert the data.
    Regards
    ~ Ranganath

  • Inserting record in udo

    I have created a Emp table as,
    CREATE TABLE [dbo].[@EMP] (
         [Code] [nvarchar] (8) COLLATE SQL_Latin1_General_CP850_CI_AS NOT NULL ,
         [Name] [nvarchar] (100) COLLATE SQL_Latin1_General_CP850_CI_AS NULL ,
         [DocEntry] [int] NOT NULL ,
         [Canceled] [char] (1) COLLATE SQL_Latin1_General_CP850_CI_AS NULL ,
         [Object] [nvarchar] (20) COLLATE SQL_Latin1_General_CP850_CI_AS NULL ,
         [LogInst] [int] NULL ,
         [UserSign] [int] NULL ,
         [Transfered] [char] (1) COLLATE SQL_Latin1_General_CP850_CI_AS NULL ,
         [CreateDate] [datetime] NULL ,
         [CreateTime] [smallint] NULL ,
         [UpdateDate] [datetime] NULL ,
         [UpdateTime] [smallint] NULL ,
         [DataSource] [char] (1) COLLATE SQL_Latin1_General_CP850_CI_AS NULL ,
         [U_Emp_Code] [int] NULL ,
         [U_Emp_Name] [nvarchar] (30) COLLATE SQL_Latin1_General_CP850_CI_AS NULL ,
         [U_Salary] [int] NULL
    I have created this table through sap b one i.e User Table Setup.The type of the above table is master.I have inserted Emp_Code,Emp_Name and Salary columns in the table.The code for inserting record in this table is as follows-
    Dim objUDO As SAPbobsCOM.UserTable
    Dim lngStatus As Long
    Try
                objUDO = oCompany.UserTables.Item("Emp")
                objUDO.UserFields.Fields.Item("U_Emp_Code").Value = 1
                objUDO.UserFields.Fields.Item("U_Emp_Name").Value = "Dilip"
                objUDO.UserFields.Fields.Item("U_Salary").Value = 1000
                lngStatus = objUDO.Add
                If lngStatus = 0 Then
                    SBO_Application.MessageBox("Record Added Successfully")
                Else
                    SBO_Application.MessageBox(oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    On execyting this code I got error as
    Invalid Code.
    How do I insert record in this table ?

    Hi,
    Add this code before add other fields
    objUDO = oCompany.UserTables.Item("Emp")
    objUDO.Code = 1                           
    objUDO.Name = 1
    objUDO.UserFields.Fields.Item("U_Emp_Code").Value = 1
    objUDO.UserFields.Fields.Item("U_Emp_Name").Value = "Dilip"
    objUDO.UserFields.Fields.Item("U_Salary").Value = 1000
    Code and Name is auto created by SAP when you add a user defined table and Code is the internal key. These 2 fields cannot be blank.
    Regards,
    Cherine
    Edited by: Cherine Chen on Feb 20, 2008 9:14 AM

  • QUERY FOR INSERT INTO  SQL TABLE

    Hi all,
    i want to insert some records into SQL table but not SAP database table. This table is only present in SQL database &
    not present in SAP database.
      i want to write a program in SAP to update the SQL table(not present in SAP database). is it possible?
       if yes, plz give me the query for inserting records into SQL table.
    Regards

    Hello,
    working on the same issue:
    Try this:
    DATA : Begin Of XY Occurs 1000,
            id(15)    TYPE C,
            Name(50)  TYPE C,
            ArtNr(50) TYPE C,
            lieferant TYPE I,
         End Of XY.
    Fill this internal Table with the SAP-Table
    START Connection to your Database
      EXEC SQL.
          Connect TO 'TEST_FH'
      ENDEXEC.
      IF SY-SUBRC EQ 0.
        EXEC SQL.
        Set Connection 'TEST_FH'     " <-- this is defines with TCode dbco
        ENDEXEC.
        IF SY-SUBRC EQ 0.
        Else.
          " OUT_Msg = '... won't connect'.
          Exit.
        EndIf.  " Else IF SY-SUBRC EQ 0
      Else.
        " OUT_Msg =  'Error at Set Connection Test_FH'.
        Exit.
      EndIf.  " IF SY-SUBRC EQ 0
    ENDE  Connection to your Database
    START Insert your table XY to an external database
        Loop AT XY.
          Try.
           EXEC SQL.
               INSERT INTO stoff
               (id, name , artnr, lieferant)
               VALUES
               ( :XY-ID,  :XY-Name, :XY-ArtNr, :XY-Lieferant )
           ENDEXEC.
           COMMIT WORK AND WAIT.     " <=== Maybe VERY important
          CATCH cx_sy_native_sql_error INTO exc_ref.
              error_text = exc_ref->get_text( ).
              Concatenate 'Table-INSERT: ' error_text Into error_text.
              MESSAGE error_text TYPE 'I'.
          ENDTRY.
        ENDLoop.     " Loop AT XY     
    END   Insert your table XY to an external database
    START: Clear Connection
        EXEC SQL.
          DISCONNECT 'TEST_FH'
        ENDEXEC.
    END : Clear Connection
    Hope it works
    Best wishes
    Frank

  • Adding Form for insert into Ext Js Layout

    Hi all,
    How to adding form for insert record into EMP table
    +[http://apex.oracle.com/pls/apex/f?p=43040:7|INSERT EMP]+
    into Ext JS layout with one Array Grid report from EMP ?
    +[http://apex.oracle.com/pls/apex/f?p=43040:5|ExtJS layout EMP report]+
    (this is extend threat from
    Re: ExtJS report with JsonStore -examples? apex and extjs grid table]
    implements by munky)
    regards,
    Gordan
    Edited by: useruseruser on Aug 3, 2010 9:17 AM

    Hi Gordan
    Just for information, the link syntax doesn't work on the forum anymore, just paste the link in with no tags or brackets and it will be 'clickable'.
    Exactly what are you trying to achieve here?
    Have you had a look at these sites which may be of some use to you...
    http://oracleinsights.blogspot.com/ - Mark Lancaster
    http://application-express-blog.e-dba.com/ - e-DBA (Matt Nolan)
    http://apex-at-work.blogspot.com/ - Tobias Arnhold
    Cheers
    Ben

  • Table maintenance inserted records @ translation possibility

    Hi,
    I have created a table maintenance generator for a Z table and created a transactionfor it. 
    My requirement is that, for inserted records from transaction, should allow to include the translation possibility. I have check Table maintenance transaction screen from menu, translation button is in inactive (Gray colour).
    How to solve this?  Kindly Suggest.
    Thanks in advance....
    Thanks & Regards,
    Shaik

    Translations are posible only when you have a Text table related to the main table. First step is to create a text table which is related to the main table with foreign key relation and then creating a view cluster above both of these tables showing the main table entry as parent and the translatable column as a child. By doing this you can  maintain multiple language texts for each of the key in the main table using this view cluster. This is one of the solutions to your problem.

Maybe you are looking for

  • Satellite A300 thinks button is held down and won't start up (long)

    Hey sorry this is so long but I would really love some help, Ok so I was just wondering if there is a way to fix this... I was on my Satellite A300 (just over a year old) last night playing the Left 4 Dead 2 Demo using the Stream network and all of a

  • External hard drives no longer working in Mavericks - HELP!  I need my data...

    Hello I recently upgraded to Mavericks (10.9.2) and this morning I was trying to find some files so connected my external hard drive (back-up 1).  Light went on...nobody home.  The drive didn't register as it had done last week.  In my hurried state

  • BB pearl 8100 upgrade

    how can I perform an upgrade of the operating system to 4.7 or later? Updating certain applications is not supported by the current one Pearl has got.

  • Run a section of code a certain time of day

    I have a problem which I am stuggeling to get right. At a certain time of the day, the process must run a verification sequence which must be completed. I was thinking about using two time values, the one being the actual time and the other being the

  • Unable to transfer library to ipod

    this sounds simple enough. I have a 60G Ipod. I have already transferred about 5G onto it but now it will not work. It goes through the upload process but when I disconnect my ipod....my new music is not there. what is the problem?