Skip to Content
Former Member
Apr 09, 2008 at 07:50 AM

Offset in where clause of for all entries


Hi ,

I need to fetch VBELN from VBKD table based on Purchase order no which is fetched from a Z-table.So I am using for all entries with where condition as VBKD-BSTKD_M = Ztable-PONumber and fetching values from VBKD .But at times PO number in VBKD table can have additional things attached to it .

Eg Ztable-PO number = 12345678 , VBKD-BSTKD_M = 12345678-001 so I need to ignore the '-001' part and still fetch data from VBKD.So how can I do that.

Pls let me know if you have any ideas.

Thanks in advance,