Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZREST_UTIL has Corelation ID always set as 0 for servicebus POST #46

Closed
smithesht opened this issue Nov 7, 2019 · 5 comments · Fixed by #81
Closed

ZREST_UTIL has Corelation ID always set as 0 for servicebus POST #46

smithesht opened this issue Nov 7, 2019 · 5 comments · Fixed by #81

Comments

@smithesht
Copy link

Transaction ZREST_UTIL has Corelation ID always set as 0 for service bus POST scenario and there is always only one entry in ZREST_UTIL as a result of this. I did some debugging and figured that the problem is in method SET_GUID of class ZCL_REST_FRAMEWORK. The return parament "GUID" never gets populated with any value within the method SET_GUID but the calling program of the method is expecting a value to be returned and the returned value is being used for further processing which happens to be null in this scenario.

@krdash
Copy link
Contributor

krdash commented Nov 8, 2019

Hello @smithesht - Thanks for reaching out to us on your query. Please could you check what value is maintained in 'REPROCESS' field of Table 'ZADF_CONFIG'. It should be left blank and this field is reserved for future versions use. Thanks, Krishna

@smithesht
Copy link
Author

Yes, I changed the 'REPROCESS' field as blank in table 'ZADF_CONFIG' and did not fix the issue. Looks like the resolution is to make 'REPROCCESS' table field blank and also make a minor change to the method SET_GUID of class ZCL_REST_FRAMEWORK by populating value into return parameter 'GUID'. I have made this change in my instance of code and seems to have fixed the issue.
image

@krdash
Copy link
Contributor

krdash commented Nov 12, 2019

Thanks @SmithaB - Smitha for sharing the correction and feedback. Please could you share a pull request for the commit. We are also in the process of testing the same in our staging environment as it seems there is some difference in version of the code in master branch with our staging environment. Thanks, Krishna

@smithesht
Copy link
Author

I am not sure how to share a pull request. I use the offline version of ABAPGit.

@larshp
Copy link
Contributor

larshp commented Nov 12, 2019

hi, depending on the size of your change, you can either do the changes online, https://help.github.com/en/github/managing-files-in-a-repository/editing-files-in-your-repository

or use abapGit to download the package as zip, extract the zip, and use a normal git client from there

bigld added a commit to cadaxo/ABAP-SDK-for-Azure that referenced this issue Jun 5, 2020
fixes microsoft#46
changes handling of message id creation new/retry
Adjust Service Bus demo report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants