Query skip leading zeros where as in direct SAP it got leading zeros so there was difference in both the output.
Because of conversion exit applied for that specific field it gives different output
1. Open the script which downloads the field without leading zeroes.
2. Go to the 'Workspace' tab.
3. Next click on the button 'Conversion Exit' on the top ribbon bar. (Please refer to the attached screenshot for reference.)
a. Press 'Ok' on the pop-up.
b. check the checkbox against the field 'MARM-EAN11'
c. click on 'Apply'.
4. Now run the scenario.
It will resolve the issue.