RemoveContexts & SplitBy Value?
What do these XI functions mean exactly?
Is there a place I can find these function's logic explanation anywhere in XI?
Hi Tom
suppose you have an XML Like
<root>
<node>1</node>
<node>2</node>
</root>
split by value(node) returns:
<root>
<node>1</node>
</root>
<root>
<node>2</node>
</root>
Instead remove context does the opposite.
You can find all the function explanations here
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm">Standard Functions</a>
Kind Regards,
Sergio
Similar Messages
-
***UDF for Splitby Value
Hi all,
My requirements is not to use Split by value.I require a UDF code for the same.
Thanks,
SrinivasaUse UDF of type "all values from a context" with one parameter var1
Here is the code:
for (int k = 0; k< var1.length; k++){
result.addValue(var1[k]);
if (k < var1.length -1)
result.addContextChange();
If you want to use it in a function of type "all values of the queue" it is more complex. -
Mapping issue, maybe need UDF
Hi Gurus,
I am having a source message like this:
ITEM (1..unbounded)
>SOURCEFIELD (1..1)
Sourcefield is below Item.
In the target side, there is a field called TARGETFIELD (1..unbounded) that needs to be created with next condition:
for each nonrepeteable sourcefield value, one targetfield must be created. For example:
<Item>
<Sourcefield>1</Sourcefield>
</Item>
<Item>
<Sourcefield>1</Sourcefield>
</Item>
<Item>
<Sourcefield>2</Sourcefield>
</Item>
<Item>
<Sourcefield>2</Sourcefield>
</Item>
<Item>
<Sourcefield>3</Sourcefield>
</Item>
In this example, 3 TARGETFIELD must be created, since there are only 3 non repeteable values (1, 2 and 3).
Something important to notice is that values will ALWAYS come sorted.
How can I do this in mapping? Should I develop an UDF? Or can I use PI's common functions?
Thanks!
Edited by: chapa_akd on Mar 31, 2011 12:18 AMHi,
You can use
Source Segment -
>Removecontext-->Splitby value(Value Change)--
>Target Segment
and
Source Field--->Removecontext>Splitby value(Each Value)--
>Target Field
Thanks and Regards,
Neethu -
Message Mapping-Generating Headers and corresponding Line items in 1 file
Hi,
I am working on JDBC to File scenario.
There is a staging table in SQL Server. XI polls the table every 20 secs and picks up all the data with flag = 0. After fetching the records it sets the flag to 1 so that the same data do not get fetched the next time.
The record have one Bill No and there can be more than 1 line items associated with that bill no.
The target structure is as follows:
Record 1
Bill No 0...unbounded
Line item 1
Line items 0...unbounded
Now the requirement is to generate a file with header and all the corresponding line items below it. That is one file can have many headers but all the line items should succeed its corresponding header.
I have written a UDF to generate the same.
For Bill No.:
Bill No -> RemoveContext -> Sort - > UDF -> SplitBy Value -> CollapseContext
UDF just removes the duplicate Bill No and generates the list.
Now the issue is if Bill No as per source is 8,4,1,3 then the ones getting generated in the target str is in the same order as it is in source that is 8,4,1,3. But I want this in the sorted order ie. 1,3,4,8. Althoug I have used Sort func, its not getting generated.
Please help.chk this:
BillNo-removeContext--sort--splitByValue(valuechange)---collapse Context---Record
BillNo-removeContext--sort--splitByValue(valuechange)---collapse Context---splitbyvalue(each Value)---BillNo(Target)
BillNo-removeContext---------------------------
-------------------------- SortByKey----------FormatByExample(2nd argument mapping below)---UDF2---Line Item
BillSerailNo(set its context to Row)--UDF1---removeContext--
BillNo-removeContext--sort--splitByValue(valuechange)----2nd argument mapping of "formatbyexample"
BillNo-removeContext---
--------SortByKey----FormatByExample(2nd argument)---UDF2--splitbyvalue(each value)-Bill Serial No
BillSerailNo(set its context to Row)----UDF1---removeContext-----
BillNo-removeContext--sort--splitByValue(valuechange)----2nd argument mapping of "formatByExample"
udf1: Input will be var1
Execution type: all values of a context
String a="";
for(int i=0;i<var1.length;i++)
a = a + var1<i>+ ";";
int b= a.length();
result.addValue(a.substring(0,b-1));
UDF2: input will be var1
Execution type: all values of a context
for(int b=0;b<var1.length;b++)
String [] a = var1<b>.split(";");
for(int i=0;i<a.length;i++)
result.addValue(a<i>);
Input:
<MT_Source>
<ROW>
<Bill_No>8</Bill_No>
<LineItems>
<BillSerailNo>second</BillSerailNo>
<LineItems>
<LineItems>
<BillSerailNo>second1</BillSerailNo>
</LineItems>
</Row>
<ROW>
<Bill_No>5</Bill_No>
<LineItems>
<BillSerailNo>First</BillSerailNo>
<LineItems>
<LineItems>
<BillSerailNo>First1</BillSerailNo>
</LineItems>
</Row>
<ROW>
<Bill_No>8</Bill_No>
<LineItems>
<BillSerailNo>Third</BillSerailNo>
<LineItems>
<LineItems>
<BillSerailNo>Third1</BillSerailNo>
</LineItems>
</Row>
<MT_Source>
Target:
<MT_Target>
<Record>
<Bill_No>5</Bill_No>
<LineItems>
<BillSerailNo>First</BillSerailNo>
<LineItems>
<LineItems>
<BillSerailNo>First1</BillSerailNo>
</LineItems>
</Record>
<Record>
<Bill_No>8</Bill_No>
<LineItems>
<BillSerailNo>second</BillSerailNo>
<LineItems>
<LineItems>
<BillSerailNo>second1</BillSerailNo>
</LineItems>
<LineItems>
<BillSerailNo>Third</BillSerailNo>
<LineItems>
<LineItems>
<BillSerailNo>Third1</BillSerailNo>
</LineItems>
</Record>
<MT_1> -
Mapping - Checking 3 fields to change IDOC
Hello,
I am triggering a new IDOC whenever the source field1 changes as below.
field1 -> removecontext -> splitbyvalue [value change] -> collapsecontext -> IDOC
If i need to check for 2 more fields field2 & field3 and if any one of these 3 field changes trigger the creation of new IDOC field?
How do I map the other two fields to IDOC?
Thanks,
HariHi,
Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
Regards
Priyanka -
JDBC Sender MSSQL Stored Procedure - Multiple Select Statements
Hello all,
I will proceed to tell you my problem, for which solution I request your kind advice:
Im working in a project for a retailer, which consists in sending the information from erp and sql server to pos thru XI interfaces.
One of the interfaces is about sending items from sql server to a file so the pos can load it into the system. For doing so I have devloped an stored procedure which function is to return several select statements as many stores the retailer might have, so they can have a different file per store along with its corresponding items in it.
The thing is that XI just gets the first select statement and creates the corresponding file, but it seems to ignore the remaining responses as I'm neither getting any file nor an error afterwards.
So, my question is: is XI capable of handling multiple select responses from an Stored Procedure in graphical mapping??? Or am I just wasting my time trying?
Thanks in advice for your help.
Regards.Hello Ramkumar,
After 5 days trying, I finally made it work out applying your advice. Below the short explanation of what I did:
My Source structure is: Main Node->Row->Records (Material Number, StoreNum, Price, Status)
My Target structure is: Main Node->File Node->Record Node->Records ( Material Number, Price, Status)
The key was to make all the occurrences happen against StoreNum node. So, based on what you adviced these two where the key mappings:
1) The Mapping that will create a new file for each different store that comes in the query (In my case, query was already sort by store using an sql "order by" function, if not you can also use xi node function "sort" as Ramkumar suggested)
StoreNum->RemoveContext->SplitbyValue (Value Changed)->Collapse Contexts->File Node
2) The Mapping that will create each record in its corresponding store file:
StoreNum->RemoveContext->SplitbyValue (Value Changed)->Record Node
And Voilá !!! It worked.
Thanks very much Ramkumar.
Regards. -
FILE to IDOC using node functions; IDOC parent, child segment
I have file with 10 recors.
Each record has f1,f2 (two fields)
The target IDOC segments are
E1PARENT1 occurance 0 to 99
E1PARENT1-field_p1
E1PARENT1-E1CHILD1 occurance 0 to 5
E1PARENT1-E1CHILD1-field_c1
I have to map
FILE field1 to E1PARENT1-field_p1
and
FILE field2 to E1PARENT1-E1CHILD1-field_c1
I tried
RemoveContext -> SplitByValue(value change) -> CollapseContext ->E1PARENT1
RemoveContext -> SplitByValue(value change) -> CollapseContext ->E1PARENT1-E1CHILD1
With above i'm getting output
a) parent IDOC segment E1PARENT1 repeated 10 times (source FILE got 10 records) .. .This is correct
b) The first parent segment E1PARENT1 got 5 child segments E1CHILD1. -- this is incorrect
c) The second parent segment E1PARENT1 has NO child segments E1CHILD1 -- this is incorrect
I want
first parent segment E1PARENT1 to have 1 child segment E1CHILD1 having 1st record field2 of input FILE
2nd parent segment E1PARENT1 to have 1 child segment E1CHILD1 having 2nd record field2 of input FILE
3rd parent segment E1PARENT1 to have 1 child segment E1CHILD1 having 3rd record field2 of input FILE
I think by changing occurance (ECC value is 0 to 5) of child IDOC segment E1PARENT1-E1CHILD1 to 1 could solve this issue. (I tried to change the text file, but it is no confusing where to change using Notepad). Basically i don't know how to control the queue context of CHILD segment of IDOC matching with PARENT segment of the IDOC.
Any better alternative. Please help. ThanksThis is the IDOC target
E1PARENT1 (o to 99 occurance)
E1PARENT1-field_p1
E1PARENT1-E1CHILD1 (0 to 5 occurance)
E1PARENT1-E1CHILD1-field_c1
I resolved using standard function of message mapping. The mistake was SplitByvalue(value change), when changed to SplitByvalue(each value) got desired result. Here is the mapping to benefit others. Please correct or add if any, thanks.
a) Target - Parent segment
SOURCE-RECS->RemoveContext -> E1PARENT1
SOURCE-RECS-F1->RemoveContext -> E1PARENT1-field_p1
b) Target - Child segment
SOURCE-RECS->RemoveContext -> SplitByValue(each value) -> E1PARENT1-E1CHILD1
SOURCE-RECS-F1->RemoveContext -> SplitByValue(each value) -> E1PARENT1-E1CHILD1-field_c1 -
Multi-mapping....2nd mapping not executing
Hi all..
I am doing Proxy to file scenario....
I am using multi-mapping in this..
one source..... 2 targets
i am triggering the taregt based on a field value( using equalsS and IF)
if i am testing it with single value then the mapping is success and fileds are bieng filled properlyy..
but if i duplicate the subtree on source and put 2 conditions at a time...only first condition is executing and 2nd node is kept blank...
i searched in SDn but no luck till now...
plz help me out to solve this...
Thanx in advance...thnax for the replies....
i tried with SplitBy value but no use,....
The structure...
source: Target 1:
Root Total_Males:
Name Name
Adress City
City
Target2:
Total_females:
Name
Adress
City
i am checking condition for "***' if it is male it will trigger first target1 .....female for target2.
it is working with either male or female fine..
but if i duplicate it and enter both male or female....only one condition i.e first i.e male is only triggering and 2nd is left blank..
regards, -
Multiple idocs from single flat file
Hi All
I want to send data from a flat file to SAP(file to idoc)
My flat file structure is
id,name,number,city
2,R1,234,SD
2,R2,457,MD
3,R4,789,HG
3,R6,235.HG
The Field 'id' will change..after every change in 'id' ,seperate idoc should be created.
I have checked the following thread.
Re: Content conversion for seperate idoc
In the above thread ,it is asked to map v.no with remove context and use SPLIT BY VALUE on value change then do the mapping accordingly ,you can create 3 idocs for the same.
I'm confused about how to do these mappings.
Please explain the mapping in detail.
Please help
Regards
Reemaif your source data type is like
MT_Source
Record 0-unbounded
id ----1
name -----1
number -----1
city -------1
then in the sender file communication channel you have to specify file content conversion parameters as
Parameter name parametervalue
Document Name MT_Source
Recordset Structure Record,*
choose + to add more parameters
Name Value
Record.fieldSeparator ,
Record.fieldNames id,name,number,city
Record.endSeparator 'nl'
then do the maping
as
id ---->removeContext---->SplitByValue(Value change)---->Target Idoc
map according to your requirement for other fields -
Receiver adopter using File Content Conversion
Guys,
I am using File Content Conversion at receiver end.
<b>maintained record structure:</b> Table1,Table2,Table4,Table5,Table6,Table7,Table8,Table9
and maintained parameters below menction for each table.
fieldFixedLengths
fieldNames
fixedLengthTooShortHandling
I want to create target file fixed length and the order which maintained in source file.(EXPECTED FORMAT).
But receiver File Content Conversion creating file in below menction format(FILE COMING FORMAT) which i don't want. Can any one help me what are the parameters do I need to maintain, to create the file same order which is like source file.
<b>SOURCE FILE</b>
100ABCDEF 0430000960603201321
2 000000000040008000802
400100160200002000015E59332 000000000010424400
50000000640672060320ABCDEF 043000096
600100100220887000311003510300958527437215 BAMBERGER POLYMERS
400100160100002000015E59347 000000000000008250
700100206430530603200010022088700
80010030643053060320000100220887009
400100160100002000015E59347 000000000000008260
9000010
<?xml version="1.0" encoding="utf-8"?>
<ns:CSAA_Bankdet_src xmlns:ns="urn:cs.www.abcdefinc.com/CSAA_ODSFTP_ECC_Bank_Details">
<Table1>
<RecordType>1</RecordType>
<PriorityCode>00</PriorityCode>
<Destination>abcdef</Destination>
<BankOrginNo>043000096</BankOrginNo>
<CreationDate>060320</CreationDate>
<CretionTime>1321</CretionTime>
<Spaces></Spaces>
</Table1>
<Table2>
<RecordType>2</RecordType>
<Destination>00000000</Destination>
<BankOrginNo>0040008000</BankOrginNo>
</Table2>
<Table4>
<RecordType>4</RecordType>
<BatchNumber>001</BatchNumber>
<ItemNumber>001</ItemNumber>
<RecordOverflow>6</RecordOverflow>
<SequenceNumber>020</SequenceNumber>
<OverflowCode>0</OverflowCode>
<CustomerNumber>002000015E</CustomerNumber>
<InvoiceNumber>59332 0</InvoiceNumber>
<DiscountAmount>00000000</DiscountAmount>
<GrossAmount>010424400</GrossAmount>
</Table4>
<Table5>
<RecordType>5</RecordType>
<BatchNumber>000</BatchNumber>
<ItemNumber>000</ItemNumber>
<LockboxNumber>0640672</LockboxNumber>
<DepositDate>060320</DepositDate>
<Destination>abcdef</Destination>
<BankOrigin>043000096</BankOrigin>
<Spaces></Spaces>
</Table5>
<Table6>
<RecordType>6</RecordType>
<BatchNumber>001</BatchNumber>
<ItemNumber>001</ItemNumber>
<RemittanceAmount>0022088700</RemittanceAmount>
<MICRTransitRouting>031100351</MICRTransitRouting>
<MICRAccountNumber>03009585274372</MICRAccountNumber>
<MICRCheckSerialNumber>15 BAMB</MICRCheckSerialNumber>
<CustomerName>ERGER POLYMERS</CustomerName>
</Table6>
<Table4>
<RecordType>4</RecordType>
<BatchNumber>001</BatchNumber>
<ItemNumber>001</ItemNumber>
<RecordOverflow>6</RecordOverflow>
<SequenceNumber>010</SequenceNumber>
<OverflowCode>0</OverflowCode>
<CustomerNumber>002000015E</CustomerNumber>
<InvoiceNumber>59347 0</InvoiceNumber>
<DiscountAmount>00000000</DiscountAmount>
<GrossAmount>000008250</GrossAmount>
</Table4>
<Table7>
<RecordType>7</RecordType>
<BatchNumber>001</BatchNumber>
<ItemNumber>002</ItemNumber>
<LockboxNumber>0643053</LockboxNumber>
<DepositDate>060320</DepositDate>
<NoofDetailRecords>001</NoofDetailRecords>
<BatchDollarAmount>0022088700</BatchDollarAmount>
<Spaces></Spaces>
</Table7>
<Table8>
<RecordType>8</RecordType>
<BatchNumber>001</BatchNumber>
<ItemNumber>003</ItemNumber>
<LockboxNumber>0643053</LockboxNumber>
<DepositDate>060320</DepositDate>
<NoofDetailRecords>0001</NoofDetailRecords>
<RemittanceDollarAmount>0022088700</RemittanceDollarAmount>
<LastRecordIndicator>9</LastRecordIndicator>
<Spaces></Spaces>
</Table8>
<Table4>
<RecordType>4</RecordType>
<BatchNumber>001</BatchNumber>
<ItemNumber>001</ItemNumber>
<RecordOverflow>6</RecordOverflow>
<SequenceNumber>010</SequenceNumber>
<OverflowCode>0</OverflowCode>
<CustomerNumber>002000015E</CustomerNumber>
<InvoiceNumber>59347 0</InvoiceNumber>
<DiscountAmount>00000000</DiscountAmount>
<GrossAmount>000008260</GrossAmount>
</Table4>
<Table9>
<RecordType>9</RecordType>
<TotalRecords>000010</TotalRecords>
<Spaces></Spaces>
</Table9>
</ns:CSAA_Bankdet_src>
<b>FILE COMING FORMAT</b>
100ABCDEF 043000096 0603201321
200000000
40010016020059332 0 00000000 010424400
40010016010059347 0 00000000 000008250
40010016010059347 0 00000000 000008260
50000000640672060320ABCDEF 043000096
600100100220887000311003510300958527437215 BAMBERGER POLYMERS
700100206430530603200010022088700
80010030643053060320000100220887009
9000010
<b>EXPECTED FORMAT</b>
100ABCDEF 043000096 0603201321
200000000
40010016020059332 0 00000000 010424400
50000000640672060320ABCDEF 043000096
600100100220887000311003510300958527437215 BAMBERGER POLYMERS
40010016010059347 0 00000000 000008250
700100206430530603200010022088700
80010030643053060320000100220887009
40010016010059347 0 00000000 000008260
9000010
Thanks
MHi,
Try to handle this with the context in the mapping.
I think your mapped xml will look like this-
<i>100ABCDEF 043000096 0603201321
200000000
40010016020059332 0 00000000 010424400
40010016010059347 0 00000000 000008250
40010016010059347 0 00000000 000008260
50000000640672060320ABCDEF 043000096
600100100220887000311003510300958527437215 BAMBERGER POLYMERS
700100206430530603200010022088700
80010030643053060320000100220887009
9000010</i>
SO this is because of context problem. All similar nodes are grouped in the Message Mapping.
1) For this you can try with Context Handling - i.e using RemoveContext,SPlity value functions etc in the message mapping.
2) Another way use XSLT mapping here. In this case it will be easier, because you just need to read the input xml as it is and produce the same.
3) One more thing, your input xml looks as if is the output xml. Is it required to have mapping here? If there is no transformation required, then you can do without any mapping, and you will get the required output as it is ..
Regards,
Moorthy
Message was edited by: Krishna Moorthy P -
IDoc to file. Grouping and generation of files based on condition
Hi All,
I am working on a scenario, Idoc to File. I need to create number of files based on occurrence of a field(vendor) in the idoc. Also the condition is to group by the field(vendor) and create as many files as the number of groups formed.
For e.g.: In an Idoc if there are ten items present and 3 vendors who are supplying it. <b>The vendor and items can repeat in any order within the same idoc. </b>
I need to group the items by the vendors and create a file separately for each vendor. Like :
Item Vendor
Item1 V1
Item2 V1
Item3 V2
Item4 V2
Item5 V2
Item6 V2
Item1 V2
Item2 V2
Item3 V3
Item6 V3
What we have to achieve is, to group by the vendors irrespective of the order of the items or number of reoccurrence of the items. As you see, the Item1 is supplied by both V1 and V2. I need to generate 3 files as follows:
V1.xml with Item1 and Item2 details.
V2.xml with Item3, Item4, Item5, Item6, Item1 Item2 details.
V3.xml with Item3 and Item6 details.
Can someone please help me with achieving this without using BPM?Hi Shashi,
For this scenario you have to use multimaping without BPM using this blog.
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
And while doing your message mapping you have to use <b>removeContext</b> & <b>SplitByValue</b> (double clike the on splitbyvalue and select <b>value changed</b>) function. This function you have to use with the node in which your Vendor is coming. Example:
if required to sort the vendor, then first sort the vendor in the below mapping.
Vendor (NODE) -
> removeContext -
> SplitByValue (value Changed) -
> IDOC.
By doing this your vendor will be grouped and you will get new IDOC on change of Vendor.
Regards,
Sarvesh -
could you please provide me some real time questions on sap-xi,
thank you1. What are the Three types of XI Cache? How are they used?
2. Where would you look to find Logical System in the SLD.
ANS Business system wizard
3. What 2 Data Types are automatically created when the Namespace is saved in the Integration Repository?
ANS. ExchangeFaultdata and Exchange log data.
4 Which Development Object in SAP XI forms the "ROOT NODE" of an XML document when an XI message is generated?
ANS MESSAGE TYPE
5. Describe the setting to "Permit Importing of SAP IDOCs or BAPI/ RFCs". Where is this configured?
ANS.
6. What are the valid types of Message Mappings? Which is configured with the Graphical User Interface and requires no coding?
ANS. MESSAGE MAPPING, XSLT MAPPING, ABAP MAPPING AND JAVA MAPPING, MESSAGE MAPPING REQUIRES no coding
7. What actions should you take if your Business System does not show when attempting to "Transfer from the SLD"?
8. What is the relationship between Product, Product Version, Software Component and Software Component Version? Give an example.
ANS. PRODUCT: Represents a collection of all versions of a product . In SAP environment , a product corresponds to an SAP technical Component, eg 4.6c,4.6d,4.7
COMPONENT: Represents a collection of all versions of a software components Examples of Software components are SAP_APPL,SAP_ABA,SAP_HR Software
9. Describe the Design Repository (DR) objects you created to configure a scenario.
10. What are the different design time components used by XI?
11. What monitoring service does the integration server provide?
12. Describe the alert functionality of the runtime workbench.
ANS Message alerting allows to set conditions for triggering Alerts. This allows notification of the correct parties for a specific classes of errors.
13. In BPM, if you have async-sync bridge, does the QOS change?
14. What is logging/ trace? List 4 ways to enable logging/ trace?
15. Properties of an async message?
16 Inbound XI message has problem, where do you look for solution?
17. Describe XI message format.
18. Describe end-to-end monitoring. What is it? How is it configured? What are the different views?
ANS It is a tool for monitoring end to end technical processes involving multiple components.
to configure end to end monitoring :1. On initial screen of runtime work bench ,select configuration tab page.
2.enter the logon data for the monitoring server.
3.choose display.
4.system displays the components of the correct domain and the integration server is selected as default.
5.select the other components that you want to use and configure them as sender or receiver ,or both depending on the component type.
6.we can select monitorin level that we want to use for each of the selected component.
7.Choose save configuration .
Processes overview and the instance view are the two different views
19. Different steps to make a Sender IDOC adapter work?
20. JMS adapter can talk with what type of systems? Give some examples...
ANS Messaging systems to the integration engine
21.What format can JDBC adapter communicate in? Should you use native SQL?
ANS. JDBC adapter converts data base content to XML messages and the other way around.
22.If communications with JDBC using XML format, what are 4 actions you could do?
ANS. SELECT, INSER, DELETE , UPDATE.
23. How does PCK and adapter framework engine differ?
ANS.
24. Can JDBC adapter query DB tables? Can it insert?
ANS. Yes
25. JMS adapter scenario messaging system provider needs to submit what?
26. List some properties of receiving IDOC adapter.
27. JDBC/ JMS required certain steps before they can work?
ANS vender specific JMS driver must be deployed on to the J2EE engine using SDM
Appropriate JDBC driver must be deployed on the system
28. What is ALEAUDIT with respect to IDOCS? When will they use it?
29. Properties of the HTTP adapter, does it use or need a sender or receiver communications channel or agreement?
30. What does a RFC adapter support?
ANS sRFCs and tRFCs
31. Is EOIO supported by RFC?
ANS No
32. What are the advantages of using a decentralized adapter engine?
ANS.
33. What are the different monitoring statuses? Where do you find them?
ANS Different monitoring statuses are Message Monitoring, Component monitoring , performance Analysis and Alerting and we find this in Runtime Workbench.
34. What adapters are not in adapter engine? code you can type in,
ANS HTTP and IDOC adapters are not in adapterengine and we can type code in IDOC
A. Which ABAP proxy, in or outbound has Which one used classes with regards to Sync/ Async what is the method call?
36. With an optional node what would be the cardinality? How do you make sure the subordinate fields get mapped?
37. WSDL what is it? Where do you find it in Repository? Is it used in Java or ABAP proxy?
38. XI 3.0, what are the supported mapping types?
ANS Message mapping, ABAP mapping, JAVA mapping and XSLT mapping
39. What are the prerequisites for importing customer defined IDOC?
ANS
40. What are the three IDOC transactions in XI?
ANS SM59, IDX1and IDX2.
41. Context object replace what?
ANS Xpath
42. Two things can make up a collaboration agreement, what are they?
ANS Sender agreement and receiver agreement
43. What is a logical system, with respect to SLD? Where would you assign it?
ANS
44. What is the sender communications channel?
ANS specify the potential senders of messages and the technical communication path
45. If error during inbound or outbound binding, where do you look to solve?
46. URI, URL and URN what are they and what are their differences?
47. To perform content based (logical) routing, two places it can be done. What are the two places?
48. What is an integration process? Where is it executed? What stake?
49. In a message mapping you have advanced user defined function, can you test for context changes, if yes how?
50. What is multi-mapping? Where is it used? What are the advantages?
ANS Multimappping is any mapping that involves N messages either or source or target side Multimapping can be used in ccBPM
1.used to map abstract interfaces
2. Development is same as message mappings.
3.n:1 transformation
4.1:n transformation
5. n:m transformation
51. What are the two XSLT tags, previously that could not be used in XI?
ANS
52. Using a simple user defined function how can you send trace information to be monitored?
53. What is function "exists" in message mapping?
ANS We can handle the error by checking whet her the source tag exists and if it does not we can pass an empty value, which generates the required target field.
54. What Jar file is required to perform Java Mapping?
ANS
55. What is context in message mapping and how is it used?
56. What is remove context and splitby value?
ANS to remove parent context of an element and spliby value is counterpart of remove context.
57. Where can you use user defined function? What is its scope?
58. If you are building Java mapping class which class interface must it implement?
59. What is the scope of mapping template?
60. How does a Boolean function work in message mappings?
61. Source message occurs 3 times, target only once, what is wrong?
62. In simple mapping - one source results in 4 identical target messages, with regarding cardinality what is the problem?
63. What is a prerequisite to do ABAP mapping for a comple transformation?
64. What step can be inserted into an exception branch?
ANS
65. How do you get an error condition to generated an alert?
ANS
66. What actions can you perform in SXI_CACHE?
67. What is a wait step and why is it used?
ANS It is a process flow control relavent and is used toset start time for next step
68. What is a block step and why is it used?
ANS
69. Could multiple instances of an integration process be running at the same time? If so, how does a message find its way to the correct instance?
70. Which XI objects can be used in an integration process? Which ones from Repository?
71. Send message within an integration process to 8 receivers at the same time, how can you do this?
72. What is a correlation? What is a local correlation?
73. What is the relationship between an integration process and business workflow? -
HI ALL,
we have one requirement that is I DOC to JDBC....and JDBC to I DOC
we done The i doc to jdbc succesfuly.... again that data have to store in ECC side.
again we done jdbc to i doc scenario.
Appart that we done all IR and ID part. we striked in mapping pat in JDBC to IDOC....
There are sending like this
Rec 1 101
Rec 2 101
Rec 3 101
Rec 4 102
Rec 5 102
First record set have to map with header and item number( 1 to 3 )
second thing is have to mapwith header and item number...
Thanks and regards,
kesava.Sender_Header-removecontext--splitbyvalue(value change)----collpase context---Target_header
SenderItem----removecontext----
-------------------------------------FormatByexample----TragetItem
Sender_Header-removecontext--splitbyvalue(value change)----- -
Graphical Message Mapping - SplitByValue - part 3
Hello experts,
Thread cal Message Mapping - SplitByValue - part 2 was solved by
StartDate --> emoveContext --> A
EAN --> RemoveContext --> SplitByValue (Value Change) --> A
--> A (FormatByExample) --> target field
The context of the StartDate field is changed to the complete Message Type. That all works fine.
Now, I need to do a similar thing, but based on 4 indicator fields which could contain value X.
For each indicator field (within 1 data row) filled with an X, a segment must be repeated as many times as there are indicator fields with an X.
How do I manage that? I think I need to use FormatByExample again, isn't it?
Thanks a lot
Dimitri> For each indicator field (within 1 data row) filled with an X, a segment must be repeated as many times as there are indicator fields with an X.
This means in each data row you will have only 1 X in any of the indicator. Correct?
So let's say you got total 7 data row, this means you have 7 X's and that means you must create 7 segments. Corrct?
If yes then
Soruce --->RemoveContext -
>Target Segment.
Soruce --->SplitByValue(each value) --->Target Fields. -
Help on Mapping: What is Multimapping, splitbyvalue,valuemapping?
Hi
*What is multimapping and how to design a multimapping?
*What does value mapping and splitby value does in mapping?
Kindly let me know on this with a simple example for my understanding.
Regards
PrabhuMulti mapping is the conversion of 1 message to N or N -1 or N:M messages
Ref:
Multi Mapping
BPM involved:
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
Without BPM:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Value mapping - converting a value in the source to a another in target. Say in source it might me KM but in target u might need Kilometers.
http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
Split by value -
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
Maybe you are looking for
-
Creating a relation between fields
This is my first use of Acrobat & Designer and I am having difficulty. I want to create a relationship between a check-box field and a drop-down list field. I would like a specific value in a drop-down list to be shown when an adjacent check box fiel
-
I recently upgraded my iTunes software but ever since I did that, I keep getting an error message that says, "iTunes has stopped working". I have included the info from the error. I am using Windows 7 64-Bit. I hope someone can help me with this. I m
-
Preserving styles when copying and pasting?
Howdy folks...still running CS3 on my system here...but just wanted to know what your take was... In the magazine I work for, we've previously been generating PDFs for press one at a time (ie: take a 4 page InDesign file and generate 4 1-page PDFs),
-
Hi. I have a calculation field in my SQL statement that populates the Grid column and it only shows two decimals. How do I set it to calculate more than two. I tried it in the SQL Statement....Convert(decimal(18,3),dbo.RDR1.OpenQty * dbo.OITM.SWeig
-
how use jndi to create a organization and add a user to it¡£THANKS£¡ ÈçºÎ´´½¨Ò»¸ö×éÖ¯µ¥Î»,²¢½«Ò»¸öÓû§Ìí¼Ó½øËü¡£Ð»Ð»£¡