Hi
I have created my service, and it was working fine - and did call a function in backend.
We did find a small mistake in our FM in backend, so we did change the structures in the TABLES parameters of the FM.
It was changed from
ET_PO_HEADER STRUCTURE EKPO
to
ET_PO_HEADER STRUCTURE EKAB
Now I got a syntax error in my gateway service "Class ZCL_ZGW_PURCHASE_OR_01_DPC was generated with syntax error".
The mehod looks like this:
method PURCHASEORDERSHE_GET_ENTITYSET.
*-------------------------------------------------------------
* Data declaration
*-------------------------------------------------------------
DATA et_po_header TYPE zif_zmm_get_po_from_contract1=>__ekab.
....
and the syntax error is: Type "__EKAB" is unknown
I guess the reason for the error is, that I did change the structure.
How do I update my class?
Earlier (in another project) I did try to: right-click on data model, and then Redefine - Odata.
But then I lost all, and I don't want that again.
Thanks
Aikon