Commit in Mapping with multiple targets
I have a mapping that updates 4 target tables. I just noticed that within the generated mapping each update has it's own commit. Rather than having 4 commits in my mapping I want just one. This is so if I have a failure during the mapping the (i.e. tablespace full error) the data is left in a consistent state.
Is this configuratble?
OWB 11g
Configure your mapping to do Automatic Correlated or Manual commit not Automatic as it is set as default value.
Similar Messages
-
How do i test split by value functionality in mesage mapping with multiple
how do i test split by value functionality in mesage mapping with multiple values ?
regards,
venkatrepeat your source node. in mapping editor you can view queues by right clicking to mapped element.. selecting Display Queues option.. this will show u your values .
You can also select this Display Queue option for splitByValue option
for example
source--->splitByValue>target
Try viewing your queues to each this step... for splitByValue in display Queue you will see context inserted(grey colour) accodingly -
I need your expert opinion on how to create a map with multiple conditions.
Hello.
I need your expert opinion on how to create a map with multiple conditions.
I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
How can i create a cursors within the map?
My function creates table and cursor.
Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
I would appreciate any help / advise on this.
Thank you very muchthanks a lot for your reply - i will look into this option :-)
it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
Anyway, thank you very much for your suggestion. -
Item master Item mapping with multiple vendors
Hi Experts,
I need your help, I have one item like 'TV' in item master and need to enter multiple prices make wise samsung,sony,lg like.
How can I maintain this in SAP B1 2005B.
One Item mapping with multiple vendors with price...
Thanks,Dear Aarti,
I would recommend to have multiple items for the different brands you are selling.
For example, you can call the item code Samsung, Sony etc and all of these item can be added to an item group called TV.
Then you can assign a price to the items in the price lists.
Alternatevely, if you need to have one single item called TV and different prices according to the brand, create a number of price lists called Sony, Sumsung etc and then if you know which customers buy a particular brand you can connect the price list to the customer under
Business partner master data - Payment Terms - Price list.
Please, if these 2 options are not helpful let us know the exact scenario and business reason behind your request.
Kind Regards,
Marcella Rivi
SAP Business One Forums Team -
Need file to fiel scenarion with multiple target
Need file to fiel scenarion with multiple target with screen shots
Thanks & Regards
SateeshHi,
I could not understand your Qn.
Nageswar. -
Problem in mapping with multiple values
Hi all,
I am facing a problem during mapping. I am explainning the problem with a example.
Suppose i have a source table named Employee which has two columns emp no and account no. I have a target table Emp_account which has also the same columns.
One employee may have more than one accounts. In source table this account nos are stored in account no column in one row corresponding to emp no. The multiple values in account no are separated by comma for one record in source table.
But in the target table Emp_account a single record will be inserted for each employee's separate account. There should not be multiple values separated by comma in account no column of target table.
So if any employee has two accounts this will be stored as one row in source table but in target table it will divided into two different rows for each account.
EMPLOYEE(Source)
emp no account no
10 101, 102
EMP_ACCOUNT(Target)
emp no account no
10 101
10 102
Think I explained the requirement.. How can i made this in OWB mapping editor..Is it possible?...Can any operator perform this task...If any of u know about this plzz give some solution..It's very important ..
Thanks & Regards,
Sumanta DasHi,
With reference to your question.
Can any operator perform this task..I don't think any single operator will help you.
I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
Cheers
- Mohammed -
ABAP Mapping with multiple records
Hi All,
I am doing an ABAP mapping and I am new to this.
I have a following record structure:
<record>
<field1>
<field2>
<fieldn>
</record>
I will receive the multiple records with the above structure in single file.
I have following the Blog from SDN but it is saying only for single record.
Can please someone post the code for handing multiple records (ie. loop structure).
or else please mail me at [email protected]
Regards,
ShyleshHi Thanks for the reply.
But actually these threads do not sufficient for my requriement.
I written the following code and it is working fine for one single record. But I want to change this code to work for multiple records which I am not able to do as I am new to Object Oriented.
method IF_MAPPING~EXECUTE.
initialize iXML
type-pools: ixml.
class cl_ixml definition load.
create main factory
data: ixmlfactory type ref to if_ixml.
ixmlfactory = cl_ixml=>create( ).
create stream factory
data: streamfactory type ref to if_ixml_stream_factory.
streamfactory = ixmlfactory->create_stream_factory( ).
create input stream
data: istream type ref to if_ixml_istream.
istream = streamfactory->create_istream_xstring( source ).
parse input document =================================================
initialize input document
data: idocument type ref to if_ixml_document.
idocument = ixmlfactory->create_document( ).
parse input document
data: iparser type ref to if_ixml_parser.
iparser = ixmlfactory->create_parser( stream_factory = streamfactory
istream = istream
document = idocument ).
iparser->parse( ).
get message content of tag <empno>
data: incode type ref to if_ixml_node_collection.
data: incode1 type ref to if_ixml_node_collection.
data: incode2 type ref to if_ixml_node_collection.
data: incode3 type ref to if_ixml_node_collection.
data: incode4 type ref to if_ixml_node_collection.
data: incode5 type ref to if_ixml_node_collection.
data: incode6 type ref to if_ixml_node_collection.
data: incode7 type ref to if_ixml_node_collection.
data: incode8 type ref to if_ixml_node_collection.
data: incode9 type ref to if_ixml_node_collection.
incode = idocument->get_elements_by_tag_name( 'empno' ).
incode1 = idocument->get_elements_by_tag_name( 'empname' ).
incode2 = idocument->get_elements_by_tag_name( 'address1' ).
incode3 = idocument->get_elements_by_tag_name( 'address2' ).
incode4 = idocument->get_elements_by_tag_name( 'address3' ).
incode5 = idocument->get_elements_by_tag_name( 'zipcode' ).
incode6 = idocument->get_elements_by_tag_name( 'mailid' ).
incode7 = idocument->get_elements_by_tag_name( 'phoneno' ).
incode8 = idocument->get_elements_by_tag_name( 'country' ).
incode9 = idocument->get_elements_by_tag_name( 'city' ).
get XI header data (here: "Sender Service")
data: l_sender_service type string.
l_sender_service = param->get( if_mapping_param=>sender_service ).
add trace (appears in message monitoring)
data: l_trace type string.
concatenate 'Sender Service = ' l_sender_service into l_trace.
trace->trace( level = '1'
message = l_trace ).
build up output document =============================================
create output document
data: odocument type ref to if_ixml_document.
odocument = ixmlfactory->create_document( ).
create element 'SenderService' and add it to the document
data: msgtype type ref to if_ixml_element.
msgtype = odocument->create_simple_element( name = 'record'
parent = odocument ).
create element 'SenderService' and add it to the output document
data: elementsender type ref to if_ixml_element.
elementsender = odocument->create_simple_element( name = 'SenderService'
value = l_sender_service
parent = msgtype ).
add node to the output document
data: outcode type ref to if_ixml_node.
data: outcode1 type ref to if_ixml_node.
data: outcode2 type ref to if_ixml_node.
data: outcode3 type ref to if_ixml_node.
data: outcode4 type ref to if_ixml_node.
data: outcode5 type ref to if_ixml_node.
data: outcode6 type ref to if_ixml_node.
data: outcode7 type ref to if_ixml_node.
data: outcode8 type ref to if_ixml_node.
data: outcode9 type ref to if_ixml_node.
outcode = incode->get_item( index = 0 ).
outcode1 = incode1->get_item( index = 0 ).
outcode2 = incode2->get_item( index = 0 ).
outcode3 = incode3->get_item( index = 0 ).
outcode4 = incode4->get_item( index = 0 ).
outcode5 = incode5->get_item( index = 0 ).
outcode6 = incode6->get_item( index = 0 ).
outcode7 = incode7->get_item( index = 0 ).
outcode8 = incode8->get_item( index = 0 ).
outcode9 = incode9->get_item( index = 0 ).
data irc type i.
irc = msgtype->append_child( outcode ).
irc = msgtype->append_child( outcode1 ).
irc = msgtype->append_child( outcode2 ).
irc = msgtype->append_child( outcode3 ).
irc = msgtype->append_child( outcode4 ).
irc = msgtype->append_child( outcode5 ).
irc = msgtype->append_child( outcode6 ).
irc = msgtype->append_child( outcode7 ).
irc = msgtype->append_child( outcode8 ).
irc = msgtype->append_child( outcode9 ).
render document ======================================================
create output stream
data: ostream type ref to if_ixml_ostream.
ostream = streamfactory->create_ostream_xstring( result ).
create renderer
data: renderer type ref to if_ixml_renderer.
renderer = ixmlfactory->create_renderer( ostream = ostream
document = odocument ).
irc = renderer->render( ).
endmethod.
Can anybody help me making these changes.
Thanks in advance.
Shylesh -
Interface Mapping with Multiple Message Mappings
Hi My Scenario is
File to Idoc.( Multiple records to Multiple idocs )
Due to Complexity of Mapping I split the Mapping step into 2.
My Source System does not provide Namspace when they are sending XML Data.
When I try 2 mappings individually both Mappings works fine.
However when I try test using Interface Mapping target messages are not generated.
Since 2nd Mapping invoves Mapping Split its expecting extra tags as shown here in the Targert Message generated from Message Mapping 1.
<i><ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1></i>
How can I solve this problem ?When I do Message Mapping:
From message Mapping 1 target Produced is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:CostMaintenanceXI xmlns:ns0="http://test.xxx.com">
<CostMaintenanceXI>
<CostMaintenanceXI>
<Product>000000000000000023</Product>
<Plant>1401</Plant>
<Supplier>0000000001</Supplier>
<ValidityFrom>20021212</ValidityFrom>
<DIIndicator>ZFOB</DIIndicator>
<COGAmount></COGAmount>
<COGCurrency></COGCurrency>
<FreightAmount></FreightAmount>
<FreightCurrency></FreightCurrency>
<MISCAmount></MISCAmount>
<MISCCurrency></MISCCurrency>
<SPAAmount></SPAAmount>
<SPACurrency></SPACurrency>
<LandedCaseCost></LandedCaseCost>
<LandedCaseCurrency></LandedCaseCurrency>
<FrontLinePrice></FrontLinePrice>
<FrontLinePriceCurrency></FrontLinePriceCurrency>
</CostMaintenanceXI>
</CostMaintenanceXI>
</ns0:CostMaintenanceXI>
in 2nd Mapping I entered some details in the test tab and the generated source is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:CostMaintenanceXI xmlns:ns1="http://test.xxx.com">
<CostMaintenanceXI>
<CostMaintenanceXI>
<Product>1</Product>
<Plant>1</Plant>
<Supplier>2</Supplier>
<ValidityFrom>12212122</ValidityFrom>
<FOBIndicator/>
<DIIndicator>ZFOD</DIIndicator>
<COGAmount>10</COGAmount>
<COGCurrency/>
<FreightAmount>10</FreightAmount>
<FreightCurrency/>
<MISCAmount>10</MISCAmount>
<MISCCurrency/>
<SPAAmount>10</SPAAmount>
<SPACurrency/>
<LandedCaseCost/>
<LandedCaseCurrency/>
<FrontLinePrice/>
<FrontLinePriceCurrency/>
</CostMaintenanceXI>
</CostMaintenanceXI>
</ns1:CostMaintenanceXI>
</ns0:Message1>
</ns0:Messages>
As you can see both of the above structures differs in xmlns. I dont see anything else weird. -
Handeling mapping with multiple nodes
Hi,
We are doing an IDOC to SOAP scenario, in which we have multiple nodes in source structure. In destination structure we have one node having multiple occurences (1..99). We are trying to do the mapping in such a way that on the basis of no. of nodes at source side, nodes at destination side should be created.
Any idea how to perform this mapping? Is it necessary to use BPM for this?1. Node 1 -> count ->
2. Node 2 -> count ->
3. Use ADD(std function) 1 and 2
4. then after step 3 use UDF given below and then mapp to target node
create advance UDF function and click on radio button "Queue".
in the imports section enter java.lang.;java.util.;java.lang.reflect.;java.io.;
//write your code here
String e = a[0];
int b = Integer.parseInt(e);
for(int i=0;i<b;i++)
result.addValue("1");
result.addContextChange();
This is working for me...
suppose node1 occurs 3 times and node2 occurs 2 times the target node will occur 3 + 2 = 5 times
Giving points is another way to say thanks
Edited by: Tarang Shah on Mar 4, 2009 2:06 PM -
Hello Gilles,
One question about something I was not able to find in the documentation.
Lets say I have one class-map which includes 2 ports (in this case https and 5061).
Can I associate this class-map to just 1 generic serverfarm and probe for both ports or I have to specify 2 serverfarms/rservers/probes?
So, by not specifying the ports on the rserver, if a request is received on port 443 (or 5061), it is sent to the same respective port on the rserver?
The same way is valid for the generic probe. ACE module is able to probe both ports based on the class-map?
Thanks and have a great day!!
Giulio.
probe tcp PROBE_GENERIC_TCP
description This probe works for all TCP services by inheriting the VIP port.
interval 15
faildetect 2
passdetect interval 15
passdetect count 2
open 2
rserver host SERVER1_ACCESS
ip address <1AC>
inservice
rserver host SERVER2_ACCESS
ip address <2AC>
inservice
serverfarm host ACCESS-SFARM
probe PROBE_GENERIC_TCP
rserver SERVER1_ACCESS
inservice
rserver SERVER2_ACCESS
inservice
class-map match-any OCS_L4ACCESS
2 match virtual-address x.x.x.176 tcp eq https
2 match virtual-address x.x.x.176 tcp eq 5061
policy-map type loadbalance first-match OCS_L4ACCESS
class class-default
sticky-serverfarm ACCESS_STICKY
policy-map multi-match POLICY
class OCS_L4ACCESS
loadbalance vip inservice
loadbalance policy OCS_L4ACCESS
loadbalance vip icmp-reply active
connection advanced-options OCS_VIPTIMEOUT
nat dynamic XXX vlan 503Even if you use the 4710 appliance or expect the inheritance in the module software, it's worth considering if this is really what you want. If you keep multiple ports in the L3/L4 class-map you can't handle the services independently. You will have a common serverfarm for both https and 5061. If https service stops on one rserver, the ACE will place that rserver (and not that service) in out-of-operation state and it won't receive any 5061 traffic either. (You have the fail-on-all probe option but I wouldn't say it's a better choice. In that case, https traffic would be sent to the rserver even if https port is closed as long as there is at least one working service on it.) That's why I prefer a separate class-map and separate serverfarm for each service. (They can contain the same rservers, no need to duplicate.) BUT if the software supports probe port inheritance, you can benefit from it even in this scenario: serverfarm-443 and serverfarm-5061 can both use your PROBE_GENERIC_TCP.
-
Time Machine Backups with Multiple Target Drives
I am looking at setting up a Time Machine backup solution, for a client, and I was wondering if it was possible to rotate 2 USB drives, and use 1 each week for backups with little or no user intervention.
Even Week = (Drive 1) --> Xserve
Odd Week = (Drive 2) --> Xserve
and cycle this by simply unplugging and plugging as needed.
I am currently without the hardware to test, which is why I post this here, rather than simply experiment.
My current question essentially comes down to, does Time Machine choose target drives based on the S/N of the drive, or simply whatever you have labeled it?busterv: I used to do this myself for those exact reasons, fire, water damage what ever. I can say that it works well other than having to reset system preferences when you change the drive and the fact that you are exposed for a week or so until you swap the drive.
I say used to because now I use a drive from a company called ioSafe. http://www.iosafe.com. It's fire proof, water proof and even crush poof, now I don't even have to worry about it. I don't work for ioSafe BTW. -
Mapping with multiple Adaptive rfc's
Hi Experts,
i have 4 radio buttons, i need to create a single adaptive rfc model, to which i need to create a one ECC system rfc and APO system rfc(multiple backend systems). how to add the two rfc systems of logical system name to a single logical system name or Meta data, so that i can assign to a single radio button.
In the same way for model data also if so how?
1. radio button(Ecc rfc and Apo rfc)
2.radio button (Ecc rfc and Apo rfc)
3.radio button(Ecc rfc and Apo rfc)
4.radio button (Ecc rfc and Apo rfc)
help me in doing step by step.
thanks in advance
Thanks&Regards
jayHi Bhargava,
thank you for your effort.
The node structure of web service looks like this:
NewAWS2Model
-Context
Number
NameFirst
NameLast
Street
HouseNo
PostCode
City
-NewOperartion
In
-Request_NewOperation
---NewOperation
---Response
-Response_NewOperation
This web service give no response back. He just starts the BPM Process. Everything works well, except for passing ALL values of the parameters in Context: Number, Name, Street...
When I have two streets, I want that two streets will be saved in parameter street and so on...
Additionally, here is the method created by application for this web service:
public void initRequest_NewOperation( ) {
//@@begin initRequest_NewOperation()
//$$begin Service Controller1(-482113598)
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model newAWS2ModelModel = createAndMapModelInstance_0("com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model");
com.sap.demo.changedataportaldc.wd.models.newaws2model.Request_NewOperation request_NewOperation = wdContext.nodeRequest_NewOperation().createAndAddRequest_NewOperationElement().modelObject();
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation newOperation = new com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation(newAWS2ModelModel);
request_NewOperation.setNewOperation(newOperation);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Context in = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Context(newAWS2ModelModel);
newOperation.setIn(in);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation response_1 = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation(newAWS2ModelModel);
request_NewOperation.setResponse(response_1);
I hope this are the inforamtion you need? Or is there something else?
Thank you very much
best regards
Anna -
Drag and Drop with multiple targets
I'm having a problem find a solution to my drag and drop problem. Here is what this flash piece is basically supposed to do:
9 dragable items on the stage
5 targets, numbers 1 - 5, where the items can be placed
5 of the 9 dragable items are the correct answer and the user needs to drag them to the correct target, and have to be in order from 1-5. (eg. let's say the instructions are:
Please place the, in the correct order, the 5 steps to getting ready in the morning
Drag items Targets
Brush teeth 1.
Change oil in car 2.
Wash face 3.
Put pants on 4.
Shower 5.
Get out of bed
Do tax's
So far I have it so if you drop the correct answer into its correct target it snaps to it and disable it's eventListeners. If you drop the drag item on the other targets they snap to it and disable it as well. They only problem is if the user accidentally drops the item anywheres else on the stage it locks it in place. Instead I want it to return to the orginal x and y position. Can anyone help?!?
Here is my code
DragDrop.as
package
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.filters.DropShadowFilter;
public class DragDrop extends MovieClip
public var _targetPiece:*;
public function DragDrop()
this.addEventListener(MouseEvent.MOUSE_DOWN, dragMovie);
this.addEventListener(MouseEvent.MOUSE_UP, dropMovie);
this.buttonMode = true;
private function dragMovie(event:MouseEvent):void
this.startDrag();
this.filters = [new DropShadowFilter(0.5)];
this.parent.addChild(this);
private function dropMovie(event:MouseEvent):void
this.stopDrag();
this.filters = [];
public function disable():void
this.buttonMode = false;
this.removeEventListener(MouseEvent.MOUSE_DOWN, dragMovie);
this.removeEventListener(MouseEvent.MOUSE_UP, dropMovie);
DragGame.as
package
import flash.display.MovieClip;
import flash.events.MouseEvent;
import DragDrop;
import BL;
import BR;
import BM;
import TL;
import TR;
import TM;
import BC;
import TC;
import BA;
public class DragGame extends MovieClip
private var bl:BL;
private var br:BR;
private var bm:BM;
private var tl:TL;
private var tr:TR;
private var tm:TM;
private var bc:BC;
private var tc:TC;
private var ba:BA;
private var _totalPieces:Number;
private var _currentPieces:Number;
private var _submit:Number;
private var _reveal:Number;
public function DragGame()
_totalPieces = 5;
_currentPieces = 0;
createPieces();
_submit = 6;
_reveal = 1;
private function createPieces():void
bl = new BL();
addChild(bl);
bl._targetPiece = blt_mc;
bl.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition1(bl);
br = new BR();
addChild(br);
br._targetPiece = brt_mc;
br.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition2(br);
bm = new BM();
addChild(bm);
bm._targetPiece = bmt_mc;
bm.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition3(bm);
tl = new TL();
addChild(tl);
tl._targetPiece = tlt_mc;
tl.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition4(tl);
tr = new TR();
addChild(tr);
tr._targetPiece = trt_mc;
tr.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition5(tr);
tm = new TM();
addChild(tm);
tm._targetPiece = tmt_mc;
tm.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition6(tm);
bc = new BC();
addChild(bc);
bc._targetPiece = trt_mc;
bc.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition7(bc);
tc = new TC();
addChild(tc);
tc._targetPiece = trt_mc;
tc.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition8(tc);
ba = new BA();
addChild(ba);
ba._targetPiece = trt_mc;
ba.addEventListener(MouseEvent.MOUSE_UP, checkTarget);
piecePosition9(ba);
private function checkTarget(event:MouseEvent):void
if(event.currentTarget.hitTestObject(event.currentTarget._targetPiece))
event.currentTarget.x = event.currentTarget._targetPiece.x;
event.currentTarget.y = event.currentTarget._targetPiece.y;
event.currentTarget.removeEventListener(MouseEvent.MOUSE_UP, checkTarget);
event.currentTarget.disable();
_currentPieces ++;
_submit --;
if(_currentPieces >= _totalPieces)
wrong_txt.visible = false;
answer_txt.visible = true;
if(_submit <= _reveal)
submit_mc.visible = true;
submit_mc.buttonMode = true;
else
event.currentTarget.x= event.currentTarget.dropTarget.parent.x;
event.currentTarget.y= event.currentTarget.dropTarget.parent.y;
event.currentTarget.disable();
if(_submit <= _reveal)
submit_mc.visible = true;
submit_mc.buttonMode = true;
private function piecePosition1(piece:*):void
piece.x = 50.2;
piece.y = 87.2;
piece._origX = 50.2;
piece._origY = 87.1;
private function piecePosition2(piece:*):void
piece.x = 50.2;
piece.y = 109.2;
piece._origX = 50.2;
piece._origY = 109.2;
private function piecePosition3(piece:*):void
piece.x = 50.2;
piece.y = 131.2;
piece._origX = 50.2;
piece._origY = 131.2;
private function piecePosition4(piece:*):void
piece.x = 50.2;
piece.y = 153.3;
piece._origX = 50.2;
piece._origY = 153.3;
private function piecePosition5(piece:*):void
piece.x = 50.2;
piece.y = 175.3;
piece._origX = 50.2;
piece._origY = 175.3;
private function piecePosition6(piece:*):void
piece.x = 50.2;
piece.y = 197.3;
piece._origX = 50.2;
piece._origY = 197.3;
private function piecePosition7(piece:*):void
piece.x = 50.2;
piece.y = 219.4;
piece._origX = 50.2;
piece._origY = 219.4;
private function piecePosition8(piece:*):void
piece.x = 50.2;
piece.y = 241.4;
piece._origX = 50.2;
piece._origY = 241.4;
private function piecePosition9(piece:*):void
piece.x = 50.2;
piece.y = 263.7;
piece._origX = 50.2;
piece._origY = 263.7;create an array of your droptargets (eg, droptargetA) and check if the object is dropped on a droptarget. you don't even need the if-branch of the following if-else unless you do something that depends on whether the correct droptarget is hit.
function checkTarget(event:MouseEvent):void
if(event.currentTarget.hitTestObject(event.currentTarget._targetPiece ))
event.currentTarget.x = event.currentTarget._targetPiece.x;
event.currentTarget.y = event.currentTarget._targetPiece.y;
event.currentTarget.removeEventListener(MouseEvent.MOUSE_UP, checkTarget);
event.currentTarget.disable();
else
var x:Number=event.currentTarget.dropTarget._origX;
var y:Number=event.currentTarget.dropTarget._origY;
for(var i:uint=0;i<droptargetNum;i++){
if(event.currentTarget.hitTestObject(droptargetA[i] )){
x=droptargetA[i].x;
y=droptargetA[i].y;
break
event.currentTarget.x=x;
event.currentTarget.y=y; -
Mapping with multiple adaptive web service model-how to map?
sorry, i´ve posted this two times....sorry
Edited by: Anna_von_Landsberg on Jan 5, 2011 8:32 PMHi Bhargava,
thank you for your effort.
The node structure of web service looks like this:
NewAWS2Model
-Context
Number
NameFirst
NameLast
Street
HouseNo
PostCode
City
-NewOperartion
In
-Request_NewOperation
---NewOperation
---Response
-Response_NewOperation
This web service give no response back. He just starts the BPM Process. Everything works well, except for passing ALL values of the parameters in Context: Number, Name, Street...
When I have two streets, I want that two streets will be saved in parameter street and so on...
Additionally, here is the method created by application for this web service:
public void initRequest_NewOperation( ) {
//@@begin initRequest_NewOperation()
//$$begin Service Controller1(-482113598)
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model newAWS2ModelModel = createAndMapModelInstance_0("com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model");
com.sap.demo.changedataportaldc.wd.models.newaws2model.Request_NewOperation request_NewOperation = wdContext.nodeRequest_NewOperation().createAndAddRequest_NewOperationElement().modelObject();
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation newOperation = new com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation(newAWS2ModelModel);
request_NewOperation.setNewOperation(newOperation);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Context in = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Context(newAWS2ModelModel);
newOperation.setIn(in);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation response_1 = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation(newAWS2ModelModel);
request_NewOperation.setResponse(response_1);
I hope this are the inforamtion you need? Or is there something else?
Thank you very much
best regards
Anna -
Integrated weblogic server Issue with Host name mapped to multiple IPs
I am running very simple ADF application from Jdev 11g (11.1.1.3.0).
Compilation was successful but weblogic server facing problem while starting.
It is showing HostAName is mapped with Multiple IP Addresses.
Please provide solution to fix the issue....
log is,
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\Raja\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
<Dec 23, 2010 11:49:42 AM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
<Dec 23, 2010 11:49:44 AM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Dec 23, 2010 11:49:46 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Dec 23, 2010 11:49:46 AM EST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Dec 23, 2010 11:49:46 AM EST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Dec 23, 2010 11:49:46 AM EST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00001. Log messages will continue to be logged in C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
<Dec 23, 2010 11:49:46 AM EST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Dec 23, 2010 11:49:57 AM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Dec 23, 2010 11:50:14 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Dec 23, 2010 11:50:14 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Dec 23, 2010 11:50:28 AM EST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Dec 23, 2010 11:50:28 AM EST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00001. Log messages will continue to be logged in C:\Users\Raja\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
<Dec 23, 2010 11:50:28 AM EST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Dec 23, 2010 11:50:31 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:114b:ab6a:23b1:b44c:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.10.103:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:c48:60a:9d0d:7cda:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:0:5efe:c0a8:a67:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:95ca:d058:6a51:53e8:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Warning> <Server> <BEA-002611> <Hostname "Raja-PC", maps to multiple IP addresses: 192.168.10.103, fe80:0:0:0:114b:ab6a:23b1:b44c%12, fe80:0:0:0:c48:60a:9d0d:7cda%13, 2001:0:4137:9e76:c48:60a:9d0d:7cda>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 2001:0:4137:9e76:c48:60a:9d0d:7cda:7101 for protocols iiop, t3, ldap, snmp, http.>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Dec 23, 2010 11:50:32 AM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Logger><error> ServletContainerAdapter manager not initialized correctly.
Edited by: user1158476 on Dec 23, 2010 3:05 PMThanks for reply...
If you look at the last line of log there is some error message:
<Logger><error> ServletContainerAdapter manager not initialized correctly.
after this no further logs and web page not open in Browser.
Maybe you are looking for
-
Energy saver schedule not working, can't set the time!
Hi, I was trying to schedule a shutdown today, only to find that it doesn't work, I can't select the time or input it, it only shows AM and PM, but no time! I can't input numbers in that box! I can delete AM or PM, but that's about it! Does anyone ha
-
How can i tidy up folders in windows explorer and have the new names etc recognized by itunes?
Sorry if this has been asked before, but I have spent quite a while searching how to do this... For example: In Windows Explorer, 2 different R.E.M. cd's have come up as different artists names, R.E.M and R.E.M_ Although in iTunes they are both displ
-
"Could not complete the music store request.."
I had Leopard on my old iBookG4, but, because of slowness, installed Tiger. I've taken all the updates, and tried to sign into iTunes, but just get the above message. It worked before I made the change, and I can get to it on my iMac. What do I need
-
What's the tick to swiping up?
About one time in 10 (if I'm lucky), when I try to swipe up to get then new menu in IOS 7, I get that menu. What am I doing wrong? I try changing my speed, I try changing the starting position. But usually nothing happens at all.
-
Internet Sales - Password Expiration Date
We are running: - Internet Sales 4.0 - CRM 4.0 - Developer Workplace SP19 - J2EE Engine 6.4 We will have 8,000 customers logging into our Internet Sales application which connects to CRM. Our CRM security policy is that passwords expire ever