Skip to Content
avatar image
Former Member

ObjectIdentifierMapping WebService for external material No

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
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 13, 2016 at 02:41 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Just to keep track of the answer:

      Element Value Description InclusionExclusionCode I Include in the result set E Exclude from the result set IntervalBoundaryTypeCode 1 Equal to Single Value; = X 2 Between (excluding upper boundary) Interval with closed lower and open upper boundary; [X, Y) 3 Between Interval with open lower and open upper boundary; (X, Y) 4 Between (excluding both boundaries) Interval with open lower and open upper boundary; (X, Y) 5 Between (excluding lower boundary) Interval with open lower and closed upper boundary; (X, Y] 6 Less than Interval with unlimited lower and open upper boundary; < X 7 Less Than or Equal to Interval with unlimited lower and closed upper boundary; <= X 8 Greater Than Interval with open lower and unlimited upper boundary; > X 9 Greater Than or Equal to Interval with closed lower and unlimited upper boundary; >= X