CC5.2: Auth objects database table for legacy systems
Hi,
Where are the auth objects for legacy systems stored?
I mean, for SAP systems the auth objects ar stored in the tables SAPOBJ and SYSSAPOBJ.
Can anybody help me?
Thanks in advance
correct formatting...I wish you could edit your posts instead of reposting!
Just a performance tip--> since it looks as though you are looping through and performing the same statement many times, you should consider using a prepared statement:
PreparedStatement ps = con.prepareStatement("insert into Table1 (Col1,COl2,Col3) " +
"values ( ? , ? , ? )");
for (int k=0; j<array1.length; k++) {
if (array1[k] !=null)
tt = array1[k].getArray2();
for (int j=0; j<50; j++) {
if (array2[k] !=null)
ps.setString(1, tt[j].getString1);
ps.setString(2, tt[j].getString2);
ps.setString(3, tt[j].getString3);
ps.executeUpdate();You will notice a significant performance gain if you are looping many times.
Advanced--> huge performance gain if you use batch statement in this loop!
PreparedStatement ps = con.prepareStatement("insert into Table1 (Col1,COl2,Col3) " +
"values ( ? , ? , ? )");
for (int k=0; j<array1.length; k++) {
if (array1[k] !=null)
tt = array1[k].getArray2();
for (int j=0; j<50; j++) {
if (array2[k] !=null)
ps.setString(1, tt[j].getString1);
ps.setString(2, tt[j].getString2);
ps.setString(3, tt[j].getString3);
ps.addBatch();
//when completed all looping
int[] insertCount = ps.executeBatch();Jamie
Similar Messages
-
How to populate the organization_code column in ST table for legacy system
Hi, dear all,
Now I use the stage table to load the setup&transaction collection data from a non-EBS legacy system to ASCP system.
My question is: how to populate the organization_code column in the stage table?If the source system is EBS system, maybe it's an inventory organization code. But for the non-EBS system, which value is need fo this field? keep it as blank? or assign some value for it?
Thanks
Edited by: 852938 on 2011-5-4 下午10:24I find some words in the implementation guide, it says:"To collect data from your non-Oracle ERP systems or your trading partners' systems,you model each non-Oracle ERP system or trading partner as an Oracle Applications organization and store their setup and transaction data there".
But I can't find where to model the application organization for the legacy system.
anyone can give some clues? Thanks in advance. -
RE: UNABLE TO FIND DATABASE TABLE FOR CHECK NO, IN ISU
HI,
CAN ANY BODY TELL ME DATABASE TABLE FOR CHECK NO IN ISU.
THANKS,
SARANGhey sarang
i will tell u a short cut to know vat is the table for all ur desired fields,
just enter a worng value in the particular filed.. and then u can see a error message displayed like the follwing example
entry 01 not found in table erro1
just try giving wrong values for check number..and just enter
then u will get a error message with the table information..
check wthere this trick works in ur system
kr
prince -
How to trace the database table for a structure
hi
am trying to find the database table for a structure unfortunately am failing to use the sql tracer any one know howelse i can do that the structure name is 'busbankcheck' and 'bus000flds'.
thanx in advanceHi florence,
1) U can go to tcode sldb and give ur structure name or if u can find which logical database it is from u can get the tables of the structure....
Suppose it is of HR it may be like pnp logical database and then to sldb and give pnp and u can get all the table of that....
2)If u know which fields u want from the stucture....then go to table DD03L and give ur fields name and it iwll bring where all tables this field is avaialble and u can find them......
3) the st05 sql trace can help u.....
I hope any one of the three will definetely help uuu
Regards
vamsi
Edited by: vamsi talluri on Jan 22, 2009 1:24 PM -
After compressed the database table affect the system performance
There is a very big database table in my system called MSEG. It is about 910G and the wasted tablespace is about 330G. I want to compress the table, but the table is written and deleted frequently. will it affect the system performance if I compress the table. Or I can only select reorganize the dababase table avoid it affect the system performance? Thanks.
Hi Huiyong,
If you talk about table compression, it cannot be done online. we need to do this with a planned downtime. Table compression has some percentage of overhead on CPU. Refer SAP note for
1289494
FAQ: Oracle compression
1436352
Oracle Database 11g Advanced Compression for SAP Systems
If you talk about online table reorg, yes definitely there would be impact on user performance.
As the table size is very big it may take some days or hours to perform online Reorg.
Other faster method is to perform table export import which is faster than online reorg. But it will again require downtime .
Hope this helps.
Regards,
Deepak Kori -
Use database table in different system?
Hi, experts,
I am new to WD. I have a question here:
For example, now my WD application is in IB* system and the database table I need is in IS* system. I want to create functions in IB* system to operate the data from database table in IS* system and I will then use BAPI to call the created functions to transfer the results to WD. Is this possible?
Best Regards
FanHi, Jagdish,
thank you for your reply. Do I need to do anything special to call the function module in another system? Or the WD wizard of making service call will automaticlly identify the position of the needed function module after i specify the name of the function module?
Best Regards
Fan -
DataBase Design For Inventory Systems
Sir I am doing my Final Year B.sc(Comp.sci), I am having my Oracle Project to do things.
I just wan't a Detailed DataBase Design for
Inventory Systems
Please Could you help me in terms of DataBase Design......The best way to approach a database design is to write a
specification for the application. Document what processes the help
desk technicians will do. In the process, identify what pieces of
information they work with. When you have the complete
specification written, you can then begin grouping the pieces of
information they work with together. For example, a ticket may have
a number, status, priority and a person to whom it is assigned. The
person to whom the ticket is assigned will have a name, phone
number, e-mail address and a list of technical skills.
So in this overly-simplified example, we could have a table
that contains ticket information, a table that has information
about technicians and a table of skills. Then ask your self
questions like "Can one ticket be handled by more than one
technician?" "Can one technician handle more than one ticket?" Can
a technician have more than one skill?" In this way, you can begin
seeing the one-to-one, one-to-many and many-to-many relationships
that exist. -
Business system for legacy system
hi guys,
Can we create business system for legacy system ?If yes what is the use?
satya reddyHi,
Yes you have to create Business system for legacy systems..
It may be the Standalone java . or Third party system..
When you are doing some POC or such type of things create Business Services
also..
A business service represents an abstract unit for addressing message senders and message receivers. You can use a business service to group interfaces.
It is useful to use business services when configuring cross-company processes. Usually, the interface descriptions of the business partners involved are made publicly available. The system landscape is only partly known, however.
See the below links..
http://help.sap.com/saphelp_nw04/helpdata/en/ae/e3bd4f6b61e146ad1384954ecabb41/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ae/e3bd4f6b61e146ad1384954ecabb41/frameset.htm
Regards
Chilla.. -
Manual billing for legacy system period Billings
Hi Gurus,
Need your help.
My Client wants to do Billing for Legacy system period periods. Is it possible? Can we do through Manual Bill? If yes how SAP system can accept those contracts or old dates from Legacy?? I know that we can do Mnaul billing through T-code:EA16.
appreciate earliest response.
thanks
DGRHi,
Yes we can do it.There is one field in Ever called XVERA which signifies legacy move-in.If u migrate data from Legacy system and maintain that field,then only u can create manual bill .i have done the same as my users required that.just try this, i can help u for the same even.
Regards,
Raman -
Hi All,
I am going to implement RCA for legacy systems. What steps need to be considered to implement it on legacy systems.
Where can i find document for this?
Your help will be appreciated.
Thanks,
RohanHi Rohan,
You can get ref. from Solution manager master config. guide .
http://service.sap.com/~form/sapnet?_SCENARIO=01100035870000000112&_SHORTKEY=00200797470000075728&_OBJECT
thanks
Gyan -
Database table for Workflow Container values
hi,
I am on SAP ECC 6.0
I am trying to find workflow id number starting from document number
I try to find database table which has containe values of the workflow instances so that I can get workflow/workitem instance numbers for the document
this is custom workflow and it is not based on business object type. so checking container values is the onlyway I can get the workflows
but I am not able to find any table for it
I have checked following
SWW_CONT
SWW_CONTOB
SWWVCONTWI
SWXML_CONT
SWJ_CONT
SWJPCONT
SWJSCONT
SWPCMPCONT
SWU_CONT1
SWUOCONT1
almost all the SWCONT tables
Morever I put St05 trace to see all the tables in database operations while triggering the workflow
but the only tables seen here are
SWWHRINDEX
SWD_CONT
SWWWIHEAD
SWWCNTP0
SWWLOGHIST
SWWWIRET
SWWCNTP0 is Workflow Container: XML Database (P0)
but it is XML structure data. so its of new use to query container fields.
is this reason because of any workflow design or system config ?
how to read container values from database tables in such case?
thanks
bhaktiHi,
>i need to display an ALV list with list of invoices and whether the workflow is awaiting / approved / rejected for review / approval. and who did the approval / rejection action
This you should be able to read from container now, if you have FIPP instance.
>the workflow has two steps - review and approve and so i would query table swwwihead for the parent id of workflow and then based on task number see which is ready status task and find if its awaiting approval or rejection
Don't do any selects to SWWWIHEAD unless you have some really specific reason. Just use SAP_WAPI* functions. You should be able to get each depended work item etc. easily with the standard functions.
>apart from this, several data like amount values, reference document, creation date and whole lot of invoice item and header level data is required which needs to be taken from workflow container
Why would you read this data from container? This data is in the SAP tables VBKPF, etc. There should be even functions to get all data related to an invoice - try to search for example with READPRELIMINARY* (read preliminary invoice).
In general:
1) if you have invoice number, get all related work items with a SAP_WAPI* function
2) if you have only the top WI ID, use SAP_WAPIDEPEND function to get the depended work items
3) with above function you probably will get also the status of the tasks / work items, so you don't need select in SWWWIHEAD
4) Now you have the "status" and the workflow data for the invoice
5) read the invoice data from standard FI tables (unless there is some specific reason to get it from WF container, and if there is, then I think that you might be having some fundamental problems in your design)
Regards,
Karri -
No data in Portal Database tables for Activity Report
Hi experts,
I've developed an Activity Report application in SAP Portal 7.0, which went live but the report shows no data.
We are pulling data from 2 portal database tables: WCR_WEBCONTENTSTAT and WCR_USERPAGEUSAGE
In non production environment there is data in the report but there is no data in the production environment.
The Activity Report service is already activated/started and set to true.
What could have caused this? And what should we check now?
What other configurations/setup should be done?
Regards,
GregHi Greg,
Those are the aggregated tables. If they are not filled with data although the Portal Activity Report is activated, you should check whether the aggregation finished successfully.
In the older SPs there were some problems that were fixed in later SPs of 7.0.
In order to have the latest version of Portal Activity report, you can check SAP note 1084379 - Portal Activity Report - Latest Version (SDA file).
You can compare the SP via the MANIFAST file, as it contains the version and SP number.
In order to troubleshoot problems in Activity Report, you can follow SAP note: 1690023 - Portal Activity Report - Component-specific Note
Some basic checks that you can do:
Run query on the raw data tables to check since when there is data in those tables:
select min(timestamphour) from SAP<SystemID>DB.WCR_WEBCNODESTAT;
If there is too much data from long time ago, then you should delete the old data, and leave only the new data (there is anyways retention time for the data to be kept).
If there is no data, then it means that the Portal Activity Report does not collect data, and not really activated (usually this is not the case).
The aggregation runs every top of the hour, so you can check in the default traces for an error during that time.
In most of the cases something went wrong while aggregating the data.
As a result the aggregation is not finished, so the transaction is not being committed, and the aggregated tables stay empty.
If there is a DuplicateKeyException in the trace, you can follow SAP note 1054145 - Duplicate Key Exception.
If you have any more questions, please don't hesitate to ask.
I hope this information helps,
Thanks & regards,
Michal Zilcha-Lang -
How to find the database table for this screen field
hi in XD02
There is a scrren field customer
name1 (firt line under name)
and email id fields
i wnat to know where the data stores goes w hen user eners in this screen i mean in which table and how to find it
for kunnr name1 i suppose it goes to kna1 but how to find it?
and f or email id whre it gots which table
regards
AroraHi,
when you press F1 it will give the necessary information
but some times it may give the structure names also
those structures are being used by the back end module pool
programm
so every time we can get the exact information about the
data type or length
but not sure that every time we get the exact database table name
and field name
according to me, if i dont know where some field are getting stored in
database ( if the field name and table is structure )
then i will ask my functional consultant ...
thanks & regards,
Venkatesh -
Asset Tables for legacy data takeover
Dear Friends
We've to take assets data from one client to another and hence would be using Legacy assets.
Could you please let me know from which tables / reports i should extract the data related to master & transaction data from the legacy system which is also on SAP.
ANLA - master data and to take those assets which are not deactivated
ANLB
ANLC - asset accumulated APC & dep. And current yr dep
ANLZ - dep terms data
ANEP - asset transaction data for current year acquisitions
I dont have the system in from of me and i hope the above tables are correct.
1. Please let me know if other tables are required?
2. Should the dep area data be posted with remaining useful life & expired life in legacy asset?
Regards
KapilHello Kapil,
I invite you to carefully review the attached SAP notes which should
provide you with the necessart answer:
68802 Legacy data trnsfr: diff.fields n.ready f.input
550176 FAQ note legacy data transfer asset master records
373894 Collective note: introdctn to prblm solutn in FI-AA
Further I also attach the following 6 notes that provide further
informative details regarding legacy transfer, and also some specific
only for legacy transfer during the year:
729164 AS91/AS92: Incorrect ready for input status for prop. values
29706 AS91/92/94: Dep. area fields not ready for input
4206 Net book value input at old data transfer
50607 Depreciation during old assets data takeover
26240 Reconciliation of posted depreciat. after takeover
For further information, please review the information for asset data
transfer in the R/3 Library:
FI-AA - Assets -> Legacy Data Transfer -> Special Considerations for
Asset Data Transfer -> Time of Transfer...
thanks and regards
Ray -
Remove direct update of database table for VBUk and VBRK
hello,
we are updating database table only for thse two single fields VBRK-FKDAT_RL and VBUK-RELIK using direct UPDATE statements.
Could you please suggest some function modules or BAPI ?
BDC is not possible as some fields are not editable.
Awaiting your responses.
I have tried RV_INVOICE_DOCUMENT_READ, RV_INVOICE_DOCUMENT_UPDATE, RV_INVOICE_DOCUMENT_ADD.The fields aren't editable for a reason. If you explain the reason for the requirement and what is the trigger for changing the values, you might get a better response. Why isn't this handled via configuration for instance?
Maybe you are looking for
-
Is there a workaround for Photoshop CS6 Histogram?
I have noticed this and I am wondering if there is a more feasable workaround other than saving my work, closing the application and reopening the app. Here are the steps: Open a file (any file type compatible) Open the histogram window Open the laye
-
How to display JPEG in JSP w/o IMG tag?
I have a working application where a jpeg image is ecoded on the server via a JavaBean. The bean is then forwarded to a JSP, which gets the unique jpeg filename from the bean and displays it with an html <IMG> tag. All's fine and well, but I'd like t
-
How to run the program using specific classpath
Recently I installed Javamail 1.2 and JAF1.0.1 on my NT Box and set up the classpath. I can compile my java email code by using: javac myEmail.java. But when I tried to run the code using java myEmail, it always gives the error: Exception in thread "
-
when i get my itouch repaired if i lose anything will the iCloud will be able to sync back my apps and music back on, if so how?
-
Change in Status Profile for tcode cj01 or cj02
Hi guys, I want substitution for Status Profile value depend on WBS level, screen field is JOSTD-STSMA. The substitution doesn't have this field list in the opsn transection. Is there any other way like user exit or badi. Thanks in advance. Regards,