How to check which Table & Field is populating Data source
Hi,
My requirment is to check from which Table and Which field the data is extracted in the data source
Data Source : 0MAT_PLANT_ATTR
Field in Data Source : MINBE
Now i want to check from where (Table/Field) in R/3 is populating the Field MINBE in Data source 0MAT_PLANT_ATTR
How can i do that
Hi,
Since you have the extract structure and the extractor, you can try Extractor Checker RSA3.Execute ST05 (activating SQL Trace), switch on the trace and execute the extractor checker. Once the extractor checker presents the results
switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to retrieve data and present it to you.
Note: Set the break point in the Extractor Function module.
View the ST05 Extended Trace list. The Object name shows the Tables accessed.
Hope this helps.
Thanks,
JituK
Similar Messages
-
How to check which table is used
After creating RFQ , i want to check which table is used in creating RFQ.
how can i see that data has gone or not into the database table.Hi
See the Table EKKO and EKPO only
with EKKO-BSTYP = A
Regards
Anji -
How to check which table is using my table
Hi,
I have a table say Temp_Rd.
How do I check which table is using my table Temp_Rd??
Which table is using my Temp_Rd as the dependencies in the sql database?
Thank you very much.Oops, pardon me for asking the questions unclearly.
Its like some table Foreign Key is references to my this table Temp_Rd.
Eg,
CONSTRAINT "FK_SomeTable" FOREIGN KEY ("ID")
REFERENCES "Temp_Rd" ("ID")
How do I know which are the some table?
I hope I explain it better this time.
Sorrie about it. -
How to populate internal table field with text data?
Hello Experts,
I was able to load text file to a internal table but data is not populating each field. Can someone help me how to populate each field of internal table from text file?
Here is the text file:
io_name, io_type, io_txsht, io_txlng, io_datatype, io_length
ZEA_IO1, CHA, IO Test, IO Test 1, CHAR, 20
ZEA_IO2, CHA, IO Test, IO Test 2, CHAR, 20
Here is the Code:
*& Report ZAS_BAPI_TEST *
*& InfoObject Creation through BAPI.
*& Read the Text file, call a BAPI to create InfoObjects. *
*& Text file will hold the Info Object Structure. Text file will be *
*& located either work station or local PC.
*& Step 1. Create internal table to hold InfoObject structure *
*& Step 2. Retrieve/Load text file into Internal Table structure *
*& Step 3. Call BAPI Function to Create IO *
*& Step 4. Call BAPI Function to Activate IO *
REPORT ZAS_BAPI_TEST .
Make data separator a comma
CONSTANTS: gc_tab TYPE c VALUE ','.
Declaring Internal table for creating InfoObject
DATA: p_file TYPE string.
DATA: BEGIN OF itab-bapi OCCURS 0,
io_name like BAPI6108-infoobject,
io_type like BAPI6108-type,
io_txsht like BAPI6108-textshort,
io_txlng like BAPI6108-textlong,
io_datatype like BAPI6108-datatp,
io_length like BAPI6108-intlen,
END OF itab-bapi.
DATA ibapi LIKE STANDARD TABLE OF itab-bapi.
PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
PUT THE TEXT FILE PATH TO P_FILE
p_file = sel_file.
Copy the file from the workstation to the server ****
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = SPACE
HEADER_LENGTH = 0
DAT_MODE = SPACE
CODEPAGE = SPACE
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
READ_BY_LINE = 'X'
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = itab-bapi[]
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
&1 &2 issued return code &3
ELSE.
pit_data[] = lit_data[].
ENDIF.
ENDIF.
loop at itab-bapi.
write: /5 itab-bapi-io_name,
20 itab-bapi-io_type,
30 itab-bapi-io_txsht,
50 itab-bapi-io_txlng,
75 itab-bapi-io_datatype,
85 itab-bapi-io_length.
endloop.
SELECT THE LOCATION FOR TEXT FILE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ''
def_path = 'C:\'
mask = ',Documentos de texto (*.txt), *.txt.'
mode = ''
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
find '.txt' IN p_file.
if sy-subrc <> 0.
concatenate p_file '.txt' into sel_file.
else.
sel_file = p_file.
endif.
Create InfoObject through BAPI Function
*CALL FUNCTION 'BAPI_IOBJ_CREATE'.
*IMPORTING
VALUE(DETAILS) LIKE BAPI6108 STRUCTURE BAPI6108
*EXPORTING
VALUE(INFOOBJECT) LIKE BAPI6108-INFOOBJECT
VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
TABLES
COMPOUNDS STRUCTURE BAPI6108CM OPTIONAL
ATTRIBUTES STRUCTURE BAPI6108AT OPTIONAL
NAVIGATIONATTRIBUTES STRUCTURE BAPI6108AN OPTIONAL
ATRNAVINFOPROVIDER STRUCTURE BAPI6108NP OPTIONAL
HIERARCHYCHARACTERISTICS STRUCTURE BAPI6108HC OPTIONAL
ELIMINATION STRUCTURE BAPI6108IE OPTIONAL
RETURNTABLE STRUCTURE BAPIRET2 OPTIONAL
Activate InfoObject through BAPI Function
CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
*ENDFORM. " RETRIEVE_DATASET
I appreciate your help.
Regards,
MauI have used tab delimited file.
Here are file contents
io_name io_type io_txsht io_txlng io_datatype io_length
ZEA_IO1 CHA IO Test IO Test 1 CHAR 20
ZEA_IO2 CHA IO Test IO Test 2 CHAR 20
And here is program used
*& Report ZAS_BAPI_TEST *
*& InfoObject Creation through BAPI.
*& Read the Text file, call a BAPI to create InfoObjects. *
*& Text file will hold the Info Object Structure. Text file will be *
*& located either work station or local PC.
*& Step 1. Create internal table to hold InfoObject structure *
*& Step 2. Retrieve/Load text file into Internal Table structure *
*& Step 3. Call BAPI Function to Create IO *
*& Step 4. Call BAPI Function to Activate IO *
REPORT ZAS_BAPI_TEST .
Make data separator a comma
CONSTANTS: gc_tab TYPE c VALUE ','.
Declaring Internal table for creating InfoObject
DATA: p_file TYPE string.
DATA: BEGIN OF itab-bapi OCCURS 0,
io_name like BAPI6108-infoobject,
io_type like BAPI6108-type,
io_txsht like BAPI6108-textshort,
io_txlng like BAPI6108-textlong,
io_datatype like BAPI6108-datatp,
io_length like BAPI6108-intlen,
END OF itab-bapi.
DATA ibapi LIKE STANDARD TABLE OF itab-bapi.
PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
PUT THE TEXT FILE PATH TO P_FILE
p_file = sel_file.
Copy the file from the workstation to the server ****
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
<b>FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'</b>
TABLES
data_tab = itab-bapi[]
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
&1 &2 issued return code &3
ELSE.
pit_data[] = lit_data[].
ENDIF.
ENDIF.
loop at itab-bapi.
write: /5 itab-bapi-io_name,
20 itab-bapi-io_type,
30 itab-bapi-io_txsht,
50 itab-bapi-io_txlng,
75 itab-bapi-io_datatype,
85 itab-bapi-io_length.
endloop.
SELECT THE LOCATION FOR TEXT FILE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ''
def_path = 'C:\'
mask = ',Documentos de texto (*.txt), *.txt.'
mode = ''
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
find '.txt' IN p_file.
if sy-subrc <> 0.
concatenate p_file '.txt' into sel_file.
else.
sel_file = p_file.
endif.
Create InfoObject through BAPI Function
*CALL FUNCTION 'BAPI_IOBJ_CREATE'.
*IMPORTING
VALUE(DETAILS) LIKE BAPI6108 STRUCTURE BAPI6108
*EXPORTING
VALUE(INFOOBJECT) LIKE BAPI6108-INFOOBJECT
VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
TABLES
COMPOUNDS STRUCTURE BAPI6108CM OPTIONAL
ATTRIBUTES STRUCTURE BAPI6108AT OPTIONAL
NAVIGATIONATTRIBUTES STRUCTURE BAPI6108AN OPTIONAL
ATRNAVINFOPROVIDER STRUCTURE BAPI6108NP OPTIONAL
HIERARCHYCHARACTERISTICS STRUCTURE BAPI6108HC OPTIONAL
ELIMINATION STRUCTURE BAPI6108IE OPTIONAL
RETURNTABLE STRUCTURE BAPIRET2 OPTIONAL
Activate InfoObject through BAPI Function
CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
*ENDFORM. " RETRIEVE_DATASET
This program is working fine. You can test it.
Only problem is as the column headings are big for some columns, they are getting truncated which you can always change by changing the column width in declaration
Please let me know if this helps.
ashish -
How to check which PSA is having more data
Hi,
I want to delete the PSA, and check which PSA is having huge space is occupied, from table RSTSODS we can check the availble psa`s how can we check PSA database.
we have to configure in db02 ?
Regards,
VamsiFor checking the which PSA having more data then run ST14 tcode for getting top 30 objects which has PSA also
in that case you have set a procedure to overcome that...by inlcuding those things in Process chain so that deletion will happen if the data gets older by certain days...if not you can go with any program where you can use FM's given SAP .. so that your system wont go into oversize... -
Hi Gurus,
Need some advice. In SM69, I could see a list of jobs define by SAP and also by the customer. SM69 refers to table SXPGCOTABE. When I view the table from SE16, it only shows the jobs define by SAP not by the customers. Could anyone tell me where is the job listed by customers define.
Thanks in advance,
IA.Hi aRs,
Table TBTCO refers to list of job schedule in SAP which is not something I wanted.
SM69 refers to external command. However when I went to table SXPGCOTABE (for SM69) it only refes to SAP define command.
Anyway, thanks. -
How to set table field mantatary in data dictinary?
how to set the table field mantatary in data dictinary?
exampl
null value not allowed.hi,
check this.
[https://forums.sdn.sap.com/click.jspa?searchID=19187532&messageID=2575276] -
How to access a field of an data source w/o binding a form field to it
Hi
This is a query regarding ADOBE print form.
How to access a record field (of an data source.... typical multi row records) where the record is bound to a subform.
Data is something like
(I have used abap parlance for understanding)
data : begin of data_tab occurs 0,
field1 type .....,
field2 type .....,
fieldm type .....,
fieldn type .....,
end of data_tab.
Subform is bound to
$.DATA_TAB.DATA[*]
How to access field1, field2,...... etc without creating subform fields and binding them to field1, field2, .... fieldn.
I know normal approach is to define subform fields and then bind it to $.field1, $.field2 etc
In the calculate event of a field bound to $.fieldm I have tried the following expressions to get the value of column fieldn of the same record but none of them worked.... Note that if I bind the field using $.fieldn data is displayed properly in the print form.
$record.data_tab.fieldn.value
$record.data_tab.data[*].fieldn.value
$record.data_tab.data.fieldn.value
$record.data_tab.fieldn.value
Otherwise I would have to define hidden fields just to use these column values in the event script even though these value are not to be displayed in the ADOBE print form.
Regards
AbapperI can't remember the exact sentence, but do a little search, as that is a common question in this forum....
How about:
$record.data_tab.data[1].fieldn.value
$record.data_tab.data[2].fieldn.value
$record.data_tab.data[2].fieldn.value
$record.data_tab.data[N].fieldn.value
Cheers. -
Fields missing from Data Source but displayed in RSA3
Hello Experts
I have an issue while finding for a field in the data source. As I am looking for some fields : MABST, MINBE, EISBE on BW Side but not found. When I llok the same fields in ECC Side in the table RSOSFieldmap, then I get these fields in 0MAT_PLANT_ATTR Data Source. In the same time , the fields are not available in the Data source on BW Side as well as on ECC Side(while goin thru RSA6). Also when I execute the RSA3 for the data source, I am getting the data in the Missing Fields. How it can be possible? Also plz let me know how can I make these fields available in Data Source.
I replicate the data source, also i looked for the hidden fields, but still not succeed.
Thanks in advance
NehaHello,
TO unhide the field,
Just Goto T.code RSO2 > press change button.> unhide the filds and --> Generate the Datasource
or
Goto RSA6 --> select the Datasource and --> press change button (pencil icon) --> unhide the filed --> Save and Generate the Datasource.
Try the above two option and check if it is working.
also go thru the below post
BI : Hidden field Datasource
Hope this helps,
Sri... -
How to find in which table field "DDTEXT" with entry "xyz"
How to find in which table field "DDTEXT" with entry "Item number in contract account document" exists.
There are too many tables with field name "DDTEXT"Refer:
Getting short text of data element -
How to find from which table we got the data
Hi friends ,
How can we find from which table we r getting data in the datasource.
I am getting data from crm system.based on that we created cubes and dsos.
we have only one datasource.now i need to know from which table we pull the data?
can any one give the procedure
Thanks in advance........
sridathHi,
Datasource / tables in the source system
Go to RSA2 (DS Repository) in your source system and display your source system.
If Extraction Method is 'V' - you are lucky and you see table name where data is taken from.
If it is F* - function module is used, and you have to go thru its code to see all the tables it uses and logic how data is
processed.
Ext. Meth Short text
V Transparent Table or DB View
D Fixed Domain Value
F1 Function Module (Complete Interface)
F2 Function Module (Simple Interface)
Q Extraction Using ABAP Query
A DataSource Append
OR
Since you have the extract structure and the extractor, you must have some transaction like the Extractor Checker RSA3. If so
then execute ST05, switch on the trace and execute the extractor checker. Once the extractor checker presents the results
switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to
retrieve data and present it to you.
Hope this helps.
Thanks,
JituK -
How to check the tables we have created in JDBC??
I have created a table called COFFEE2 in a datasource called temp which is in SQL server...How to check the table values??
i went into administrative tools and odbc cource then i could see the data source i have created but how to see the table??
Can anyone help??
thanxHmm.. not sure that I understand the problem.
Call getConnection on the DataSource, and then execute the select query on the connection.
Kaj -
How to check a checkbox field value in fw9 PDF form
Hi,
I got a PDF given form IRS (http://www.irs.gov/pub/irs-pdf/fw9.pdf). While creating a widget to this pdf form to sign it, I merged the custum data to those PDF form fields using API setMergeFields.
All the data fields are merged fine except the checkboxes. I tried by passing the values to the merge_fields array as 'On', '1', 'checked', 'checkbox(checked)' but no luck
What is wrong here in checking the chexbox field in this fw9 PDF or How to check a checkbox field in a form?
Thank you,Hi Simon,
I re-added and edited the fields of fw9 form by pdf printer. While doing so, I made fields as ready only so that, the data cannot be edited in the form through the widget but will be merged the data to fields only be the code. Wherein Im using the widget only for signature but not for form filling.
Here, Im able to merge my custom data to all fields while creating widget but not to the fields of checkboxes. The checkboxes fields which are made ready-only are not allowing me to merge the value as checked by the API.
Please help me,
Thanks you, -
Which table/field can indicate the localization?
which table/field can indicate the localization( us or uk or china etc)?
and which abbreviation indicate the full corresponding country name, or you direct me how to find the related resouce?
thanks in advance!Hi Lui
You can have a look in oadm, has country in there.Then in your SBO Common look at table SLSD to know which country in words and not abbreviations.
Jope this helps -
Which table field I can confirm if the PO has done invoice receipt
Hi,
From which table field, I can confirm the PO has done invoice receipt. and in case of that with reference a PO, I have done the IR, but it was reversed, which means PO has not done invoice receipt.
For this case, I don't want to read table EKBE to retrieve the invoice number, the read table RBKP to judge if there is a reverse IR for it.
If there any status table field which indicate if the PO has done invoice receipt.
Many thanks,
AriesHi Raj,
For invoice receipt and credit memo, EKBE-BEWTP is all set with 'Q', so if there is reversed invoice. Also you can retrieve data from EKBE. But actually the PO also needs a invoice receipt. So it can not meets the requirement.
Regards,
Aries
Maybe you are looking for
-
ASA 5505 switch from Mode: access Port to Trunk on the fly via CSM ?
Hi Can I configure the Port at the ASA 5050 from Mode: access Port to trunk during the FW is running in a production area without console access ? As I know at the 5505 ist should work sincerley Alfred
-
IPhone 4S does not sync with iTunes windows
Hello I recently upgraded to an iphone 4S from a iphone 3GS. The new phone was restored with my 3GS settings, apps, etc. For some recent Iam able to sync with my iphone 3GS and my iTunes library (cabled) and all songs are successfully sync'd. I am
-
Hi Gurus, Good day. I have designed a screen in SE38 which has 2 tabs. Each tab contains 12 fields. According to the sales organization number corresponding tab will appear. I am very much new to BAdI. Just i can find the BAdI. Now please tell me in
-
G4 400 - USB 2.0?
I'd like to get an ipod, but, it requires that my Mac have a USB 2.0 port. All my manual says is that I have 2 USB ports, not whether or not they're version 2.0. Anyone know if I can use an ipod with this machine? Thanks.
-
Changing Sort Order in Smart Album when Looking for Roll Name=Corruption
We've confirmed via testing and from new posters that changing the sort order in a Smart Album who's criteria is to look for a roll name will cause iPhoto to crash and then crash upon launch after that. So to avoid corrupting your library do not chan