Tasktype in BAPI_CATIMESHEETMGR_INSERT

hi experts,
i want to update catsdb table , for that im using the function module " BAPI_CATIMESHEETMGR_INSERT" in that ihave to insert the field "TASKTYPE" also, but i cant see it in the "catsrecordsin or catsrecordsout tables". how can i update the field "tasktype".
from,
Venkat.

Hi Venkat. How did you achieve this functionality ? Even I am looking for the same.

Similar Messages

  • Error while updating time sheet with BAPI_CATIMESHEETMGR_INSERT

    Hi Gurus,
    We are uploading data from 3rd party software to SAP with Z program.
    In this Z program using BAPI_CATIMESHEETMGR_INSERT.
    While updating data manually with CAT2 or with BAPI, data is entered properly without any problem but while using the bapi in Z program  error message " Version 0 is not set up for controlling area" is coming .
    Hence Version 0 is already active for the controlling area for fiscal year 2010.
    Please help me to resolve the issue.
    Thanks,
    Neha Duseja

    - First - Try to accomplish this via transaction CAT2 (*) (and then CATA or CAT6 to upload data to HR) - You may require some Customizing here ([Entry of Attendances and Absences for HR Time Management|http://help.sap.com/saphelp_bw/helpdata/en/64/400456470211d189720000e8322d00/frameset.htm])
    - Then - Use the same values in  [BAPI_CATIMESHEETMGR_INSERT|http://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_catimesheetmgr_insert#sdn_content_category_value_wiki]
    Regards,
    Raymond
    (*) Or ask to your functional

  • How to Restrict the values of Field TASKTYPE on a ALV Grid.?

    Hi;
    Let me explain my problem. I have report written by another abap developer who has gone now.
    On the ALV Grid there is a field called "Activity Process". By F1 F9 I can read that field depends on table TCATX_TASKTYPES and field TASKTYPE   . From se11 I can see that there is no search help related with the field.
    When the user press F4 all the data in the table is listed . The user want to filter some of the listed data according to same logic .
    When I debug the code after F4 on the field I found that the system finds Search Help: TCATX_TASKTYPES of type 'CT'. But unfortunately SE11 says that there in  no search help such as TCATX_TASKTYPES.
    The previous abap developer used BADI NETW_USER_FIELDS_F4 AT_F4 with class ZCL_IM_NETW_USER_FIELDS_F4 and interface IF_EX_NETW_USER_FIELDS_F4  for the transaction cj20n to filter the same field but this is not triggered by the F4 on the ALV Grid.
    What can I do ?
    Would you please help me ?

    I know i can do this using ADF Business Components as the business service but the problem is that the initial value for that attribute will be changed depending on the screen ... ill give u a simple example : lets say that I have employee table ( which include dept column) and under that table I have a table called "Emp_dept_movements" now in the main ADF page "employee entry" I have two blocks Employee data ( master view) employee dept data ( detail view ) now when the user press the create-insert button on the employee dept view the system should copy the dept no from the employee view to the dept no on the emp_dept_movements view... and the "Emp_dept_movements" will be used in another screen called " employee departement movements" without any initial value for the DeptNo
    I dont want to create more than one view and cant set the initial value for that attribute in the view , Can this be done through the UI by adding set action listener on that button and specifying from ( binding master_view.dept ) - to (binding of detail_view.dept) ..
    hope that am clear this time,
    Edited by: Delta on Jul 5, 2010 11:21 PM

  • Message type 'X' dump in BAPI_CATIMESHEETMGR_INSERT

    Hi All,
    Requirement: Transfer data from a Z table to CATSDB using BAPI_CATIMESHEETMGR_INSERT.
    Issue: In case there is an erroneous data combination  of data or data mismatching with the datatype of field in CATSDB , BAPI_CATIMESHEETMGR_INSERT goes to dump.
    SAP : 6.20.
    I tried searching notes but have not got any for 6.20 release.
    Is there any way I can handle this programatically (exception handling etc.)
    My design: I have made a custom method which calls this BAPI to update CATSDB.
    Thanks,
    Regards,
    Kumud Singh

    Hi Rajesh,
    I found out that CATS was dumping because the data provided was erroneous. I found this dump at the initial stages of development. If you pass the right combination of data, you would not face this issue. Moreover, it is easy to debug and find that exact place which causes the dump.
    On the other side, I also realize that it should not dump rather throw some error message. There are no SAP notes that I could find to resolve this issue. You could also do a search on available SAP notes.
    Thanks.
    Regards,
    Kumud

  • CAT2 bapi_catimesheetmgr_insert Error when a day is missing -

    I am using FM bapi_catimesheetmgr_insert to upload CAT2 timesheet data.
    The problem is when i try to add records tor 2 days - 24.11.2009, 26.11.2009 - (here 25.11.2009 is not being uploaded), the FM returns an error - Number of hours recorded 0.00 is less than target hours
    If i include 25.11.2009 also, then this error does not come.
    Has anyone also faced this problem
    How can this error be avoided.
    We have a requirement where records need to be uploaded for 1 month for multiple employees.
    I have tried this by directly calling the FM in the Test mode and it also gives the same error.
    Is there any setting, parameter setting to resolve this?
    Pl. help
    rohit

    You need to pass records on daily basis in a loop, then you can avoid this error...

  • BAPI_CATIMESHEETMGR_INSERT Error: no personal data found  (error LR160)

    Hello,
    we have a problem with BAPI: BAPI_CATIMESHEETMGR_INSERT. We would like to use this FB to send data from an external application to SAP (CATSDB). However we get an error LR160: the personal number 00999111 does not exist or no permission.
    The user have sap_all / sap_new rights, so it shoud not be the problem with permission. The number  00999111 exists in the system too (e.g. in the table  PA0001).
    We try already find the solution but without positiv effect.
    Any hints would be very appreciated.
    Regards
    Michael

    Hello,
    we have a problem with BAPI: BAPI_CATIMESHEETMGR_INSERT. We would like to use this FB to send data from an external application to SAP (CATSDB). However we get an error LR160: the personal number 00999111 does not exist or no permission.
    The user have sap_all / sap_new rights, so it shoud not be the problem with permission. The number  00999111 exists in the system too (e.g. in the table  PA0001). We added the BAPI to distribution modell (BD64), too.
    We tried already find the solution but without positiv effect.
    Any hints would be very appreciated.
    Regards
    Michael

  • Query regarding BAPI_CATIMESHEETMGR_INSERT

    Hi
    How to find out what tables are being updated  in the function module BAPI_CATIMESHEETMGR_INSERT.
    If you know what tables get affected by executing this function module,
    please let me know.Also tell me the PROCEDURE of knowing which tables are updated.This is immediately required.please help me.
    Points will definitely be given.
    Thanking you
    Chandrika.

    i think u can just goto FM or program whtevr and then u can click on icon 'object list' in tool bar..it will show u all the Dictionary structures used in FM..
    or other way is u can serch for update,delete or insert keyword in the Fm to find out if it updates any table or not..
    amit

  • BAPI_CATIMESHEETMGR_INSERT

    Hi All,
    I need to automate the recording of time, its approval and updation of the HR infotypes.
    The steps to be done are -
    1. CAT2 Tcode which I have tested with BAPI - BAPI_CATIMESHEETMGR_INSERT and this works.
    2. CAT4 Tcode - approval by supervisor
    3. Transfer of data to relevant infotypes.
    I am trying to perform the step 2 by using the same BAPI - BAPI_CATIMESHEETMGR_INSERT but I am encountering some errors. I was wondering if there is another way to achieve step 2.
    Also for step3, I found that if we check a parameter in CAT4 - Immediate transfer to HR, this can be done. I havent found a relevant field in the above BAPI.
    Looking forward to your suggestions.. thanks for your help in advance!
    Liz

    step 2 : BAPI_CATIMESHEETMGR_CHANGE (you just have to change the status of CATSDB records to 30)
    step 3 : submit report RPTEXTPT

  • BAPI_CATIMESHEETMGR_INSERT with RFC XI user gives errormessages

    Hello group,
    In an interface with XI I call the BAPI BAPI_CATIMESHEETMGR_INSERT with a certain profile. For this profile certain checks are made for the inputvalues. When I debug the functionallity with my account the BAPI works fine. But when the same data is inserted with an RFC user trough XI I get errormessages that belong to another HR-profile. It is as if the hardcoded profileparameter is overwritten.
    Did anyone have the same problem, and if yes how was this solved?
    Regards, Léon Hoeneveld

    It had to do with user-exits that were active and did checks when the transaction code was empty.

  • BAPI_CATIMESHEETMGR_INSERT - BAPI_CATIMESHEETMGR_INSERT - MULTIPLE ROWS

    Hi to all,
    I'm using bapi BAPI_CATIMESHEETMGR_INSERT to insert hours in CAT2 Transaction (timesheet ) .
    The function seems to be working fine . The only thing that I don't understand is why it splits records on multiple rows.  For example I append records in CATSRECORDS_IN structure to pass hours (first record on first row ) and the second one on the second row for the same wbe in a different day column. In CAT2 (after I have executed bapi ) I'm expecting to have all hours in the same first row but I have multiple rows as records I have append in CATSRECORDS_IN.
    Plaese do you have any suggestion ?
    Many thanks in advance
    Andrew

    Marking this question as answered.  We found another alternative..did not use the SHORTETEXT field.

  • BAPI_CATIMESHEETMGR_INSERT - Can't get SHORTTEXT (LTXA1) updated

    I'm using BAPI_CATIMESHEETMGR_INSERT  (for the first time) and it is successfully inserting new CATS records - with the exception of the short text field (ltxa1).   I've run the program in debug mode and the SHORTTEXT field within my internal table for the import BAPICATS1 table (named tbl_catsdata_in) has the SHORTTEXT value populated, but after the BAPI call, the field is not updated in the corresponding BAPICATS2 export table (named tbl_catsdata_out in my program).
    Is there something special I need to know about getting values to store in the CATSDB LTXA1 field?  All other fields are storing just fine.  I am explicitly moving a value to the field.  I'm baffled.
    Here are excerpts from the program:
          tbl_inserts-abs_att_type       = tbl_zlct_to-awart.
          tbl_inserts-bonustype          = tbl_zlct_to-prakn.
          tbl_inserts-employeenumber     = tbl_zlct_from-empl.
          tbl_inserts-rec_cctr           = tbl_zlct_to-rkostl.
          tbl_inserts-rec_order          = tbl_zlct_to-raufnr.
    Storing the LCT-ID in the new records short text field.
          tbl_inserts-shorttext          = tbl_zlct_to-lct_id.
          loop at tbl_inserts where lct_id = v_hold_lct_id.
            move-corresponding tbl_inserts  to  tbl_catsdata_in.
            append tbl_catsdata_in.
          endloop.
      loop at tbl_cust_fields where lct_id = v_hold_lct_id.
        tbl_extensionin-structure  = 'BAPI_TE_CATSDB'.
        bapi_te_catsdb-row        = tbl_cust_fields-recno.
        bapi_te_catsdb-zoan       = tbl_cust_fields-zoan.
        bapi_te_catsdb-zzminclss  = tbl_cust_fields-zzminclss.
        bapi_te_catsdb-zzcostcntr = tbl_cust_fields-zzcostcntr.
        bapi_te_catsdb-ztaskid    = tbl_cust_fields-ztaskid.
        tbl_extensionin+30      = bapi_te_catsdb.
        append tbl_extensionin.
      endloop.
      call function 'BAPI_CATIMESHEETMGR_INSERT'
        exporting
          profile               = 'AUTOAPP2'      "Profile
          testrun               = v_no_upd    "Test
          release_data          = p_releas    "Release Data
          AGENT                 =
          TEXT_FORMAT_IMP       = 'ITF'
        tables
          catsrecords_in        = tbl_catsdata_in
          extensionin              = tbl_extensionin
          catsrecords_out      = tbl_catsdata_out
          extensionout            = tbl_extensionout
          WORKFLOW_TEXT         =
          return                = tbl_return
          LONGTEXT              =
    Thanks in advance for your help.

    Marking this question as answered.  We found another alternative..did not use the SHORTETEXT field.

  • [HELP] ExtensionIn ---- BAPI_CATIMESHEETMGR_INSERT

    Hi All,
    Kindly please help me on BAPI_CATIMESHEETMGR_INSERT. I already inserted my custom field COUNTRY to Table CATSDB.  I would like to post my entries with my inserted field COUNTRY. I already read the BAPI manual :
    ExtensionIn
    Customer enhancement import
    Description
    If you defined additional customer fields in your external application or external system as well as in the SAP System and you want to transfer data from them to the SAP System, you can use this import table. The additional customer fields are reproduced in the customer-specific fields in the CATSDB table using the BAPI_TE_CATSDB structure.
    You should enter the name of the structure in the STRUCTURE field. The contents of the BAPI_TE_CATSDB structure is contained in the data part. The data part of this table must be structured analogously to the BAPI_TE_CATSDB structure. The first 10 characters of the data part are for the line numbers. The customer fields are linked to the corresponding data record in the CATSRECORDS_IN table using the line numbers.
    >>What are the first 10 characters that I should input? Please. Please help me on this.
    Thanks.

    Well this is what I think on this.
    You have to pass name of the table (say t1) of type BAPI_TE_CATSDB to the Structure EXTENSIONIN
    so now t1 will contain the data which will obviously have the corresponding Extension data for the main table CATSDB. But there has to be some way to identify which row of CATSRECORDS_IN matches to row of BAPI_TE_CATSDB record. The first 10 char are supposed to do this linking.

  • Interpreting ST03 Tasktype profile

    Dear Gurus,
    I am looking at causes of performance deterioration in SAP. I look at ST03 tasktype profile but there are some terms I do not quite understand the meaning. Pls can you throw some light.
    1. DB Requests. what does this numner indicate? What is considered a DB request?
    2. Buffer Calls. What buffer is it refering to? DB buffer? Which DB buffer then?
    3. Physical DB Calls. What does this mean?
    Thank you in advance.
    Regards,
    Mirella Russo

    1. A request to the database to access data - maybe read write, update
    2. The database finds the requested data in the SAP buffers. This is quick and so good. See ST02 Tables, Generic key and Single record.
    Also ST10
    3. Oh dear, the data is not in the buffers so the database goes and reads the physical disks. This is slow and so bad.
    So 1. is made up of 2. and 3.

  • BAPI_EECATIMESHEET_GETWORKLIST , BAPI_CATIMESHEETMGR_INSERT Purposes Needed

    Hi all,
    What are all the Inputs needed for these two BAPI's ?
    Can i know what these 2 BAPI's can do ?
    whats the Purpose of these 2 BAPI's ?
    BAPI's :
         BAPI_EECATIMESHEET_GETWORKLIST
         BAPI_CATIMESHEETMGR_INSERT
    Kindly Clarify.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks & Regards,
    N.L.
    Edited by: Alvaro Tejada Galindo on Dec 18, 2008 11:53 AM

    Hello,
    are there any news regarding this topic?
    thx, Vanessa

  • BAPI_CATIMESHEETMGR_INSERT-Posting to HR and FICO automatically

    Hi
    I'm currently using function BAPI_CATIMESHEETMGR_INSERT to import data to CAT2.. What functions/bapis are availble to automate the posting of info to HR(CAT6) and FICO(CAT7).
    Regards,
    Giovanni

    BAPICATS BAPIs for BUS 7024
    BAPI_CATIMESHEETMGR_CHANGE CATS: Change Data Records
    BAPI_CATIMESHEETMGR_DELETE CATS: Delete Data Records
    BAPI_CATIMESHEETMGR_INSERT CATS: Insert Data Records
    BAPIs for BUS TIMESHREC
    BAPI_CATIMESHEETRECORD_GETLIST Time Sheet: Data Record List
    BAPIEMPLOYEECATS BAPIs for BUS 7025
    BAPI_EECATIMESHEET_GETWORKLIST Time Sheet: Read Worklist
    More here: http://saphruser.com/sap-hr-fm-rfc-bapi/

Maybe you are looking for

  • Outbound Delivery IDOC not updating values from MKPF for goods receipt

    hi all, I have a question say I am generating an outbound delivery IDOC. which  has fields Goods Issues & Goods Receipt date retrieve from MKPF(BUDAT). say when i post goods issues, MKPF is updated and  IDOC is gernerated with issues date taken from

  • How is utilization index calculated?

    Hi there, When I create a dashboard widget, I can select from top highest or top lowest utilization. I am curious how the utilization is calculated? Is it average over all metrics or is there some sampling? Thanks, -Nigel

  • FIM Synchronization Service Event ID 6050 , 6126

    FIM Synchronization Service Event ID 6050 , 6126 Version : SharePoint 2010 Sp1+ CU12 14.0.6129.5000 i have saw daily in my logs regarding User profile Service and FIM Errror .  Daily 1 AM scheduled time for User Profile Incremental Running. And also.

  • Udf for context change

    Hi All,             I write a UDF to change context but it is not working properly             can any please guide me. code is ,   for (int i = 0 ; i<Plant.length ; i ++) int b = 0;       for (int j = 0  ; j<Plant.length ; j++)               if (i!=

  • Does eNAU108 liteon external hard drive work with mac?

    https://www.jbhifionline.com.au/computers-laptops/computer-accessories/liteon-ex ternal-slim-usb-dvd-rom-srp-44-factory-scoop/467764