Error in creating a view for an assignment block
Hello All,
I am trying to create an assignment block in web UI using links below.
http://weblogs.sdn.sap.com/cs/mobile/view/wlg/21034?x-topic=89 -- to create a table and corresponding BOL entity.
http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUITechnical-CreatingTableViewInWebUI u2013 to create an assignment block
When I try to create an assignment block in CPG_MAIN, I am unable to find my zorder_so BOL entity. Any pointers would be of great help.
Edited by: chandrakantklk on Jul 21, 2011 10:20 AM
Unfortunately I did not see anything in this note that would help it appeared to be talking about IM and QM.
I do agree there is some inconsistencies and I am just not sure where....None of this makes any sense as I said one day it will work and then the next time you try it, it gives the error message....I am so at a lost at this point...
Similar Messages
-
Creating Classification view for material through Standard Function
hi,
I have created the material code through BAPI_MATERIAL_SAVEDATA. For quality inspection i have used BAPI_MATINSPCTRL_SAVEREPLICA. i have to create classification view for that material code. Can anyone suggest me which standard function helps me to create the classification view.
Thanks in advance.
Senjeyhi,
i have tried that function module. I have mentioned the code below.
i_object = '000000151860630000'.
i_alloc_num-CHARACT = 'THICKNESS'.
i_alloc_num-VALUE_FROM = '5.70'.
append i_alloc_num.
i_alloc_char-charact = 'SHAPES'.
i_alloc_char-VALUE_CHAR = 'PLATE'.
append i_alloc_char.
clear i_alloc_char.
i_alloc_char-charact = 'CATEGORY'.
i_alloc_char-VALUE_CHAR = 'CS'.
append i_alloc_char.
clear i_alloc_char.
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
OBJECTKEYNEW = i_object
OBJECTTABLENEW = 'MARA'
CLASSNUMNEW = 'RAWMATERIAL'
CLASSTYPENEW = '001'
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUM = i_alloc_num
ALLOCVALUESCHAR = i_alloc_char
RETURN = i_ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
But i am getting the error 'Assignment exists and is valid '.
Please help.
Regards,
Sengathir.J -
Error while creating a task for creating an generic task /app/dac/CustomSQ
Hi ,
I have created a sql file in DAC server /app/dac/CustomSQLs/ ,just to fire an update sql in database
In DAC task tab i have created a task with the following:
Command for incremental load :/app/dac/CustomSQLs/DBNameBeforeLoad.sql
Primary source :flatfileconnection
target source:DBCONNECTION_OLAP
Execution type:SQL FILE
Task phase:GENERAL
I created subject area and assembled ,then created a Execution plan.
When i try to execute this EP ,it shows the following error in DAC log:
ANOMALY INFO::: Error while creating a task for creating an generic task /app/dac/CustomSQLs/DBNameBeforeLoad.sql
MESSAGE:::/app/dac/CustomSQLs/DBNameBeforeLoad.sql - invalide template name!
EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.TaskInitializationException
com.siebel.analytics.etl.etltask.SQLFileTask.doInit(SQLFileTask.java:69)
com.siebel.analytics.etl.etltask.GenericTaskImpl.init(GenericTaskImpl.java:194)
Does my above configuration is correct ..?verify the following settings:
1. mapping of ECC plant and storage location and logical system number with the appropriate availability group code since this links the stock types in EWM to ECC org elements (SPRO -> EWM -> Interfaces -> ERP Integration -> Goods movement)
2. ensure the availability group configuration is correct (SPRO -> EWM -> GR Process -> Configure availability group for putaway) - check all applicable nodes in this configuration since the availability group code is assigned in the pertinent storage types -
Error while creating a PO with Account assignment
HI MM Gurus
In our case, we need to create the STO for account assignment cat `Unknown`.
In SPRO I maintained combination of account assign cat and item cat.
Now, while creating a PO with Account assign U we get Error message - ME069 :Unknown account assignment not defined for use here.
Please advise how to resolve this issue.Hi
When you are posting actuals, you need to give true account assignment object. With U (unknown), system cannot identify which account to be posted. Change account assignment in PO to another.
In standard SAP Unknown account assignment is not allowed in PO's. Only exception is Blanket PO.
Unknown is allowed only in PR and Blanket PO.
The reason is logically you are releasing the PO to the external vendor or Plant in this case you must know the account assignment.
Regards,
Ninad Kshirsagar -
Do I need to create a view for this?
Hi Ihave got 2 tables emp and project
In emp tabe:
emp_no
family name
given name
In porgect table:
emp_no
status(assigned,unassigned)
start_date
end_date
emp_no Family_name given_name
1 Smith John
In project table same employee can have many assigement eg
emp_no status start_date end_date
1 assigned 01-may-08 01-july-08
1 assigned 01-sep-08 01-july-09
1 unassigned 01-july-09 01-oct-09
In the form:
there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
retrive records which have end date between field1 and field2.
The following fields are needed to get from database:
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Requirements:
1. project.start_date and project.end_date must be the latest project_end_date for the same emp
so in the above sample date
2. No. of time assigned is a count of total of number records which have status='assign'
So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Smith John 01-sep-08 01-july-09 2
What is the best approach to get:
1 The lastest project(latest end_date) for the emp
2. get No.of time assigned.
Do I need to create a view for this? If yes, any sample sql code this this?
Thanks for your helpHi W1zard,
Thanks for your reply. Could you clarify the following points for me:
1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
Q1: where I pit this code? in pre-query trigger in detail block?
2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
create or replace force view v_emp as
select emp.family_name, emp.given_name, project.start_date, project.end_date
from emp, project
where emp.emp_no = project.emp_no
Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
max(project.end_date) somewhere in create view to make sure only one record for one employee.
Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
where I put this customerised sql so when user click excute query. My sql will run and display one the form?
REally appreciated your help!
Michael -
Creating relational view for an ODBC result set?
Hello,
I'm trying to create a view for the data available from the Siebel Analytics server (SAS) query's result set by executing pass through sql. SAS reads from files and multiple other databases to provide the result set.
The query sent to pass has its own properitary syntax and is not SQL.
ie, I'm trying to achieve something like this :
create view analytics_wrapper_view as
select * from
<
dbms_hs_passthrough('my custom sql understood by SAS')
dbms_hs_passthrough.fetch_rows
>
Cant use a function selecting from dual as there could be several rows returned from this operation. If I retain it as a view, I can avoid data duplication. If this is not possible, a table approach could be considered.
Any thoughts or inputs on this would be highly appreciated.On your server..
- On the FCS server go to OSX Workgroup Manager.
- Create a group and name it something cool
- save and exit
Final Cut Server Client...
(Logged in as admin)
- select Administration in the client.
- Go to Group Permissions
- click Create New Group and then select cool new group name
and select BROWSER from the PERMISSION SET list
- save and go back to OSX
Back in OSX Workgroup Manager...
- create users and assign them to your cool group
DONE! -
Error while creating parameterise view
I m getting below error while creating parameterise view
CREATE OR REPLACE VIEW rdr_le_info_view (v_run_number , v_isin_cob )
AS
SELECT l.strategic_le
,cun.ucn cunucn
,cun.date
,cccs.ucn ucn
,cccs.agr_num
FROM strat_le l
,ucn_name cun
,customer_setup cccs
WHERE l.gfa_until_dt = '31-dec-9999'
AND l.glas_until_dt = '31-dec-9999'
AND l.int_until_dt = '31-dec-9999'
AND cccs.run_num = v_run_num
AND cccs.ucn_lead_office = cun.ucn
AND cun.OID = l.client_oid;
AND cccs.run_num = v_run_num
ERROR at line 13:
ORA-00904: "V_RUN_NUM": invalid identifier
Plese help me in above.Try
CREATE OR REPLACE VIEW rdr_le_info_view
AS
SELECT l.strategic_le
,cun.ucn cunucn
,cun.date
,cccs.ucn ucn
,cccs.agr_num
FROM strat_le l
,ucn_name cun
,customer_setup cccs
,cccs.run_num run_num
WHERE l.gfa_until_dt = '31-dec-9999'
AND l.glas_until_dt = '31-dec-9999'
AND l.int_until_dt = '31-dec-9999'
AND cccs.ucn_lead_office = cun.ucn
AND cun.OID = l.client_oid;Then call it like:
select *
from rdr_le_info_view
where run_num = v_run_num; -
[ADF Help] How to create a view for multiple tables
Hi,
I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
ex:
Table A has these fields: ID, Name
Table B has these fields: ID, Address
A.ID and B.ID are primary keys.
B.ID has FK relationship with A.ID
(basically, these tables have one-to-one relation)
I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
So I can execute C,R,U,D for both tables.
I create these tables in DB, and create entity objects for these tables.
So there are 2 entity objects and 1 association.
Then I create a view object based on B and add fields of A into the view:
If the association is not a "Composition Association",
when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
If the association is a "Composition Association", and click the insert button, I will get
"oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
If I create a view object based on A and add filed of B into the view:
When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
So... how can I create a view for multiple tables correctly?
Thanks for any advices!
Here are some pictures about my problem, if there is any unclear point, please let me know.
http://leonjava.blogspot.com/2009_10_01_archive.html
(A is Prod, B is CpuSocket)
Edited by: user8093176 on Oct 25, 2009 12:29 AMHi Branislav,
Thanks, but the result is same ....
In the step 2 of creating view object, I can select entity objects to be added in to the view.
If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
If I select B first, and then select A in crating view object, the result is similar ...
Thanks for any further suggestion.
Leon -
Error while create trigger on for nested table
I want to insert a record into a nested table.For this, I created a view for the table, which includes the nested table.It told me ORA-25015 cannot perform DML on this nested table view column.So I created a trigger for the nested table.However, it told me that ORA-25010 Invalid nested table column name in nested table clause.I think my nested table is valid, i don't konw why did it appear this kind of problem?
My table is
CREATE TABLE ENT
ID NUMBER(7) NOT NULL,
CREATE_DATE VARCHAR2(11 BYTE),
UPDATE_DATE VARCHAR2(11 BYTE),
DEPTS VARRAY_DEPT_SEQ
CREATE OR REPLACE
TYPE DEPT AS OBJECT
ID NUMBER(8),
ANCHOR VARCHAR2(20),
CREATE OR REPLACE
TYPE " VARRAY_DEPT_SEQ" as varray(930) of DEPT
CREATE OR REPLACE VIEW ENT_NESTED_VIEW
(ID, CREATE_DATE, UPDATE_DATE, DEPTS)
AS
select e.ID,cast(multiset(select r.id,r.anchor from ent z, table(z.depts) r where z.ID=e.ID )as varray_dept_seq)
FROM ENT e
Then when I created trigger;
CREATE OR REPLACE TRIGGER EMP.ENT_NESTED_TRI
INSTEAD OF INSERT
ON NESTED TABLE DEPTS OF EMP.ENT_NESTED_VIEW
REFERENCING NEW AS New OLD AS Old PARENT AS Parent
FOR EACH ROW
BEGIN
END ;
I met the problem: ORA-25010 Invalid nested table column name in nested table clause
Could you please tell me the reason
Thank you!
My insert SQL is:
insert into table(select depts from ent_nested_view where id=1856) values(varray_dept_seq(dept(255687,'AF58743')))
Message was edited by:
user589751Hi,TongucY
Compared with the "Referencing Clause with Nested Tables" part of this reference -
http://psoug.org/reference/instead_of_trigger.html, I found the answer of this
quesion. That is "CREATE OR REPLACE TYPE " VARRAY_DEPT_SEQ" as[b] varray(930) of
DEPT". It turns to be a varying array, not a nested table. It should be "CREATE OR
REPLACE TYPE " VARRAY_DEPT_SEQ" as table of DEPT". That is OK. Thank you very
much!
While there is an another question, if I create a varying array like" CREATE OR
REPLACE TYPE " VARRAY_DEPT_SEQ" as[b] varray(930) of DEPT " and I want to insert
a record into the varying array, which the record has been existed.The method that
create a view and a trigger seems not to be effective.
For instance,
There is a record in the table
ID:1020
CREATE_DATE:2005-10-20
UPDATE_DATE:2007-2-11
DETPS: ((10225,AMY))
I want to ask this record to be
ID:1020
CREATE_DATE:2005-10-20
UPDATE_DATE:2007-2-11
DETPS: ((10225,AMY),(10558,TOM))
How should I do?
Could you please help me?
Best regards.
Message was edited by:
user589751 -
How to create classification view for material?
HI All,
How to create classification view for material? is there any function module?
pls let me know.
Bandicheck the standard include "LCLBPAU14" this is using the following F.M
call function 'BAPI_OBJCL_CREATE'
exporting
objectkeynew = l_object
objecttablenew = l_objecttable
classnumnew = classnum_new
classtypenew = l_classtype
status = status
standardclass = standardclass
changenumber = changenumber
keydate = keydate
no_default_values = no_default_values
importing
classif_status = classif_status
tables
allocvaluesnum = allocvaluesnum
allocvalueschar = allocvalueschar
allocvaluescurr = allocvaluescurr
return = return. -
How to create thumbnail view for html files
hi,
I want to create thumbnail view for html files, not for image files.. can we treat html files as images..
Anybody help me..You can right click on your Desktop and select New Folder. In Finder File > New Folder should work too, not in front of my Mac.
Welcome to back by the way. You might find these websites helpful.
Switch 101
Mac 101 -
Error when creating document flow for delivery
Hi,
I would like to post the GR for Inbound delivery. I receive an error the TO is not confirmed. I have tried to confirm the tranfer order and I receive the "error when creating document flow for delivery . In order to avoid inconsistencies the goods movement posting was cancelled." It seems like the document already exist.
How can I do to confirm the TO and post the GR.
Thanks
DedeIn Inbound delivery after GR only a TO is created and confirmed.
So please check the PO history and see a GR is there or not .
Once a GR is found create a TO and do the confirmation -
Creating a new field in assignment block through EEWB
Hi,
I need to create a new field in an Master data --> Listings --> Listing items/Products assignment block. I do not have option to use AET (using CRM 7.0) for this assignment block. I think I should use EEWB only.
Now, how can I find the right EEW Bus. object and the extension type to create new fields.
Please suggest.
Thanks,
PraveenCRMCMP_LST/CondRecDispView.
Here I would like to create new field in the header area. I found that the structure used by the BOL entity, in this view, cannot be enhanced. This new field will be defaulted according to the user information everytime the user creates a new Listing.
Also, this field should be available in display view.
Please suggest.
Thanks,
Praveen -
Error in creating Transport Request for a view table
Hello all,
I have an ECC IDES 6.0 system named EC1 and another one which is ECC EhP4 IDES named EA1 which I have just installed.
One of my requesters has a view table named ZVAITM_TBLE in EC1 and she wants it to be transported to EA1.
So I created a workbench transport in SE10 and included the following:
PgmID = R3TR
Obj = VDAT
Object name = ZVAITM_TBLE
But when I press enter, I encountered the following error:
No object definition exists for Customizing object ZVAITM_TBLE
Message no. TK427
Diagnosis
The Customizing object R3TR VDAT ZVAITM_TBLE is not defined in the tables of the Change and Transport System.
This means that you cannot use the Transport Organizer to edit it.
System Response
The function terminates.
Procedure
First check whether the name of the object is correct. Then you (or the system administrator) should check the object definition, to ensure that the object was created correctly (transaction SOBJ).
If the object does not exist, then create it or delete it from the request/task.
I am new to transports so I have no idea how to proceed.
Please advise.
Thanks a lot!
Cha ChaHello Cha,
Kindly open this custom table using SM30 and try creating a transport request from there.
Regards
Vivek -
Error while creating maintenance view
Hi Freinds,
I have 2 tables
zemp and zdept and also i have defined foriegn key relationship between this two tables using a comman field DEPTNO. when i trying to create Maintenance View, its showing the following error
*No database view exists for view ZMAINVIEW*_
can any one help me how to solve thos problem
thanks
SriHi sri,
First open se11 and go for views and select maintainence views and copy then it shows screen asking table name here first its enough if u specify one table and go for relationships then you can have pop up showing that what are the tables having relations wiht your basic table if it shows that 2 tables then it is correct if not something wrong in when you assigned foregin key to the table.
with regards
diwakar
Maybe you are looking for
-
Interesting Focus II: JComboBox, 2 JLists and 1 Button
Hi All, Another Interesting Keyboard Focus Question: What we want to do? Let's say we want to build a JComboBox whose popup contains 2 JLists and a button. What we would probably want to do is: comboBox.setUI(new MyComboBoxUI()); MyComboBoxUI will ex
-
can anybody help with the issue i'm having please.
-
Error when starting app via browser
Hi, when I try to start an applikation via IE 5.5 I get the following exception: Beim Starten/Ausf?hren der Anwendung ist ein Fehler aufgetreten. Kategorie: Fehler: ung?ltiges Argument Die angegebene Datei/URL konnte nicht geladen werden. CouldNotLoa
-
Hi all, when setting up the writing to a shared memory (using the SHMA and SHMM transactions), we get an exception mentioning CX_SHM_EXTERNAL_REFERENCE This problem is raised because we are trying to move an instantiated class from the calling develo
-
Is wifi free on data plans or does it count towards your time on the internet?
I