Skip to Content
avatar image
Former Member

Passing parameters using an odata in Web IDE

Sorry if this has been discussed before but I searched and couldn't find an answer. I'm new to Web IDE and trying to build a project from a template in Web IDE. Another developer created an OData which I connected to and tells me I have to pass in the invoice number to retrieve the data. I've tried creating a New Configuration and adding the invoice parameter and value in there but it doesn't work. He's saying the URI should be something like the ones below but how do I pass in the invoice number to get the invoice details when I run the project?

/sap/opu/odata/sap/ZMM_PO_DTLS_SRV/POHeaderSet('3000040127')

/sap/opu/odata/sap/ZMM_PO_DTLS_SRV/POHeaderSet(Purchaseorder='3000040127')

/sap/opu/odata/sap/ZMM_PO_DTLS_SRV/POVendorSet(Purchaseorder='3000040127',VendorFlag='X')

/sap/opu/odata/sap/ZMM_PO_DTLS_SRV/POItemSet?$filter=Purchaseorder eq '3000040127'

Thanks,

Arya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 21, 2015 at 01:18 PM

    Hi @Alex AvizovFormer Member

    Former Member

    Former Member

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2015 at 02:32 PM
    Add comment
    10|10000 characters needed characters exceeded

    • Hello Arya,


      I am not sure I am fully understood your use case. Do you have navigation between 2 entity sets or no?

      if yes,  please verify that they are working.

      Basically, URL parameters are parameters that added to URL after the "?" mark sign and they are not replacing the standard ODATA navigation mechanism.

      In standard master detail template the navigation between master to details is with hash parameters, for example: 

      #&/detail/SalesOrders('SalesOrderNumber%202')


      Thanks Alex