on 03-02-2016 7:19 AM
Hello Gurus,
I am trying to map QUERY operation. but facing HTTP/500/E/Internal Server Error, When I checked the DPC class I found that the following error (in image)is raising this HTTP 500 error:
I guess it it not taking the correct structure from MPC... May be.. but Need some clarity how this error is coming each time I regenerate the service...
I solved the error by placing correct structure in code above(as suggested by error) but again when I regenerate the service it come back to error stage.
please guide.
Thanks in advance,
Pavan G
Hi Pavan,
zif_zmbo_bapi_farmer_geotag_3 is an interface which service builder creates as soon as we import our function module by creating types for all the fields and structures/tables of the function module.
The same is used while generating the code after we perform input/output mapping for read/Query operation in implementation section.
In SE24 did you check if that interface zif_zmbo_bapi_farmer_geotag_3 has zbapi_farmer_geo_dis ?
Did your try to generate artifacts by creating model by importing function module allover again and perform mapping ?
Please check doing this.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1.Delete that interface in SE24
2.Delete your Entity and Mappings done as part of implementation.
3.Import the FM freshly, Create Model and Perform Mapping.
I had to carry out point 2. and point 3 only... but still error is there.. I even create a new data model specifically for create operation but no success/...
I am afraid that once the point 1 is carryout out(delete interface) I would be getting alot of error as the artifact is referred @ other places as well..
..
Can you suggest a workaround.??
Thanks,
Pavan G
OK. Seems a big u-turn to me .
Actually I figured out that the Run-Time artifacts are not getting updated....
I first mapped Display bapi so it is taking that strct in interface only.. and not considering the create operation struct. on regeneration and give error at end which is shown earlier.
Hello Pavan,
If you are manually writing your code without mapping then are you getting the same error?
~Rahul
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.