Table related in any event
hi to all,
i need to get the tables related to event happening in front-end .i.e. consider i do perform a search on the deptartment and it fetches data related to the department such as employee and so on.,it gets linked to multiple table for those data.how to capture the tables it gets connected to and retrieve the information in tht event.
Please do needful
Regards,
Naresh Kumar Murali
Hi,
Sqltrace has the work of tracking the activities carried in a particular session.I have not used sqltrace in any of my application kindly anyone do needful in this regard.....
thnx in advance
Similar Messages
-
EBS Accounts Payable : Which tables updated when any event fires..?
Hi
I request help / guide to let me know for the subject mentioned question.
For example,
When any invoice saved, which tables are updated?
When payment is made , which tables are updated?
When Create Accounting runs, what steps does it follows?
How can I check the Create Accounting program in SQL developer?
etc
Can any one help / guide me ..?
regards
AhsanWhen any invoice saved, which tables are updated?
AP_INVOICES_ALL and AP_INVOICE_DISTRIBUTIONS_ALL
In R12: AP_INVOICE_LINES_ALL
When payment is made , which tables are updated?
AP_CHECKS_ALL and AP_INVOICE_PAYMENTS_ALL
Please be a bit more specific on your other 2 queries.
Thanks -
Hi All,
Can we know a paticulat TCODE is hitting which tables....?
For e.g. i would like to know tcode - MM01 is hitting which tables...
Here i want to know how many tables related to any tcode
Regards
Munish Garg
Edited by: MunishGarg on Aug 26, 2010 6:17 PMHi,
go to MM01
> go to se16>enter table TSTC and enter T-code MM01 and execute it will show the Program name
go to se80-->enter the Program name which showed in Se16 for MM01 now it will show all the table used in Transaction MM01
Prabhudas -
Table where Partner function related to any particular ticket is stored
Hi All,
Can Anybody tell me name of the table where Partner function related to any particular ticket is stored.
Thanks in Advance
Regards,
AmitHi Amit,
The table vision CRMV_LINKPARTNER will retrieve the information you're looking for (just enter the service ticket GUID as input).
If you take a look how this vision is elaborated, you'll check how you can associate the table CRMD_ORDERADM_H to table CRMD_PARTNER.
Kind regards. -
Join 2 tables which are not related with any primary-foriegn key constraint
Hello,
How to join 2 tables which are not related with any primary key foreign key constraint.
Ex.Consider Table A has 5 columns->A_ID,A_Name,A_Address,A_City,A_Pin(Total 10 rows)
Table B has 5 columns->B_ID,B_Name,B_Adress,B_City,B_City(Total 30 rows)
From both the table i want the data,which i need to use in curosr to display finally as "Address Label".
Both the table are entirely different,but there can be some names of Table A which may come in Table B also,if the name,address and city is also same.That means same person in both the table.
So finally i want total number of distinct records(distinct data of Table A which is not in B+all the data of table B) to come under Address Label.
How can i write the select query for this condition?
Thanks
SwapnaHi, Swapna,
user11018268 wrote:
Hello,
How to join 2 tables which are not related with any primary key foreign key constraint.
Ex.Consider Table A has 5 columns->A_ID,A_Name,A_Address,A_City,A_Pin(Total 10 rows)
Table B has 5 columns->B_ID,B_Name,B_Adress,B_City,B_City(Total 30 rows)
Both the table are entirely different,but there can be some names of Table A which may come in Table B also,if the name,address and city is also same.That means same person in both the table.I think you want a UNION, not a join.
If you have 10 rows in table_a, and 30 rows in table_b, then
SELECT A_ID, A_Name, A_Address, A_City, A_Pin
FROM table_a
UNION
SELECT B_ID, B_Name, B_Adress, B_City, B_City
FROM table_b
ORDER BY 2, 4
;will produce up to 40 rows; 40 if there are no duplicates. (UNION implies DISTINCT.)
The corresponding column types should be similar, if not exactly the same.
There's no problem if A_Name is VARCHAR2 (50) and B_Name is CHAR (30).
However, there will be a problem if A_ID is a NUMBER and B_ID is a TIMESTAMP.
You must have the same number of columns in all branches of the UNION.
If you want an ORDER BY clause, put it at the very end, after the last branch of the UNION.
You can use positional notation (where 2 means the 2nd column) like I did, or you can use names from the first prong of the UNION (such as A_Name).
From both the table i want the data,which i need to use in curosr to display finally as "Address Label".
So finally i want total number of distinct records(distinct data of Table A which is not in B+all the data of table B) to come under Address Label.I'm not sure what your mean about "Address Label".
Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables, and the exact results (formatted) that you want from that data.
You can concatenate all 5 columns into one VARCHAR2 column, if you want to.
You'll probably want to use RPAD (or simillar functions) to make the output line up nicely.
If any of the columns are not strings, use TO_CHAR to make string versions of them.
For example:
SELECT TO_CHAR (A_ID, '9999999')
|| ' ' -- leave a little space between the left-justified a_id and the right-justified a_name
|| RPAD (A_Name, 25)
|| RPAD (A_Address, 50)
...Edited by: Frank Kulash on Nov 14, 2009 10:11 AM -
Any event for getting Wi_id no from table Swwwihead
Hi ,
I am getting wi_id using interface if_swf_ifs_workitem_exit using method after creation but during this time workitem is not saved to table swwwihead. Is there any event or any other alternative to get the workittem from that table after saving the data and before it goes to the sap inbox.?
Regards,
ShwetangHi ,
I am getting the needed data from the paramenter but my problem is i had made one user decision activity which is going to sap inbox and i have to send thid decision box to lotus notes inbox which i am doing with a program rswuwfml2.
I am writing this program exit to run this program when the workitem is created and these are getting from the method but the program rswuwfml2 requires work id and other details from table swwwiead as when method is populaed this details are not commited o the table.
I don't want call his program explicity.
Hope this will clear your doubts regarding my question.
Thanks
Shwetang -
What are the tables related to SD in PP relation tables if any
what are the tables related to SD in PP relation tables if any
SAP Production Planning Table
Demand Management
PBED Independent Requirements Data
PBIM Independent Requirements by Material
Repetitive Manufacturing
SAFK RS Header Master Data
S025 LIS -- Run Schedule Quantities
S026 LIS -- Material Usage
S028 LIS -- Reporting Point Statistics
CEZP Reporting Point Document Logs
CPZP Reporting Points - Periodic Totals
MRP Records
MDKP MRP Document Header Data
MDTB MRP Table Structure (no data)
PLSC Planning Scenario (Long-term Planning)
MDFD MRP Firming Dates
MDVM Planning File Entries
S094 LIS -- Stock/Requirements Analysis
Reservations
RESB Reservations/Dependent Requirements
Planned Orders
PLAF Planned Orders
Discrete Production
AFKO Order Header
AFPO Order Item Detail
AFVC Order Operations Detail
AFFL Order Sequence Details
AFFH Order PRT Assignment
AFBP Order Batch Print Requests
AFRU Order Completion Confirmations
AFFW Confirmations -- Goods Movements with Errors
AFRC Confirmations -- Incorrect Cost Calculations
AFRD Confirmations -- Defaults for Collective Confirmation
AFRH Confirmations -- Header Info for Confirmation Pool
AFRV Confirmation Pool
AFWI Confirmations -- Subsequently Posted Goods Movements
Classification
KLAH Class Detail
CABN Characteristic Detail
AUSP Characteristic Values
CAWN Characteristic Values
CAWNT Characteristic Value Texts
KSML Characteristic Allocation to Class
KSSK Material Allocation to Class -
Hello
Could any help me know table related ot Hide keywordRead this from sap help. It will help you to understand the same.
The HIDE statement is one of the fundamental statements for interactive reporting. You use the HIDE technique when creating a basic list. It defines the information that can be passed to subsequent detail lists.
REPORT demo_list_hide NO STANDARD PAGE HEADING.
TABLES: spfli, sbook.
DATA: num TYPE i,
dat TYPE d.
START-OF-SELECTION.
num = 0.
SET PF-STATUS 'FLIGHT'.
GET spfli.
num = num + 1.
WRITE: / spfli-carrid, spfli-connid,
spfli-cityfrom, spfli-cityto.
HIDE: spfli-carrid, spfli-connid, num.
END-OF-SELECTION.
CLEAR num.
TOP-OF-PAGE.
WRITE 'List of Flights'.
ULINE.
WRITE 'CA CONN FROM TO'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'BOOKING'.
WRITE sy-lisel.
ULINE.
WHEN 'WIND'.
WRITE: 'Booking', sbook-bookid,
/ 'Date ', sbook-fldate.
ULINE.
ENDCASE.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'SELE'.
IF num NE 0.
SET PF-STATUS 'BOOKING'.
CLEAR dat.
SELECT * FROM sbook WHERE carrid = spfli-carrid
AND connid = spfli-connid.
IF sbook-fldate NE dat.
dat = sbook-fldate.
SKIP.
WRITE / sbook-fldate.
POSITION 16.
ELSE.
NEW-LINE.
POSITION 16.
ENDIF.
WRITE sbook-bookid.
HIDE: sbook-bookid, sbook-fldate, sbook-custtype,
sbook-smoker, sbook-luggweight, sbook-class.
ENDSELECT.
IF sy-subrc NE 0.
WRITE / 'No bookings for this flight'.
ENDIF.
num = 0.
CLEAR sbook-bookid.
ENDIF.
WHEN 'INFO'.
IF NOT sbook-bookid IS INITIAL.
SET PF-STATUS 'WIND'.
SET TITLEBAR 'BKI'.
WINDOW STARTING AT 30 5 ENDING AT 60 10.
WRITE: 'Customer type :', sbook-custtype,
/ 'Smoker :', sbook-smoker,
/ 'Luggage weigtht :', sbook-luggweight UNIT 'KG',
/ 'Class :', sbook-class.
ENDIF.
ENDCASE.
At the event START-OF-SELECTION, the system sets the status FLIGHT for the basic list. In status FLIGHT, function code SELE (text SELECT) is assigned to function key F2 and to a pushbutton. So the event AT USER-COMMAND is triggered if the user double-clicks, presses F2, or chooses the pushbutton SELECT.
The three fields spfli-carrid, spfli-connid, and num are stored in the HIDE area while creating the basic list. After selecting a line, the system displays the detail list defined in the AT USER-COMMAND event for function code SELE. In the AT USER-COMMAND event, the system refills all fields of the selected line that were stored in the HIDE area. You use num to check whether the user selected a line from the actual list. The detail list has status BOOKING, where F2 is assigned to function code INFO (text: Booking Information). The detail list presents data that the program selected using the HIDE fields of the basic list. For each list line displayed, the system stores additional information in the HIDE area.
If the user selects a line of the detail list, the system displays the stored information in a dialog box with the status WIND. For the WIND status, the default values for the status type Dialog box have been adopted with the list status adjustment. The program uses sbook-bookid to check whether the user selected a valid line.
The program itself sets all page headers and the title bar of the dialog box.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm
Best Regards,
Vibha
*Please mark all the helpful answers -
hi to all,
i need to get the tables related to event happening in front-end .i.e. consider i do perform a search on the deptartment and it fetches data related to the department such as employee and so on.,it gets linked multiple table for those data.how to capture the table connected at tht event.
Please do needful
Regards,
Naresh Kumar MuraliHi,
Sqltrace has the work of tracking the activities carried in a particular session.I have not used sqltrace in any of my application kindly anyone do needful in this regard.....
thnx in advance -
Table relating fields Equipment number and grouping2.
hi all,
i m making a report for T-code 'IE03' and i have to display grouping2(FGRU2) and its description in output with respect to Equipment number(EQUNR), but problem is that i m not getting the table relating to both fields. can anyone please help me as soon as possible plz.?
i have these fields in ITAB, so if i get any relation from grouping2 then our problem will be solved.
DATA : BEGIN OF itab OCCURS 0 ,
equnr TYPE itob-equnr , "Equipment No.
shtxt TYPE itob-shtxt , "Description
answt TYPE itob-answt , "Acquistn Value
inbdt TYPE itob-inbdt , "DATE
anlnr TYPE itob-anlnr , "ASSET
aufnr TYPE itob-aufnr , "ORDER NO.
*******New Addition
HERST type ITOB-HERST , "Manufacturer
mapar TYPE itob-mapar , "Manufacturer Part Number
serge TYPE itob-serge , "Manufacturer Serial Number
brgew TYPE itob-brgew , "WEIGHT
groes TYPE itob-groes , "DIMENSION
fgru2 TYPE efhm-fgru2 , "Grouping2
fgrtxt TYPE tcf13-fgrtxt, "GROUPING2 DESCRIPTION
END OF itab .
regards saurabh.Hi.
itob is database view.
tcf13 is tras.Table.
efhm is Structure.
You cannot select data from a structure.
A structure / work area contains data only at the run-time.
You can select data from views and tables.
The data you need to select will be in Database tables. All you need to do
is to find those table and select from there. -
Table Relation with Payment and Invoice of Vendor
Hi all,
I have one question about Table Relation with Payment and Invoice of Vendor.
the scenario is.
2 Purchase Order number : 100000001/100000002
1 Invoice document number : 200000001 which include 2 Purchase Order.
1 Payment document number : 300000001
How should I found out table relation from Payment document number - Invoice document number - Purchase Order number. ?
I try to link the following table, but it does not work.
RBKP * Invoice Receipt
RSEG * Invoice Receipt document line item
BKPF * Accounting Document Header
BSEG * Accounting Document Segment
PAYR Payment Medium File
BSIK Accounting: Secondary Index for Vendors
BSAK Accounting: Secondary Index for Vendors (Cleared Items)
BSIS Accounting: Secondary Index for G/L Accounts (Open Items)
Does any one know about it ?
Regards
KY ChuangHi Venkatesh,
Thnx a lot for the reply. This has almost solved my problem, however there's one thing left. when I'm trying to take a print out after exporting the info into an excel sheet, the information really looks scattered, i.e., is there a way where we can go ahead and get the info in a rather unscattered manner.
I've tried to take a print directly without actually transferring the info into an excel sheet, then each of the vendor is printed in a separate page, which again they feel is a problem.
So, if you have an idea pls suggest.
Thnx again for the information.
regards
sandhya -
Easy ways to find/search different fields and tables relations?
Dear Friend ,
I am useing SE11 and SE16 to different table and field name relation . Is it any easy was to find table different table and field name relation .
Please reply urgently........
Max award for solHi,
I would wonder if you could use SE11 and SE16 for getting information on table relations.
You can use e.g. SQVI to create queries and you can set the link between tables (define the relation of them).
As for your question:
1 Please check this link:
http://www.erpgenie.com/abap/tables.htm
2.
You can use SE16 + DD30L to search for specific field / table.
BR
Csaba -
If I do NOT use any event, except AT SELECTION SCREEN, Do I get any issues?
Hi Experts,
Pls. let me know that, If I do NOT use any event, except AT SELECTION SCREEN, Do I/prog. get any issues? (am also using AT SELECTION SCREEN OUTPUT for list box preperation).
For some reason(execution of the report prog. with ENTER button), am using ONLY these 2 events.
For full detials, pls. see my other thread with title,
Is it possible to execute a REPORT prog. with pressing of ENTER button?
thanqHi
srinivas see this program
i am executing this program with out any event it is not showing any error but not giving output
when i put start-of-selection then it is showing output
*& Report ZNNR_REPORT33
REPORT ZNNR_REPORT33 NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
******DATA DECLARATIONS**********
DATA : BEGIN OF IT_PLANT OCCURS 0,
MATNR LIKE MARA-MATNR,
WERKS LIKE MARC-WERKS,
PSTAT LIKE MARC-PSTAT,
EKGRP LIKE MARC-EKGRP,
END OF IT_PLANT.
DATA : BEGIN OF IT_PONO OCCURS 0,
EBELN LIKE EKKO-EBELN,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
WERKS LIKE EKPO-WERKS,
LGORT LIKE EKPO-LGORT,
END OF IT_PONO.
TABLES EKKO.
********END OF DATA DECLARATIONS*********
********SELECTION SCREEN DESIGN ***********
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' user-command uc1.
SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
******END OF SELECTION SCREEN DESIGN****************
***********SCREEN MODIFICATIONS*******************
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
********END OF SCREEN MODIFICATIONS*****************
***************SCREEN VALIDATIONS *****************
at selection-screen.
SELECT SINGLE *
FROM EKKO
INTO EKKO
WHERE EBELN IN S_EBELN.
IF SY-SUBRC <> 0.
SET CURSOR FIELD 'S_EBELN-LOW'.
MESSAGE E999 WITH TEXT-005.
clear S_ebeln-low.
ENDIF.
********end of screen validation*****************
IF R1 EQ 'X'.
*ULINE AT /1(48).
WRITE : SY-VLINE ,2 'MATERIAL NUMBER',
21 SY-VLINE , 22 'PLANT',
27 SY-VLINE , 28 'STATUS',
43 SY-VLINE , 44 'GRUP', 48 SY-VLINE.
ULINE AT /1(48).
ENDIF.
IF R2 EQ 'X'.
WRITE : SY-VLINE , 2 'PO NUMBER',
12 SY-VLINE, 13 'ITEM',
18 SY-VLINE,19 'MATERIAL NUMBER',
37 SY-VLINE, 38 'PLANT',
44 SY-VLINE, 45 'GRUP',
49 SY-VLINE.
ULINE AT /1(50).
ENDIF.
start-of-selection.
*set pf-status '100'.
IF R1 EQ 'X'.
SELECT MATNR
WERKS
PSTAT
EKGRP
FROM MARC
INTO TABLE IT_PLANT
WHERE WERKS = P_WERKS.
LOOP AT IT_PLANT.
WRITE : SY-VLINE , 2 IT_PLANT-MATNR COLOR COL_KEY,
21 SY-VLINE , 22 IT_PLANT-WERKS COLOR COL_KEY,
27 SY-VLINE ,28 IT_PLANT-PSTAT COLOR COL_NORMAL,
43 SY-VLINE ,44 IT_PLANT-EKGRP COLOR COL_NORMAL.
ENDLOOP.
ENDIF.
IF R2 EQ 'X'.
SELECT EBELN EBELP MATNR WERKS LGORT
FROM EKPO
INTO TABLE IT_PONO
WHERE EBELN IN S_EBELN.
LOOP AT IT_PONO.
WRITE : SY-VLINE , 2 IT_PONO-EBELN COLOR COL_KEY,
12 SY-VLINE , 13 IT_PONO-EBELP COLOR COL_KEY,
18 SY-VLINE , 19 IT_PONO-MATNR COLOR COL_NORMAL,
37 SY-VLINE , 38 IT_PONO-WERKS COLOR COL_NORMAL,
44 SY-VLINE , 45 IT_PONO-LGORT COLOR COL_NORMAL, 49 SY-VLINE..
ENDLOOP.
ENDIF.
ULINE AT /1(50).
WRITE :/10 'PAGE NUMBER', SY-PAGNO, '/' ,SY-PAGNO.
ULINE AT /1(50).
WRITE :/10 'PAGE NUMBER', SY-PAGNO. -
Tables related to Product costing variance
Hi Friends,
Can any one send me the tables related to product costing variances.
Specifically i am looking at tables in which variances related to product costing group valuation variance values are stored.
Valuble inputs will be rewarded points and highly appreciated.
Thanks in advance.
Regards
RaviKEKO Product-costing header
KEPH Cost components for cost of goods manuf. -
Base Tables Related To Workflow
Hai all,
Can anyone of u give me details about the base tables related to workflowHi,
Please find some important tables which are used in workflow
SWEINSTCOU : Instance Linkage Event u2013 Receiver
SWFDEVINST : Event Linkages with Instance Reference
SWW_CONTOB : Work Item Data Container (WI to Business Objects)
SWW_CONT : Workflow Runtime: Work Item Data Container
SWWORGTASK : Assignment of WIs to Org. Unit/Task (WI to Task)
SWWWIHEAD : Header Table for All Work Item Types
SWW_WI2OBJ : Workitem form Bus Object Key ( e.g. Material No )
SWWLOGHIST : History of a Work Item
SWW_OUTBOX : DB View for Selection of Outbox ( WI text, WI stat etc)
SWWUSERWI : Current Work Items Assigned to a User
Thanks
Sanjay
Maybe you are looking for
-
How can I tell if signals from two devices are truly synchronised?
Hi there, How does one check that signals from two devices (two separate devices in a single X-series chassis) that should be synchronised actually are? I am using a PXIe6361 and PXIe4331 on a PXIe-1073, with Labview 2001 SP1 64-bit. All devices ar
-
Dump error while creating a MDT wtih Category CRMNEWCONTRACT
Hi, We were not able to create a new MDT with category CRMNEWCONTRACT . System is giving a dump like "SAPSQL_ARRAY_INSERT_DUPREC " when we try to save the template .From our inital analysis we found that there were few blank nodes that are appearing
-
hi, i'm having a problem with security code, 12345 in not working, any one can help? i didnt change it or miss with it, i simply cant do anything to protect my phone !! i'm also having the same issue with the battery indicator led , and battery life
-
PROBLEMS WITH APPLICATION - APEX 3.2
Hi Experts, we have an application that have the next features: - Mounted on Apex 3.2 Embedded PL/SQL Gateway - Oracle 10.2 on a SunOS 5.10 - The users access the application with Microsoft Internet Explorer Over the past few weeks we are having the
-
hi, is there any data source for TABLE : MBEW ? or do i have to create a generic data source for this