ECATT script

Hi Guys,
I am developing  a eCATT script for removing the roles assigned via a position. This is working fine to some extent. However, I am getting an error as "Function code cannot be selected'.
For example, if there are 53 roles assigned to a position and if my text file contains 53 lines for that particular position, it executes 50 lines successfully and last three lines are ending up in the error. I am confused, why the whole list is not getting executed successfully.
My text file contains just the number, position id.
Any help would be appreciated.
Thanks.

Hi Sathya,
why don't you run the report two times filling the text file with allowed  maximum no of entries only?
Regards,
Deepak

Similar Messages

  • How to create a field value as constant while creating eCATT scripts

    Hello Guru's,
    I am updating thousands of records using eCATT.  How should i declare a field value as constant while creating a eCATT script it self,  so that it automatically picks that value and  update the records. I should not mention the field value in the upload file.
    Full points for the answer,

    Dont parameterize the value that you would like to keep as constant. Pass the default value to that feild while reocrding .

  • Runtime Error while executing eCATT Script

    Hello @All,
    I worte a small eCATT script to stop the time a certain process needs to finish. The way I did this was to use the SAPGui (Record) method in eCATT.
    This does work fine.
    The second step I tried was to log the time and write it in a table to work with the times.
    If I do this I always get an runtime error, I know why it appears but I do not have any idea how to solve this.
    My script is:
    message ( UZEIT ).
    SAPGUI ( CC04_100_STEP_1 ).
    SAPGUI ( CC04_1100_STEP_1 ).
    endmessage( UZEIT ).
    settab ( ypdm1t001, UZEIT ).
    UZEIT is an Inputparameter with no reference.
    The short text of the runtime error is:
    Access not possible using 'NULL' object reference.
    If I delete the definition of the parameter UZEIT the runtime error does not appear but I get the error in the Log that the parameter UZEIT is not defined.
    Does anyone has a solution for this problem?
    greets
    manuel

    Hi Harsha,
    UZEIT is a command interface (I changed it so that is no more an parameter).
    There seem to be no restrictions to add values in the table. I already spoke to collegues here and they cannot find a mistake.
    I would further try to describe you what I want to do. Perhaps you have better ideas.
    What I want to achive is to get an overview over response times of defined transactions.
    We have a system landscape with local SAPGUIs and with installations on WTS and we want to compare response times from both sides.
    Therefore I made the eCATT skripts.
    Now I want to write the times somewhere so that I need not to write them down from every log file.
    At this point I wanted to write the times (which should be stored in UZEIT) to a table so that afterwards a report can write those times in an excel file.
    If you have better ideas to realize this please tell me.
    Thank you in advance for helping me.
    greets
    Manuel

  • Issue in running eCATT Scripts  - Help required very urgently

    Dear All,
    We are running the eCATT scripts from Solman 7.0 by connecting it to ERP system R/3 4.6C. While running the scripts, we are facing some issue.
    1. If we try to run the scripts then those are getting failed. The same scripts if we run after some time with out changing any code then those are running fine.
    We are frequently facing this probelm.
    Could you please let me know the solution. Your help is really appreciated.
    Thanks,
    Mahendra
    Moderator Message: Urgently word is not allowed in this forum. Open a new thread without the "priority" word.
    Edited by: kishan P on Sep 6, 2010 11:18 AM
    Edited by: kishan P on Sep 6, 2010 11:21 AM

    Dear Ananth,
    Scripting is getting failed at different lines of code at different runs.
    Thanks,
    Mahendra

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

  • Ecatt script fails due "Error in OLE API method Call"  error

    Hi ,
    Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    Please help in solving this issue.
    Thanks,
    Asha

    >
    Asha Nagaraj wrote:
    > Hi ,
    >
    > Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    >
    > We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    >
    > Please help in solving this issue.
    >
    > Thanks,
    > Asha
    Hi Asha,
    Are those components are connected and the necessay settings has been done?
    Regards,
    SSN.

  • Urgent help need on  eCATT script

    Hi
    How to use eCATT script tool with transaction SECATT.
    urgent please help.
    regards,
    R K

    Hello Rao
    If you are using a "normal" transaction without any controls (like ALV lists, trees) then you can use the recording pattern <b>TCD REC</b> <i>(TCD (Record)</i>).
    In transaction SECATT give a name for your test script (e.g. Z_XD01 or Z_CREATE_CUSTOMER). Within the test script choose pattern TCD REC and enter the transaction you want to record (e.g. XD01).
    After finishing the recording you will see the following line in the eCATT editor:
    <b>TCD ( XD01 , XD01_1 ).</b>
    Meaning:
    - TCD = recording pattern
    - XD01 = recorded transaction
    - XD01_1 = eCATT interface for the transaction
    Next double-click on the eCATT interface name (here: XD01_1). Next to the editor you will see the interface displayed as tree and as ALV list. Here you can parameterize your transaction.
    Please note that you should preferably <b>use the highest available SAP release for eCATT recording</b>. If, for example, your business system has release 6.20 and you have a 6.40 system available record the eCATT on the 6.40 system via RFC.
    Regards
      Uwe

  • ECATT Script with SAPGUI Commando works in consolidation but not in prod.

    Hi experts,
    I created a eCATT script with commando SAPGUI Rec. In our consolidation system it works fine but when I try to let it run in production it is not working. User scripting is enabled (in options and in rz11). I am starting the script, the production system is getting opened but afterwards there happens nothing anymore. Also the scriptingsign in the bottom right corner is not active.
    When I am running a script with TCD Rec, it works fine in production. Is there a difference between settings for scripting for TCD Rec and SAPGUI scripting? Do you have any idea which kind of influences there could be that make this difference between TCD Rec and SAPGUI Rec scripts?
    Best regards and thank you in advance!
    Jan

    Hello,
    Ideally we should not run the ecatts in the production system as this would hamper the system environment or change systems.
    Also check in RZ11 enter sapgui/user_scripting , here the values for the last three parameters are set to TRUE.
    Thanks & Best regards,
    Ajay

  • How to run an eCATT script in a cyclic mode?

    Hi,
    I want to run an eCATT script in a cyclic mode. i.e. It should be run for every 15 min.
    Is there any option to do this?
    Please revert back if you want any other info.
    Thanks,
    Nagarajan M,
    9820586549

    Yes, java.lang.Runtime.exec().
    Read this carefully before you do:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Don't write a line of code before you're reviewed and understood the article completely. - MOD

  • Error for linking ecatt Script for exporting parameter

    Hi,
    We have 2 SAPGUI scripts, one is transaction CO01 to create the production order. The other is CO02 to release the production order. In the first script I get production order number as parameter 1 in the message field. I need to export this field to second script for releasing order.
    I am not able to pick the order.
    Tried to use ABAP code
    ABAP.
    DATA: z_aufnr like CAUFVD-AUFNR.
    get parameter id 'ANR' FIELD Z_AUFNR.
    ENDABAP.
    Still export parameter in log comes as empty. So if I create thrid script using ref# it errors out at second script start.
    Your help is greatly appreciated.
    Thanks,
    Gajanan

    Hi
    you don't have to use abap for this .
    in the command editor
    choose first script recording interface and double click it ,observe the screen list on right side and now select the last screend and double click field and parameterize it say give it a  name as variable1 by entering this in valin column.
    Create a parameter and by param1 name and export type and default values as variable1.
    Now for the second script create a parameter as import type and set it's value as &param1&.
    Also pass this value to second script by the same as you done for first script.
    This will work for sure.
    To know more how to parameterize follow the links,
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    http://www.sapecc.com/tutorials/secat_create.htm
    Please reward points.

  • ECatt script setting error (se06)

    Hi Guys,
    I have very small issue but I couldn't figure it out.  I was using ecatt script to create user but whenever I try to enter new script name it gives me this error.  (System setting does not allow changes to be made to   object ECAT Z_NEWUSER_CREATION )
    I checked scc4 setting for escript it allowed.
    I also checked se06 modified setting but I can't find out which one has to be change to "modified" in se06.
    Can anyone please help resolve this issue.
    Thanks
    Faisal
    Edited by: Network Secure on Jul 7, 2008 7:28 PM
    Edited by: Network Secure on Jul 7, 2008 7:29 PM

    Thanks for replied
    I checked the both are allowed, ecatt script and the changes to repository and across-client customizing.  I guess it's something to do with se06 where we usually set up as a modifiable
    My issue hasn't been resolve yet, can you/anybody please help me resolve this issue.
    Thanks
    Faisal

  • Is it possible to execute same eCATT  script in different SAP versions

    is it possible to execute same eCATT  script in different SAP versions?
    Regards,
    Sunil sankar B.
    [email protected]

    Yes. In the ecatt script you have the option under ATTRIBUTES --> VERISONING DATA you can restrict it to different software components and different releases.

  • Question on ECATT scripts (SAP QA)

    Hi,
    Can anybody tell me about the ECATT's tool?
    If you do possess any notes or material, please forward the same to my id - [email protected] .
    How is the scope for QA in SAP?
    Are the growth prospects better in SAP QA?
    Thanks in Advance,
    Vijay

    Hi Vijay,
    Kindly find the following series of weblogs written by me on eCATT Tool in depth.
    eCATT - An Introduction (PART I)
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    eCATT Scripts Creation – TCD Mode (PART II)
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    eCATT Scripts Creation - SAPGUI Mode (PART III)
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    eCATT Chaining, Parameterization, Creation Of Test Data,Test Configuration, System Data (PART IV)
    /people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv
    eCATT Scripts Management Via Test Workbench (PART V)
    /people/sapna.modi/blog/2006/04/13/ecatt-scripts-management-via-test-workbench-part-v
    eCATT Logs (PART VI)
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation Non-User Interface Mode & Rename, Copy, Delete, Upload, Download eCATT Objects(PART VII)
    /people/sapna.modi/blog/2006/04/19/ecatt-scripts-creation-non-user-interface-mode-rename-copy-delete-upload-download-ecatt-objectspart-vii
    eCATT Tips Of Recording, Testing & Links (PART VIII)
    /people/sapna.modi/blog/2006/04/24/ecatt-tips-of-recording-testing-links-part-viii
    Checkpoints in eCATT (Part IX)
    /people/sapna.modi/blog/2007/05/18/checkpoints-in-ecatt-part-ix
    Hope this helps.
    PS If the answer solves your query, plz close the thread by rewarding each reply and marking it solved.
    Regards

  • Reg: Calling an ecatt script in R/3 function module

    Dear Freinds
    Can Anyone of you tell me if an ecatt script can be called inside an r/3 function module.
    if yes, please explaion me how it can be done.
    If you have any example code it will be quite useful for me.
    Points will be rewarded for suitable answers.
    With Warm Regards
    Ravishankar Vembu

    Hello Ravishankar
    The following sample report <b>ZUS_SDN_ECATT_EXECUTE</b> shows how to execute an eCATT testcript using its default parameter values.
    *& Report  ZUS_SDN_ECATT_EXECUTE
    REPORT  ZUS_SDN_ECATT_EXECUTE.
    data:
      gt_execute    type ETEXE_OBJ_TABTYPE,
      gs_execute    type etexe_obj.
    start-of-selection.
      gs_execute-start_lnr = '1'.
      gs_execute-obj_lnr   = '1'.
      gs_execute-obj_type  = 'ECSC'.  " test script
      gs_execute-obj_name  = '<name of your testscript>'.
      gs_execute-obj_ver   = '1'.
      gs_execute-sysdata   = '<name of system data container>'.
      gs_execute-testsystem = '<test system>'.
      append gs_execute to gt_execute.
      CALL FUNCTION 'ECATT_EXECUTE'
        EXPORTING
          TO_EXECUTE                       = gt_execute
          DISPLAY_LOG                      = 'X'
    *     LOG_TXT                          = ' '
    *     DISPLAY_START_POPUP              = ' '
    *     START_PROFIL                     =
    *     START_PROFIL_X                   =
    *     WBMANAGER_ACTIVE                 = ' '
    *     EXIT_STATUS_UPDATE               = ' '
    *     HTTP_TRANSID                     = ' '
    *     I_SUPRESS_OUTPUT                 = ' '
    *     IT_VAR_TO_EXEC                   =
    *     I_PAR_VAR_DISPLAYED              =
    *     IT_VAR_EXT                       =
    *     IT_CALLER                        =
    *     IS_TZEXECDATA                    =
    *   IMPORTING
    *     EXECUTED                         =
    *     LOGID                            =
    *     LOG_DISPLAYED                    =
    *     TRACE_PROT                       =
    *     E_RESULT_XML                     =
    *     ET_RESULT_XML_ERR_MESSAGES       =
        EXCEPTIONS
          NOTHING_TO_DO                    = 1
          TOO_MANY_SCRIPTS_CALLED          = 2
          OTHERS                           = 3.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    end-of-selection.
    Regards
      Uwe

  • Re-recording all of the eCATT scripts after system upgrade

    Hi,
    I’ve heard something today that got my attention: some people say that you have to re-record all of your scripts after an upgrade. In other words, upgrade from, for example, 5.0 to 6.0 makes eCATT scripts unusable and worthless.  It is not just some screens or screen sequences have changed, and must be re-recorded. It's a total change and <b>everything, all scripts</b>, have to be re-done.
    I would like to get some clarification on this.
    Thank you in advance, Alexei Merkoulov

    Yes, I've also heard about this before. We do not use a lot of CATT (it's been turned into the data loading tool), so it is not an issue for us.
    Here is my concern - we are on ECC 5.0 (WAS 6.40) and using eCATT to create and maintain scripts for automated functional testing. Let's say, we upgrade our system to 6.0 or 7.0, and want to use existing scripts for regression testing. I do not want to discover unexpectedly that our entire (all of it) existing body of automated scripts cannot function with the new version of the software.
    Please let me know if you have similar experience with managing eCATT scripts upgrade in the past (say 6.20 to 6.40).
    Thanks, AM

  • Readymade eCATT Scripts Available in a SAP Product?

    Hi Experts/Guru's,
    I'm exploring few things and like to understand them on customer perspective?
    As we know,there are lots lots lots of eCATT Scripts available in SAP for their products & Application.
    Is it (eCATT Scripts)shipped with SAP Products ?( eg: ECC 6.0 )
    (I'm not talking about the explantory scripts of eCATT shipped with the product).I'm aware of this.
    My Question is Say Create a Sales order,purchase order or a Business scenario?Will i have some scripts available in a SAP Product ?
    Or
    Is it downloaded from the SAP Support Portal ?
    Or
    Is it delivered to customer on request  ?
    If the answer is "yes" for anyone of these then,my question is, How & where do we do this?
    Your answers might help in lot in this group.If you dont know.Please take it as investigate topic and try to find out as like me.
    Regards,
    Venky

    Hello,
    Yes for few of the industries the eCATT's are shipped like in case of OIL industry . But this is a rear case.
    Most of the time the eCATT's are not shipped and its used internally within SAP by the SAP test team to check for the correctness of the functionality and to perform regular regression runs. Reason as to why its not shipped is that once its shipped to the customer then there is a need to setup a seperate team for maintenance of the scripts which is a huge task.
    Also the eCATTs created might not be applicable for all possible options of the transaction , it means it might not be reusable for all the conditions.
    There are many more reasons.
    Hope it answers your question.
    Thanks & Best regards,
    Ajay

Maybe you are looking for

  • Logical  Database CRMLDB_ACT_MON access

    Can somebody please tell me How do i find out the underlying table name of the REPORT_LIST Node of the  logical  database  CRMLDB_ACT_MON Please reply

  • SOAP Response with WS-Addressing elements

    Hi All,    I have an issue with the response message of SOAP - PI - RFC Sync scenario. In the request of the SOAP message, we receive following header(WS-Addressing) Elements in the SOAP Header part of the envelope. <wsa:Action wsu:Id="wssecurity_sig

  • K8T Neo-FIS2R rebate

    I ordered this motherboard near the beginning of this year because it had a mail-in rebate. It's been about 3-4 months since I mailed the rebate form along with the UPC barcode and I haven't received a rebate check . Did anybody else buy this board d

  • Is there a memory leak in IXML library?

    Hi, I wonder if there is a memory leak in the IXML library. Using the memory inspector I observed that memory consumed while building a DOM-tree is never released. Is there some special cleanup method I have to call to free all memory consumed by my

  • Protect Problem

    I have just had my Blackberry 9800 stolen and signed into Blackberry protect to try to locate it and make it ring but when i log in to Blackberry protect there is no phone showing on the left had side of the screen. Why would this be as this was work