Reg View creation in Generic
Hi SDN,
Im trying to create Generic Data source of View Method. I wanted to create View on BSID ( Closed Customer Invoices) and BSAD ( Open Customer invoices) Tables, But while creating its giving error as "THERE IS NO RELATION BETWEEN THE TABLES" I want to know how to create Relation Between the tables. Both BSID & BSAD are standard tables, so we cant make any changes.
Please let me know the procedure to bulid Rlation between the tables.
Regards
Sujan
Hi Siva,
You have to give relation between these two tables in tab "Table/Join Conditions".
Creating Views:
http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
View creation fr generic extraction
Hope it Helps
Similar Messages
-
View creation fr generic extraction
Hai Experts,
when we are create view from two different table ,wht is the crieteria that should satisfy between tables..... and at the time of datasource creation which type we need to select (master/trans)..as i found both master and transaction field in one table
Can any one send the step by step process to create view..
I have one more scenario ie .,i need to create a datasource from tables which belong to diff applications and their primary key is different ,can any one tell me how to create a datasource using function module,step by step process..
thnks in advance,
Regards,
Surihi,
try these links for view creation...
http://help.sap.com/saphelp_nw04/helpdata/en/f5/35c83ecedc636be10000000a114084/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/43473ccf20514ee10000000a114084/content.htm
http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
http://www.sapdb.org/7.4/htmhelp/ee/1c5be2eba711d4aa2800a0c9430730/content.htm
hope it helps... -
Reg: Table creation for generic source
Hai,
I tried to create generic data source using a table that I created. But when I tried to enter entries into the table using se16 transaction, one field is not at all coming.
I didnt understand why this field is not coming. I checked the enhancement category, but that is allowing too.. I changed the position of that field in the table and tried. But still its not coming in se16 create entries..
What can be the problem. When we check the table in se12, that field we able to see.. When we check through se16 also its available. Only when we want to make entries its not coming..
Can someone help me to resolve this issue..Hi,
Yes I am able to see the filed in the data source also.
I want to do flat file loading. So I am using LSMW recording for the same. So in se16 i need to create dummy entries. But as this filed is not coming, I cant populate.
When i tried outside lsmw also in SE16 that filed is not there. -
Merchandise Category creation for Generic Article in SAP IS-Retail
Hi,
Can anyone help me out to with clear and complete process and settings i have to maintain for merchandise category for generic article for shoes of our client. I created merchandise category with the below transaction codes
ct04,clwe,clwe,clw1 and wg21 but when i used to create generic article i have to find characteristics in variants tab in basic data view in mm41 but i didn't find it.
HELP ME with SCREENSHOTS which will HELP ME in FUTURE of our CLIENT
Thanks & Regards
Gopi Krishna
Mobile:+91 9741042296Hi Manish,
Thank you for your reply which is the procedure for relevance of variants in creation of generic article.My concern is to know complete merchandise category creation with screenshots which i can create by own merchandise category.
Thanks & Regards
Gopi Krishna Potteti -
View creation very slow - not materialized view
I have a view creation script which is running in a fraction of a second in the dev environment but takes over an hour to run in the test environment.
The test environment is off-site, so I have no direct access to it. It does have a lot more data in than dev, but this is not a materialised view so as far as I understood it the amount of data in the system shouldn't affect the time to create the view.
I haven't been able to find any information on what can make this happen. In the development environment I can be querying the view (or can lock it directly), and am still able to run the CREATE OR REPLACE statement without any performance impact. The view does contain function calls and is created with the FORCE keyword, but I can't find any evidence that this should affect the speed of creation.
I am running Oracle 10g (10.2.0.4.0) on Solaris in both dev and test environments.
Any ideas on what could be causing this are very welcome.
CREATE OR REPLACE FORCE VIEW DB_OWNER.PER$AGE
SYSTEM,
LOCATION,
EVENT_START,
SURNAME,
DOB_STRING,
DESCRIPTION,
GENDER,
OLD_ID,
URN,
COMBINED_SCORE,
LOAD_DATETIME,
AGE,
EVENTDATE_FROM,
EVENTDATE_TO,
DETAILS,
AOB
AS
SELECT /*+ leading(ad) */
p.system,
p.location,
p.event_start,
p.surname,
CAST (
NVL (
NVL2 (
p.dob,
TO_CHAR (p.dob, 'dd/mm/yyyy'),
TO_CHAR (
p.apparent_age
+ ROUND ( (SYSDATE - p.created_datetime_from) / 365, 0))),
0) AS VARCHAR2 (10))
AS dob_string,
p.description,
p.gender,
p.old_id,
p.urn,
NVL2 (
p.dob,
db_owner.app_age_score (p.dob, ssearch.get_target_age),
db_owner.age_score (p.apparent_age,
p.created_datetime_from,
ssearch.get_target_age))
AS combined_score,
p.load_datetime,
psd.age,
psd.eventdate_from,
psd.eventdate_to,
e.details,
NVL (e.aob, 'N/A') aob
FROM db_owner.person p,
db_owner.psd psd,
db_owner.entity e
WHERE p.db_key = psd.db_key
AND psd.age IS NOT NULL
AND e.system(+) = p.system
AND p.system IN (SELECT internal_name
FROM ops$tomcat.feed_details
WHERE inSearchList = 'true')
AND e.urn(+) = p.urn;Hi,
Thanks for the response.
Trying the same thing without the FORCE keyword made no difference, the view still takes a long time to compile and there are no compilation errors.
On the development system, I have run a long-running query on the view and checked V$Access. This returns a record for the view, but I can still successfully run the CREATE OR REPLACE statement on the view in another session. This appears to show that a record in V$Access doesn't mean that the view can't be recompiled.
On the test system there are no other sessions connected and no records for the view in V$Access.
Does anyone have any other ideas? -
Set operator NE in Database View creation in join condition
Hi Experts,
I have a requirement to set NE(not equal) operator in join condition of Database View creation. Could you please help me how to set in operator.
Join condition :
Ex : BSAK-AUGBL NE BSAK-BELNR.
You know that by default operator is '='. i want to set NE in place of '='.
Thanks,Hi Chinna,
Check whether if there is any possibility or not to include more key fields like bukrs, lifnr, gjahr etc in the where condition, so that you query may result faster. Then, there won't be any necessary to create the view.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
Automatic storage location view creation in maintenace order (IW31)
Hello,
Seems like I need some help.
Have configured automatic storage location view creation for GR and reservation. Configured movement types are 101, 201, 261. While creating reservations (201, 261 mvmnt. types) with mb21 the sloc view is automatically created in material master, and everything seems fine.
But in iw31 when I specify material number and sloc in a Components tab, I get an error message CO312: "The storage location data is not created". Automatic reservation is not created, and maintenance order can not be saved. Movement type 261 is used for automatic reservations for the maintenance order.
If I configure message CO312 as a (W)arning message, then it allows me to save the order and reservation, but sloc view in material master still is not created. Think that's not good and may lead to MRP issues.
How can I configure automatic sloc view creation in iw31? Is that possible?
Edited by: Konstantin Dudura on Nov 17, 2009 8:11 PMHi,
The customization required for Automatic Storage location creation at reservation are:
Goto : SPRO -> MM -> inventory Management and physical inventory -> Goods issue/ Transfer posting -> Create storage location automatically
first of all go to Plant and tick the automatic Storage location creation for the Plant. After that goto Movement type and tick the automatic Storage location for movement type 261.
Regards -
Personalized view creation in OA Framwork
HI ,
I am developing a search Trasaction in OAF using Query Region (AtuoCustomization Mode ). I developed the simple search and advanced search with dyamanic where caluse (I am setting the where clause and not using the where caluse genrate by Search Framwork ) . now i have to develope the personalized View page . i am using same method used in simple search and advance search for genrating where caluse dayanamiclly . but problem is that in personiazied view i am not able to invoke that method as i am not getting the how to handle the apply and apply & view result button in view panal . if anyone work on personalized View creation or know anything about creation of personalized view , please share your knowladge . its urgent , please help me
regards,
VishalLooks like you are running a page which is part of a multipage transaction. Check the page function and make sure that page is not expecting any parameter, all the corresponding class files are present in the myclasses folder.
--Shiv -
Hi,
I have to create tree view. I followed the stpes mentioned at the following link.
Tree View
I have created a Z-structure and created a table view in the component BT111H_OPPT component.
While trying to modify the .htm page for the tree view, with the code mentioned at above link, I am getting following error.
"node_tab is unknown. Not declared by a data statement."
(see the line number 4 - nodeTable = "<%= mytreenode->node_tab %>")
I am using the following code.
<chtmlb:tableExtension tableId = "Table"
layout = "FIXED" >
<chtmlb:configTree id = "configTree"
nodeTable = "<%= mytreenode->node_tab %>"
nodeTextColumn = "NODE_TYPE"
onCollapseNode = "nodeCollapse"
onExpandNode = "nodeExpand"
onRowSelection = "select"
onNodeClick = "nodeClick"
ajaxDeltaHandling = "FALSE"
headerText = "Demo Tree"
allRowsEditable = "TRUE"
selectionMode = "SINGLESELECT"
table = "//mytreenode/Table"
tableLayout = "AUTO"
visibleRowCount = "12"
usage = "EDITLIST"
fillUpEmptyRows = "FALSE"
personalizable = "TRUE"
scrollable = "TRUE"
noFrame = "X"
downloadToExcel = "FALSE"
onClose = "closeTree"
onIncreaseSize = "increaseTree"
nodeTextColumnDescription = "NODE" />
</chtmlb:tableExtension>
Please let me know where and how should I decalre it.
Regards,
AnsalThanks Arun.. for the quick response...
After view creation, I was directly following your second section of the thread....
My issue is resolved....
Hope to get further help for this object development.
My requirement is add a new assignment block in opportunity screen which will show all the quotation,with their details, created for this opportunity and on click of each quotation id, all the items mapped to that particular quotation should be visible in same view.
Thanks & regards,
Ansal -
Re: Reg: View column datatype
Hi All,
After changing it, I was getting the output like for legacy_trx_number.
220135.1
220135.2
220135.3
220135.4
220135.5
220135.6
220135.7
220135.8
220135.9
220135.1 -- It should be 220135.10 after converting into to_number(h1.legacy_trx_number||'.'||h2.header_num legacy_trx_number)
220135.11
220135.12
220135.13
220135.14
220135.15
220135.16
If it is varchar2 data type then i was gettign the correct output from view query output. can you let me know how to avoid this problem.
Thanks in advance.In addition to your previous thread, you have 3 choices: -
1) If a table/view is created with number datatype with precession 2, then 220135.10 value will be stored as 220135.1 in it. In short number type ignores trailing zero after decimal.
2) You can stick to your view creation with varchar2 datatype.
3) Or as Blu suggested, you can display using to_char with format code. Like for TO_CHAR( 220135.1, 'FM999999.00' ). But along with this, your all decimal part( before 10) will also have a trailing zero with them.
Thanks! -
MAT View Creation Performance Issue
Hello Experts,
Below query is executing approximately in 1-3 sec.
select
COMMITMENT_ID,
FUNDING_RULE_ID,
reporting_year||'-'||reporting_period as RepPeriod,
GET_START_DAY_OF_PERIOD (FUNDING_RULE_ID, reporting_year, reporting_period) START_DAY_OF_PERIODt,
GET_END_DAY_OF_PERIOD(FUNDING_RULE_ID, reporting_year, reporting_period) END_DAY_OF_PERIOD
from
(select
COMMITMENT_ID,
FR_ID as FUNDING_RULE_ID,
COMT_START_DATE,
--COMT_TERMINATION_DATE,
GETREPYEARFROMDATE(COMT_START_DATE,FR_ID) as reporting_year,
GETREPORTINGPERIOD(to_char(COMT_START_DATE, 'mm') ,FR_ID) as reporting_period
from
select
COMMITMENT_ID,
COMT_START_DATE,
--COMT_TERMINATION_DATE,
COALESCE(CB_FUNDING_RULE_ID,NC_FUNDING_RULE_ID) FR_ID
from
(COMMITMENT_TABLE left outer join (CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE a on
a.FUNDING_RULE_ID = CB_FUNDING_RULE_ID )
on COMT_BENEFICIARY_REF = CB_BENEFICIARY_REF
left outer join (NON_CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE b on
b.FUNDING_RULE_ID = NC_FUNDING_RULE_ID)
on
COMT_BENEFICIARY_REF = NC_BENEFICIARY_REF)
The query is returning 4.5 lacks of rows.
I want to create a MAT view by using above query and refresh this on daily basis.
But the MAT view creation is taking more time near about 401sec (6.68min).
Why the MAT view is taking more time?
MAT_VIEW
CREATE MATERIALIZED VIEW "REP_PERIOD_START_END_DATE"
AS select
COMMITMENT_ID,
FUNDING_RULE_ID,
reporting_year||'-'||reporting_period as RepPeriod,
GET_START_DAY_OF_PERIOD (FUNDING_RULE_ID, reporting_year, reporting_period) START_DAY_OF_PERIODt,
GET_END_DAY_OF_PERIOD(FUNDING_RULE_ID, reporting_year, reporting_period) END_DAY_OF_PERIOD
from
(select
COMMITMENT_ID,
FR_ID as FUNDING_RULE_ID,
COMT_START_DATE,
--COMT_TERMINATION_DATE,
GETREPYEARFROMDATE(COMT_START_DATE,FR_ID) as reporting_year,
GETREPORTINGPERIOD(to_char(COMT_START_DATE, 'mm') ,FR_ID) as reporting_period
from
select
COMMITMENT_ID,
COMT_START_DATE,
--COMT_TERMINATION_DATE,
COALESCE(CB_FUNDING_RULE_ID,NC_FUNDING_RULE_ID) FR_ID
from
(COMMITMENT_TABLE left outer join (CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE a on
a.FUNDING_RULE_ID = CB_FUNDING_RULE_ID )
on COMT_BENEFICIARY_REF = CB_BENEFICIARY_REF
left outer join (NON_CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE b on
b.FUNDING_RULE_ID = NC_FUNDING_RULE_ID)
on
COMT_BENEFICIARY_REF = NC_BENEFICIARY_REF)
Is there any way to make the MAT view creation within 3 minutes?CREATE MATERIALIZED VIEW "REP_PERIOD_START_END_DATE"
AS
with tab as
select /*+ materialize */ commitment_id,
comt_start_date,
--COMT_TERMINATION_DATE,
coalesce (cb_funding_rule_id, nc_funding_rule_id)
fr_id
from ( commitment_table
left outer join
( child_beneficiary_table
left outer join
funding_rule_table a
on a.funding_rule_id = cb_funding_rule_id)
on comt_beneficiary_ref = cb_beneficiary_ref
left outer join
( non_child_beneficiary_table
left outer join
funding_rule_table b
on b.funding_rule_id = nc_funding_rule_id)
on comt_beneficiary_ref = nc_beneficiary_ref)
select commitment_id,
funding_rule_id,
reporting_year || '-' || reporting_period as repperiod,
get_start_day_of_period (funding_rule_id,
reporting_year,
reporting_period)
start_day_of_periodt,
get_end_day_of_period (funding_rule_id,
reporting_year,
reporting_period)
end_day_of_period
from (select commitment_id,
fr_id as funding_rule_id,
comt_start_date,
--COMT_TERMINATION_DATE,
getrepyearfromdate (comt_start_date, fr_id) as reporting_year,
getreportingperiod (to_char (comt_start_date, 'mm'), fr_id)
as reporting_period
from tab); -
Why do I get a "ORA-01031: insufficient privileges" in my view creation?
Why do I get a "ORA-01031: insufficient privileges" in my view creation for the table which exists in the same schema?
Oracle version is 10g R2.
connect cim/lion;
create table cim.table1 (a number, b varchar2(10));
create view cim.view1 as select * from cim.table1;
create view cim.view1 as select * from cim.table1
ERROR at line 1:
ORA-01031: insufficient privilegesThanks it works now after giving CREATE VIEW permission to user CIM.
This script was working fine in Oracle 10g R1.
Looks like i need to execute the following GRANT permission explicitly
grant create view to cim; -
View creation authority for a user
How can I assign MIP views or another view creation for a user ?
Hi
Yes you are right you can control the status based on the authorisation Object
M_MATE_STA.
Award points if useful
Thanks & Regards
Kishore -
Reg : object creation for controller and view ?
hi friends....
i am new to WDA and objects...
please explain me..
when i create the web dynpro component one interface is automatically created as IF_COMPONENTCONTROLLER for component
IF_MAINVIEW for view
IF_WINDOW for window
correct me if i am wrong
suppose if i want to reuse class, i want to create object... like wise
if i want to reuse interfaces, i want to create object.
but in this case..for eg (IF_COMPONENTCONTROLLER, IF_MAINVIEW ) where we are creating object...?
no need to create object ?
regards
deva>but in this case..for eg (IF_COMPONENTCONTROLLER, IF_MAINVIEW ) where we are creating object...?
no need to create object ?
No you don't have instantiate any of the objects. Think of Web Dynpro as a modeling layer implemented in ABAP Objects, but sitting on top of the Object Oriented constructs. You still have some of the benfiits of OO - like event registration, inheritance, methods, etc - but a lot of the OO setup is done and maintained by the framework for you. So although each section of Web Dynpro - the component, the controllers, contexts, views, etc - are all technically ABAP Object instances, you don't have to manage the objects directly. -
Error in creation of Generic Data source
Hi,
I am trying to create generic datasource from view i am getting the following error Invalid extract structure template Z_VIEW of DataSource Z_DATSRC guide me in this regard
Regards
Prakash B.Dear Prakash,
What are the tables you are using for a View , if you are using Quantities and Amount fields, make sure you include Reference fields for it , the error that you get is because of that . first create your view ,check it and activate, then go to RSo2 , create the Datasource, by giving the view .Try to give your problem more eloboratively with all technical details..so that you can get immediate solution.
Thanks,
krish
Maybe you are looking for
-
I have no video on my MacBook Pro, can someone help?
Hello, whenever I go to a website and want to view a video there is nothing there, just an empty box. Can someone help me figure this out? I'm running Mac OS X version 10.6.8
-
DVD conversion Help????
Here's the problem, a friend of mine Bought a Sony Handycam That records to DVD. From what he is telling me the model he has there is no firewire or usb port leaving him no way to edit the video he shoots. Since theey are not copy protected will Quic
-
How do i create a link to an Anchor in Adobe Muse so that i can add the link in an email?
How do i create a link to an Anchor in Adobe Muse so that i can add the link in an email?
-
Add photo to book - after already created initial album for that book.
i would like to add a new photo to an existing book. but i can't figure out how to import it to the album i used for this book. any tips would be appreciated.
-
Mac Mini 10.4 install disk work with a macbook?
Hello All, Will my Mac Mini 10.4 install disk work with a Macbook? I believe the model is either a MB061LL/A or MB062LL/A. Thank You in advance!