Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Re: RFC_READ_TABLE where IN sentence

$
0
0

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!


Viewing all articles
Browse latest Browse all 8808

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>