I created a web app builder application and my data (shapefile data) is stored in the ArcGIS Online portal.But,I want to store my shapefiles data in database and access this data in ArcGIS Web AppBuilder application.
So please suggest how to do it.
The most out of the box way that I can think to move your shapefile data to a database is to use ArcGIS Enterprise.
ArcGIS Enterprise allows for the creation of Enterprise Geodatabases on an RDBMS instance, where your shapefiles, converted to feature classes, could be stored.
It would then be possible to create map services from your geodatabase data sources, which could be consumed by Web App Builder.
Alternatively, if you do not have access to ArcGIS Enterprise, you could periodically export the data from ArcGIS Online and update your local database and/or visa versa.