Base Tables Related To Workflow
Hai all,
Can anyone of u give me details about the base tables related to workflow
Hi,
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
Similar Messages
-
Require All Tables related to Workflow
Hello,
please can you get me all the tables which are related to workflow.
thanks,
Kartikey RawatHi,
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 -
I Need Tables related to Workflow
1. When we create a workflow template, where its stored?
2. What's the table name where the container value stored?
3. Where the log stored while in runtime?
4. Where the Whole workflow stored.
Hope i will get reply from u.Hi,
check this may be it can help you...
http://help.sap.com/saphelp_erp2004/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/frameset.htm
regards,
venu. -
How can u trace process of workflow throug workflow base table.
Hi,
My previous question might be confusing
Just want to ask
How can u trace process of workflow throug Which workflow base table.
Please It's urgent
Thanks
BachanBachan,
Why do you need to enable trace from the backend? You can run "bde_wf_item.sql" script, this script gives similar information as wfstatus.sql and wfstat.sql give but with more debugging information
Note: 187071.1 - bde_wf_item.sql - Runtime Data of a Single Workflow Item
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187071.1 -
Hi Experts ,
I need some tablesrelated to Workflow to avoid the use of standard WAPI as it is having performance issue .
1. Table which can give all the dependant workitems of a parent workitem ID - (Workflow workitem id )
2. Table for Getting the Agent of a perticular workitem ID .
Regards
PrabhuduttaHi Thanks for reply .
I have checked the table "SWWWIHEAD" , but it is only showing the data related to the parent workitem ID , that i am providing as the input . No dependent workitem ID is stored in this table .
In the table SWWWIAGENT , i have checked , there are only 10 entries though somany workitems has been created and are pedning in respective sap inboxes .
I was using the standard SAP WAPIs " SAP_WAPI_GET_DEPENDENT_WIS" and " SAP_WAPI_GET_WI_AGENTS " for my requirement , but as there are having a lot of performance issues so i need some Data base tables from where i can get the data instead of using these WAPIs .
Any guidance will be highly appriciated .
Regards
Prabhudutta -
Is there any table or report which gives IDOC nos related to workflow task?
Sreedevi, it depends what you want (where you start from), so please be more specific in your question next time (or if this doesn't answer your question).
If you have a work item number and want to know the IDoc number you can use function module SAP_WAPI_OBJECTS_IN_WORKITEM to get a list of all object references. Then you have to process it from there. You can make a flexible solution which is compatible with future added IDoc types by checking the object type of each object returned and traversing the inheritance hierarchy until you get to object type IDOC. Then you know it is an IDoc, and you can find the IDoc number as the key of the object. Or you can hardcode supported object types using a CASE or IF statement. The flexible solution would be much more fun to program in my opinion.
If you have an IDoc number and want to find work items you have to go the other way. That means starting with object type IDOC, finding all the inherited object types and for each of these using function module SAP_WAPI_WORKITEMS_TO_OBJECT. Again, another possibility is to hardcode the list of object types you want to check.
The table Rose told you about, HRS1201, contains no IDoc numbers, but it contains all the tasks with the methods they use. So actually you can use that to find all the object types you need to check (whether they are inherited from IDOC), since all work items will refer to a task definition. -
Which data base tables contain SCM customer code
Friends,
I am writing an user exit for VA01/VA02/VA3/VA32.
I am getting the customer number from VBAK-KUNNR when I execute any of the above transactions.
According to functional sepecification, we can find SCM code in the data base table ADRC.
(we can fetch the data from ADRC table where ADRC-ADDRNR = KNA1-ADRNR; ( KNA1-KUNNR = VBAK-KUNNR))
I could not find SCM customer code in the table ADRC.
Please let me know the Data table and field to find the SCM customer code in SAP.Hi Reddy,
>> As in SCM the company codes exist in the table ' <b>T001</b> '.
Corresponding field for it is ' <b>BUKRS</b> '.
>> U can use ' <b>ADRNR</b> ' as a key field in ' <b>T001</b> ' table and
relate with your <b>KNA1- ADRNR</b> using Joins for user exits.
Feel Free to ask any questions regarding this...
Hope it Helps...
Regards,
Dhayanandh.S
Message was edited by:
DHAYANANDH SIVASANKARAN -
i have a procedure which contains external table with 100 columns..
data from this table is tranferred to temp table..
any errors are caught here and if there are no errors then base table is merged with temp tables data..
my problem is columns get added / removed and even data types are getting changed many times for bas table..
what would be alternative for this???
while inserting i have selected columns from ext table and then inserted coulmn wise in temp table
regards
avinashI agree with Blu. It makes no sense to hack permanent or base tables like that.
Just how is the existing software (client software, queries, PL/SQL code, etc) to know how to deal with these new columns and data type changes? What about data integrity? Constraints? Foreign keys? Indexes? Etc. Etc.
Relational design is not just a good idea. IT IS THE FUNDAMENTAL PRINCIPLE OF RELATIONAL DATABASES. -
Index Compression in SAP - system/basis tables?
Hi!
In thread Oracle comression in SAP environments the Oracle 10g feature index compression was discussed. We are now going to implement it also. SAP and Oracle say, this can be done for any index.
So we selected the biggest and the most frequently used indexes and analyzed them. We could save about 100GB disk space.
But here comes my question:
In the hitlist of our most frequently used and biggest Indexes there are also some basis table indexes.
A few samples:
BALHDR~0
BALHDR~1
BALHDR~2
BALHDR~3
BDCP~0
BDCP~1
BDCP~POS
BDCPS~0
BDCPS~1
CDCLS~0
CDHDR~0
D010INC~0
D010INC~1
D010TAB~0
D010TAB~1
DD01L~0
DD03L~5
DD07L~0
E071K~0
E071K~ULI
GVD_LATCHCHILDS~0
GVD_OBJECT_DEPEN~0
GVD_SEGSTAT~0
QRFCTRACE~0
QRFCTRACE~001
QRFCTRACE~002
REPOSRC~0
SCPRSVALS~0
SEOCOMPODF~0
SMSELKRIT~0
SRRELROLES~0
SRRELROLES~002
STXH~0
STXH~REF
STXL~0
SWW_CONT~0
TBTCS~1
TODIR~0
TRFCQOUT~5
USR02~0
UST04~0
VBDATA~0
VBMOD~0
WBCROSSGT~0
Is it really recommended to compress indexes of SAP Basis Tables also - especially in the area of Repository/Dictionary, t/qRFC and/or "Verbuchung" (VB...)?
Thanx for any hint and/or comment!
Regards,
VolkerHi Volkar,
I have succesfully tested the oracle index compression on ECC5 environment for the following tables in a sandbox environment;
ppoix
pcl2
pcl4
In total I saved around 60GB in the tablespaces.
Before compression I started a payroll run to see what time this will take without compression.
After compression of the indexes I re-executed the payroll which took exactly the same time as without compression (2 hours). So no impact on performance.
Also did an update statistics in DB13 -> no impact
With brtools: force update of specific table -> no impact
So we are seriously thinking about to take this into production.
I have also looked at BI environment but concluded that there was nothing to gain.
Unfortunately our infocubes are well build meaning that the fact tables contains the actual data and the corresponding dimension tables only the surrogate IDu2019s (SIDu2019s).
Those dimension tables are actually very small (64k) and not suitable for index compression.
Next step will be some Workflow tables.
Fe:
SWW_CONT~0 INDEX PSAPFIN 26.583.040
SWPNODELOG~0 INDEX PSAPFIN 15.589.376
SWWLOGHIST~0 INDEX PSAPFIN 13.353.984
SWWLOGHIST~1 INDEX PSAPFIN 8.642.560
SWW_CONTOB~0 INDEX PSAPFIN 8.488.960
SWPSTEPLOG~0 INDEX PSAPFIN 6.808.576
SWW_CONTOB~A INDEX PSAPFIN 6.707.200
SWWLOGHIST~2 INDEX PSAPFIN 6.507.520
SWW_WI2OBJ~Z01 INDEX PSAPFIN 2.777.088
SWW_WI2OBJ~0 INDEX PSAPFIN 2.399.232
SWWWIHEAD~E INDEX PSAPFIN 2.352.128
SWP_NODEWI~0 INDEX PSAPFIN 2.304.000
SWW_WI2OBJ~001 INDEX PSAPFIN 2.289.664
SWWWIHEAD~A INDEX PSAPFIN 2.144.256
SWPNODE~0 INDEX PSAPFIN 2.007.040
SWWWIRET~0 INDEX PSAPFIN 2.004.992
SWW_WI2OBJ~002 INDEX PSAPFIN 1.907.712
If you would like to know, I can post the results on workflow tables (indexes) on ECC6 environment.
Please rewards some point if you like.
Regards,
Stephan van Loon -
Updating a Base Table Block Record
We have a form where there is a multi array base Table block. this is used for generating employee number for various depts. the columns are like this with some sample data
Dept Start No end No Start Date End Date
sales 1001 1100 01-Jun-2009 31-12-2050
Accts 2001 2100 01-Jun-2009 31-12-2050
HR 3001 3100 01-Jun-2009 31-12-2050
and the data is populated from its table. These Data were created at the backend while implementation and is not modified for some long time. Now the client wants to modifiy the data . i.e they want to add new set of Start nos and End nos for the existing Dept So they will add at the bottom of the Block
like this
sales 1101 1200 01-Apr-2011 31-12-2050
when they add this the end date of the existing record should get modified with sysdate as they add the new records. at any time they can add new set of numbers of any number of depts.
can u please guide me how to do this ?If I understand correctly, you need to take the following data:
Dept Start No end No Start Date End Date
sales 1001 1100 01-Jun-2009 31-12-2050
Accts 2001 2100 01-Jun-2009 31-12-2050
HR 3001 3100 01-Jun-2009 31-12-2050and change it so it is like this:
Dept Start No end No Start Date End Date
sales 1101 1200 01-Apr-2011 31-12-2050
when they add this the end date of the existing record should get modified with sysdate as they add the new records.First, I will assume you are using Oracle Forms (since your question was in the Forms forum) but you didn't specify a version. In Forms, you could easily put this logic in the Block Pre-Inser t Trigger. You'll have to set the SYSDATE through DML rather then requery the block after changes are saved. This is easier than trying to find the existing record in the block and setting the SYSDATE.
at any time they can add new set of numbers of any number of depts.Is this data used for anything more than just reference? If so, what is the key value and how does making changes like this affect the existing data and relationships?
Just from the small description you gave, the process sounds very closed - meaning it is not easily changed. If this is true, than you probably need more than just "Use a Pre-Ins Trigger" answer. You also need to know how to update all of the related records that just changed because of the new department number and for this answer we'll need more information. ;)
Craig... -
hai
Cananyone tell me wht are the base tables for
1) Opening , Closing Inventroy
2) Production (Material Group = Prime/Nonprime/Scrap)
3) Downstream Usage
4)Liftings
5) Shutdowns
I think , these belong to PP/SD/LE/Inventory modules . Pls tell me urgently
kumarInventory related you can check in MSEG i guess
Jaya -
Making mass change to Oracle Apps base table
I have requirement where I have to do a mass updates/inserts to an Oracle Apps table (BOM_Inventory_Components). I have been told by my senior programmers that Oracle does not like direct updates or inserts to the Base tables in Oracle Apps.
Anyone knows of a standard practice of updating/inserting records into Base tables in Oracle Apps?I have seen and done lot of projects where we do direct table update but we do have Metalink support and we do inform them and involve them into regours conference call and than we are proceding direct table update.
the trick is oracle always as package where you can fine related update procedure so by passing neccesary parameters you can update the table.
Regards
Prashant Pathak -
hi!!
I'm new to SAP. I only have SAP tables and i don't have access to the frontend..
I wanna know the tables relation i.e how to join two tables..
Suppose, if i want to know all the relations VNVK has, where should i start?
i can only view the primary keys and not the foreigh keys for all the tables..
I read some posts from this forum and got this information:
DD02L SAP Tables
DD05S Foreign key fields
DD09L DD: Technical settings of tables
DD26S Base tables and foreign key relationships
but the DD26S table doesn't give me these information either..
I even tried to get the table and column description and then try to join, but it's a tedious process..
I got a document with SAP table relations but it doesn't have all the modules in it..
please help me out on this.. i'm literally stuck with thousands of tables in front of me without knowing how to join them..Samsays,
You say you
have SAP tables and i don't have access to the frontend..
. You wish to 'join' these tables.
What is your business requirement? Which tables do you intend to 'join'? Although I guess it is theoretically possible, I can't think of any reason why anyone would wish to manipulate SAP table data at the server level. I seriously question whether such access complies with the terms of your SAP and database licence agreements. You do have a licence, right?
If you really have a legitimate business need for SAP table data, then you must have the appropriate person assign you an SAP logon ID, you must get frontend access, and then use SAP development tools to create the data structures you seek. Using a non-standard tool to manipulate SAP data can render your system un-usable.
Rgds,
DB49 -
Install Base Table relationship
Hi Expert,
Could you plz explain me how to relate Install Base tables so that I can able to show data like the component structure and then their corresponding order, contract etc
thanksnot answered
-
What are the tables related to Goods receipt details
Hi,
Please tell me the GR related data base tables.
What are the tables related to Goods receipt details
Regards,
Sunil Kumar.T
Edited by: sunil kumar on Apr 28, 2008 8:49 AMHi,
If you want to know tables which are related to transaction.
Use recording through SHDB tcode.
go to shdb tcode
after enter name of your zname.
after for which transaction you are doing recording enter that tcode here migo.
after press start recording.
then enter data into fields after at last save and back.
then it goew to control recording session screen
after press program for create.
then enter attributes ,select source code after save your code.
Using this tables and which fieldsa you are using for perticular requirement.
this is an easy procedure to know tables and fields.
or
USE ST05 tcode by entering single filed into application.
These two approaches are usefull but go to first one if you knew which data you have to entered.
Otherwise go to st05.
*Reward points
for goods receipt tcode by entering data
Maybe you are looking for
-
Hello! When I want to open a new PDF document this screen shows up: "Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User Agreement, then Quit and relaunch the browser." What is wrong? I have install Adobe
-
I am using the subform initialize event to populate the subforms fields with the below select statement. I have set up a DSN and the connection works. When I open the pdf I get the below error and the fields populates with the correct record (from Te
-
NO_MAPPINGPROGRAM_FOUND in SOAP - XI - RFC
Hi, I am trying a SOAP-XI-RFC scenario but I am getting the following error when i send a web-service request.. NO_MAPPINGPROGRAM_FOUND ErrorText: ErrorStack: Interface mapping Object ID C406064FCF503564B6D34CEC1D1E02F7 Software Component A10509F01BE
-
Open Directory or LDAP Problem with 10.5 Client and 10.4 Server
Yesterday, the client-server setup we've been using successfully FOR YEARS decided not to work on a v10.5.8 MacBook Pro client. Did not do anything to the v10.5 client recently (other than to boot it up). Not sure if any software was updated on the s
-
Unusual issue with tag engine and BELKIN USB to Ethernet adapter??
I have an .scf file with 72 tags and several tag groups in it. If I open the tag engine without the usb adapter, I can read the tag group names with the get group list.vi. The tag group names are listed in black letters when wired to an indicator. Wh