ECATT SAPGUI Recoring for co60

Hi,
I am trying to record co60 transaction thro ecatt sapgui mode.
I have issue while specifying batch number, qty on the main cockpit sheet. Scripting is not recognizing the actual fields on the PI sheet. Anyone faced this issue ,kindly share your thoughts.
Thanks in advance
Giridhar

Hi Giridhar,
Check the SAPGUI Recording if some of the steps are not recorded itself or if the SAPGUI's are jumbled(this happens some times, then split to the least level and arrange the SAPGUI's in order) correct them and execute them.
Execute the Script highlighted, so that you will exactly know where the problem is..
That should be a temporary problem. CO60 is a normal transaction which doesnt have any controls in it also, so handling that transaction for SAPGUI should not be a problem.
Try to record the TA again(my last suggestion)..
Besr regards,
Harsha
PS: Reward points if this is helpful

Similar Messages

  • Ecatt sapgui issue

    Hi,
    I am trying to record co60 transaction thro ecatt sapgui mode.
    I have issue while specifying batch number, qty on the main cockpit sheet. Scripting is not recognizing the actual fields on the PI sheet. Anyone faced this issue ,kindly share your thoughts.
    Thanks in advance
    Giridhar

    Hello Giridhar
    The PI sheet is a quite old-fashioned report with editable fields that, unfortunately, escape the eCATT recording.
    However, there might be trick how to record these fields nevertheless. For example:
    - The field "QUANTITY" is (on our system) located within a block "Phase". The line begin with the phrase "Control Instruction" which occurs several times on the PI sheet but this is the last occurrence.
    Phase          : 0952 / Instruction no.: 0010
    Control Instruction            :               QUANTITY :
    Text could not be read                         ORDER COMPLETE?
    So, if you can navigate unambigously to the line where you want to modify values using the SEARCH button (Ctrl+F) you are halfway through. Let us assume that you could navigate to the line begin with "Control Instruction". How do you get to the editable "QUANTITY" field? By moving the cursor with the "Right-Arrow" button. The distance between the beginning of the line and the editable field should be fixed.
    I know it sound a bit weird but I have used this workaround already to get to specific nodes of old-fashioned trees (RS_TREE_...).
    Good luck.
    Regards
       Uwe

  • How to deal with generated programs in eCATT SAPGUI recording?

    Hi experts and professionals,
    I am trying to automate testing of our solutions by eCATTs and so far i have not been able to find solution for following problem.
    Whole test scenario is very simple:
    Check InfoProvider data (query, lookup, listcube,...)
    Create DAP on InfoProvider
    Archive InfoProvider
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 4. (must match)
    Reload archived data
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 7. (must match)
    As you can see, one of the required test steps is to check InfoProvider's data in transaction LISTCUBE.
    But transaction LISTCUBE generates its program "name" every time it is executed and
    I am struggling to find a way how to deal with these generated programs in eCATT SAPGUI recording.
    Key is that solution must be generic and work for all SAP BW releases from 7.0 upwards
    (having in mind that LISTCUBE can read NLS data from SAP BW 7.3 release).
    Error description from eCATT log:
    Screen Check Error: Expected Transaction: LISTCUBE, Actual Transaction: LISTCUBE.
    Expected Program: GP0KOZE7EFIUBN10MZUFWX90W80, Actual Program: GPBP24INA6VV77SL0XKU5NA642O.
    Expected Screen Number: 1000, Actual Screen Number: 1000.
    There Is Probably an Error in SAPGUI recording.
    ExceptionClass:CX_ECATT_APL_CAPTURE  ExceptionId:SCREEN_CHECK_ERROR
    RaisingClass:CL_APL_ECATT_LINE_INTERPRETER  Include:CL_APL_ECATT_LINE_INTERPRETER=CM00J  Line:443
    Is there any way how to avoid program check in eCATT script?
    Anything that would help me to find solution will be greatly appreciated.
    Best Regards,
    Igor

    Dear Igor,
    Your issue is caused by the "screen check" which eCATT processes here.
    In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
    Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
    Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
    For generic test scripts and often in context of generated programs the screen check might hurt a bit.
    To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
    If here the name of program cannot be determined for any reason, one can use another method and do following:
    - Change the value of ProcessedScreen-Active to 'R'
    This will disable/skip the screen-check for this ProcessedScreen.
    Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
    Maybe this can improve your solution.
    Kind Regards
    Jens

  • Message---- End Message in Ecatt - -SAPGUI

    Hi Everyone:
        Can some one give me a detailed information about Message and End Message commands in Ecatt-SAPGUI.
        How can they be used?
        What are the main advantages etc.
    Thanks,
    Rajesh.S

    Hello Rajesh
    You can basically use the Message/End Message statement to surround SAPGUI or TCD commands to capture messages from the GUI as raised by the MESSAGE ABAP Statement in your programs. The captured messages can then be analysed using a set of specified rules to determine whether the program is functioning as expected or not.
    For example, the following eCATT segment was used to capture a message from the program that certain data was successfully generated and saved.
    MESSAGE ( OPTIONAL_COMMANDS ).
      SAPGUI ( CONFIRM_SAVE ).
      SAPGUI ( CONFIRM_GENERATE_SUCCESS ).
      SAPGUI ( SAVE_SUCC_MSG ).
    ENDMESSAGE ( E_OPTIONAL_COMMANDS ).
    The command interface used with the Message/End Message statement, in this case the command interface is called OPTIONAL_COMMANDS, will determine how the eCATT script will respond to the messages received from the SAPGUI commands.
    The command interface has a specific parameter called MODE which will determine whether a specific message is allowed, is expected, is considered an error or is obligatory. You can also specify whether the script should exit if the specified condition is not met using the EXIT flag in the command interface. Also note that the command interface used with the Message/End Message statement can contain a number of these kind of rules as to establish a set of rules used to govern the expected behaviour in terms of the messages being raised by the program.
    In your recorded SAPGUI or TCD statements specifically look for the Message variant in the recording to see what messages should be raised by the program in terms of the message classes and message numbers since you are going to need these to fully specify your messages to the Message/End Message statement. The following is an example of the message recorded in the CONFIRM_GENERATE_SUCCESS command interface from the above code except that can be used to determine the exact information to use in drawing up the OPTIONAL_COMMANDS command interface for the Message/End Message statement:
    Message
      Type  I
      Text  Report /EPIUSE/VM3REP_22000003_NEW was generated  successfully.
      Id    /EPIUSE/VM3MESS
      Number 225
      Parameter1 /EPIUSE/VM3REP_22000003_NEW
      Parameter2
      Parameter3
      Parameter4
      AsPopup  X
    Here your expected message is an information message (Type I), the message class would be /EPIUSE/VM3MESS as recorded in the Id field and the message number would be 225, do take note of these fields since you are going to need them to draw up the command interface for the Message/End Message statement. The parameters 1-4 might also be used in your Message/End Message statement conditions to really narrow down your expected messages. Well, this is a lot of information for you, I hope it helps...
    Stay well
    Ettienne Hugo

  • ECATT SAPGUI playback hanging..

    Hello,
    I have just recorded some new test script using the SAPGUI driver. The recording looks good but when i play back my recording is script hang after the first command and I loose control.
    I have tried many execution option but the problem still there - This is a new problem too me as I did some recording in the past with no issue.
    The error do not seem to be consistent accross my multiple attempts. Sometime the script "unlock" and then process the rest of the transaction correctly.
    It seems that the transition between the session manager command and the actual transaction is not going smootlhy.
    Any suggestion on how to address the issue?
    My gui version is 640 Patch level 14 build 782634
    The sap version is: 4.70 was 620
    Thanks for the help.
    Gilles

    Hi Gabriela,
    just to explain that behavior:
    eCATT SAPGUI recoding in 6.20 starts the GUI not directly into the transaction to be recorded. Depending on system settings transactions called SESSION_MANAGER, S000 or even other "startup-transactions" do come up first, before you enter "/n<TACODE>" in your OK-Code field. (BTW: you should avoid starting transaction to be recorded by menu path').
    Unfortunatelly SAPGUI recording does also record that start transaction, but as Jon wrote, you can decomment or drop this line.
    For a "perfect" transaction recording you should also active the RESET_GUI flag with 'X' in the SAPGUI command containing the real first screen of your transaction (the screen after SESSION_MANAGER). This causes eCATT to send a "/N<TA_CODE>" before starting replay. That way you can be sure to start with the right transaction.
    Now the reason for your error message:
    Sometimes during replay unfortunatelly the start screen is not the same as during recording. There is a certain check in SAPGUI command to avoid replay on wrong screens and that causes the message you saw.
    From 6.40 on eCATT starts recording always directly in the trasaction to be recorded. You have to specify it at the "insert pattern" screen for SAPGUI recording. So screen with TA SESSION_MANAGER should not appear anymore in new recorded SAPGUI commands.
    Best regards
    Jens

  • ECATT SAPGUI method to capture ALV grid contents

    Dear All,
    I am using eCATT SAPGUI method to record the transaction VF04. The problem here is I am unable to capture the contents of the ALV grid present in the transaction.
    Were any one of you able to capture the contents of ALV grid using SAPGUI method, if so, please do help me to solve this problem.
    Thanks in advance,
    Sidharth

    Hi Sidharth,
    Did u find any solution for this problem .
    Iam facing same problem for MRIS,MRRL alv reports.Iam recording through SAP GUI but I want One out put field in log. If U find any solution for this plz forward to me.
    Thanks in advance
    Raju.K

  • How to execute a MTS (Master Test Script) in SAP ECATT Test Configuration for multiple variants.

    I have a MTS (Master Test Script) which references 4 Test Scripts. As of now, I am able to run this MTS directly by opening it as a Test Script and running it for default test data.
    Now, I want to run this MTS in SAP ECATT Test Configuration for multiple variants/test data. I am not able to see any parameter if I enter MTS in the Test Configuration.
    Below thread is similar to my requirement but I am not able to understand the solution properly.
    eCATT - how to run multiple test scripts with input variables in different test scripts?
    Any help in this case would be highly appreciated.
    Thanks & Regards,
    Vaibhav Gupta

    I have a MTS (Master Test Script) which references 4 Test Scripts. As of now, I am able to run this MTS directly by opening it as a Test Script and running it for default test data.
    Now, I want to run this MTS in SAP ECATT Test Configuration for multiple variants/test data. I am not able to see any parameter if I enter MTS in the Test Configuration.
    Below thread is similar to my requirement but I am not able to understand the solution properly.
    eCATT - how to run multiple test scripts with input variables in different test scripts?
    Any help in this case would be highly appreciated.
    Thanks & Regards,
    Vaibhav Gupta

  • ECATT - SAPGUI Recording Messages Queries

    Jonathan,
    With the earlier discussion regarding SAPGUI recording pattern, following were the observations. (More details were posted on September 08, 2005 with the subject - Re: eCATT SAPGUI Recording Queries)
    >> The messages, which I got, are not popup dialog boxes. They are at the bottom on status bar. And the system is expected to proceed further with the warning message without any problem. But the SAPGUI recorded script fails due to such unrecorded messages.
    TCD handles such situation automatically. But SAP GUI doesn't. So how to handle such unpredicted situation?
    >> Again, it is mentioned in help that whenever Controls are involved, one should go ahead with SAPGUI.
    What is this 'Control' mean in case of TCD.
    Thanks & Regards.

    Jonathan,
    With the earlier discussion regarding SAPGUI recording pattern, following were the observations. (More details were posted on September 08, 2005 with the subject - Re: eCATT SAPGUI Recording Queries)
    >> The messages, which I got, are not popup dialog boxes. They are at the bottom on status bar. And the system is expected to proceed further with the warning message without any problem. But the SAPGUI recorded script fails due to such unrecorded messages.
    TCD handles such situation automatically. But SAP GUI doesn't. So how to handle such unpredicted situation?
    >> Again, it is mentioned in help that whenever Controls are involved, one should go ahead with SAPGUI.
    What is this 'Control' mean in case of TCD.
    Thanks & Regards.

  • Use of ECATT or CATT for creating performamce statistics

    Hi
    The requirement is to monitor the performance of a number of various transactions within our SAP System (ECC6).
    If a user accesses a transaction e.g. MM03 and enters a material and views the material, the performance statistics can be monitored by Basis.
    In my example above (MM03) I want to create the performance statistics every 30mins, but rather than than go into MM03 myself to create the performance statistics which can then be reported on, I want to automate the process of accessing MM03 and displaying the Material Master. (The same material each time)
    I have used transcation SCEM and SCAT previously to create a CATT to upload Plan Costs onto Projects.
    However each time, this had me running the CATT manually.
    Is it possible to create a Test Script that accesses a number of Master Data Display transactions to access a constant set of Master Data (I think this is possible), but can I get the Test Script to run automatically every 30mins...if so how?
    The whole purpose is to compare performance of a consistent set of transaction every 30mins
    Thanks
    Steve

    Hi,
    Sorry for wrong link:
    Have a look at below links which gives you PDF for eCATT.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/BCCATTOL.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf
    Also have a look at below link.
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    to start working on eCATT follow tru these links,
    eCATT- An Introduction
    /people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
    Creating Test Scripts
    /people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
    eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation – TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Creation of Test Data Container
    /people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
    eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Integrating ECATT & MERCURY QTP Part -1
    /people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
    Regards,
    Shiva kumar

  • ECATT-SAPGUI Recording error

    Hi All,
    I am trying do  the GUI recording of the transation ME51N.I have done the recording with proper set of data and at the end i got PR number.And it given SAP GUI command on the ecatt editor(say SAPGUI ( SAPGUI_1 ).
    when i double click on the command it exapand as ProcessedScreen[1]>UserChangedState>GuiElement[1]-->here we need to get the Value.Then we can perameterized this value to be available for other set of data.
    but when i try to replay it running successfully and giving PR nuber.
    But in this case i am unable to get values under the "VALUE"(like material, quantity, plant...)  which i entered during the GUI recoding.Can any one provide solution.
    and VALUE is not displayed.
    When i try this for VA21, it works good, the problem with ME51N.
    It will be great help if any one provide solution.
    Regards
    RAJ

    Dear Igor,
    Your issue is caused by the "screen check" which eCATT processes here.
    In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
    Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
    Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
    For generic test scripts and often in context of generated programs the screen check might hurt a bit.
    To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
    If here the name of program cannot be determined for any reason, one can use another method and do following:
    - Change the value of ProcessedScreen-Active to 'R'
    This will disable/skip the screen-check for this ProcessedScreen.
    Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
    Maybe this can improve your solution.
    Kind Regards
    Jens

  • ECATT, SAPGUI recording

    Hi..
    I'm working on eCATT with SAPGUI recording mode,
    I recorded VA01 transaction, In this after enterring some articles i'm getting a statusbar message,
    If I press enter then i'm able to enter order quantity,
    But, my problem is, I'm not getting the status bar message regularly (i think the message is appearing only on holidays)
    So, i want to execute the command only when the message appeared,
    For this Shall I use message..endmessage block,
    or any work around is there to handle this,
    If i use message..endmessage block, how to define the rule and how to use the rule to execute/not execute the required step after appeating the message,
    can anyone help me in this regard..
    Thankyou...
    Chandra shekhar

    Hi Chandra Sekhar,
    Using a Message - End Message block would not solve your problem.
    Message block basically captures your messages(that arise while execution) but you cannot use it for standard instructions. All you could do is Allow that message(which in this case could mean nothing).
    You could do some thing like this..
    Use the SAPGUI ATTACH, record the message and the Enter button.. Make both the steps Optional. So, while execution, sapgui handles these optional steps when needed and in the other times, it wont consider.
    Hope this helps..
    Best regards,
    Harsha
    PS: Reward points if this answers your query.

  • SAPgui: Waiting for response

    Hi all,
    after the failed attempt to make a client copy I have some problems:
    Stopping the system with stopsap or stopping the database (MaxDB) not possible, because "there are still active users on database system"
    --> so I must stop the database with dbmcli
    --> after each new sapstart I have the same problem
    Also login is not possible:
    While trying to connect to the system SAPgui gives
    "Waiting for Response" but nothing works.
    Problem with the database?
    --> entry in dev-disp:  swap space to small, tmpfs at /dev/shm  to small
    Connection problem?
    --> entry in dev_ms: 
         "MsSCheckConnections: no response from Client C0 (<hostname>_<sid>00)"
    --> entry in CPITRCxxxxx:
         "GwIConnect to <hostname> / 3300 failed..."
         "CPIC (TCP/IP) on local host
           Partner 192.168.0.200 not reached
    What can I do?
    Thank you in advance
    Wilhelm

    > see a smile in my face!
    >
    > "- take a full backup of the database
    > - take a backup of the log area ."
    >
    > -> for the first time: how do I do that?
    The easiest way is to install DBMGUI or Database Studio (see here: https://www.sdn.sap.com/irj/sdn/maxdb-downloads) - you can choose
    Check the guide
    https://www.sdn.sap.com/irj/sdn/maxdb
    --> Backup and Restore   
    and
    http://maxdb.sap.com/doc/7_6/f8/5a27401544ed01e10000000a155106/frameset.htm
    Basically you will need to
    - connect DBMGUI or Database Studio to your database (using the dbm/control user)
    - create a medium where to backup (disk, tape)
    - run the database backup
    - create a second medium for the logfiles
    - backup the log
    Get back if you have a problem
    Markus

  • Netweaver Sapgui "waiting for response"

    Hello,
    I already install sap netweaver 2004s.  It's works OK.  But  when I try to enter via SAPGUI it send me a little windows with the following message "waiting for response".  If I shutdown the sap netweaver service vi sapmmc the connection send me an error "broke connection"
    What's wrong?  Could you give me an idea?
    Best regards
    Nelson

    Hi nelson,
    What did u enter in GUI settings.
    it should be
    Description : anything
    Application Server : Host name or IP address of host
    System ID : NSP
    SYstem Number : 00
    and SAP system R/3
    What is the Version GUI? is it 6.4
    Hope it help u
    Regards
    Subhash
    Message was edited by: Subhash Chandra

  • ECATT - SAPGUI record 6.2 vs 6.4

    When I was recording eCATT's with SAPGUI on 6.2 I did not have to enter a t-Code, it would just open a session and I could enter what ever in that session and it was recorded till I stop record
    Now on 6.4 I'm required enter a t-code and start with it.   What if you want to record some other action other then a t-code, is there a way to still do that?
    Thanks
    Rudy

    Hello Rudy,
    you still can use the attach function to record any possible action in a SAPGUI you started from SAPLOGON.
    On the other hand there is nearly nothing one could record without a transaction running. Even if you would like to start your transaction from sap menu, this menu itself is hosted in a transaction.
    Best regards
    Jens

  • Using SAPGUI.ScriptingCtrl for testing

    Hi
    We are using SAPGUI.ScriptingCtrl API for recording SAPGUI events. We also use it to replay those recorded steps afterwards.
    Does anybody know if it is possible to hide the SAPGUI? We wanna do it as we wanna start a test run without showing the actuall GUI. It seems that there is no offical way via some methods in the ScriptingCtrl Lib - but we've seen other tools that are able to do it.
    So - is there an unoffical way?
    Thanks

    Hello,
    1- For the connection: why don't you use the .connect method?
       You could set all the needed parameters in the SAPLOGON.ini file and then use only the "system name".
       If you don't want i found this way (a little bit direct but works...) we catch the handle of the first session SAP window
       after connection and we "parent" it to the control... (the API is a standard windows one).
       Code Example --->
       GuiApplication1.OpenConnectionByString('My string!');
       windows.SetParent(Isapsessiontarget(Isapconnectiontarget(GuiApplication1.Connections.Item(0)).Sessions.Item(0)).ActiveWindow.Handle,GuiApplication1.Handle);
    2- For the popups.... the story became complicated!
      I can summirize:
      1- You need a GLOBAL WINDOWS MESSAGE HOOK (that is a dll file that you attach to your project): It will hook ALL Win messages
         but filter only the ones directed to Your Process (a dll is needed because global hooks must be in global memory and not process one).
      2- then you have to check for the specific message type HCBT_CREATEWND. This one is fired before creating a specific window or
         control (over the form). the Class type of SAP forms is '#32770'. So the trick is:
              - When you catch an event of this type and SAP form class You store the Handle in one list
              - Every time the HCBT_CREATEWND will be fired again for a different class (controls over the form) you check if the parent of the control
                (this is a parameter in the structure passes by the Win message HCBT_CREATEWND. ) is inside the list (that means that the control is owned
                by a CREATED window that must be hided)
              - If Yes you can now parent the Handle contained in the list (that is the handle of the form) to a wanted container control.
         NB: You cannot parent directly when you catch the message with the SAP Form Class Type.... the Setparent will be ignored (the Form is not created
             at this time!). Instead, doing so when you catch a control creation inside the form will guaranteee you that the form is created and that setparent
             API will work!
         PS: Acting at HCBT_CREATEWND level you are sure that you will not see any window because normally it is displayed only after all the controls on
             it are created (and you parent the window at the first created control!)
         PS: If you need i can send You an e-mail with the DLL for hooks (write me and i will answare); in your project you will have to import only one
             function. This one will take a pointer to a procedure to catch events (a sort of callback procedure).

Maybe you are looking for

  • New Line in pdf display

    Using xdp + xml data to generate pdf. I have a floating field that is bind to data. Data is a paragraph with multiple \n to indicate new line. When form is preview in designer it shows \n char instead of moving next content in paragraph to new line.

  • Downloadable File for Acrobat 9 Standard

    I am trying to find Acrobat 9 Standard to be downloaded to a new computer.  I cannot find the download file.  I can only find Acrobat 9 Pro.  Where can I find a download version of Acrobat 9 Standard?

  • Win7 64-bit Forms 11.1.2.0 and JDeveloper 11.1.1.6 use same weblogic server

    Trying to make JDev 11.1.1.6 and Forms 11.1.2.0 use same weblogic server on Win 7 64-bit. Installed JDeveloper 11.1.1.6 studio generic. This installs a 32-bit JDK and weblogic 10.3.5. (Oracle, Why doesnt forms installer install weblogic like JDev doe

  • How to delete a clip and expand the one beside it?

    I'm thinking this is probably very straightforward but I don't know how. I have a section synched to the beat of the music soundtrack. There are several short clips I want to remove and have the clip beside the one to be deleted expand to replace it

  • Location of user.id in Diagnostics Search

    When settings appInsights.context.user.id client-side in an application, where does that value get logged to? I assumed it would be in the Page View Properties of the Page View event, but I don't see it there or in the Custom Properties section.