Quantcast
Channel: SCN : Unanswered Discussions - ABAP Testing and Troubleshooting
Viewing all 430 articles
Browse latest View live

eCATT SAPGUI: dealing with collapsed/ expanded nodes

$
0
0

When you access SAP screens following a refresh or say with a different test ID, you encounter situation with some t-codes where you need to make changes to get to the default screen that the script was initially recorded with.

 

A classic example in my mind is ME21N, where the "Header", "Item", "Item overview" nodes are collapsed and document overview is on (see screenshot). As a result, the script fails. I am sure some of you folks out there must have faced this situation.

 

I am looking for inputs on how you managed this situation within the script itself.

 

Thanks!

 

1-3-2014 9-15-04 AM.png

 

1-3-2014 9-16-18 AM.png


ecatt and Java WebDynpro?

$
0
0

Hi guys,


this is probably a simple Yes/No question for everyone but i can't seem to figure it out.

 

We are on netweaver7, ehp2.

 

Can we use eCatt to test Java Web dynpro?

 

Does anyone have any advice for free ways to do performance test on a Java Gui?

 

Thanks a million.

 

Sara

Automatically Send email after Creating Invoice from VF01, And MASS mailing !!!

$
0
0

Hello Guru's,

 

We are trying to development for Auto mailing (PDF as Attachment / Invoice Printing ), As we are having two different requirement as following -

 

1) Automatically email send after creating / Change Invoice from VF01 / VF02 (PDF as Attachment / Invoice Printing ).

and

2) Mass mail through different selection A) Date, B) Customer, C) Agent / LIFNR, D) Invoice, E) Any period through background schedule job (PDF as Attachment / Invoice Printing ).

 

Suggestions are appreciated...

Dump error: Dynpro does not exist while in transaction me41 !!!

$
0
0

Hi Experts

I am experiencing dump while attempting to create rfq/contract.

 

Error analysis

    The system attempted to use dynpro 0301 in program "SAPLXM06".

    This dynpro does not exist.

 

Trigger Location of Runtime Error

    Program                                 SAPMM06E

    Include                                   MM06EO0C_CUSTSCR1_HEAD_SET_DAT

    Row                                        10

    Module type                         (MODULE PBO)

    Module Name                      CUSTSCR1_HEAD_SET_DATA

 

Suggestions welcome...

ECATT error message

$
0
0

When try to use TCD to create vendor master data, it has return a error message ( please see attachment )

 

Why return Message Type  = 'S'  ,  Not "E"  ( Country Key AAA is not defined ) ??

Problem with hierarchical lists

$
0
0


I have created a hierarchical list with   cl_salv_hierseq_table.

This list has 2 levels and a selection field for lines of level 1.

 

When any number of lines of level one have been selected and now I expand a line of level 1 to see the corresponding lines of level 2 all selections are gone.

 

I have found 2 reports which demonstrate how to use hierarchical lists and which use a selection field too:

 

SALV_DEMO_HIERSEQ_REFRESH      Demonstration for REFRESH in ALV OM

SALV_TEST_HIERSEQ_REFRESH      Demonstration for REFRESH in ALV OM

 

Both of them show the same behaviour as my program. So they don't contain the solution of the problem.

 

Is there a solution for this problem?

 

Thanks in advance for any help.

 

Regards

 

Bruno

ABAP Test Cockpit and Solution Manager

$
0
0


Hi,

 

is there any integration between ABAP Test Cockpit and SAP Solution Manager?

 

Thanks.

Nora

Performance optimisation for GLPCA-MARA joins

$
0
0

Hi All,

 

I need to fetch data from multiples tables and the chunk of data is coming from GLPCA and MARA and display it in

an ALV.

The expected records is around 1 million.

I'm joining both these tables using the field MATNR as its the only key field in MARA, however I did not

get any significant improvement in the performance.

 

Can someone suggest me any  other performance optimisation technique.

 

Thanks,

Faiz

 

 



Random screen refresh during ECATT replay.

$
0
0

Hello!

 

 

I faced a problem during ECATT replay.

As my script growth into a rather large size, replay of it causes screen "refresh" suddenly at a random moment.

So sometimes script replay finishes without errors and sometimes strange errors (like "screen element is not found", "error in ecatt control", "cannot find replay session") appears.

 

 

Is there any way to fix this random screen refreshes?

 

 

By the way, I'm using sapgui in my script.

 

 

Regards,

Sergey.

Error while coding

$
0
0

Hi iam a starter in ABAP and i got a small error while coding that is

 

PARAMETERS:

  ABAP  AS CHECKBOX.

  SELECTION-SCREEN COMMENT 5(4) text-010.

  SELECTION-SCREEN END OF LINE.

  SELECTION-SCREEN BEGIN OF LINE.

  PARAMETERS:

  MM AS CHECKBOX.

  SELECTION-SCREEN COMMENT 5(4) text-011.

  SELECTION-SCREEN END OF LINE.

  selection-screen end of block nam1.

if ABAP = 'X'.

WRITE ' YOU ARE ELIGIBLE CONSULTANT'.

ENDIF.

 

in the above code my requirement is when i check the abap the following msg must be showed in the output screen but its not showing..

please help me if anyone knows how to do it. thank you.

 

And this is the part of the code if anyone want to see whole code it is attached with this thread.

Optimize inner join code on LTAP and LTAK

$
0
0

Hallo.

 

I'm a newbie on ABAP.

 

I note a bad performance on the code:

  SELECT COUNT(*)

    FROM ltap AS a

    INNER JOIN ltak AS b

    ON a~lgnum EQ b~lgnum

    AND a~tanum EQ b~tanum

    INTO row_conf

    WHERE a~lgnum EQ p_mag

      AND a~pquit NE 'X'

      AND a~nltyp EQ '916'

      AND b~bdatu LE p_day.

 

 

