cancel
Showing results for 
Search instead for 
Did you mean: 

Insert in a multivalue qualified field

Former Member
0 Kudos

Hi,

I'm trying to insert a record with a multivalue qualified field without success.

I can insert a first value in that field but if i insert other value i got an error.

Someone have a sample code?

I use the new Java Api.

Regards

Andrea

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks,

i was wrong with the logic thanks 4 ur help:

Regards

Andrea

Former Member
0 Kudos

Thanks Krutarth,

I use yet QualifiedLookupValue for add the first value, but i use it to add other value i got an error.

Any idea?

Regards

Former Member
0 Kudos

Hi Andrea,

You could make each a single-valued lookup field of the qualified table and define fields whose values are different for each main table record as qualifiers. The qualified table will contain a record for each combination of lookup values, and will support multi-level search-within-a-search in the qualified lookup search tab in the main table.

Moreover,a qualified table used for multiple prices, cross-reference part numbers, or other distributor-specific information usually contains few, if any, lookup fields and multiple qualifiers.

In practice, the use of qualifiers and a qualified table instead of normal fields and a subtable keeps the number of actual records in the qualified table very small, but since every link between a main table record and an instance of a qualified table record contains additional information, the number of qualified link table records necessary to store the additional information is very large, often larger than the number of records in the main table itself.

Along wiith That JAVA API library link you could please visit the URL

[This URL|http://help.sap.com/saphelp_mdm550/helpdata/en/42/c2179f56801d66e10000000a1553f6/content.htm]

For safe side i'd like to insist you to check whether the Qualified you selected/declared is MULTIVALUED if yes,then for multiple value assigning you need to separe the value by pipe (|).

Hope it'l help you.

Best Regards,

Krutarth

Former Member
0 Kudos

Hi Andrea,

I hope this URLs will be helpful to you.

[http://help.sap.com/javadocs/MDM/SP04/com/sap/mdm/valuetypes/QualifiedLookupValue.html]

[http://help.sap.com/saphelp_mdm550/helpdata/en/43/6d52ffffa330f3e10000000a11466f/content.htm]

Best Regards,

Krutarth