2010 May 21 10:04 AM
Hi All,
I need syntax to select data from a table which will have a nested select query.
mblnr mjahr zeile matnr werks sjahr smbln
4900000276 2010 0001 000000000000000131 1000 0000
4900000277 2010 0001 000000000000000131 1000 0000
4900000278 2010 0001 000000000000000131 1000 2010 4900000277
4900000279 2010 0001 000000000000000131 1000 2010 4900000276
4900000280 2010 0001 000000000000000131 1000 0000
I want if I input material no as input I should get o/p as one row which is 4900000280.
I need to skip those records where sjahr,smbln contains any value and also the value it contains should not be selected as smbln contains 4900000277 and 4900000276 as mblnr.
Regards,
Anil N.
2010 May 21 10:11 AM
Hi, Anil
Please get F1 help of Select and find out the Sub Query Example. It will solve out your problem.
Best Regards,
Faisal