Using create operation
Hi,
I've been using CreateInsert for a while now, by dragging CreateInsert onto my task flow, and then dragging the corresponding VO as a form on my page. I use this to have a new 'blank' row ready to edit for the user when they navigate to the page.
However, the cleanup required when using CreateInsert isn't really what I want. I want them to be able to navigate away from the form without me having to rollback.
Is there a way to use the 'Create' operation like I am using 'CreateInsert'? (i.e. Have a new editable row ready for the user when they navigate to the page)
Thanks,
Joel
I tried doing that, but when I get to my form on the page, it isn't showing a blank 'form', but instead is showing the data corresponding to the first row in the iterator. What am I doing wrong?
Similar Messages
-
Generic error while using create operation on MDM WebService
Hello
I´m trying to create a record on MDM using a standard MDM WebService operation createProducts
When I create a record with everything blank (but not the repository info), it creates perfectly:
<urn:createProducts>
<urn:products>
<urn1:ProductsCreate></urn1:ProductsCreate>
</urn:products>
<urn:reposInfo>
<urn2:dataLang>English </urn2:dataLang>
<urn2:repositoryName>MY_REPOSITORY</urn2:repositoryName>
<urn2:serverName>mdmserver</urn2:serverName>
</urn:reposInfo>
</urn:createProducts>
However, when I try to add the following code, it doesn´t work:
<urn:createProducts>
<urn:products>
<urn1:ProductsCreate>
<urn1:eClassClassification>
<urn1:displayValue>PDM TEST</urn1:displayValue>
<urn1:attributes>
<urn1:attribute>
<urn1:name>TEST1 TEST123</urn1:name>
</urn1:attribute>
<urn1:attributeValue>
<urn1:value>
<urn1:value>220,00 MM</urn1:value>
</urn1:value>
</urn1:attributeValue>
</urn1:attributes>
</urn1:eClassClassification>
</urn1:ProductsCreate>
</urn:products>
<urn:reposInfo>
<urn2:dataLang>English </urn2:dataLang>
<urn2:repositoryName>MY_REPOSITORY</urn2:repositoryName>
<urn2:serverName>mdmserver</urn2:serverName>
</urn:reposInfo>
</urn:createProducts>
I get the return:
<rpl:createProductsResponse xmlns:rpl="urn:MDMMateriaisVi">
<rpl:Response xmlns:pns="urn:com.sap.mdm.ws.beans">
<pns:ExecutionStatus>
<pns:status>Fault</pns:status>
<pns:description>Record creation unsuccessful, see the faults list</pns:description>
<pns:fault>
<pns:severity>Error</pns:severity>
<pns:id>repository_3001</pns:id>
<pns:text>Error executing Records Creation on repository MY_REPOSITORY, error code -5627883, caused by Server error (0xffaa2015)</pns:text>
</pns:fault>
</pns:ExecutionStatus>
</rpl:Response>
</rpl:createProductsResponse>
All atributes exists on MDM but I still get the error.
Any ideas ?
ThanksHello,
did you got the solution to this issue, as we are also getting the same error, -
Creating table or View using UNION Operator ???????
Hi all
please need some help ,i have created aquery using UNION operator
(i.e
select A,to_number(null),C from table1
Union
select A,B,To_number(null) from table2)
it gives the output correctly and i need to make this output as View ot table
eacg time i use
Create or replace view v_1 ...........
it gives me this error :: unknown command "UNION" - rest of line ignored.
can any one pls tell me what to do
ThanksHi,
I found there is no error in your sql
create view x_v
as
select a from x
union
select to_number(null) from y;
this works fine.
in your sql check your right or left peranthesis
regards
Ripudaman -
Why r we allowed to create String objects with & without using new operator
While creating any object, usage of the new operator is a must...but only for the string object we can create it with and also without new operator how is it possible to create an object without using new operator.
Because Mr. (Dr.?) Gosling is a kindly soul who realizes that programmers have deadlines and, when he designed Java, was not so rigid or unbending as not to realize that from time to time, certain shortcuts are warranted, even in a relatively pure language such as Java. The direct String literal assignments are a shortcut over using the new operator making Java programming (and execution; there's also a performance benefit) more streamlined.
So look not the gift horse in the mouth, but simply bask in the simplification and ease on the eyes and directly assign your little literals to your heart's content. -
Error while using between operator with sql stmts in obiee 11g analytics
Hi All,
when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
can anyone help me out in resolving this issue.Hi All,
Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
If I use the condition as
"WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
all the data will be grouped with the two columns which I'm considering in the condition.
my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
please could anyone help me on this, my release date is fast approaching. -
Cannot use create purchase order in SRM 7.01
Hello,
We are upgrading from SRM 5.0 to SRM 7.0.Classic scenario. In the workset purchasing of the role operational purchasing you can use Create Documents -> purchase order. if I click on it I recieve the following message:
The table does not contain any data
If I then choose start I get the following message:
Transaction type could not be determined; inform system administrator
Can anybody explain to me if is this a purchase order which would be created in SRM ? As we are in the classic scenario we don't want that. If this is a local purchase order how can we create a purchase order in ECC using SRM 7.01
Thanks for your help!
AntoinetteHi,
In a classic scenario, the SAP SRM system is used mainly to capture procurement requisitions from employees in the form of shopping carts. All other procurement activities take place in the backend materials management system.
So you cannot create po in SRM it will be created in ECC.
Regards,
Goutam Kolluru. -
Disable certain fields during the creation of SC using "create limit item"
Hi,
I have a requirement to disable certain fields from the role "SHOP" associated with the operational purchaser role. I would like to disable the fields "Unlimited check box", "Service Agent", " Invoice Only radio button", "Unknown account assignment radio button" from the screen I get during creation of SC using the option "Create Limit Item". Also i need to disable the option "Good / Service" entry box as we are using only free text items and donu2019t want this option to be seen in the screen when using the operational purchaser role.
Please advise how can I achieve this.
Regards
GGLHi,
I have a same requirement to disable certain fields from the Shopping Cart Limit Item. I would like to disable the fields "Service Agent", "Unknown account assignment radio button" from the Detail screen. during creation of SC using the option Limit Item . Also i need to make default Value "Known" and "Invoice Only". But this is in SRM 7.0. Notes You have mentioned supports only Release 5.5, But I am in Release 7.0. Any idea?
I appreciate your help
Thanks,
Monica -
Problem when using About Operator in Contains Query
Hi,
I'm new to Oracle and this forums too. I have a problem when using about operator in contains query.
I create a table with some records and then create a context index on 'name' column.
CREATE TABLE my_items (
id NUMBER(10) NOT NULL,
name VARCHAR2(200) NOT NULL,
description VARCHAR2(4000) NOT NULL,
price NUMBER(7,2) NOT NULL
ALTER TABLE my_items ADD (
CONSTRAINT my_items_pk PRIMARY KEY (id)
CREATE SEQUENCE my_items_seq;
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Car', 'Car description', 1);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Train', 'Train description', 2);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Japan', 'Japan description', 3);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'China', 'China description', 4);
COMMIT;
EXEC ctx_ddl.create_preference('english_lexer','basic_lexer');
EXEC ctx_ddl.set_attribute('english_lexer','index_themes','yes');
EXEC ctx_ddl.set_attribute('english_lexer','theme_language','english');
CREATE INDEX my_items_name_idx ON my_items(name) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('lexer english_lexer');
EXEC ctx_ddl.sync_index('my_items_name_idx');Then I perform contains query to retrieve record :
SELECT count(*) FROM my_items WHERE contains(name, 'Japan', 1) > 0;
COUNT(*)
1
SELECT count(*) FROM my_items WHERE contains(name, 'about(Japan)', 1) > 0;
COUNT(*)
1But the problem is when I using ABOUT operator like in Oracle's English Knowledge Base Category Hierarchy it return 0
SELECT count(*) FROM my_items WHERE contains(name, 'about(Asia)', 1) > 0;
COUNT(*)
0
SELECT count(*) FROM my_items WHERE contains(name, 'about(transportation)', 1) > 0;
COUNT(*)
0I can't figure out what 's wrong in my query or in my index.
Any help will be appreciated.
Thanks,
Hieu Nguyen
Edited by: user2944391 on Jul 10, 2009 3:25 AMHello (and welcome),
You'd be best asking this question in the Oracle Text forum, here:
Text
And by the way, it will help others to analyse if you put {noformat}{noformat} (lowercase code in curly brackets) before and after your code snippets.
Good luck! -
Why do we use Allowed Operations in DML Process
Hello,
Why do we use Allowed Operations in DML Process ??
Can you please clear this confusion:
I am using apex 4.1. oracle 11g R2 SOE ...
Using the Wizard, I created a Form and IR on Dept Table...
In the form page:
- Create Button
The name is "CREATE"
NO Database Action
- DML Process
Allowed Operations: nothing is checked
This will insert a new row in the Dept table
In the form page:
- Create Button
The name is "CREATE2"
Database Action : insert
- DML Process
Allowed Operations: nothing is checked
This will insert a new row in the Dept table
So, What difference does it make if INSERT check box in Allowed Operations of DML Process is TICKED OR NOT ??
Regards,
Fatehkdm7 wrote:
Okay.
So can we keep a web button to access the www.ni.com ? So that web site opens only when button pressed?
P.S I,m a newbie.
Yes, you can also, e.g. include a help file or manual as html and open that in the browser.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
How to create operations without entering a performing work center
How to create operations without entering a performing work center ? which control key should i select ?
Hi
QM01 is control key used for all the task lists of Quality.
there is no such a configuration associated with control key & usage of work center.
Work center is used for the activity capturing perpose & control key is to control operations.
I hope this is clear.
Entering a work center is totally depends on the scenario & not control key.
Regards
Sujit -
Using XML Operation Tags to query by date
Problem 1:
When I use timestamps from items' XML to form queries on repositories, I receive SQL errors.
Problem 1 Example:
Query the PublishingRepository to find all active projects created on August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
<query-items item-descriptor="project">status = "Active" AND creationDate = "08/16/2013"</query-items>
Result: java.sql.SQLDataException: ORA-01843: not a valid month
Problem 1 Solution:
Use this query instead:
<query-items item-descriptor="project">
status = "Active"
AND
creationDate = date("2013-08-16")
</query-items>
Problem 2:
Using the "<" operator to construct a less-than argument doesn't work.
Problem 2 Example:
Query the PublishingRepository to find all active projects created before August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
<query-items item-descriptor="project">status = "Active" AND creationDate < date("2013-08-16")</query-items>
Result: SOURCE:org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
Problem 2 Solution:
For some reason, the ">" greater-than operator seems to work fine, even when the "<" less-than operator won't. You can switch around the order of the query to get the desired result:
<query-items item-descriptor="project">
status = "Active"
AND
date("2013-08-16") > creationDate
</query-items>Problem 1:
When I use timestamps from items' XML to form queries on repositories, I receive SQL errors.
Problem 1 Example:
Query the PublishingRepository to find all active projects created on August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
<query-items item-descriptor="project">status = "Active" AND creationDate = "08/16/2013"</query-items>
Result: java.sql.SQLDataException: ORA-01843: not a valid month
Problem 1 Solution:
Use this query instead:
<query-items item-descriptor="project">
status = "Active"
AND
creationDate = date("2013-08-16")
</query-items>
Problem 2:
Using the "<" operator to construct a less-than argument doesn't work.
Problem 2 Example:
Query the PublishingRepository to find all active projects created before August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
<query-items item-descriptor="project">status = "Active" AND creationDate < date("2013-08-16")</query-items>
Result: SOURCE:org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
Problem 2 Solution:
For some reason, the ">" greater-than operator seems to work fine, even when the "<" less-than operator won't. You can switch around the order of the query to get the desired result:
<query-items item-descriptor="project">
status = "Active"
AND
date("2013-08-16") > creationDate
</query-items> -
Hi
I'm trying to implement SCD Type 2. I have done so using conventional methods.
I have read in some blogs that dimension operator can be used for SCD. Can any one provide me material on how to use Dimension Operator. I tried OWB User guide. But its not useful.
I have seen that we need to create levels. But i dont need levels.
Can somebody please tell me how to use it.
Regards
VibhutiHi Vibhuti,
using dimensions with OWB 10g R2 isn't that difficult. You just create a number of attributes like an ID, a business key and probably a description and then associate each of the attributes with a level. You need at least one level that all the attributes are associated to. Then you can use the slowly changing dimension wizard (SCD) to track changes. In the SCD settings you can determin for which attribute you want to trigger history and which attributes contain your effective date and your end date (if you want to use SCD type II). Obviously you would need two additional attributes in every level for that purpose.
Regards,
Jörg -
How tio use like operator in textitem to get the name
Oracle forms6i
Hai All
I have created an form to create an hierarchy list. I that I had an Text_item how can i use like operator to get the name to select. which trigger i need to use. when i select the name i need to get his employee code and other details
Thanks In Advance
Srikkanth.MA is the head of Dept 10 and three person are under A namelyHow will you know that B, C and D are under A is there any parent child relationship between Leader and Employee code? If yes, Then you can create the relationship between blocks no need to set where_clause programatically. So, relationship can be like...
leader_block.emp_code = emp_block.leader_code
AND leader_blokc.dep_code = emp_block.dep_codeSo, when you will query data in LEADER block it will show employees which are under LEADER which you queried in LEADER block.
Or if there is no relationship then how will you know that which employee under which leader?
b 002 10 1
c 003 10 1
d 004 10 1
When i enter the name of head corresponding other members in the department will need to display in the
Tabular format Or if you want to query the records only for department relation. Then as you said you create two blocks then create create the relationship using dep_code between those blocks.
like...
leader.dep_code = emp_block.dep_code-Ammad -
Rework using reference operation set
Dear Gurus,
Am working in an ECC 6.0 environment.
Want to create rework order using reference operation set.
Master data created:
BoM
Reference Operation set to which the header material is assigned to which a BoM is assigned.
The settings in OPL8 for order type ZXXX are:
Production version : manual selection
Routing:
Application: Routing
Selection Id: RW (priority 01, task list type 'S', and usage 1)
Task list type: S
Routing Selection: 4
BoM:
Application: PP01
Create a production order (CO01), with order type ZXXX. The system asks to select the task list group once the order quantity and dates are entered. On selection of the Group for the reference operation set system generates an error 'No valid BoM exsists for Material xxxxx Plant xxxx'.
SAP helps says - A reference operation set cannot be used directly in production.
Am I doing something wrong?
Your expert advice please.
TarangDear first create a reference operation set go to CA11 just press enter without entering anything then enter plant,usage,status and lot size in component allocation you can select the required BOM and assign with the operation.
and create the order in CO07 enter the plant and order type in next screen don't give any material code give description rework and give the quantity to be reworked and in components give the required components for consumption during rework before this you need to give the reference operation set group and task list in the popup and in settlement rule maintain the category and settlement receiver and save the order.
You can confirm the order in CO15 by providing the order number and enter the yield quantity to confirm and save.
Please note that during this rework order confirmation, only Goods issue will happen based on the input given in the components tab rework order and NO GOODS RECIEPT will happen.
Cheers
KK -
Prod.Order Creation- Using Reference Operation set.
Hi
While creating a production order of particular order type,after entering the quantity and order finish date as today's date(05.06.2007),backward scehduling,it's showing no routing found for the material (as we are using REM-Repetitive manufacturing,we are having rate routing) ,and in the same mesaage box itself I choosed the Reference operation set(that I have created today) and entered the group no,and after entering its showing me an error as <b>Ref. operation set 50000008 is not valid according to the selection conditions</b>,
So I created a routing for the same material nd in MRP4 view of the same material under for selection method i kept blank(Selection by order qunatity) and tried to create Prod.order,and there was no problem,but if the same i'm trying to create using Reference operation set I'm not able to create the Production order.
Kindly give me a solution for this,Is there anything to do with order type dependent parameters of the particular order type?
Thanks & Regards
RajHi,
Is your problem solved ?
One more solution to create a order with reference operation set,is to use a trigger point.
Once you create a reference operation set.
Use T.code co31 to create a trigger point, chosoe create order with reference & choose a system status eg: PCNF. & click the user parameter tab.
The system will aks for the reference operation set no & group counter.
Then assign this reference operation set to the routing operation.
When you do partial confirmation of this operation, this will trigger the generation of a order.
Regards,
Senthilkumar SD
Maybe you are looking for
-
Font smoothing, font sizing, sub-pixel tuning, OS X vs Windows
I have a query regarding font the font smoothing implementation in OS X. Having just come from the Windows world (using ClearType) naturally comparisons will be made. I am trying to get fonts looking as readable as possible on my Mac. I have 19" LCD
-
After successful execution Workitem still remains in the Inbox.
I am sending CG56 workitem to sap inbox which contains two terminating events approve and reject. same task ( cg56 ) is used 3 times in the workflow sequentially. First & Second time it reads the terminating events and the workflow process further
-
There are a number of movies I'd like to purchase on the iTunes store right now (in the Portuguese store) but they are English only versions (no alternate audio versions of subtitles). So that's my question, If I purchase a movie today and later it b
-
Tcode problem for ad hoc query
Hi frdz, I created user group, infoset, queries in DEV environment and then after I down loaded the all those and uploaded into Quality and working fine. Now I created T code for each query in DEV and transported the same into Quality, here the probl
-
How work CodePen (html+css+js) insert Adobe Muse
Hi help me video or image sup please sory no speak english how to "link" "codes" insert adobe muse ? thanks all. http://codepen.io/team/lincolnloop/pen/jEzvBr