How could I optimize it?

 

Could you give some suggest, please?

 

Thanks a lot for your help.

 

Mario

Verification of Customer View and Supplier View in SNC

$
0
0

Hi All,

I have  implemented enhancement in standard object. so for verification purpose I need to determine whether user has logged onto supplier view or customer view in SNC.

 

So how I can recognize technically (ABAP) which view is currently called supplier or customer.

 

Thanks

Gaurav Gupta

ECATT problems with abap objects.

$
0
0

Hello!

 

There is a limit in 36 abap blocks in ECATT. After reaching this limit it implicitly executing "rescon" command which erases all abap blocks shared memory and Im loosing my created abap objects (references). Even if Im using option "target system = NONE", Im facing with this problem.

I tried to use "Abap objects" pattens to create my objects, but they are erased too (suppose it is the same inline abap).

 

Is there any way to save references after recon in ECATT?

 

Regards,

Sergey.

Enhancements not working in PRD

$
0
0

Hi Techies,

 

I have an issue with enhancements that are not working in the Production client.

 

We have tested all scenarios in Dev & Quality client and all is working fine. But when the TR's are moved to PRD the enhancements are not working.

 

However in debug we found that the values are coming in the code but on saving the document the values are not present in the document.

 

Please advise.

 

Thanks

Kaustubh Attrey

Z- report download issue

$
0
0

Dear Experts,

 

We have one report created by FI consultant for GL account details for TAX and all. The report output is quite huge (may be 90 MB data ). However the report is getting generated successfully (after 15 to 20 minutes). When tried to download in local file (say excel); I see in sm66 that the process starts to consume Extended memory (2.4 GB for dialog) and then Heap (2 GB) and gives memory dump. (this was done on production)

 

We ran same report in Background. spool was generated. now i went to sp01 clicked on that spool...Just to display that spool it took all extended memory and hit heap also (no memory-outage problem yet) when clicked on download to local file ....It is once again out. (ST22 memeory-outage error)

 

Now my doubts:

 

1) Why SAP process is taking too much memory just to display already calculated report in SP01 (report size do not exceed 200 MB if downloaded in EXCEL)

 

2)Is there any workaround possible that can be implemented in that Report (which is anyway is QUERY - As per FI consultant) so that end users will be prompted directly for exporting that file in ZIP format to local file  ?

 

Regards,

 

Arthur


Start a SELECT from a certain point.

$
0
0

Hi.

 

Is it possible to start a SELECT from a certain point?

 

I would like to do the same as shown with the code below, but with "select single" nested instead of "read" and DB TABLE instead of ITAB2 internal table.

 

Thanks.

 

Luke.

 

* Entries: 1000 (ITAB1), 300 (ITAB2)

* Line width: 100

* Both tables sorted by unique key K ascending

DATA: I TYPE I.

 

 

I = 1.

LOOP AT ITAB1 INTO WA1.

  do.

    READ TABLE ITAB2 INTO WA2 INDEX I.

    IF SY-SUBRC <> 0. EXIT. ENDIF.

    IF WA2-K < WA1-K.

      ADD 1 TO I.

    ELSEIF WA2-K = WA1-K.

      " ...

      ADD 1 TO I.

      EXIT.

    ELSE.

      EXIT.

    endif.

  enddo.

  if sy-subrc <> 0. exit. endif.

ENDLOOP.

ECATT RECORDING FOR MULTIPLE TRANSACTION

$
0
0

Hi Experts,

 

I am trying to do ecatt recording for Transaction FEBA which internally call another transaction FB05

 

i have created the ECATT script but when i processed the script it is not flowing to fb05

 

iam stuck now, please help

 

thanks

Check in eCATT if a screen exists

$
0
0

Hello,

 

I have a question about checking an optional screen element. There is a CHEGUI and I check a field in there. But it is possible that the screen, that is checked by the CHEGUI, doesn't occure. Is there a possibility to check if the screen is there (and do the CHEGUI) or if it is not there to skip the CHEGUI?

In other test automation frameworks like QTP are mehtods (EXISTS() )for such an operation but in eCATT I didn't find something until now.

 

regards,

Wolfgang

RSMEMORY report issue

$
0
0

Dear team,

 

We have issue with one of the report for which we need to extend the memory allocation for Dialog work process.

 

Currently the parameter ztta/roll_extension = ztta/roll_extension_dia (we did not set it explicitly) equal to 2.4 GB and Heap  for dialog is 2.0 GB.


When checked in SM66 (memory allocation) we found that after 2.4 GB is used....Dialog work process hits heap and starts using it further till 2.0 GB and dies thereafter.

 

As per sap Note 610965,  ran RSMEMORY to change the parameters ztta/roll_extension for dialog process dynamically.

 

For testing purpose I changed ztta/roll_extension for Dialog work process to 5 GB.

 

So when I checked the memory allocation once again via SM66..... it did not go the way as expected. instead of 5 GB, it used only 3.7 GB of extended memory and once again hit the heap memory. I ran same thing in quality system for multiple times to be very sure but same results.

 

Questions:

 

1) Why extended memory is not used beyond 3.7 GB despite set explicitly to 5 GB? Where this 3.7 GB is picked from ? cause nowhere is it set.

 

2) Is REMEMORY report is used only for abap/heap_area_total and ztta/roll_extension (both dialog and non-dia) parameter change ? or can it be used for other memory parameters also ?

 

Regards,

 

Arthur

ECATT: How to a version of Test Script in Test Configuration?

$
0
0

Test Script : ZTest version 1 and 2.

 

In Test configuration, only can select version 2 and run latest version.

 

Can configure different version ?

Viewing all 430 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>