Urgent : Relation b/w PROJ ,JEST ,JSTO.... tables?
Hi Guys,
I am using these tables PROJ , JSTO , JEST , TJ30 , TJ30T and TJ02T.can anybody tell me how they are Related.I mean Primary Key Freign key Relationship.
In my program i have to download the data from these table based on Created date and Last Updatetd Date .Except PROJ table other tables are not having any date field. So how to download the data based on PROJ Table for all the other tables?
Very Very Urgent.Full points will be given for correct Answer.
Thanks,
Gopi.
Hello Gopi,
Please select the field OBJNR from PROJ table for a project not delete status.
Than select all the active user/system status for that project. Active and Inactive status you will find from the FM STATUS_READ and STATUS_TEXT_EDIT
SELECT SINGLE * FROM JSTO CLIENT SPECIFIED
WHERE MANDT = MANDT
AND OBJNR = OBJNR.
SELECT * FROM JEST CLIENT SPECIFIED
APPENDING TABLE JEST_TAB
WHERE MANDT = MANDT
AND OBJNR = OBJNR.
Please let me know your exact requirement, so that I may help you in better way.
Regards,
A.Singh
Similar Messages
-
Relation b/w PRPS and RPSCO tables
Hi PS Experts,
What is the Relation b/w PRPS and RPSCO tables
PRPS : WBS (Work Breakdown Structure) Element Master Data
RPSCO : Project info database: Costs, revenues, finances
Thanks in Advance,
Regards,
sudharsan.Hello Sasikanth Thank u for ur information,
and i need some more information, am working on abap, now i got a requirement in PS,
i want 2 calculate the values like Planned Revenue, Planned Cost, Actuall Rev, Actuall Cost, Actuall Billing, Revenue Taken, Cost Taken, BNS and SNB.
based on i/p parameters: Company Code, Fiscal year and month.
pls let me know how to calculate the above values, its very urgent for me.
Thanks in advance,
sudharsan. -
How to create a relational view base on an xmltype table which included sev
Hi,
I am using oracle 11.2.0.1.0.
how to create a relational view base on an xmltype table which content several different .xml files?
Thanks.
for examle:
SQL> SELECT OBJECT_VALUE FROM document;
Edited by: Cow on Jan 6, 2011 7:57 PMFor example I already have these three xml files inserted into the document xmltype table.
These xml files have same schemas. I have attached below.
I want to show all elements/attribute values in xml files to relational view.
Is this possible to create one big relational view to show everything
or I have to create three separate relation views then use UNION to put together? Thanks a lot. Cow
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
<document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd">
<id root="5ca4e3cb-7298-4948-8cc2-58e71ad32694"/>
</component>
</document>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
<document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd">
</component>
</document>
Edited by: Cow on Jan 4, 2011 9:51 AM -
Insert XML file into Relational database model without using XMLTYPE tables
Dear all,
How can I store a known complex XML file into an existing relational database WITHOUT using xmltypes in the database ?
I read the article on DBMS_XMLSTORE. DBMS_XMLSTORE indeed partially bridges the gap between XML and RDBMS to a certain extent, namely for simply structured XML (canonical structure) and simple tables.
However, when the XML structure will become arbitrary and rapidly evolving, surely there must be a way to map XML to a relational model more flexibly.
We work in a java/Oracle10 environment that receives very large XML documents from an independent data management source. These files comply with an XML schema. That is all we know. Still, all these data must be inserted/updated daily in an existing relational model. Quite an assignment isn't it ?
The database does and will not contain XMLTYPES, only plain RDBMS tables.
Are you aware of a framework/product or tool to do what DBMS_XMLSTORE does but with any format of XML file ? If not, I am doomed.
Constraints : Input via XML files defined by third party
Storage : relational database model with hundreds of tables and thousands of existing queries that can not be touched. The model must not be altered.
Target : get this XML into the database on a daily basis via an automated process.
Cheers.
Luc.Luc,
your Doomed !
If you would try something like DBMS_XMLSTORE, you probably would be into serious performance problems in your case, very fast, and it would be very difficult to manage.
If you would use a little bit of XMLType stuff, you would be able to shred the data into the relational model very fast and controlable. Take it from me, I am one of those old geezers like Mr. Tom Kyte way beyond 40 years (still joking). No seriously. I started out as a classical PL/SQL, Forms Guy that switched after two years to become a "DBA 1.0" and Mr Codd and Mr Date were for years my biggest hero's. I have the utmost respect for Mr. Tom Kyte for all his efforts for bringing the concepts manual into the development world. Just to name some off the names that influenced me. But you will have to work with UNSTRUCTURED data (as Mr Date would call it). 80% of the data out there exists off it. Stuff like XMLTABLE and XML VIEWs bridge the gap between that unstructured world and the relational world. It is very doable to drag and drop an XML file into the XMLDB database into a XMLtype table and or for instance via FTP. From that point on it is in the database. From there you could move into relational tables via XMLTABLE methods or XML Views.
You could see the described method as a filtering option so XML can be transformed into relational data. If you don't want any XML in your current database, then create an small Oracle database with XML DB installed (if doable 11.1.0.7 regarding the best performance --> all the new fast optimizer stuff etc). Use that database as a staging area that does all the XML shredding for you into relational components and ship the end result via database links and or materialized views or other probably known methodes into your relational database that isn't allowed to have XMLType.
This way you would keep your realtional Oracle database clean and have the Oracle XML DB staging database do all the filtering and shredding into relational components.
Throwing the XML DB option out off the window beforehand would be like replacing your Mercedes with a bicycle. With both you will be able to travel the distance from Paris to Rome, but it will take you a hell of lot longer.
:-) -
Find all Package and their related Procedure Names using a specifc Table
I have 25 Packages
Each Package holds 30-35 Procedures
I need to find out all Packages and Procedures
Each Procedure handles 5 - 20 Tables as Per The Need of Business Rule.
I need All Package and Related Procedure Names Where a Specific Table Name Appears(DBA_SOURCE doesn't serve purpose.)
Early Reply Appreciated.
Thanks and Regards,I tried the solution provided to me, but unfortunately the issue remains the same.
I was Advised to Execute the SQL utldtree.Sql, and then Execute deptree_fill.
The output is given by a Table DEPTREE (Columns are: .'NESTED_LEVEL', 'TYPE', 'SCHEMA', 'NAME' and 'SEQ#')
The output I am getting From the Table DEPTREE is as follows -
Column TYPE value is PACKAGE; Column NAME Value is ACTUAL PACKAGE NAME
Column TYPE value is PACKAGE BODY; Column NAME Value is ACTUAL PACKAGE NAME
This repeats till the count the TABLE Name is found in the same PACKAGE
Desired Output should be -
Column TYPE value PACKAGE; Column NAME Value ACTUAL PACKAGE NAME
Column TYPE value PACKAGE BODY; Column NAME Value ACTUAL PACKAGE BODY NAME
This should repeat till the count the TABLE Name appears in different PACKAGE BODY of the same PACKAGE
Warm Regards, -
Urgent related to message type structure and proxy
Hello,
My outbound interface related message type structure is like this....
message type name : MSg1
Msg1
x
y
Z
(under z)
a
b
c
ok,Now in generating the proxy how to populate this structure.
For example ...
if Msg type is emp_profile_msg
Emp_name
Empno
Department_name
we use this code
REPORT zblog_abap_proxy.
DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
CREATE OBJECT prxy.
DATA it TYPE zblogemp_profile_msg.
TRY.
it-emp_profile_msg-emp_name = 'Sravya'.
it-emp_profile_msg-empno = '80101'.
it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
CALL METHOD prxy->execute_asynchronous
EXPORTING
output = it.
commit work
CATCH cx_ai_system_fault .
DATA fault TYPE REF TO cx_ai_system_fault .
CREATE OBJECT fault.
WRITE :/ fault->errortext.
ENDTRY.
if message type consists structure inside strucutre ..then how to populate those sructureHi Sunil,
Please don't mind, but I think I already have posted the answer for this query and have provided some links
Please see the below mail.
urgent related to Mesage types and proxy
Please let me know if you need anything else than the given info.
I have one sample program where we have deal with these kind of sub-sturctures
Thanks
Swarup -
APPLICANT NUMBER to be fetched MAIL ID, and Work Order related to PRPS/PROJ
Hi Everyone,
I am working on Project systems module, ABAP development,
Please help in the below issue.
In table PRPS/PROJ, ASTNA and ASTNR is applicant number and Applicant.
For the Applicant number and applicant how can I find the mail id. For this even I dont find any check table.
And how Work Order (AUFNR) table is related to PRPS and PROJ tables
Please give me the key fields to match Work Order (AUFNR) to (WBS Element) PRPS and PROJ.
What are the key fields for PRPS/PROJ ASTNA (applicant number) field to Mail id?
Please let me know, its very urgent.
Points will be rewarded for early response.
Thanks,Thanks Nimish,
SELECT pbo.*
,msib.inventory_item_id
FROM XXMEL_PVS_BSH_ORDER pbo
, mtl_system_items_b msib
WHERE 1=1
AND msib.segment1 = pbo.material
AND msib.organization_id = 26
AND to_char(pbo.import_batch_id) IN (select regexp_substr (txt, '[^:]+', 1, level) data
from (select v_import_batch txt
from dual) t
CONNECT BY level <= length (txt) - length (replace (txt, ':')) + 1);
The code worked fine, I just had to change the '[^,]+' to '[^:]+' as the parameter that comes in from APEX is a : separated value '[^:].
Thanks
Chris -
Very Urgent : Reterival of AWKEY field from BKPF table
Hi,
I am making a report in which i have to make relation of 2 fields BKPF-AWKEY and MKPF-MBLNR . but the problem is i am not to reterive data from it as i have to make inner join among these fields so data can be reterived fmo these tables.
plz provide me some guidelines as it is really urgent to me and help will be deinfately rewarded.First and foremost, i would advice you not to use words like VERY URGENT in your subject. You might want to go through the following link to understand the basic rules of the forum:
[Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
For your requirement, below code might help you understand the logic in determining the link between BKPF and MKPF.
TYPES: BEGIN OF t_bkpf,
bukrs type bukrs,
belnr type belnr_d,
gjahr TYPE gjahr,
awtyp type awtyp,
awkey type awkey,
end of t_bkpf.
types: begin of t_mkpf,
mblnr type mblnr,
mjahr type mjahr,
end of t_mkpf.
data: i_bkpf type STANDARD TABLE OF t_bkpf,
i_mkpf type STANDARD TABLE OF t_mkpf.
data: wa_bkpf type t_bkpf,
wa_mkpf type t_mkpf.
PARAMETERS: p_bukrs type bukrs OBLIGATORY,
p_gjahr TYPE gjahr OBLIGATORY.
START-OF-SELECTION.
SELECT bukrs belnr gjahr awtyp awkey
into table i_bkpf
from bkpf
UP TO 20 ROWS
where bukrs = p_bukrs
and gjahr = p_gjahr
and awtyp = 'MKPF'.
IF NOT i_bkpf[] is INITIAL.
select mblnr mjahr from mkpf into table i_mkpf
for ALL ENTRIES IN i_bkpf
where mblnr = i_bkpf-awkey(10).
* and mjahr = i_bkpf-awkey+10(4).
ENDIF.
LOOP AT i_bkpf into wa_bkpf.
READ TABLE i_mkpf into wa_mkpf
with key mblnr = wa_bkpf-awkey(10)
mjahr = wa_bkpf-awkey+10(4).
IF sy-subrc eq 0.
write:/ 'Accounting Document:', 23 wa_bkpf-belnr,
35 'Material Document:', 55 wa_mkpf-mblnr.
ENDIF.
ENDLOOP. -
Problem related to a column in a table?
Hi All,
I have a table and two webservices.On the basis of certain search criteria,the table will get populatedwith data.
In the search screen i am passing values to both the webservices. Then in return my table is getting populated with data from both the webservices.
For this sake I have created a value node with value attribites according to the number of fields required for the table.
I have one column as a requirement as a link.I am binding this value node to the table and then the table is ready for the data incoming.
But the column LINK is not related to any webservices.
The LINK has the record "click to view".
The text click to view should be disabled for the row or the data coming from one webservice and should be enabled for the other.
While binding the table with the value node , I am setting the editor as linkToURL and binding property as enabled.
Then in the program I am setting it false for one for loop which is responsible for one webservice and otherwise for the other.
Kindly help me .Looking forward to you.
Regards
DKHi,
for(int i=0 ; i< this.wdContext.nodeA().size() ; i++){
IPrivateSearch_View.IInfoElement ele = wdContext.nodeInfo().createInfoElement();
ele.setAmou(wdContext.nodeA().getAElementAt(i).getAMO());
ele.setCurr(wdContext.nodeA().getAElementAt(i).getCUR());
ele.setLink("Click to view");
}//This is for One Webservice.
//Like wise i do for the other webservice and the looping is done according to the other webservice struturesize.
// Link is a local attribute as mentoned before of type string. -
Urgent problem: grouping by fields of internal table
Hi friend,
i have a urgent problem and i hope that you can help me out:
i have an internal table containing data, and i sorted it by 3 fields.
now what i want to do is kind of grouping that means that all the lines that are the same should be written into another internal table like this:
A
A
B
B
B
C
D
would give me:
A 1
A 1
B 2
B 2
B 2
C 3
D 4
How could i do this ( especially avoiding nested loops ? ) Is there a handy trick to do this efficiently ?
thank you, i will give points immediately,
ClemensHello,
The field position is important for the fields that are using in the control break statements..Also SORT internal table is required.
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb381a358411d1829f0000e829fbfe/content.htm
DATA: BEGIN OF ITAB OCCURS 0,
MATNR TYPE MATNR,
WERKS TYPE WERKS_D,
VALUE TYPE NETPR,
END OF ITAB.
ITAB-MATNR = 'ABC'.
ITAB-WERKS = '0100'.
ITAB-VALUE = '10.00'.
APPEND ITAB.
ITAB-MATNR = '1ABC'.
ITAB-WERKS = '0100'.
ITAB-VALUE = '10.00'.
APPEND ITAB.
SORT ITAB BY MATNR WERKS.
LOOP AT ITAB.
AT FIRST.
WRITE : 'AT FIRST'.
ENDAT.
AT NEW MATNR.
WRITE : 'AT NEW MATERIAL NUMBER'.
ENDAT.
AT END OF MATNR.
SUM.
WRITE: / ITAB-MATNR, 'MATERIAL TOTAL - ', ITAB-VALUE.
ENDAT.
AT END OF WERKS.
SUM.
WRITE: / ITAB-WERKS, 'PLANT TOTAL - ', ITAB-VALUE.
ENDAT.
AT LAST.
WRITE : 'AT LAST'.
ENDAT.
ENDLOOP.
Regards,
Deepu.K -
URGENT:Problem in a mapping with 8 tables in JOIN and using the DEDUP op.
I have an urgent problem with a mapping: I must load data from 8 source tables (joined togheter) in a target table.
Some data from 1 of the 8 tables have to be deduplicated, so I created a sort of staging table where I inserted the "cleaned" data, I mean, the deduplicated ones.
I made it to make all the process faster.
Then, I joined the 8 tabled, writing the join conditions in the operator properties, and connected the outputs into the fields of the target table.
But..it does not work because this kind of mapping create a cartesian product.
Then, I tried again with another mapping builted up in this way: after the joiner operator, I used the Match-Merge Operator and I load all data into a staging table exactly alike the target one, except for the PK (because it is a sequence). Then, I load the data from this staging table into the target one, and, of course, I connect to the target table also the sequence (the primary key). The first loading works fine (and load all the data as I expected).
For the next loadings,I scheduled a pre-mapping process that truncate the staging table and re-load the new data.
But..it does not work. I mean, It doesn't update the data previously loaded (or inser the new ones), but only insert the data, not considering the PK.
So, my questions are as follow:
1) Why loading the data directly from the joiner operator into the fact table doesn't work? Why does it generate a cartesian product??
2) The "escamotage" to use the Match-Merge operator is correct? I have to admit that I didn't understand very well the behaviour of this operator...
3) And, most of all, HOW CAN I LOAD MY DATA? I cannot find a way out....First of all, thanks for the answer!
Yes, I inserted the proper join condition and in fact I saw that when WB generates the script it considers my join but, instead of using the fields in a single select statement, it builts up many sub-selects. Furthermore, it seems as it doesn't evaluate properly the fields coming from the source tables where I inserted the deduplicated data...I mean, the problems seems not to be the join condition, but the data not correctly deduplicated.. -
[Urgent] Issue with Selected rows in Advanced table
[I have searched archive and found lots of mails on same issue but none were conclusive so i am asking this again]
Hi All,
I have created an advanced table and i want to have functionality of deleting selected rows.
For implementation of this functionality, i have created a selectflag transient attribute [varchar2] and linked it to multiple select item of Advanced table but the table always returns null for selectflag attribute irrespective of row being selected or not.
One thing i have noticed is that i can't supply 'checked value' and 'unchecked value' property in advanced table multiple select item. Is that the issue?
Can anybody please guide, its quite urgent.
Regards
LokeshHi Reetesh,
Thanks for the reply.
Yes, you are right i am using same AM at 2 different places.
Let me just elaborate a little about my implementation:
I have a Page layout region and within this page layout, i have a query bean which performs results based search.
Within this query bean, i have added an Advanced table within that query bean to display the results.
Now coming to multiple AM issue:
1. Page Layout region must have one AM or its an error.
2. If i donot add an AM to advanced table, it doesn't return rows.
So do i need to have 2 diferent AM's for this implementation?
Regards
Lokesh -
Its very urgent:how to insert data into database tables
Hi All,
I am very new to oaf.
I have one requirement data insert into database tables.
here createPG having data that data insert into one custom table.
but i dont know how to insert data into database tables.
i wrote the code in am,co as follows.
in am i wrote the code:
public void NewoperationManagerLogic()
ManagerCustomTableVOImpl vo1=getManagerCustomTableVO1();
OADBTransaction oadbt=getOADBTransaction();
if(!vo1.isPreparedForExecution())
vo1.executeQuery();
Row row=vo1.createRow();
vo1.insertRow(row);
in createPG processrequest co:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
am.NewoperationManagerLogic();
process form request:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if(pageContext.getParameter("Submit")!=null)
ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
am.getOADBTransaction().commit();
please help with an example(sample code).
its very urgent.
thanks in advance
Seshu
Edited by: its urgent on Dec 25, 2011 9:31 PMHi ,
1.)You must have to create a EO based on custom table and then VO based on this EO eventually to save the values in DB
2.) the row.setNewRowState(Row.STATUS_INITIALIZED); is used to set the the status of row as inialized ,this is must required.
3.) When u will create the VO based on EO the viewattributes will be created in VO which will be assigned to the fields to take care the db handling .
You must go thtough the lab excercise shipped with you Jdeveloper ,there is a example of Create Employee page ,that will solve your number of doubts.
Thanks
Pratap -
Dear all experts,
i am extracting generic data source
while doing it, it is saying as the table which i have selected in the screen SE11 has not activated
can anybody please tell solution...
its very urgent.
points will be assigned to your help.....
regards
vinayDear Kalpana M ,
can you please tell, how to activate tables..
i m using makt and mara.... and i have created view on them.
how to activate these tables.
plz reply, its very urgent.
regards
Vinay -
Creating a master-detail relation between a view and a table
Hi all,
I have a problem with creating a master-detail relation between a database-view with lots of customer data and a small table with per customer a list of entities of our companies who may work for that customer.
Somehow I seem to be unable to create a relation between these two. I can't find where I can make a foreign key using Toplink to implement the relationship. And neither can I get a Viewlink object doing the job using ADF Business Components.
Somebody any suggestions on this problems?
Regards,
BirgitThere is a key relationship between two fields which form the primary key in the main table of the view and two fields in the second table.
I created a viewlink manually, but I still couldn't get the data correct i.e. a form with one record of a customer from the main view and a small table with all entities of our company who can make performances for that customer.
I tried to find a manual or a how-to on this topic but I didn't find anything helpfull yet.
Regards,
Birgit
After a couple more tries, I got the master-detail working. With all the fiddling I am not sure what caused the problem but I think the finally action was checking which fields of the view were marked as primary keys.
Now everthing is up and running.
Birgit
Message was edited by:
user492355
Maybe you are looking for
-
One solution to voice memo problem in iPhone 4
Folks, I talked to Apple about the problem of not being able to retrieve voice memos in the utilities category of the iPhone 4, and got a fix. I'm not sure if everyone here is experiencing the same problem, but mine was that pressing the silver buton
-
File I/O Error 1430 Path Problems?
Hey guys, I'm somewhat new to labview, and I'm working on a relatively easy program right now. Just to fill you in on what it's basically going to do.. It reads a voltage from a NI-DAQ which is hooked up to a machine that controls the filling of a l
-
I have the educational version of Adobe Photoshop CS3 on Windows XP. I recently restored my computer so I need to re-install CS3. I have all the codes and passwords but I can't find the download. Any ideas? Thanks
-
Hi., I am jdev 11.5 => I ha created a Taskflow with two jff files such that My Task Flow: view dept -----------[edit]----------------->Editdept view dept<----------[Save]-----------------EditDept While i run my jspx page and tried to perform an actio
-
Uninstall and reinstall LR4 and Elements 10 to deal with computer issues.
How do I uninstall and uninstall lr4 and elements 10 without running into problems with the number of installations permitted by the product license? Do I need to somehow unregister/reregister?