2009 Dec 17 5:48 AM
Hi,
it is possible to extract data from maintenance table?
for ex, i want to check the combination of company code and plant in V__T001K_ASSIGN (SAP standard View).
i want to extract the plant code (WERKS) with the company code (BUKRS) as the extraction condition.
But i am not able to extract the data since it is a maintenance view and not the data base table.
can any body help?
Regards
I saw your posted comment. I recommend responding to newer questions. The author of the original question is no longer active in the community and won't receive your query. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.
Thanks!
2009 Dec 17 5:58 AM
You may need to use fm VIEW_GET_DATA. SAP doesn't allow SELECT query on maintenance view
a®
2009 Dec 17 8:47 AM
Try this out,
CALL FUNCTION 'VIEW_GET_DATA'
EXPORTING
view_name = 'V_TVTA_KFV'
TABLES
data = it_bus_area.
V_TVTA_KFV - View from which data is to be extractted
it_bus_area - internal table into which data will be extracted (DATA: it_bus_area TYPE TABLE OF V_TVTA_KFV,)
Hope this helps u.
Regards,
Abhijit
2009 Dec 17 8:57 AM
DATA: itab TYPE STANDARD TABLE OF V_T001K_ASSIGN.
CALL FUNCTION 'VIEW_GET_DATA'
EXPORTING
VIEW_NAME = 'V_T001K_ASSIGN'
TABLES
DATA = itab
.
2010 Oct 21 11:34 AM
2022 Sep 19 7:09 AM
Thanks 4 you Info.
This showes me again how sick sap abap is...compleatly insane logik.
2022 Sep 19 9:07 AM
2022 Sep 19 2:07 PM
I saw your posted comment. I recommend responding to newer questions. The author of the original question is no longer active in the community and won't receive your query. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.
Thanks!
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |