Tables used in fd32 transaction
Hi
here by finding open ordervalue/open delivery value for the customer Vs credit control area used in fd32 transction
i am not able to find tables r view that those values are stored
i need tables / view
Hi Irfan,
to find the list of tables and views just GO TO SE80 and give program name SAPMF02C and select the dictonary objects
u shall see all the tables and views related to the transaction.
if u find the information useful plz ack it ....
best of luck !!!
Regards
Ravi
Similar Messages
-
Table used in the Transaction OOER or External Trainer
Can any body help in finding out the standard tables used in the transaction OOER or To add External Trainder.
Hi,
Below declaration is there in the transaction code.
Hope this helps you.
TABLES : hrvpv6a, "screen parameters Dynpro 2000 / 3000
hrp1000, "database for P1000 (SYS_CHECK_SHORT)
hrp1023, "database for P1023 (Dynpro 4200)
t005t, "country names
t522t, "address-forms
t535n, "name addings
t777a, "show these addresses for buildings
t778p, "#EC NEEDED "allow these planversions
q1023, "help structure for relations
p1023, "help structure for relations
pad21, "help structure for relations
pad22, "help structure for relations
pad31, "help structure for relations
pad77, "help structure for relations
pkeyk, "help structure for cost centers
indx . "database for user settings -
Finding table used in CJI3 transaction
Hi experts,
I am creating a report to produce the output of cji3 transaction.Getting the input as project or WBS i have to calculate actual amount.
For that i want to know the tables used in this transaction.Please help me..
If any one can tell the tables used this "s_alr_87013558" trancaction is also ok.
Thanks & Regards,
Karthik.Hi,
After going into any transaction press F1 where you usually enter the value and then you get performance assistant in that performance assistant press the tab technical information......
it will give you the name of the table and also the fieldname of that particular field.
for example :-
In transaction "s_alr_87013558" :-
table field name
For Database prof :- TCNT PROF_DB
Reward if helpful.
regards,
Syed -
Final Internal Table used in MIGO Transaction
Hi Experts,
I need to know the final internal table used in the MIGO transaction. Why I want to know this is, I need all the records which are there in the table control (GODYNPRO) of the MIGO transaction. I have used the BADI BADI MB_MIGO_BADI to read the values. But since it is a table control the values are getting changed when the user scrolls down the table control. How can I get all the values shown in this table control. Is there any global internal table in the SAPLMIGO program?
BR.Hi ABAP,
Check the BADI MB_MIGO_BADI the example class CL_EXM_IM_MB_MIGO_BADI
In attributes tab variable GT_EXTDATA contains all migo positions.
Read the internal table to check items.
in this method the internal table is filled.
Therefore define your internal table in the class attributes.
I hope you help. -
Locate Database table used in Program / Transaction
Hi Friends,
I wanted to know that Is there any standard method which would show all the Database tables/query used in that program/Transaction.
I heard there was Program in 4.6 version as i am unaware of that as well.
Please if anybody can help me on this
ThanksHi,
You can use SQLTrace.
Check this link.
How to know the List of Tables that are updated through a ABAP Program
Kindly reward points by clicking the star on the left of reply if this is useful. -
How to trace the data dictionary tables used in the standard transaction
Dear all,
Help me to trace the data dictionary tables used in the standard transaction "crm_dno_monitor". I need to find the tables where the data are stored.
or
Tell me generally how to find the tables used in the standard transaction.
Regards,
PremHi,
Open the program of that standard transaction in object navigator or SE80..
Then click on the dictionary structures tab..
U can find the database tables used in this transaction..
\[removed by moderator\]
Regards,
Rakesh
Edited by: Jan Stallkamp on Jul 29, 2008 5:29 PM -
Adding data into a custom table through a report transaction
Is it possible to add data into a table through a report transaction. I have been asked to create a report in which when we add certain data in the selkection screen it updates thoses particular fields and the rest of the records can be fille dout in the output. Basically I have a customised allocation table called zalloc. I have to create a report with selection screen having receiving plant, material document of the original transfer psoting , issuning plant , line item number , batch, receiving and issuning storage location. I need to validate this against the mseg table and whatever entry I make in teh selection screen should update my zalloc table from here.
Can anyone help me with this please.
ThanksHi Aarav,
Yes, It is possible to add records to a table using a report transaction. You can use Update or Modify to insert records in a table.Convert the data fetched from the ZALLOC and convert it into an internal table of the same format as that of the ZALLOC table and simply do an
loop at itab_zalloc into wa_zalloc.
*INSERT INTO ZALLOC FROM WA_zalloc*.
endloop.
OR
INSERT ZALLOC FROM TABLE ITAB_ZALLOC
OR
UPDATE ZALLOC FROM TABLE ITAB__ZALLOC .
Update will modify if that record exist and returns sy-subrc as non zero if entry does not exist.
OR
MODIFY updates an existing DB entry or, in no matching entry exists, inserts a new entry into the DB table -
How to find the Databse field used in which Transaction
Hi,
I have one query about:
How to find the particular field from the Database table, used in which transaction?
Bottomline: I want to find the LIKP- LIFEX field, used in which Transaction. I know it is related to inbound delivery, but i couldn't find it in which transaction it is.
Thanks in advance.
Jai.Hi Jai,
The field is called External ID which equal to LIKP-LIFEX or RV50A-VERUR_LA (structure).
Path:
Goto -> Header -> Administration -> External ID.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Tables used in standard t-code
Hi Experts,
Can anyone tell me how to find tables used in standard transactions.
Thanks,
Swarna.hi,
u can find all tables in DD02l table.
check this program.it will give u all tables used in a program.
so in ur standard transaction goto system - status - program name n execute tht in this report.
*& AS : ALV report to display the dictionary objects
*& (tables/structures/views of all types of delivery classes)
*& used by a program. *
REPORT ZALV_TABLESPROG .
*ALV type pools declarations
TYPE-POOLS : slis.
*Internal table and work area declarations for dd02l and dd02t
DATA : it_dd02l TYPE STANDARD TABLE OF dd02l,
wa_dd02l TYPE dd02l,
it_dd02t TYPE STANDARD TABLE OF dd02t,
wa_dd02t TYPE dd02t.
*DATA DECLARATIONS FOR PROGRAM NAMES
DATA : progname LIKE sy-repid.data : prognames(60) type c.
*Structure for output
TYPES : BEGIN OF ty_output,
tabname LIKE dd02l-tabname,
tabclass(20) TYPE c,
contflag(80) TYPE c,
text LIKE dd02t-ddtext,
END OF ty_output.
*Internal table and work area declarations for output
DATA : it_output TYPE STANDARD TABLE OF ty_output,
wa_output TYPE ty_output.
*Structure for table names
TYPES : BEGIN OF ty_names,
name LIKE dd02l-tabname,
END OF ty_names.
*Internal table and work area declarations for table names
DATA : it_names TYPE STANDARD TABLE OF ty_names.
*data declarations for ALV
DATA: it_layout TYPE slis_layout_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
it_fieldcat TYPE slis_t_fieldcat_alv.
SELECTION SCREEN ************************
PARAMETERS : program LIKE sy-repid.
INITIALIZATION **********************
INITIALIZATION.
START OF SELECTION.
START-OF-SELECTION.
*Select to check if the program exists
select single name from trdir into prognames where name = program.
*If Program does not exist message is thrown
IF sy-subrc <> 0. MESSAGE 'PROGRAM DOES NOT EXIST' TYPE 'I'.
EXIT.
ENDIF.
*Calling FM to get the tables associated with the program
progname = program. CALL FUNCTION 'GET_TABLES'
EXPORTING
progname = progname
TABLES
tables_tab = it_names.
*Check if there are tables in the internal tabel
IF it_names IS INITIAL.
MESSAGE 'DATA DOES NOT EXIST' TYPE 'I'.
EXIT.
ELSE.
*Subroutine to get the table details
PERFORM TABLES_IN_PROGRAM.
ENDIF.
*output display
PERFORM alv_output.
*& Form TABLES_IN_PROGRAM
text
FORM TABLES_IN_PROGRAM.
*To fetch Tables and their features
IF it_names[] IS NOT INITIAL.
SELECT tabname tabclass contflag FROM dd02l
INTO CORRESPONDING FIELDS OF TABLE it_dd02l
FOR ALL ENTRIES IN it_names
WHERE tabname EQ it_names-name.
ENDIF.
*To fetch the texts for the table
IF it_dd02l[] IS NOT INITIAL.
SELECT tabname ddtext FROM dd02t INTO CORRESPONDING FIELDS OF TABLE it_dd02t
FOR ALL ENTRIES IN it_dd02l WHERE tabname EQ it_dd02l-tabname AND ddlanguage = 'E'.
ENDIF.
*If no data is selected throw message
IF sy-subrc <> 0.
MESSAGE 'DATA DOES NOT EXIST' TYPE 'I'.
EXIT.
ENDIF.
*Appending values to the output table
LOOP AT it_dd02l INTO wa_dd02l. wa_output-tabname = wa_dd02l-tabname.
wa_output-tabclass = wa_dd02l-tabclass.
wa_output-contflag = wa_dd02l-contflag. READ TABLE it_dd02t INTO wa_dd02t WITH KEY tabname = wa_dd02l-tabname.
wa_output-text = wa_dd02t-ddtext.
APPEND wa_output TO it_output.
CLEAR wa_output. ENDLOOP.
*modifying the values in the output table for texts
LOOP AT it_output INTO wa_output. AT NEW tabname.
READ TABLE it_dd02l INTO wa_dd02l WITH KEY tabname = wa_output-tabname. CASE wa_dd02l-contflag.
WHEN 'A'.
wa_output-contflag = 'Application table (master and transaction data)'.
WHEN 'C'.
wa_output-contflag = 'Customizing table, maintenance only by cust., not SAP import '.
WHEN 'L'.
wa_output-contflag = 'Table for storing temporary data, delivered empty'.
WHEN 'G'.
wa_output-contflag = 'Customizing table, protected against SAP Upd., only INS all'.
WHEN 'E'.
wa_output-contflag = 'Control table, SAP and customer have separate key areas '.
WHEN 'S'.
wa_output-contflag = 'System table, maint. only by SAP, change = modification'.
WHEN 'W'.
wa_output-contflag = 'System table, contents transportable via separate TR objects '.
WHEN ' '.
wa_output-contflag = 'Delivery class not available '. ENDCASE. CASE wa_dd02l-tabclass.
WHEN 'TRANSP'.
wa_output-tabclass = 'Transparent table'.
WHEN 'INTTAB'.
wa_output-tabclass = 'Structure'.
WHEN 'CLUSTER'.
wa_output-tabclass = 'Cluster table'.
WHEN 'POOL'.
wa_output-tabclass = 'Pooled table'.
WHEN 'VIEW'.
wa_output-tabclass = 'General view structure '.
WHEN 'APPEND'.
wa_output-tabclass = 'Append structure'. ENDCASE. MODIFY it_output FROM wa_output TRANSPORTING contflag
tabclass
WHERE tabname EQ wa_output-tabname.
CLEAR : wa_output , wa_dd02l. ENDAT.
ENDLOOP.ENDFORM. " TABLES_IN_PROGRAM&----
*& Form ALV_OUTPUT
text
FORM alv_output.
*Fieldcatalogue
PERFORM build_fieldcat.
*Layout
PERFORM build_layout.
*Display
PERFORM alv_display.ENDFORM. "ALV_OUTPUT
*& Form build_fieldcat
text
*Field catalogue
FORM build_fieldcat. CLEAR wa_fieldcat.
wa_fieldcat-row_pos = '1'.
wa_fieldcat-col_pos = '1'.
wa_fieldcat-fieldname = 'TABNAME'.
wa_fieldcat-tabname = 'IT_OUTPUT'.
wa_fieldcat-seltext_m = 'TABLENAME'.
APPEND wa_fieldcat TO it_fieldcat. CLEAR wa_fieldcat.
wa_fieldcat-row_pos = '1'.
wa_fieldcat-col_pos = '2'.
wa_fieldcat-fieldname = 'TABCLASS'.
wa_fieldcat-tabname = 'IT_OUTPUT'.
wa_fieldcat-seltext_m = 'CATEGORY'.
APPEND wa_fieldcat TO it_fieldcat. CLEAR wa_fieldcat.
wa_fieldcat-row_pos = '1'.
wa_fieldcat-col_pos = '3'.
wa_fieldcat-fieldname = 'TEXT'.
wa_fieldcat-tabname = 'IT_OUTPUT'.
wa_fieldcat-seltext_m = 'DESCRIPTION'.
APPEND wa_fieldcat TO it_fieldcat. CLEAR wa_fieldcat.
wa_fieldcat-row_pos = '1'.
wa_fieldcat-col_pos = '4'.
wa_fieldcat-fieldname = 'CONTFLAG'.
wa_fieldcat-tabname = 'IT_OUTPUT'.
wa_fieldcat-seltext_m = 'Delivery Class'.
APPEND wa_fieldcat TO it_fieldcat.ENDFORM.
*& Form build_layout
text
*Layout
FORM build_layout. it_layout-zebra = 'X'.
it_layout-colwidth_optimize = 'X'.ENDFORM. "build_layout
*& Form alv_display
text
*ALV output
FORM alv_display.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'
it_fieldcat = it_fieldcat
is_layout = it_layout
TABLES
t_outtab = it_output.
ENDFORM. "alv_display
FORM html_top_of_page *
FORM HTML_TOP_OF_PAGE USING top TYPE REF TO cl_dd_document. data tstring type SDYDO_TEXT_ELEMENT. tstring = program. CALL METHOD top->add_text EXPORTING text = 'Tables used in the program'
sap_style = 'heading' .
CALL METHOD top->add_text EXPORTING text = tstring
sap_style = 'Heading' .ENDFORM.
r -
Table used in goitem fields in MIGO transaction.
Hello experts,
I was given to write BDC for MIGO transaction.
Please any one suggest me how to get the following fields (from which table) .
material text - maktx,
Quantity in Une - ERFMG
batch number - CHARG
external entered posting amt in local currency - EXBWR
please do me the requested favor,
advanced thanks,
vijayHi,
Better way i`ll tell you how to find the database tables.
Goto the transaction CV03.
Get the program name.
SYSTEM ---> STATUS ---> PROGRAM(GUI)
The program name for this transaction SAPLCV00.
Copy this program name.
Goto SE38. Open this program.
Get the package name.
GOTO ---> ATTRIBUTES ---> PACKAGE
The package for this program is CV.
Copy the package name.
Goto to SE80 or Click on Display Object List(CtrlShiftF5) button which is on the toolbar.
Select package and open the package name.
You will get the list of business engeneering, dict.objs, class library, programs etc.
Goto Dict.objects ---> Database tables.
All the tables related to this transaction are given here.
Use these steps to find the tables, programs, function grps etc
whenever required.
Hope this solves your problem.
Thanks,
Darpana. -
Table used in transaction cv03
Hello guys! can you tell me the database table needed in transaction cv03?
Thanks for the help!
JPHi,
Better way i`ll tell you how to find the database tables.
Goto the transaction CV03.
Get the program name.
SYSTEM ---> STATUS ---> PROGRAM(GUI)
The program name for this transaction SAPLCV00.
Copy this program name.
Goto SE38. Open this program.
Get the package name.
GOTO ---> ATTRIBUTES ---> PACKAGE
The package for this program is CV.
Copy the package name.
Goto to SE80 or Click on Display Object List(CtrlShiftF5) button which is on the toolbar.
Select package and open the package name.
You will get the list of business engeneering, dict.objs, class library, programs etc.
Goto Dict.objects ---> Database tables.
All the tables related to this transaction are given here.
Use these steps to find the tables, programs, function grps etc
whenever required.
Hope this solves your problem.
Thanks,
Darpana. -
Hi,
We have a requirement to purge the Azure WADLogs table on a periodic basis. We are achieving this by using Entity group transactions to delete the
records older than 15 days. The logic is like this.
bool recordDoesNotExistExceptionOccured = false;
CloudTable wadLogsTable = tableClient.GetTableReference(WADLogsTableName);
partitionKey = "0" + DateTime.UtcNow.AddDays(noOfDays).Ticks;
TableQuery<WadLogsEntity> buildQuery = new TableQuery<WadLogsEntity>().Where(
TableQuery.GenerateFilterCondition("PartitionKey",
QueryComparisons.LessThanOrEqual, partitionKey));
while (!recordDoesNotExistExceptionOccured)
IEnumerable<WadLogsEntity> result = wadLogsTable.ExecuteQuery(buildQuery).Take(1000);
//// Batch entity delete.
if (result != null && result.Count() > 0)
Dictionary<string, TableBatchOperation> batches = new Dictionary<string, TableBatchOperation>();
foreach (var entity in result)
TableOperation tableOperation = TableOperation.Delete(entity);
if (!batches.ContainsKey(entity.PartitionKey))
batches.Add(entity.PartitionKey, new TableBatchOperation());
// A Batch Operation allows a maximum 100 entities in the batch which must share the same PartitionKey.
if (batches[entity.PartitionKey].Count < 100)
batches[entity.PartitionKey].Add(tableOperation);
// Execute batches.
foreach (var batch in batches.Values)
try
await wadLogsTable.ExecuteBatchAsync(batch);
catch (Exception exception)
// Log exception here.
// Set flag.
if (exception.Message.Contains(ResourceDoesNotExist))
recordDoesNotExistExceptionOccured = true;
break;
else
break;
My questions are:
Is this an efficient way to purge the WADLogs table? If not, what can make this better?
Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
Would this logic fail in any particular case?
How would this approach change if this code is in a worker which has multiple instances deployed?
I have come up with this code by referencing the solution given
here by Keith Murray.Hi Nikhil,
Thanks for your posting!
I tested your and Keith's code on my side, every thing worked fine. And when result is null or "result.count()<0", the While() loop is break. I found you code had some logic to handle the error "ResourceDoesNotExist" .
It seems that the code worked fine. If you always occurred this error, I suggest you could debug your code and find which line of code throw the exception.
>> Is this an efficient way to purge the WADLogs table? If not, what can make this better?
Base on my experience, we could use code (like the above logic code) and using the third party tool to delete the entities manually. In my opinion, I think the code is every efficient, it could be auto-run and save our workload.
>>Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
In you code, you used the "recordDoesNotExistExceptionOccured " as a flag to check whether the entity is null. It is a good choice. I had tried to deleted the log table entities, but I used the flag to check the result number.
For example, I planed the query result count is 100, if the number is lower than 100, I will set the flag as false, and break the while loop.
>>Would this logic fail in any particular case?
I think it shouldn't fail. But if the result is "0", your while loop will always run. It will never stop. I think you could add "recordDoesNotExistExceptionOccured
= true;" into your "else" block.
>>How would this approach change if this code is in a worker which has multiple instances deployed?
You don't change anything expect the "else" block. It would work fine on the worker role.
If any question about this issue, please let me know free.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Can oracle temporary tables be used with distributed transactions?
Hello,
Does anybody know if temporary tables are supported with distributed transactions?
We use a temporary table to store query results and see no problems when the JDBC driver (Type 2 or Type 4) is used with local transactions. The temporary tables are set for transaction-level data persistence (delete rows on commit).
When we switch to JDBC/XA driver we occasionally get ORA-14450 error (java.sql.SQLException: ORA-14450: attempt to access a transactional temp table already in use).
Many thanks...I have been able to use temporary tables on remote databases, so I don't think that it is forbidden. Of course, I'm not using JDBC so that might be a problem.
The other thing that occurs to me is that you are doing something other than DML with the table e.g. trying to drop it. If that is the case you should re-read the documentation and remind yourself of the purpose of temporary tables.
Cheers, APC -
If we open a transaction i need to find what are the tables used
hi gurus
can anyone suggest me
if we open a transaction liek va01
i need to find what are the tables used
what are the fields used in that transaction
i need a list .
thanks®ards
kals.Hi
you can find all those details in transaction variant,
go with SHD0 ( numerical 0) and then enter your transaction code and enter transaction variant name and then select that
Select the program SAPMV45A and go CHANGE WITH PROCESSING (F6),
there you can find the list of fields and field names.
reward points if usful.
thanks and regards,
muralidhar -
What report will tell me which tables/fields are used in a transaction
Hi
I'm new to SAP, but was wondering how I can navigate the data dictionary so I can get a list of all the tables, fields and field details for all fields used in the following transactions: IW29, IW39 and IW49N.
Thanks and take care,
ShayneHi,
Welcome to SAP!
There are two ways to find what are all the tables used in the program,
1. Easy & Effective way is to use ST05 and do SQL Trace.
2. Normally, when you want to see the corresponding code in the program related to database activities, then do this,
Goto SE38 --> Put the report name (say RIQMEL20) -> Press F9 --> Select data base activities (SELECT, DELETE, MODIFY, INSERT). Click Ok. This will show all the program lines.
Regards,
Vamsi
Maybe you are looking for
-
Scanning Using the Time Capsule
Has anyone use a Scanner connected thoriught the usb port in the Time Capsule?
-
Is it possible to remove a ContactEmployees using DI-API?
Hi: I need to remove from B1 database a lot of contact employees without remove the business partner, i checked out the DI-API reference and i noted that the ContactEmployees object not have a Remove method. Does exists any form of remove this objec
-
I have weblogic server 5.1.0 with the sp8 running on Windows NT server 4.0. The weblogic server is configured to use LDAP realm (Netscape directory server 4.12). When I try to run weblogic server and I am getting the following errors: The WebLogic Se
-
ORA-01000 + ORA-06512 + ORA-04088 error
Hi, i am uploading one file which is inserting nearly 2000 rows to table YOU_DEAL_PURCHASE_DETAIL_T and trigger is writen before insert sequence should be generated. i am getting this error: Resources adjustment/ProcessFileUpload.jsp --> exception is
-
Hi, I have an array List which have values like empid, amount, corpcode eg. 223, 345.95, SDB 791, 567.75, XYZ 115, 345.95, SDB I need to sort this array like this 115, 345.95, SDB 223, 345.95, SDB 791, 567.75, XYZ How can I do this? Thanks