Delimiter in Syndication Maps for Multi-Valued Fields
We are in the process of upgrading to MDM 7.1 from MDM 5.5. In one of our syndication maps we are syndicating a multi-valued hierarchy field with no particular limit as to how many values the field can hold. In the old MDM 5.5 Syndication map the xml output delimits this data with ";" (semi-colon) as in the below example.
<Field>Level 1Level 2Value 1; Level 1Level 2Value 2;Level 1Level2Value 3</Field>
In MDM 7.1 the values are separated by a "," (comma) like in the example below.
<Field>Level 1Level 2Value 1, Level 1Level 2Value 2, Level 1Level2Value 3</Field>
Is there anyway to change the delimiter in MDM 7.1 from a "," (comma) to a ";" (semi-colon) with out splitting the field?
Thanks!
Sincerely,
Courtney
Hi Brewer,
Is there anyway to change the delimiter in MDM 7.1 from a "," (comma) to a ";" (semi-colon) with out splitting the field?
Yes, for e.g in in your syndication map at source item lookup field display as follows
Country
|___ Code
|___ Name
just map country to destination item instead of using Code or Name, multi vaule will display with ; operator
In one of our syndication maps we are syndicating a multi-valued hierarchy field with no particular limit as to how many values the field can hold.
if you want to set length of field you require to set properties at destination item as follows :
Fixed Column Width : the specific with destination item
Max Item Length : Maximum length allowed for the item
Hope Above mention point will resolved your problem if not revert back
Thanks,
Jignesh Patel
Similar Messages
-
Syndicator - Specifying delimiter for multiple-valued field
Hi,
How can (if we can, that is) we specify a delimiter to split a multi-valued source field into multiple fileds in MDM syndicator? I believe if we have <b>';'</b> as delimiter we can spilt a multi-valued field into multiple fields but what if I have <b>'/'</b> or some other character as a delimiter. Can I use that to split my multi-valued field? If yes then how?
Regards,
-YHi Yasir,
I doubt whether we can anywhere specify the delimiter in syndicator from ';' to anyother as you mentioned, but otherwise the multi-valued field steps as follows...
1. right click on the field from the source grid
2. choose Split Multi-Valued Field > n
3. The Syndicator adds the split items to the Source Items grid
hope this might helps...
cheers
Alexander -
OIM: Help understanding Multi-Valued fields
I'm having a bit of trouble passing the values of a multi-value field into an adapter and I think I have the whole structure of how this works wrong.
I have a custom RO where a user can select multiple custom defined "Roles". I want to pass the selection of these roles to an adapter for processing. I thought I could just pass the variable name selectedRoles and it would automatically concatenate them into a string delimited by "|".
is this not the case? How would I process the selections made by the user? I have the whole process working, form wise. It's just I can't seem to pass the selected roles into an adapter.
Any ideas?
When I try to map adapter variable to Process Data -> (Child Table) Roles -> Role Name I get this error:
ERROR,27 Sep 2010 12:35:08,289,[XELLERATE.DATABASE],select UD_ROLES_P_ROLENAME from UD_ROLES_P where UD_ROLES_P_KEY =
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
Edited by: Alex S on Sep 27, 2010 12:41 PMNops ! ! For child table data, your custom adapter or code would be called in every time for each value selected, so its not a string separated by a delimiter. Also its easier for OIM to manage these values individually rather than passing them as a string.
So your Process Data -> (Child Table) Roles -> Role Name mapping appears fine, but this would just pass one value at a time and then you have to call this adapter number of times based on the action insert, update or delete on child table data.
Thanks
Sunny -
How To Import Into A Table with Multi-Value Fields
Hello:
I have a table with a multi-value field that contains states in which a company does business. It is multi-value because there can be more than one state. I tried to import a text tab-delimited file in which the data was arranged as follows:
Field1 Tab Field 2 Tab OR, WA, CA Tab
The "State field contained the multiple entries separated by a comma (like they appear in a query of the multi-value field), but it won't accept it. Does anyone know how to import into a multi-value field?
Thanks,
Rich Locus, Logicwurks, LLCJoana:
Here's the code I used to populate a multi-value field from a parsed field. The parsing routine could be greatly improved by using the Split function, but at that time, I had not used it yet. FYI... the field name of the multi-value field in
the table was "DBAInStatesMultiValue", which you can see in the example below how it is integrated into the code.
Option Compare Database
Option Explicit
Option Base 1
Dim strInputString As String
Dim intNumberOfArrayEntries As Integer
Dim strStateArray(6) As String
' Loop Through A Table With A Multi-Value Field
' And Insert Values Into the Multi-Value Field From A
' Parsed Regular Text Field
Public Function InsertIntoMultiValueField()
Dim db As DAO.Database
' Main Recordset Contains a Multi-Value Field
Dim rsBusiness As DAO.Recordset2
' Now Define the Multi-Value Fields as a RecordSet
Dim rsDBAInStatesMultiValue As DAO.Recordset2
' The Values of the Field Are Contained in a Field Object
Dim fldDBAInStatesMultiValue As DAO.Field2
Dim i As Integer
' Open the Parent File
Set db = CurrentDb()
Set rsBusiness = db.OpenRecordset("tblBusiness")
' Set The Multi-Value Field
Set fldDBAInStatesMultiValue = rsBusiness("DBAInStatesMultiValue")
' Check to Make Sure it is Multi-Value
If Not (fldDBAInStatesMultiValue.IsComplex) Then
MsgBox ("Not A Multi-Value Field")
rsBusiness.Close
Set rsBusiness = Nothing
Set fldDBAInStatesMultiValue = Nothing
Exit Function
End If
On Error Resume Next
' Loop Through
Do While Not rsBusiness.EOF
' Parse Regular Text Field into Array For Insertion into Multi-Value
strInputString = rsBusiness!DBAInStatesText
Call ParseInputString
' If Entries Are Present, Add Them To The Multi-Value Field
If intNumberOfArrayEntries > 0 Then
Set rsDBAInStatesMultiValue = fldDBAInStatesMultiValue.Value
rsBusiness.Edit
For i = 1 To intNumberOfArrayEntries
rsDBAInStatesMultiValue.AddNew
rsDBAInStatesMultiValue("Value") = strStateArray(i)
rsDBAInStatesMultiValue.Update
Next i
rsDBAInStatesMultiValue.Close
rsBusiness.Update
End If
rsBusiness.MoveNext
Loop
On Error GoTo 0
rsBusiness.Close
Set rsBusiness = Nothing
Set rsDBAInStatesMultiValue = Nothing
End Function
Public Function ParseInputString()
Dim intLength As Integer
Dim intStartSearch As Integer
Dim intNextComma As Integer
Dim intStartOfItem As Integer
Dim intLengthOfItem As Integer
Dim strComma As String
strComma = ","
intNumberOfArrayEntries = 0
strInputString = Trim(strInputString)
intLength = Len(strInputString)
' Skip Zero Length Strings
If intLength = 0 Then
Exit Function
End If
' Strip Any Leading Comma
If Mid(strInputString, 1, 1) = "," Then
Mid(strInputString, 1, 1) = " "
strInputString = Trim(strInputString)
intLength = Len(strInputString)
If intLength = 0 Then
Exit Function
End If
End If
' Strip Any Trailing Comma
If Mid(strInputString, intLength, 1) = "," Then
Mid(strInputString, intLength, 1) = " "
strInputString = Trim(strInputString)
intLength = Len(strInputString)
If intLength = 0 Then
Exit Function
End If
End If
intStartSearch = 1
' Loop Through And Parse All the Items
Do
intNextComma = InStr(intStartSearch, strInputString, strComma)
If intNextComma <> 0 Then
intNumberOfArrayEntries = intNumberOfArrayEntries + 1
intStartOfItem = intStartSearch
intLengthOfItem = intNextComma - intStartOfItem
strStateArray(intNumberOfArrayEntries) = Trim(Mid(strInputString, intStartOfItem, intLengthOfItem))
intStartSearch = intNextComma + 1
Else
intNumberOfArrayEntries = intNumberOfArrayEntries + 1
intStartOfItem = intStartSearch
intLengthOfItem = intLength - intStartSearch + 1
strStateArray(intNumberOfArrayEntries) = Trim(Mid(strInputString, intStartOfItem, intLengthOfItem))
End If
Loop Until intNextComma = 0
End Function
Regards,
Rich Locus, Logicwurks, LLC
http://www.logicwurks.com -
Mass updating a multi-valued field- to append the new value
I have a question on multi-valued fields:
I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc.
A store can have 4 MLBs, 2 soccer teams, and so on.
Say, there is a new MLB that came out called Mexico MLB team.
A user wanted to add this to 30 stores using a mass update. But remember the 30 stores can have totally different sets of values in the multi-valued fields.
How can I add this new value while still preserving the MLB teams values of each store record?
Does MDM not support this feature?
I am using SAP MDM SP6
An answer would be highly appreciated.
Thanks
SaviSavi,
I assume you are defined these fields as multi-value lookup and linked to main table. In general, you can not because it will mess up and overwrite your multi-value entries for all of your 30 store records.
Here is something in MDM come in handy. It is following the same concept but design your model a little differently. If you model your multi-value fields into qualified lookup table, it will be easier and optimized to handle.
You can select all 30 records and mass-update with adding the new MLB entry into your Q-lookup table. Once you save, this mass-update action will respect all your diversity of each individual records with the new value added.
Hope this helps
If this answers your question, please kindly reward the points.
Regards
Dawei -
SQL2 | How to add condition on multi-value field?
Hello,
I am trying to perform a JCR query using SQL2 in CQ5.6. For one of the conditions, I wish to compare a multi-value field (E.g. cq:tags).
How would that be possible? Currenlt, I only managed to compare my query item's cq:tags to a single value (e.g. WHERE page.[cq:tags]='mynspace:mytag').
Also, is there a syntax reference for SQL2 queries? Currently I have only managed to find something tanglible here : http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/test/resources/or g/apache/jackrabbit/spi/commons/query/sql2/test.sql2.txt?view=markup
Best regards, thanks in advance,
K.Hi,
Below is an example of SQL2 query based on your scenario. you can modify and use it
SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([/content/geometrixx/en]) and (CONTAINS(s.[cq:tags], 'mynspace:mytag') or CONTAINS(s.[cq:tags], 'mynspace:mytagss1'))
where root node path and tags value you can change as per your need. Below is java formation
StringBuilder query = new StringBuilder();
query.append("SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([")
.append(pathToYourPageArea) //for example /content/geometrixx/en
.append("]) AND (CONTAINS(s.[cq:tags],'mynspace:mytag') or CONTAINS(s.[cq:tags],'mynspace:mytagss1'))");
Query compiledQuery = queryManager.createQuery(query.toString(), Query.JCR_SQL2);
where 'mynspace:mytag' and 'mynspace:mytagss1' is an example and you can change it with variables
I hope it will help you to proceed. Let me know if you need more information.
Thanks,
Pawan -
Can you sort a multi value field in descending order on a BC?
Hi
We have a date field which is a multivalue field on our Enrolment BC. The field comes from our Attendance BC. The Enrolment BC has a one to many relationship with an Attendance BC.
We would like to sort this date in descending order for use on the Enrolment BC. We tried this on the link using the associated list sort spec. However this did not work.
The only way we could get the multi value field to sort by descending order on the Enrolment BC was to add a sort spec on the Attendance BC. That is Date (DESC).
Is there any other to do this using configuration? We don't want to add a sort spec on the Attendance BC to do this. At the moment it looks we will need to use script on the Enrolment BC.
Thanks for you help,
TimThat is a good suggestion. It looks like we already have a couple of cloned "Attendance" BC's used by workflow / interfaces so maybe I can use one of these. Thanks!
-
Using Calculated Field in Multi Value Field
In Siebel Application
Sales Order---> List
There is a field call "Sales Rep" which displays an "USERID" of Order Sales Team Mvg Applet.
But We want to display the Last Name and First Name (combined).We got the first and last name using calculated field (Active Full name).
When I try to get the full name, the system display the name based on the "Primary position", if I step out of the particular row and come back again
Is there any way to display the full name without step out any rows for Sales Rep fieldYour description is a little confusing. For performance reasons it is always best to set the use primary join on multi value links. This means that when multi value fields are displayed in applets they always show the primary by default. If you want to display something other than the primary what is your rational behind this and why not make the record you want to display the primary?
Message was edited by:
Richard@AXA -
Field name and table name for the value field
hi,
i requred the value field for which the quantity that is not delivered in purchase order, so please tell me which field i have to go for the value field.
thanks and regards.Hi,
There is no direct field to get the PO Open qty(undelivered Qty).
Take the PO quantity for each Item from EKPO-MENGE.
For each PO Item there will be multiple GR(good's receipts) 's in MSEG table.
So pass EBELN and EBELP for MSEG table and Take all the GR Quantities(ERFMG) field and sum up .(have to take care of the Movement type also, becasue there will be some returns and GI's).
Substract the GR qty from PO qty you will get the UNDELIVERED QTY of A PO.
Regards,
Anji -
Migrate MS Access 2007 multi-valued fields to MS SQL 2012
Hi! I do have a MS Access data base (made of MS Access 2007) which has an Attachement field. As you know Attachment DataType is a multi-valued field that replaces the Object Link Embedding (OLE) Object DataType in the new Access Database (ACCDB) file
format. At present the whole DB has reached to the max size which is 2GB. Since we want to use the data and add more data to it, I was tasked to findout ways of converting it to SQL server. I have tried to use Import and Export data x32 module to import data
from MS Access to MS SQL Express 2012. All the data were imported except the BLOBs at the Attachement filed. Could you please help me to import those BLOBs to MS SQL DB. Thx!Hello,
About those OLE objects, please try the following article:
http://www.codeproject.com/Articles/90908/Saving-OLE-Object-as-Image-Datatype-in-SQL
Another recommended resources:
http://www.microsoft.com/en-us/download/details.aspx?id=28763
http://blogs.msdn.com/b/ssma/archive/2011/03/06/access-to-sql-server-migration-understanding-data-type-conversions.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Multi-valued fields in OIM user profile
Hi,
Does anyone of you have the need and find the solution for multi-valued user profile data in OIM? If so, could you please share your solutions?
Thanks,
IrisThanks Harrison ,
Hi U R,
The Key generation will work but quite tuff to explain the solution to you since we did something similar in SP04 but in this case might be that will be difficult approach than other simplar approches.
I guess these 2 pdf will help you (they using business content so it will be easy to replicate for you to understand).
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e01d1085-5a51-2a10-2292-b52eb7500180
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5099ca3a-4ff7-2910-f6b2-e2e3fb7d06be
By the way, Is your question how does R3 get the record in MDM with the "123" ID was abt
how does R3 get the record in MDM with the "123" ID. ( Importing into MDM from R/3)
or how does R3 get the record from MDM with the "123" ID. (Syndicating from MDM to R/3)
+ An -
Copa there is a option for reset value field / quantity value filed
Hi
As per the sap standard in copa there is a option for reset value field / quantity value filed. We
use this function to reset a quantity or value field depending on the
billing type (For eg L2 (Debit Memo) G2(Credit Memo). This means that
the condition value set in the field is replaced by value 0. Due to
this quantity value filed in copa reflects nil. My client requirement is when profit center document is generated System should display the quantity as nil.
i have tried some enhancement but these enhancement is only used in case of PGI . But in the case of debit and credit memo their is no PGI. first we create debit not request (va01) then billing(vf01) then document is generated .
Can we do the same thing in profit center Accounting? When PCA document
is generated System should display the quantity as nil.
Please let me know some user exit or substitution or Bte we can use ?
Anjalihi Jerry,
Very appreciated the link you sent. In this article of this link, it gives an example of a conversion from an external to an internal format:
1. '1234 ' -> '00001234'
2. 'ABCD ' -> 'ABCD '
Just wonder why the external format '1234 ' has to be converted to '00001234', what's the purpose of doing this converstion?
Thanks! -
How to create substituion for COPA value fields?
Hi,
In OBBH i cannot find a destination field for copa value fields. The destination fields are always from SAP standard tables like BKPF and so on.
In this case how can i create a substitution to assign values to COPA value fields?Hi,
I can see only the following entries in my OBBH user exit, so what is difference between COPA0002 and these :-
SCO10
SGJF1
SGJA1
SGJA2
SGJA3 -
Hi,
i am doing a XSLT mapping. i have a field which has fixed values(can be performed using graphical mapping). but the same i am not able to implement for XSLT. can anyone give me a idea about this
<removed by moderator>
Thanks
Deepika
Edited by: Mike Pokraka on Jul 24, 2008 12:57 PMStep u2013 By u2013 Step Simple Approach for XSLT Mapping
Step By Step Simple Approach for XSLT Mapping
generic xslt mapping part 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
generic xslt mapping part2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
xslt recursive templates
XSLT: Recursive Templates
regards
kummari -
Trying to map between KE30 - Value Field - GL Account
Hi,
Had a question and am unsure what forum to post so I am poting a few places.
I am working with the KE30 Report. My manager has created a report to get to the Contribution margin. When the KE30 Report is run, I get colums such as Labor, Std OH, FX etc.... these are the Value fieds.
The value fields are made up of formulas and these formulas are such as A-B+C.... and A, B and C are made up of various GL Accounts....
The question is what code do I use too see the mapping from GL account all the way to the value field? Can anyone help
Thanks,
MMy issues is Value Field KVMAEK updated for every invoice. This is a duplication
1.In the case of goods produced in-house VPRS and Cost estimate both post to CO-PA.
2.KVMAEK comes from Cost Estimate.
3.In the CO-PA document we have an extra entry to value field VVMAT (in addition to KWMAEK).
kindly advice
Thansk
Sunitha
Maybe you are looking for
-
I am going to post one entry from F-90, which is related to my CWIP Asset. But while I am going to post the entry system gives me this error- **SYST: Abnormal termination (ANLB-LGJAN not equal to ANLC-GJAHR) Asset VALC0000019874790000** **Message no.
-
Yesterday, I had a problem with my iPad 3, iOS 6 which forced me to do a backup and then a restore. I backed up to my Mac via iTunes. The restore worked fine all my settings were the same EXCEPT all my installed apps were missing. Is this normal or d
-
Changing the color of the back of text
Hi I have some text in blue and when the camera pans around the back of the text its still blue, how do i change the back color only. Thanks
-
First Delivery Date in Sales Order
HI Gurus, I want First delivery date filed in the sales order, please guide me how to activate the field.Is it a configuration part or do i have to create a screen variant. Regards, Rahul
-
Essai gratuit convertisseur PDF en Word
Peut-on avoir une démonstration avant de s'inscrire pour un an d'abonnement au PDF convertisseur en word ?