Skip to Content
avatar image
Former Member

what is wrong with this Odata call ??

I am trying to call the Get method in 'SEGW' with the below Request URI but I am getting an error saying 'Malformed URI literal syntax' .I tired different ways but was unsuccessfull in calling the serivice>

/sap/opu/odata/SAP/************/C_TerminalInventoryTP(CreationDateTime='00000000000000',Plant='GP01',ExternalPlant='',Location='G1L1',SequenceNumber='Test1',Material='ARCH_MAT01',ExternalMaterial= ' ',DraftUUID=guid'40F2E963-AFF2-1ED7-83BC-2438505C03B2',IsActiveEntity=false)

Request your help and inputs.

Regards,

Giri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 28, 2017 at 10:55 AM

    Hello,

    Please correct the date format to datetime'2017-03-28T00:00:00.00' and send as below and check.

    Hope EDM type used is EDM.DateTime and ABAP type as DATE in your GW model.

    (CreationDateTime=datetime'2017-03-28T00:00:00.00',Plant='',ExternalPlant='',Location='',SequenceNumber='',Material='',ExternalMaterial= '',DraftUUID=guid'40F2E963-AFF2-1ED7-83BC-2438505C03B2',IsActiveEntity=false)

    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded