Dear Stata community,

I read a number of posts regarding gmm xtdpdsys and xtabond2 but unfortunately I am not achieving the expected outcomes.
Description of the situation point:
  1. I developed my GMM models using the following xtdpdsys code:
. xtdpdsys MTBV PFD CEOD PID LNBS LNTA DUMFOREIGNSTOCK DUMFOREIGNOWN NUMBLOCKHOLDERS, lags(1) maxldep(2) maxlags(1) twostep vce(robust) artests(2)
  1. According to some posts I read, I tryed the Hansen test using the following xtabond2 code:
. xtabond2 L(0/1).MTBV PFD CEOD PID LNBS LNTA DUMFOREIGNSTOCK DUMFOREIGNOWN NUMBLOCKHOLDERS, gmm(MTBV, lag(2 3)) iv(PFD CEOD PID LNBS LNTA DUMFOREIGNSTOCK DUMFOREIGNOWN NUMBLOCKHOLDERS, eq(diff)) h(2) robust twostep

In fact, I obtained the Hansen test but, despite the same number of instruments, the regress results from both codes are quite different.
Could please help me to correct the xtabond2 code in order to obtain the same results derived from xtdpdsys?
Thank you in advance!