Hi again Flavio!
Let me get you a bottle of the finest tequila from here Mexico.
Another issue is comin up. I'm sure its possible just that i have not figured it out. Maybe you can help me.
I want to pull from the SAP database the new Part Numbers recently added compared to the Data Base i have, I think the close answer would be to first search open PN with the same begin/end reference. And in the second place excluding the ones i have. For the first step normally in SAP i can put on lthe MATNR line: *00070000*, and SAP retrieves the complete PN with this begin/end reference. So im thinkin this could be posible:
objOptTab.Rows.Add
objOptTab(objOptTab.RowCount, "TEXT") = "MATNR EQ '*00070000*' AND ("
eljuntos=""
while...
eljuntos = eljuntos & "MATNR NOT '" & myMaterialNumber(i) & "
objOptTab.Rows.Add
objOptTab(objOptTab.RowCount, "TEXT") = eljuntos
eljuntos = " OR "
loop
ObjOptTab.Rows.Add
objOptTab(objOptTab.RowCount, "TEXT") = ") AND WERKS EQ '7034'
It is possible?
Tell me im not dreaming please!
Many thanks!