Hi all,(Using SAP ABAP 7.50)Is there any way that I can, programmatically, get the name and value of each element of a data structure?What I would like to do is something like the following pseudo code:TYPES:
BEGIN OF ty_data,
var1 TYPE string,
v...
Hi all,Does anybody knows if there is a method to hiding (i.e. Setting not visible) empty rows when using CL_SALV_TABLE (Similar to CL_GUI_ALV_GRID_EXT=>SET_HIDE_EMPTY_COLUMNS)Thanks,
Hi all:(Running ABAP 7.50)I’m trying to use the set_suppress_empty_data( abap_true ), but keep getting a dump and an error message (Class DISPLAY_SETTINGS, method SET_SUPPRESS_EMPTY_DATA not supported for CL_SALV_TABLE Control Technology).My test cod...
Hi all,I have a problem with a method call that has me, to say the least, perplexed.The method is very simple. It receives a single parameter (table name) and returns a date: METHOD ultima_fecha_pbi.
"--------------------------------------------...
Hi all,Recently we had some dumps with LOAD_PROGRAM_TABLE_MISMATCH related to a column added to a standard table. There are some SAP Notes related to this and one of the recommendations is running the program TOUCHSRC for fixing the program that gave...
Before anything, let me apologize for the tardiness in my responde. Got sidetracked with another project. What I really wanted to do was to supress columns WITHOUT having to specify a specific column name. A generic method, if possible. Thanks
Raymond: "The method seems only allowed on list and hierarchy sequence, not tree and grids". Thanks!! That's the answer I needed. The TRY...CATCH portion is, in fact, not as important. The code depicted was just a quick and dirty test for the set_sup...
Raymond,Thank you for your post.I agree that, in most instances, raising an exception is the best approach.However, in this particular method, returning either an initial value or a date related to the indicated table name is the most appropriate res...
Sandra:I would have loved to know the cause of this problem. I tried different approaches, including performing a `SELECT * FROM PROBLEM_TABLE INTO @DATA(itab)` just before the method’s `SELECT`, but the desired record did not appear.The use of SE14 ...