Search found 702 matches

by skarkada
Mon Dec 29, 2014 4:59 pm
Forum: ABAP
Topic: Internal tables with workareas and fieldsymbols comparision.
Replies: 0
Views: 920

Re: Internal tables with workareas and fieldsymbols comparision.

I don't think the behavior has anything to do with indexes, but has everything to do with 'CORRESPONDING.'
by skarkada
Mon Dec 29, 2014 4:56 pm
Forum: ABAP
Topic: Select with order by take much time and not execute
Replies: 0
Views: 814

Re: Select with order by take much time and not execute

You can't "fix" it. Depending on how many rows exist in the table BSIS, it could take a long time to first sort the data by ZUONR and then get first 10 rows. Just think about it. Finding any random 10 rows where ZUONR <> blank is much quicker than finding the top 10 ordered by ZUONR.
by skarkada
Tue Apr 08, 2014 2:13 pm
Forum: ABAP
Topic: Colouring ALV Columns via Layout
Replies: 4
Views: 2355

Re: Colouring ALV Columns via Layout

Pete, what you developed is cool! I did not know that something like this is possible. I was able to change the colors of SE16 display!
by skarkada
Wed Apr 02, 2014 2:47 pm
Forum: ABAP
Topic: Icons using CL_SALV_TREE
Replies: 1
Views: 2435

Re: Icons using CL_SALV_TREE

I know this is 6 years too late. Since I struggled with this for several hours, I thought I will post the answer here so it will help someone else. Here is the solution to the problem (look for "<<): FORM add_tree_node USING p_related_node TYPE lvc_nkey p_data TYPE rspcchain CHANGING p_new_node TYPE...
by skarkada
Mon May 13, 2013 8:46 am
Forum: ABAP
Topic: IN (' ', 'X') or = ' ' OR 'X'
Replies: 4
Views: 1832

Re: IN (' ', 'X') or = ' ' OR 'X'

I think Rich meant SQL plan. You should do that - it might surprise you.
by skarkada
Fri Apr 19, 2013 11:09 am
Forum: ABAP
Topic: How to MODIFY current record in a LOOP
Replies: 7
Views: 2519

Re: How to MODIFY current record in a LOOP

OK, here seems to be the problem: you have two MODIFY statements in your loop, the first one being on a different internal table. You don't have to specify the index when modifying an internal table if you are looping on THAT table. In all other cases you must specify the index - otherwise the ABAP ...
by skarkada
Mon Apr 15, 2013 3:56 pm
Forum: ABAP
Topic: How to refresh a parameter field dynamically
Replies: 4
Views: 1611

Re: How to refresh a parameter field dynamically

Jkeri, While it is not possible to achieve what you are wanting to do, work-around options do exist. 1) If the FLD2 value is always going to be FLD1-100, you should be able display a brief comment describing that fact and avoid all the calculations completely. For example, "Lower limit will be 100 l...
by skarkada
Wed Feb 13, 2013 12:00 pm
Forum: ABAP
Topic: Zipping internal tables into one file
Replies: 4
Views: 1707

Re: Zipping internal tables into one file

I found this sample in SAP and it doe not use SCMS_TEXT_TO_BINARY. Does this help? l_content_x TYPE xstring, l_content_c TYPE string, lc_conv TYPE REF TO cl_abap_conv_out_ce. CREATE OBJECT lc_zip. lc_conv = cl_abap_conv_out_ce=>create( ). LOOP AT lt_multiple_archived_docs INTO l_multiple_archived_do...
by skarkada
Wed Jan 30, 2013 2:51 pm
Forum: ABAP
Topic: Is populating select-options better for performance?
Replies: 5
Views: 1926

Re: Is populating select-options better for performance?

Logically, in a production size system, removing VKORG from WHERE clause will provide best performance. Database does crazy things when the table size is small (like in development system) giving you unreasonable performance measurements. Below are the benefits of coding the way your example shows: ...
by skarkada
Mon Jan 21, 2013 10:54 am
Forum: ABAP
Topic: Z report output in an excel file
Replies: 2
Views: 1426

Re: Z report output in an excel file

Pamela, Reading your message, it appears like you are not the developer, but somehow you were tasked to post the message. Fine. 1) It is very hard to determine why a program behaves one way in the development system and another way in subsequent systems. Usually my heart sinks a little when this hap...
by skarkada
Wed Oct 24, 2012 10:11 am
Forum: ABAP
Topic: About Grid control
Replies: 4
Views: 1429

Re: About Grid control

Portfolio,

The only restriction (that I can think of) with ALV grid is that the data should be supplied in an internal table. Is that the trouble in your situation?
by skarkada
Fri Oct 19, 2012 4:01 pm
Forum: General Talks
Topic: 10th Anniversary is coming up
Replies: 3
Views: 4273

10th Anniversary is coming up

10 years since the site crashed and everyone had to re-register.
by skarkada
Mon Sep 17, 2012 12:31 pm
Forum: General Talks
Topic: delete
Replies: 55
Views: 38550

Re: Will SAP technology get saturated in future?

Companies may not replace SAP with some other software. But, SAP may replace one technology/product with something else. For example, about 8 years ago, there was a real fear (among some people) that SAP will replace ABAP with Java. Whatever the reasons, that didn't become reality. Around year 2000,...
by skarkada
Thu Jul 05, 2012 8:30 am
Forum: ABAP
Topic: How to append to string variable?
Replies: 9
Views: 6384

Re: How to append to string variable?

Thanks Rich. The code couldn't pass syntax check in our system; SAP_ABA shows 700. I have access to another system with 730, and it worked fine in that system. I'll try to set today aside for some learning.
by skarkada
Tue Jul 03, 2012 3:53 pm
Forum: ABAP
Topic: How to append to string variable?
Replies: 9
Views: 6384

Re: How to append to string variable?

Does anyone know which version will support the coding example on this page? Looking at the URL, it looks like 7.31. So, these are functions that look and work like class methods? I guess there is a lot more learning on the horizon.

http://help.sap.com/abapdocu_731/en/abe ... ctions.htm