How to find list of internal tables while debugging
Hi Experts,
I am debugging a block of an ABAP program( User Exit ). Is there any facility to see what are the internal tables, work areas are available for that particular block? Can I see it new debugger? Because I don't know from which internal table I can take a particular value, which I need to populate in an user exit.
Thanks and regards,
Venkat.
hi,
you can find the exact answer here :
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-6
under heading List of internal tables while debugging
regards
rahul
Similar Messages
-
Appending a record in an internal table while debugging
Hi gurus,
i am trying to add one record in a internal table at run time in debugging mode. i am adding the same record which is already exist in that internal table to test for some scenarios.after adding adn once if i click save, all the data i have entered is going and only the document number staying there. cant we add a record in debugging. if so where did i do mistake. thanks in advance,
santosh.hi
yes u can add records in internal table in debugging mode.
switch to the classical debugger . double click on the internal table and press append button.
then add the first field value and then press enter ...then double click on the parallel line below the next field which will take u to input the next field enter value and press on the pencil. u need not press save.
to append next line press append button again and append in similar way.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:37 PM -
How to find value in internal table
Hi,
I'm trying to search a value in internal table by using the FIND TABLE syntax but there's an error message saying In CHAR MODE a character-like, or in BYTE MODE a byte-like field is expected as the row type for the table "ITABLE". The internal table already has character-like field.
Here's the code:
FIND ALL OCCURRENCES OF w_itable-ordno IN TABLE itable RESULTS results.
Wherein:
w_itable-ordno contains the value that I need to find
itable is the internal table that has data
Thanks.
KathHi Kathy,
I dont think you can use the given syntax in unicode envoirnment.
As i understand, you are trying to find a value in your internal table. Why dont you make use of LOOP or READ statements. That would be a better option.
Best Regards,
Ram. -
How to find list of master tables in oracle apps GL
Hi Friends,
Is there a way to find all the master tables in GL?
Thanks
Prasuna,You could run a quick query to see which tables have the most rows for GL:
-- TABLES
SELECT owner
, num_rows
, table_name
FROM all_tables
WHERE num_rows > 0
AND owner = 'GL'
ORDER BY num_rows DESC; -
How to find List of views that material type supports?
Hello Gurus,
How to find List of views ( Basic Data1, Basic Data2, Sales org1, sales org2, etc.. ) for material types.
is there any table or something to find.
Thanks & Regards
RajYou can search the function module SELECTION_VIEWS_FIND in this forum. You will get the sample code.
Apart from that if only you want to know what are all the views assigned to a material type and try to enhance it then it should be from SPRO.
Go to transaction SPRO.
chose Logistics - General>Material Master>Basic Settings>Material Types>Define Attributes of Material Types
execute and you will get the list of material types.
Now dbl click on the desired material type and you will get an area called as User departments. Here what are all the views are selected those views only appear while you are trying to create (or Change/Display) material master.
Regards
Shiba Prasad Dutta -
How to Find out the all tables in module wise ?
Dear Friends,
1.How to Find out the all tables in module wise ?
what are the total number of table in SAP ?
2. how to find out all existing functions in SAP ?
Thanks and regards,
Subasha Chandra Sahoo.Hi,
You will get the module wise list from:
http://www.sourceveda.com/SAPReference.htm
http://www.sourceveda.com/
Regards... -
How to create an dynamic internal table with the structure of a ddic table
Hi all,
I want to fill ddic-tables (which I already created) in my abap dictionary with data out of CSV-files (which are located on the CRM-Server). The ddic tables have different amount of fields.
I started with creating a table which contains the name of the tables and the path to the matching CSV-file.
At the beginning I'm filling an internal table with part of this data (the name of the ddic-tables) - after that I am looping at this internal table.
LOOP AT lt_struc ASSIGNING <lfs_struc>.
LOOP AT lv_itab1 INTO lv_wa1 WHERE ztab_name = <lfs_struc>.
lv_feld = lv_wa1-zdat_name.
ENDLOOP.
CONCATENATE 'C:\-tmp\Exportierte Tabellen\' lv_feld INTO lv_pfad.
Do.
OPEN DATASET lv_pfad FOR INPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.
READ DATASET lv_pfad INTO lv_rec.
IF sy-subrc NE 0.
EXIT.
ENDIF.
enddo.
REPLACE ALL OCCURRENCES OF '"' IN lv_rec WITH ''.
SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
INSERT into (<lfs_struc>) values lr_str_value.
CLOSE DATASET lv_pfad.
endloop.
This is not the whole code, but it's working until
SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
I want to split all the data of lv_rec into an internal table which has the structure of the current ddic-table, but I didn't find out how to do give the internal table the structure of the ddic-table. In the code I used an internal tyble type string but I should be the structure of the matching tabel.
If I try to create an internal table by using a fiel symbol, I am told, that the data types are not matching.
Has anyone an idea?Hi Mayari,
though you were successfull with
METHOD cl_alv_table_create=>create_dynamic_table
I must warn you not to use it. The reason is that the number of tables created is limited, the method uses GENERATE SUBROUTINE statement and this triggers an unwanted database commit.
If you know the DDIC structure, it is (starting with ECC6.0) much easier:
field-symbols:
<table> type standard table.
data:
lr_data type ref to data.
Create data lr_data type table of (<DDIC structure>).
assign lr_data->* to <table>.
The split code can be simplified gaining speed loosing complexity not loosing functionality.
field-symbols:<fs_s> type any.
field-symbols:<fs_t> type any.
SPLIT lv_rec AT ';' INTO table it_string.
loop at it_string assigning <fs_s>.
assign component sy-tabix of wa_string to <fs_t>.
if sy-subrc = 0.
<fs_t> = <fs_s>.
endif.
at last.
append <fs_itwa3> to <ft_itab3>.
endat.
endloop.
Though it may work as Keshav.T suggested, there is no need to do that way.
Regards,
Clemens -
How to find list of languages installed in the SAP system?
Hi All,
Please tell me, how to find list of languages installed in the SAP system?
Thanks and Regards,
Kumar.Hi Virgo Rhyme
Hope the following info will be helpful
3rd - SAP is the 3rd largest software company in the world
30,000 - Total number of people employed by SAP
5,400 - Number of programmers employed by SAP
$7.024 billion - FY03 Revenue
$1.077 million - FY03 Net Income
12,000 - Number of companies using SAP
79,800 - Number of SAP installations
12,000,000 - Number of people using SAP
120,000,000 - Total number of people in the 12,000 companies who are using SAP
28 - Number of languages supported by SAP
46 - Number of country-specific versions of SAP
22 - Number of industry-specific versions of SAP
1,000 - Number of pre-defined best practices contained in the SAP system
10,000 - Number of tables requiring configuration in a full SAP implementation
55,000 - Number of SAP experienced consultants worldwide
28 - Number of years ago SAP was started
Reward if helpful
Regards
Lakshman -
How to find list of pending statements ????
How to find list of pending statements ? I want to show a report using SALV_WD_TABLE component for providing basic ALV features like sorting, filtering, exporting to excel sheet. ?
Aisurya Kumar Puhan wrote:
Hi kris,
> No not any standard component using for this.. I need only to know in which tables i can find these.....
>
> Thkx
> Aisurya.
You need to elaborate your requirement.
this is not leading anywhere.
thanks
sarbjeet singh -
How to send data from internal table to the shared folder in ABAP
Hi experts,
My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is "
xxx\y\z....".
I do not have any idea on how to send data from internal table to the shared folder path.
can anybody please help me out how to do this?
Thanks & Regards
Sireesha.Where that folder is located, its on presentation server i.e. desktop or application server.
If its on presentation server, use FM GUI_UPLOAD.
If its on application server, then use DATASET functions. Have a look at below link.
[File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
I hope it helps.
Thanks,
Vibha
Please mark all the useful answers -
*How can we use the internal table in module pool programming? Clarify plz*
If we creating a screen using the table having four fields(for e.g.). The screen has the functions of display, modify, delete, save, exit etc for the fields. The front-end of the screen having I/O fields of the table using internal table. How can we declare the internal table in the screen?
HI,
Create one WA for your Internal table and then map it to your fields.
For Example,
Data : begin of wa,
name(10),
age type i,
end of wa.
data : it like table of wa with header line.
Then in screen create input fields with the name, age and ***.
Then the user entered values are stored in name age and ***.
then you can manipulate with that values using wa.
Thanks. -
How to update Records from Internal table to u2018Zu2019 table?
Hi Friends,
How to update Records from Internal table to u2018Zu2019 table.
I have records in Internal table , that records want to update on u2018Zmarau2019 Table.
( my internal table & u2018 Zu2019 table structures are same.)
Thanking you.
Regards,
SubashHi,
loop at internal table.
modify <Z- table > from values < internal table Workarea>.
if sy-subrc = 0.
COMMIT work.
else.
ROLLBACK waork.
endif.
endloop.
or
UPDATE <Z- table > from table < internal table Workarea>.
if sy-subrc = 0.
COMMIT work.
else.
ROLLBACK waork.
endif.
Prabhudas -
H how to find if the psa table is included in psa deletion process chain
Hi all
can anybody tell me .
I have a psa table it's technical name is /BIC/B*
h how to find the above psa table is included in psa deletion process chain or not
please help meHi
Ope the PC in RSPC1 -->go to planning view of process chain
in left side you will find different types of process types.
under other BW process types folder -->you will find process type "Delete request from PSA"
drag this into your process chain planning view and customize it based on your requirements.
check the below article for step by step procedure
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
Regards,
Venkatesh -
How to find list and cost price in MM module
Hi
Can any one help me in how to find List and cost price in MM module for pricing.
thank you.
Davidhi Saquib Khan
Many thanks Saquib Khan for ur reply. Actually iam trying to create a report which displays material number, material description, plant, product hierarchy, cost and list price, based on the selection criteria of a range of materials, plant and also product hierarchy.
If u want to share any information.It would be much better for me.Like iam learning SAP.
thanks. -
How to find the columns and tables used in a stored procedure?
Hi,
Can someone suggest how to find the columns and tables used within a stored procedure?
Thanks
VBKFor example:
SQL> create or replace
2 procedure p1
3 is
4 cnt number;
5 begin
6 select count(*) into cnt from emp;
7 end;
8 /
Procedure created.
SQL> select referenced_owner,
2 referenced_name
3 from dba_dependencies
4 where owner = 'SCOTT'
5 and name = 'P1'
6 and referenced_type = 'TABLE'
7 /
REFERENCED_OWNER REFERENCED_NAME
SCOTT EMP
SQL> SY.
Maybe you are looking for
-
Hi I need the order combination field as editible with out the flag on, as of now the selection is of optional in field selections, this is giving the field as on and editable when defining customer. Can any one idea of this field as to be editable w
-
Value coming from query is chaing in the Table view
Hi experts, I am new to VC and developing a basic model by using a BI query as a data service. I have a field "Project Code" which can return value numeric or alpha numeric or Character. for example Project Code= 14000000000000002782007 or ATROVASTAT
-
Need help... someone?
hey, im currently having some problems with my project that im working on and really need some help. the code is too big and messy to post here so if your willing to help, plz leave your email address and ill send u the code as well as the problem. (
-
Hi all, Is there any doc to be followed for deployment of BISE one on any application. Regards, Mahesh
-
Error causing 'Adobe Central Output Server' service stopped
A error message was logged in the Central Log as follows: -Unable to remove file 'D:\Jetformdata\Server\Data\JF3A51.dar'. Permission denies. -Shutting down client agents. -Warning: skipping disabled task JfShutDn. -Exit And then the service 'Adobe Ce