How to add records in Infotype 1028

Hi Experts, I'm trying with Functions HR_INFOTYPE_OPERATION and RH_PNNNN_MAINTAIN,
I've no results.

Are you calling in sequence BAPI_EMPLOYEE_ENQUEUE, HR_INFOTYPE_OPERATION and BAPI_EMPLOYEE_DEQUEUE, of course do you check FM results, especially RETURN parameter.
If no error arise but data is not updated, you can call HR_INFOTYPE_OPERATION with DIALOG_MODE = '2'
Could also elaborate on
I've no results.
A little short to get good answers, are you unable to fill parameters, does your report execute but do not update database, does your program trigger a dump  (Read Asking Good Questions in the Forums to get Good Answers and similar discussions)
Regards,
Raymond

Similar Messages

  • How to add record in infotype 82 and correspondingly to infotype 2001?

    Hi All,
    I need to create leaves. I can do it by using "HR_INFOTYPE_OPERATION" and create records in infotype 2001.
    But I also need to create corresponding records in infotype 0082.
    I have the leave types as stored in infotype 2001, like PCPI, PVCL etc.
    But I found that the SUBTY value stored in infty 2001 is different from that stored in infty 0082.
    How can I find the relation between these two SUBTY so that I can create the records in both infotypes.
    Please reply back if someone knows how to create the leaves in these 2 infotypes.

    Hi Ganesh,
    I could get the relation between the SUBTY in infty 2001 and infty 0082 from the table T554S.
    But I could not add the records to the two infotypes simultaneously. I am adding them one after another.

  • How to add records or how to maintain list in stored Procedure

    Hi,
    I am facing an issue in the addition of record in the type
    create or replace
    TYPE               "PROD_SEARCH_COUNT_TBL"                                          AS TABLE OF PROD_SEARCH_COUNT_OBJ;
    create or replace
    TYPE               "PROD_SEARCH_COUNT_OBJ"                                          AS OBJECT
    ( /* TODO enter attribute and method declarations here */
        V_Name Varchar2(500 Byte),
        v_Value Varchar2(500 Byte),
        v_count Number
    I want to add records to the type I tried following way
    prod_wcf_rec PROD_SEARCH_COUNT_TBL;
      SELECT PROD_SEARCH_COUNT_OBJ('Name1','Value1',1) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name2','Value2',2) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name3','Value3',3) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name4','Value4',4) BULK COLLECT INTO PROD_WCF_REC FROM DUAL;
    DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
    FOR i in 1 .. prod_wcf_rec.COUNT
    LOOP         
    DBMS_OUTPUT.PUT_LINE (prod_wcf_rec(i).V_Name||' - '||prod_wcf_rec(i).v_Value||' - '||prod_wcf_rec(i).v_count);     
       END LOOP;
       DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
    In printing I am getting last records only .So is there any way to add records to PROD_SEARCH_COUNT_TBL
    How to add records or how to maintain list in stored Procedure

    Every time you BULK COLLECT into a collection type the value is overwirtten. So you need to try something like this.
    SQL> create or replace type prod_search_count_obj as object(v_name varchar2(500 byte), v_value varchar2(500 byte), v_count number)
      2  /
    Type created.
    SQL> create or replace type prod_search_count_tbl as table of prod_search_count_obj
      2  /
    Type created.
    SQL> declare
      2    prod_wcf_rec prod_search_count_tbl;
      3  begin
      4    select obj_val
      5      bulk collect into prod_wcf_rec
      6      from (
      7            select prod_search_count_obj('name1','value1',1) obj_val from dual
      8            union all
      9            select prod_search_count_obj('name2','value2',2) from dual
    10            union all
    11            select prod_search_count_obj('name3','value3',3) from dual
    12            union all
    13            select prod_search_count_obj('name4','value4',4) from dual
    14           );
    15
    16    dbms_output.put_line ('-----------------------------looping----------------------------');
    17    for i in 1 .. prod_wcf_rec.count
    18    loop
    19      dbms_output.put_line (prod_wcf_rec(i).v_name||' - '||prod_wcf_rec(i).v_value||' - '||prod_wcf_rec(i).v_count);
    20    end loop;
    21    dbms_output.put_line ('-----------------------------looping----------------------------');
    22  end;
    23  /
    -----------------------------looping----------------------------
    name1 - value1 - 1
    name2 - value2 - 2
    name3 - value3 - 3
    name4 - value4 - 4
    -----------------------------looping----------------------------
    PL/SQL procedure successfully completed.
    SQL>

  • How to upload records into Infotype 382(Awards)

    Hi,
      Could anyone suggest me how to upload records into infotype 382(Awards) of an Employee.
    For solutions points rewarded.
    Regards,
    Radhu

    Hi
    you can develop a <b>BDC</b> for transaction <b>PA30</b>
    using infotype 382.
    (or)
    can upload using batch input recording in <b>LSMW</b>.
    regards,
    Thangesh

  • How to add record in List Box in Screen Painter(SE51) ?

    I am not able to add record in List box in Screen Painter using se51 Transaction code.
    Regards,
    Nirav Desai

    Dear All,
        I found the solution.
    If you are facing same problem , follow the bellow steps.
    1. Declare in report.
    TYPE-POOLS: VRM.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    2. IN PBO Event.
    clear: list.
    NAME = 'TXT_PERIOD'.    " your screen field name
    VALUE-KEY = '1'.
    VALUE-TEXT = 'LINE 1'.
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'LINE 2'.
    APPEND VALUE TO LIST.
    VALUE-KEY = '3'.
    VALUE-TEXT = 'LINE 3'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING ID = NAME VALUES = LIST.
    Regards,
    Nirav Desai

  • How to add record in Qualified table using MDM Java API

    Hi experts,
    I am trying to add a record into a Table.
    but I am facing the problem in setFieldValue method.
    //Getting Field-ID to pass in setFieldValue() method.
    FieldId[] fields = new FieldId[6];
              fields[0] = repSchema.getFieldId("GTINs", "Description");
              fields[1] = repSchema.getFieldId("GTINs", "Unit_Descriptor");
              fields[2] = repSchema.getFieldId("GTINs", "GTIN");
              fields[3] = repSchema.getFieldId("GTINs", "Alternate_Item_Classifications");
              fields[4] = repSchema.getFieldId("GTINs", "Country_Of_Origin");
              fields[5] = repSchema.getFieldId("GTINs", "Bar_Coded");
    Record rec = RecordFactory.createEmptyRecord(mainTableId);
    rec.setFieldValue(fields, );
    but I am not getting how to assign the value to these fields using MDMvalue Interface.
    Can anyone provide me the code sample or Code flow so that I can do this.
    Plz help me it'll be great help for me.
    Thanks
    Tarun
    Edited by: Tarun Sharma on Feb 4, 2008 11:39 AM
    ==========================================================================================
    Hi Gurus
    I found the way to add the MDMValue in setFieldValue Method.
    we can set like this:
    setFieldValue(<fieldId object like fieldId[], <MdmValue like this> new StringValue("ABC"));
    Now I am facing problem in adding value to lookup flat table.
    According to the setFieldValue method we can assign the loookup like this:
    setFieldValue(<fieldId[0]>, new LookpValue(<here we have to pass the recordID of lookup table>);
    so I want to know how I can pass the recordId of lookup table here.
    Please suggest.
    Thanks
    Tarun Sharma
    Edited by: Tarun Sharma on Feb 4, 2008 3:15 PM
    Edited by: Tarun Sharma on Feb 4, 2008 3:25 PM
    Edited by: Tarun Sharma on Feb 8, 2008 6:58 PM

    Hi Andrea,
    I tried your suggestion but now i am getting Type Mismatch Error.
    Please suggest me what I can do?
    //TableId for Lookup[Flat].
    TableId lookupTableId = repSchema.getTableId("Return_Goods_Policies");
    FieldId[] ReturnGoodsPolicyTableIdFields = new FieldId[1];
    ReturnGoodsPolicyTableIdFields[0] = repSchema.getFieldId("Return_Goods_Policies", "Name");               
    Record recLookup = RecordFactory.createEmptyRecord(lookupTableId);
    try{
    recLookup.setFieldValue(ReturnGoodsPolicyTableIdFields[0], new StringValue("New_Brand"));
    }catch(Exception ex){
    System.out.println(ex);
    //Creating Record in Qualified Table - Request Details
    CreateRecordCommand createLookupcommand = new CreateRecordCommand(simpleConnection);
    createLookupcommand.setSession(session);
    createLookupcommand.setRecord(recLookup);
    createLookupcommand.execute();     
    //Getting the recordId of Lookup record.
    RecordId lookupRecordId = createLookupcommand.getRecord().getId();
    //Table Id for Qualified table.
    TableId  qualifiedTableId = repSchema.getTableId("Ext_Hardlines");
    FieldId[] ExtHardlinesFields = new FieldId[3];
    ExtHardlinesFields[0] = repSchema.getFieldId("Ext_Hardlines", "Name");//Text
    ExtHardlinesFields[1] = repSchema.getFieldId("Ext_Hardlines", "Pieces_Per_Trade_item");//Integer
    ExtHardlinesFields[2] = repSchema.getFieldId("Ext_Hardlines","Return_Goods_Policy");
    Record recQualified = RecordFactory.createEmptyRecord(qualifiedTableId);
    try{
    recQualified.setFieldValue(ExtHardlinesFields[0], new StringValue("Qualified Value"));
    recQualified.setFieldValue(ExtHardlinesFields[1], new StringValue("Qualified Description"));
    recQualified.setFieldValue(ExtHardlinesFields[2], new LookupValue(lookupRecordId));
    }catch(Exception ex){
    System.out.println(ex);
    //Creating Record in Qualified Table - Request Details
    CreateRecordCommand createQualifiedCommand = new CreateRecordCommand(simpleConnection);
    createQualifiedCommand.setSession(session);
    createQualifiedCommand.setRecord(recQualified);
    createQualifiedCommand.execute(); I am getting this Type match here, but i m not getting what mistake i did.     
    RecordId qualifiedRecordId = createQualifiedCommand.getRecord().getId();
    //Adding to Main Table
    TableId  mainTableId = repSchema.getTableId("GTINs");
    FieldId[] gtinsFields = new FieldId[1];
    gtinsFields[0] = repSchema.getFieldId("GTINs","Ext_Hardlines");
    Record recMain = RecordFactory.createEmptyRecord(mainTableId);
    //Adding the new record to Qualifed Lookup value and setting the Yes Qualifiers
    QualifiedLookupValue qualifiedLookupValue = new QualifiedLookupValue();
    qualifiedLookupValue.createQualifiedLink(qualifiedRecordId);
    try{
    recMain.setFieldValue(gtinsFields[0], new QualifiedLookupValue(qualifiedLookupValue));
    }catch(Exception ex){
    System.out.println(ex);
    CreateRecordCommand createCmd = new CreateRecordCommand(simpleConnection);
    createCmd.setSession(session);
    createCmd.setRecord(recMain);
    createCmd.execute();
    Could you help me out?
    Thanks
    Tarun

  • How to Add record to the ExcelUploadforVoucher.xls

    Hi,
    I got a work regarding "Voucher upload for Recorded Payments"
    Requirment: To allow the voucher upload process to pass the recorded payment information into PeopleSoft and create pre-approved, manual recorded vouchers.
    How:Utilize the existing PYMNT_VCHR_XREF staging table.
    so The upload spreadsheet( ie ExcelUploadforVoucher.xls ) will have the pymnt_vchr_xref staging table fields available for the user to select and populate .
    and The Generate and Post process will create XML language for the payment voucher xref table and pass to the Integration Broker.
    Because of which Voucher Build message('VOUCHER_BUILD') channel will need to be edited for the payment voucher xref table.
    And Voucher Build application engine('AP_VCHRBLD' ) will need to be modified.
    My Question : 1. How to Modify the Excel "ExcelUploadforVoucher.xls".
    2. Which part of Application Engine 'AP_VCHRBLD' is required to update because we are adding the fields of record PYMNT_VCHR_XREF'.
    3.Is it required to add the record PYMNT_VCHR_XREF to the message 'VOUCHER_BUILD'.
    Please help me. Thankyou

    Your options are very limited here, short of creating a datasource, Infopack, etc.
    If you don't have access to SM30, it is likely that you don't have access to SE30.  SE30, under the "Tips and Tricks" section, will give you the ability to write a SQL insert statement.  But again, I doubt you have access to ti.

  • How to add record to DBA_JOBS tables

    Hi:
    I would like to know how can I insert a new record to DBA_JOBS table ?
    Thank you for your time!

    I want to assing following update statemtnet and schedule it.. Should I create a SP for this update (Ex: MY PROCEDURE), and then passs it to the dbms_job.submit ?
    update rte_note set record_mode_code ='OFFICIAL'
    where record_mode_code = 'WIP' and sys_create_time + 1 <=sysdate;
    exec dbms_job.isubmit(784, 'MY PROCEDURE', SYSDATE);

  • How to add record voice over for a video file

    I have a video file (wmv) already prepared, and all I would like to now do is record a voice over for this file using Soundbooth CS4.  My hunch is that I need to import the video into a multi-track file, and then I expect I'll export the multitrack file back to the WMV when I'm done.  The problem is that when I hit the record button, I'm expecting to see the video playing but I don't.
    Is there a way to add a voice-over / narration to an exisiting video file (in this case a video file without an audio track at all)

    When you are recording, you are creating a new audio track and not playing the video, so you won't see it advance.
    Best bet is to open the video in WMP, and record your audio in SB while it plays, to get the timing right, then open the video in SB and past the recording into it.
    I'm not sure, but I believe the reason you can't play the vid and record at the same time is in case someone is recording new audio for a clip that has audio in it already, the old audio would play at the same time the recording is taking place and would screw it all up, so it either records one or plays the other, but not both at once.

  • How to add comments in Infotype 24

    hi experts,
    I have a query on adding comments after saving the qualification in infotype 24.
    Is there any function module to add comments?
    the comment is an input from the portal which needs to be saved in infotype 24.
    Can anyone help me?
    Its urgent.
    I am creating function modules for my project

    Pl check this <a href="https://forums.sdn.sap.com/click.jspa?searchID=2831192&messageID=3310490">Thread</a>.
    ~Suresh

  • How to add a standerd infotype infotype (eg IT1000) in PA40 ?

    Hi Seniors,
    1.  When I try to create a relationship in PA30, it shows 'No infotype exist for corrector string 100' (it shows the same if I try any OM IT).
    I tried to create 1001 in PA >> Customizing Procedures >> Infotypes
    but it shows "choose the key from allowed namespace".
    Please throw some lights on this...
    2.  Also I need to get IT0021after IT0002, if the employee is married. Let me know the process for dynamic actions.
    Thanks in advance
    Thomas

    I dont think you can create OM  relationships in PA.
    Remember PA and OM are different components.
    Only person position relationship is created when you attach or change a position to person on IT 0001. And for that PA-OM integration should also be active.
    cheers
    AJ

  • Regarding how to add the letters(forms) to the infotype?

    hi ,
    in my requirement is creating new infotype with adding the Letters(forms) .
    how to add the lettersto infotype.
    thanks & regards,
    srinu.

    Hi,
    Follow this link.
    Create infotype 9100 for letters
    Hope this will work you.
    Regards:
    Alok

  • How to Add data in HR infotype 2011 through ABAP

    Hi All,
    Can any one please give me an idea about how to insert time record in Infotype 2011 through ABAP. I cannot use the front end recording (SHDB) as it locks the person's master data. I need to Add the record through ABAP Query. I have inserted record in Table TEven and it works fine but then there is a conflict of sequence number field and system does not allow to change the data in infotype 2011 and gives error message.
    Thanks

    Hi amit
           even i have same requirement i tried with the same code but i'm getting error No data stored for infotype 2011 in the period.
    code:
       CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number        = wa_modify-pernr
           IMPORTING
             RETURN        = return
          clear return.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty                  = p_infty
              number                 = wa_modify-pernr
    *         SUBTYPE                =
    *         OBJECTID               =
    *         LOCKINDICATOR          =
    *         VALIDITYEND            = wa_modify-ldate
    *         VALIDITYBEGIN          =
    *         RECORDNUMBER           =
              record                 = wa_modify
              operation              = 'MOD'
             TCLAS                   = 'A'
             DIALOG_MODE             = '0'
    *         NOCOMMIT               =
    *         VIEW_IDENTIFIER        =
    *         SECONDARY_RECORD       =
           IMPORTING
             RETURN                 = return
    *         KEY                    =
          CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
            EXPORTING
              number        = wa_modify-pernr
    *       IMPORTING
    *         RETURN        =

  • How to add a checkbox to dynamic itab  so that i can select some records

    How to add a checkbox to dynamic itab  so that i can select some records in the alv and can display them in another alv using a button
    I have requirement where i have to display the dynamic itab records in an alv ....Some records from this alv output has to be selected through checkbox  provided in the first column .( I will get to know the structure of the itab only at runtime ,so iam using dynamic itab)

    Hi,
       I tried and finally i got it , Just try for it.
    type-pools : slis.
    PARAMETERS : p_tab type dd02l-tabname.
    data : ref_tabletype  type REF TO cl_abap_tabledescr,
           ref_rowtype TYPE REF TO cl_abap_structdescr.
    field-symbols  : <lt_table>  type   standard TABLE ,
           <fwa> type any,
           <field> type abap_compdescr.
    data : lt_fcat type lvc_t_fcat,
           ls_fcat type lvc_s_fcat,
           lt_fldcat type SLIS_T_FIELDCAT_ALV,
           ls_fldcat like line of lt_fldcat.
    data : ref_data type REF TO data,
            ref_wa type ref to  data.
    ref_rowtype ?= cl_abap_typedescr=>DESCRIBE_BY_name( p_name = p_tab ).
    TRY.
    CALL METHOD cl_abap_tabledescr=>create
      EXPORTING
        p_line_type  = ref_rowtype
      receiving
        p_result     = ref_tabletype.
    CATCH cx_sy_table_creation .
    write : / 'Object Not Found'.
    ENDTRY.
    *creating object.
    create data ref_data type handle ref_tabletype.
    create data ref_wa type handle ref_rowtype.
    *value assignment.
    ASSIGN ref_data->* to <lt_table>.
    assign ref_wa->* to <fwa>.
    loop at ref_rowtype->components ASSIGNING <field>.
      ls_fcat-fieldname = <field>-name.
      ls_fcat-ref_table = p_tab.
      append ls_fcat to lt_fcat.
    if lt_fldcat[] is  INITIAL.
        ls_fldcat-fieldname = 'CHECKBOX'.
        ls_fldcat-checkbox = 'X'.
        ls_fldcat-edit = 'X'.
        ls_fldcat-seltext_m = 'Checkbox'.
        append ls_fldcat to lt_fldcat.
      endif.
      clear ls_fldcat.
      ls_fldcat-fieldname = <field>-name.
      ls_fldcat-ref_tabname = p_tab.
      append ls_fldcat to lt_fldcat.
    endloop.
    loop at lt_fldcat into ls_fldcat.
      if sy-tabix = 1.
        ls_fldcat-checkbox = 'X'.
        ls_fldcat-edit = 'X'.
    modify lt_fldcat FROM ls_fldcat
        TRANSPORTING checkbox edit.
    endif.
    endloop.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog           = lt_fcat[]
      IMPORTING
        ep_table                  = ref_data.
    assign ref_data->* to <lt_table>.
    select * FROM (p_tab) into table <lt_table>.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       IT_FIELDCAT                       = lt_fldcat[]
      TABLES
        t_outtab                          = <lt_table>.
    Thanks & Regards,
    Raghunadh .K

  • How to add a record in document library without upload file.

    Hi,
    how to add a record in document library without upload file?
    Is it possible? I want to create a folders in Document Library but inside folders i do not want to upload a file instead of just i want to create a record. I will map my local file path to the records.
    Can anyone help me on it?
    Thanks & Regards
    Poomani Sankaran

    Hello Sankaran,
    document library is to upload documents, without document you will not be able to add a record or Item to it.
    for your requirement you can use a list and enable folders within the list and maintain the local path of the file as an item in list.
    http://www.sharepointbriefing.com/spconfig/article.php/3834951/Enable-the-New-Folder-Creation-Option-in-SharePoint-Custom-Lists.htm
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • Problem during  Data Warehouse Loading (from staging table to Cube)

    Hi All, I have created a staging Module in owb to load my flat files to my staging tables.I have created an Warehouse module to load my staging tables to Dimension and Cube that I have created. My senario: I have a temp_table_transaction which had lo

  • ONE-to-MANY relationship between tables and forms in APEX

    I recently started using APEX and I have run into an issue. I have a ONE-TO-MANY relationship between two tables, A1 and A2, respectively. A1: A1_ID Item A2: A2_ID SubItem A1_ID I have 2 forms (lets call it F1 and F2) that I use to capture data for A

  • Problem hiding Tabs in Tabstrip of My Trips and Expenses WD ABAP iView

    Hi, My requirement is to hide the thet tabs ALL MY Trips,All my Travel REquest,All my travel Plans,Pending expense report from the tabstrip ALl my Expense report in Travel and Expense Application. I have gone through the thread and the sap note menti

  • Open Customer for Multiple Sales Areas

    We need that when we save a customer from a specific sales area this customer will be opened automaticly in several sales areas and company codes (because of buisness reasons we do not use consumers). I was not able to find a function/BADI that gives

  • Forms 6i to 10g Migration Questions

    Hi, My company is thinking about migrating Forms 6i to 10g. I wonder if you can share some of your experience with us (and with thousands of others who will also face the same daunting task) 1. How do you like/dislike Forms 10g after the migration? 2