cancel
Showing results for 
Search instead for 
Did you mean: 

ObjectIdentifierMapping WebService for external material No

ognian_kalaydjiev4
Participant
0 Kudos

Hi All,

I am trying to check what is internal UIID for product in C4C.

For this I have been created web-service using ObjectIdentifierMapping. Using action : QueryByElements.

I have figured out some working request . But I do need some help for find out proper Query Parameters :

For example :

<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>

  • I assume that 1 = EQ but this is just an assumption . Where I can find what are possible values ?
  • In section ByLocalObjectNodeReferenceObjectNodeTypeCode, I found out that 1507-1 returns materials , But how can I be sure that this is true. Is it system depended or it is true for C4C?

            <SelectionByLocalObjectNodeReferenceObjectNodeTypeCode>

               <InclusionExclusionCode>I</InclusionExclusionCode>

               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>

               <LowerBoundaryObjectNodeTypeCode>1507-1</LowerBoundaryObjectNodeTypeCode>

            </SelectionByLocalObjectNodeReferenceObjectNodeTypeCode>

  • In ERP Material is size 18, so how exactly ObjectIdentifierMapping keeps the external number so that the query finds correctly the number?

See the full request and response for details.

Thanks in advance Ognian

Request:


<soap:Body>

      <glob:ObjectIdentifierMappingQueryByElementsSimpleByRequest_sync>

         <ObjectIdentifierMappingSimpleSelectionBy>

            <SelectionByLocalObjectNodeReferenceObjectNodeTypeCode>

               <InclusionExclusionCode>I</InclusionExclusionCode>

               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>

               <LowerBoundaryObjectNodeTypeCode>1507-1</LowerBoundaryObjectNodeTypeCode>

            </SelectionByLocalObjectNodeReferenceObjectNodeTypeCode>

             <SelectionByRemoteObjectID>

               <InclusionExclusionCode>I</InclusionExclusionCode>

               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>

               <LowerBoundaryRemoteObjectID >*30000024</LowerBoundaryRemoteObjectID>

            </SelectionByRemoteObjectID>

         </ObjectIdentifierMappingSimpleSelectionBy>

      </glob:ObjectIdentifierMappingQueryByElementsSimpleByRequest_sync>

   </soap:Body>

Response:


   <ObjectIdentifierMapping>

            <LocalObjectNodeReference>

               <UUID>00163e15-f7ec-1ee5-bb85-9cd86d73b9ed</UUID>

               <ObjectTypeCode>1507</ObjectTypeCode>

               <ObjectNodeTypeCode>1507-1</ObjectNodeTypeCode>

            </LocalObjectNodeReference>

            <LocalObjectNodeReferenceObjectTypeName>Material</LocalObjectNodeReferenceObjectTypeName>

            <LocalObjectNodeReferenceObjectNodeTypeName>Material</LocalObjectNodeReferenceObjectNodeTypeName>

            <RemoteBusinessSystemUUID>00163e0f-1e4b-1ee5-b0f0-f06028aa42fa</RemoteBusinessSystemUUID>

            <RemoteIdentifierDefiningSchemeCode>20</RemoteIdentifierDefiningSchemeCode>

            <RemoteIdentifierDefiningSchemeName>Material ID (Internal Format)</RemoteIdentifierDefiningSchemeName>

            <RemoteObjectID>000000000030000024</RemoteObjectID>

            <OriginTypeCode>3</OriginTypeCode>

            <OriginTypeName>Automatic Creation in Inbound</OriginTypeName>

         </ObjectIdentifierMapping

Accepted Solutions (1)

Accepted Solutions (1)

former_member186648
Active Contributor
0 Kudos

Hi,

Open this link: http://help.sap.com/saphelpiis_studio_1508/studio_od_1508.pdf

and search for "IntervalBoundaryTypeCode" to know the information.

Response data is from the Webservice , hence it depends on which tenant the Webservice is configured.
If the webservice is from C4C, then webservice would be created on a BusinessObject.
So, whey you execute the webservice it will inturn execute the BusinessObject Query and get the response from it.

Thanks, Pradeep.

ognian_kalaydjiev4
Participant
0 Kudos

Just to keep track of the answer:

ElementValueDescription
InclusionExclusionCodeIInclude in the result set
EExclude from the result set
IntervalBoundaryTypeCode1Equal to Single Value; = X
2Between (excluding upper boundary) Interval with closed lower and open upper boundary; [X, Y)
3Between Interval with open lower and open upper boundary; (X, Y)
4Between (excluding both boundaries) Interval with open lower and open upper boundary; (X, Y)
5Between (excluding lower boundary) Interval with open lower and closed upper boundary; (X, Y]
6Less than Interval with unlimited lower and open upper boundary; < X
7Less Than or Equal to Interval with unlimited lower and closed upper boundary; <= X
8Greater Than Interval with open lower and unlimited upper boundary; > X
9Greater Than or Equal to Interval with closed lower and unlimited upper boundary; >= X

Answers (0)