Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Sy-subrc fails due to logic, need to change the logic

$
0
0

Hi All,     In my ALV report clint need some changes, actualy preiously it fetching the data from lfb1 and lf1 thryu select query, and lifnr of lfb1 compare with third table ekko lifnr, so those data match with ekko those data only showing in output. But now client want those data also which not match with ekko table for that bukrs. Means he needs almost all data which belong to perticular bukrs, so while debugging my sy-subrc fails when it reach to ekko table coz system did not get data with maitching records. So please help me out with logic so that all the lfb1 lifnr will show in the output either data is match with ekko or not, actualy he did not bother regarrding other fields in out put , he want if there is no data in other fields of out still it has to show lifnr and name1 for that bukrs, so all the data related with that bukrs need to show. Here i am attaching my code also so it will easy to understand process. Thanks and Regards Sankil Pandya


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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