Regarding techanical attributes in the data base tables
hi gurus,
cud u plz let me know what will happen if i select buffering not allowed and in buffering type i selected single record buffering,,is it going to work...thnx in advance......pl;z reply in your words dont copy and paste it form sap library........
These are the Technical Settings of database table and not Technical Attributes.
<b>Technical Attributes implies, DATATYPE, SIZE etc....</b>
<b>Buffering status</b>
Definition
The buffering status specifies whether or not a table may be buffered.
This depends on how the table is used, for example on the expected
volume of data in the table or on the type of access to a table. (mainly
read or mainly write access to the table. In the latter case, for
example, one would not select buffering).
You should therefore select
- Buffering not allowed if a table may not be buffered.
- Buffering allowed but not activated if buffering is
principally allowed for a table, but at the moment no buffering
should be active. The
buffering type specified in this case is only
a suggestion.
- Buffering allowed if the table should be buffered. In this
case a buffering type
must be specified.
Regards,
Pavan
Similar Messages
-
Function module updating the data base table
Hi,
This post is regarding the function module not updating the data base table.
I am calling the FM SD_SHIPMENT_HEADER_CHANGE inside the ZFM. It's returning success an changing the table c_xvttk_new with the new TDLNR value. But it's not updating the Shipment table VTTK-TDLBR or VT02N Forwarding agent.
When I directly updating Forwarding agent in VT02N it's updating fine.
Please let me know what the extra step need to be included to update or COMMIT the FM for updating
Forwarding Agent(VTTK-TDLNR).
Best Regards,
Maheshhi friend,
This link wont five u the complete help but if u ananyse it then it might provide u some idea......
BAPI change shipment doc
regards
kanishak -
How to know who has created a particular record in the data base table
Hi All...
Can any one tell me how to track the information about who has entered the records in to the data base table....
Thanks in advance...You could check the Created By and Created On fields if your tables contains these fields.
OR
You could check the table DBTABLOG if table logging is enabled for the table
OR
You could check the Change document tables CDHDR and CDPOS.
-Kiran
Please mark useful answers -
How to update the data base table with data
i have two ztables, one is zfm_kfz and other one is zfm_kmvrg
zfm_kfz is maintained by using table maintenance generator as well as alv grid control for list display.
zfm_kfz the field r like this KFZR, GERAET, KOSTENTRAEGER, BEZEICHNUNG, TUVDATUMMMYYYY, ASUDATUMMMYYYY, KMSTAND, HISTO AND REIFEN.
PROBLEM: all the data in grid control r updated except KMSTAND
fields in zfm_kmvrg are kostentraeger, kfznr and kmstand i m creating table control for this screen here what ever enter the last km stand is updated in the list.for one kfznr many kostentraegers and kmstand, the last km stand is updated here , go through this code plz hepl me
CONTROLS tabctrl TYPE TABLEVIEW USING SCREEN 100.
DATA: cols LIKE LINE OF tabctrl-cols,
lines TYPE i.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.
DATA: itab TYPE TABLE OF zfm_kmvrg,
fs_itab LIKE LINE OF itab,
fl_change TYPE c,
fl_error TYPE c.
*TABLES fs_itab.
LOOP AT tabctrl-cols INTO cols.
cols-screen-input = '0'.
MODIFY tabctrl-cols FROM cols INDEX sy-tabix.
ENDLOOP.
*SELECT * FROM spfli INTO TABLE itab.
CALL SCREEN 100.
MODULE status_0100 OUTPUT
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_101'.
DESCRIBE TABLE itab LINES lines.
tabctrl-lines = lines.
ENDMODULE. "status_0100 OUTPUT
MODULE cancel INPUT
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE. "cancel INPUT
MODULE read_table_control INPUT
MODULE read_table_control INPUT.
MODIFY itab FROM fs_itab INDEX tabctrl-current_line.
ENDMODULE. "read_table_control INPUT
MODULE user_command_0100 INPUT
MODULE user_command_0100 INPUT.
DATA:
lw_index TYPE i.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'ADD'.
LOOP AT tabctrl-cols INTO cols.
cols-screen-input = '1'.
MODIFY tabctrl-cols FROM cols INDEX sy-tabix.
ENDLOOP.
CLEAR fs_itab.
APPEND fs_itab TO itab.
WHEN 'SAVE'.
IF NOT itab[] IS INITIAL.
LOOP AT itab[] into FS_ITAB.
lw_index = sy-tabix.
IF NOT fs_itab IS INITIAL.
MODIFY ZFM_KMVRG FROM fs_itab.
IF sy-subrc EQ 0.
UPDATE ZFM_KFZ set kmstand = fs_itab-kmstand
WHERE kfznr = fs_itab-kfznr.
ELSE.
fl_error = 'X'.
WRITE:/ 'The record number', lw_index,
'has not been updated'.
ENDIF.
ENDIF.
ENDLOOP.
ELSE.
MESSAGE s000(0) WITH 'No data is present to update'.
ENDIF.
ENDCASE.
IF fl_error = 'X'.
LEAVE TO LIST-PROCESSING.
ELSE.
MESSAGE s000(0) WITH
'All the records have been updated successfully'.
ENDIF.
ENDMODULE. "user_command_0100 INPUT
IN SE51
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT ITAB INTO fs_itab WITH CONTROL tabctrl.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
LOOP AT ITAB.
module read_table_control.
ENDLOOP.
module user_command_0100.
i m trying many times i m not getting proper output, plz help me on thisHi,
I am hereby givng the similar sample code.Check this with your requirement.
In the flow logic of the screen 9000, write the following code.
PROCESS BEFORE OUTPUT.
MODULE set_status.
MODULE get_t_ctrl_lines.
LOOP AT i_makt WITH CONTROL t_ctrl CURSOR t_ctrl-current_line.
* Dynamic screen modifications
MODULE set_screen_fields.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT i_makt.
FIELD i_makt-pick MODULE check.
FIELD i_makt-zmatnr MODULE zmatnr .
ENDLOOP.
MODULE user_command_9000.
In the program, write the following code.
PROGRAM SAPMZTC MESSAGE-ID zz.
* Tables Declaration
TABLES: zzz_makt.
* Internal table Declaration
DATA : i_makt TYPE STANDARD TABLE OF zzz_makt WITH HEADER LINE.
* Table control Declaration
CONTROLS: t_ctrl TYPE TABLEVIEW USING SCREEN '9000'.
* Variable Declaration
DATA : flg, "Flag to set the change mode
ln TYPE i. "No. of records
*& Module get_T_CTRL_lines OUTPUT
* Populating data
MODULE get_t_ctrl_lines OUTPUT.
SELECT zmatnr zmaktx
INTO CORRESPONDING FIELDS OF TABLE i_makt
FROM zzz_makt.
DESCRIBE TABLE i_makt LINES ln.
* To make the vertical scroll bar to come on runtime
t_ctrl-lines = ln + 100.
ENDMODULE. " get_T_CTRL_lines OUTPUT
*& Module USER_COMMAND_9000 INPUT
* Triggering event according to the user command
MODULE user_command_9000 INPUT.
DATA :lv_fcode LIKE sy-ucomm, "Function Code
lv_answer(1) type c. "Storing the answer
lv_fcode = sy-ucomm.
CASE lv_fcode.
WHEN 'CHANGE'.
* Setting the flag to make the table control in editable mode[excluding
* primary key].
flg = 'Y'.
WHEN 'DELETE'.
* Setting the flag to make the table control in editable mode after
* deleting the selected line
flg = 'Y'.
* Confirmation of delete
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Confirm'
text_question = 'Are you sure to delete from database?'
TEXT_BUTTON_1 = 'Yes'(001)
TEXT_BUTTON_2 = 'No'(002)
IMPORTING
ANSWER = lv_answer.
if lv_answer eq '1'.
* Updating the database table from the internal table
UPDATE zzz_makt FROM TABLE i_makt.
* Deleting the selected row from the internal table
DELETE i_makt WHERE pick = 'X'.
* Deleting the selected row from the database table
DELETE FROM zzz_makt WHERE pick = 'X'.
MESSAGE s005 WITH 'Deleted Successfully'.
ENDIF.
WHEN 'SAVE'.
* Inserting new record or updating existing record in database table
* from the internal table
MODIFY zzz_makt FROM TABLE i_makt.
MESSAGE s005 WITH 'Saved Successfully'.
WHEN 'BACK'.
SET SCREEN '0'.
WHEN 'EXIT' OR 'CANCEL'.
* Leaving the program
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module set_screen_fields OUTPUT
* Setting the screen fields
MODULE set_screen_fields OUTPUT.
LOOP AT SCREEN.
IF flg IS INITIAL.
screen-input = 0.
ELSEIF ( flg EQ 'Y' ).
IF ( ( screen-name = 'I_MAKT-ZMAKTX'
OR screen-name = 'I_MAKT-CHECK1' )
AND t_ctrl-current_line LE ln ) .
* Making the screen fields as editable
screen-input = 1.
ELSEIF ( ( screen-name = 'I_MAKT-ZMATNR' )
AND t_ctrl-current_line LE ln ).
* Making the screen field as uneditable
screen-input = 0.
ENDIF.
ENDIF.
* Modifying the screen after making changes
MODIFY SCREEN.
ENDLOOP.
ENDMODULE. " set_screen_fields OUTPUT
*& Module zmatnr INPUT
* Appending records to the internal table
MODULE zmatnr INPUT.
MODIFY i_makt INDEX t_ctrl-current_line.
IF t_ctrl-current_line GT ln.
READ TABLE i_makt WITH KEY zmatnr = i_makt-zmatnr.
IF sy-subrc NE 0.
* Inserting record if it does not exist in database
APPEND i_makt.
ELSE.
MESSAGE i005 WITH 'Material Number' i_makt-zmatnr 'already exists'.
ENDIF.
ENDIF.
ENDMODULE. " zmatnr INPUT
*& Module set_status OUTPUT
* Setting the GUI status
MODULE set_status OUTPUT.
SET PF-STATUS 'ZSTATUS'.
SET TITLEBAR 'ZTITLE'.
ENDMODULE. " set_status OUTPUT
*& Module CHECK INPUT
* Modify the internal table using the current line in table control
MODULE check INPUT.
MODIFY i_makt INDEX t_ctrl-current_line.
ENDMODULE. " CHECK INPUT -
Fields of the data base tables
Hi ABAP Gurus,
i am developing an sd module report and in that my input fields are fkdat,
vbeln,
kunag,
fkart.
and output fields are :
1) vbeln
2) kunag
3) name1
4) fkart
5) description of fkart
6) netwr
7) excise
8) ecs
9) schess
10) excise + ecs + schess = total ex received
11) fi doc
12) fi year
13) exnum
14) exdat
15) excbed
16) ecs_py
17) schess_py
18) 151617 = total ex_py
19) fi doc ex
20) fi year ex
these fields i want in my output but can any one tell me which fields will appear in which table and the links among these tables
i know some tables : vbrk,vbrp,konv,j_1ipart2,j_1iexchdr.
pls help me .it's urgent .Hi,
Retrive data from VBRK and VBRP Tables.
From Billing u can find all the Values.
Check invoice in VF03.
KONV is for condition types .
Based on KSCHL for condition types and kawrt for values.
Thjese 2 fields important for getting tax values.
Regards,
Narasimha
Edited by: narasimha marella on Jun 11, 2008 9:12 AM -
How to see all the data base tables in sap
hi all,
i wanted to see the table ALBTCMON but i cannot and i want to know how to activate a table?
thanks for your time
chanduHai,
Why do you want to create a Table?
More over the table ALBTCMON you have mentioned should not be created because SAP allows only Tables with names starting with 'Y' or 'Z'.
Also you should know the fields, Developement class, etc., before creating the Table in SAP.
Please check the below link to create Table in SAP.
http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
Use Tcode SE11 to activate your table.
Regards,
Yoganand.V
Edited by: Yoganand Vedagiri on Dec 29, 2008 12:15 PM -
Va02 screen input first save it has to update the data base table
I am working on VA02.
For only one user(delivery block)should be block and when we are changing in sales order document for that user it has to update the VBAK table.
for second save i'm able to updating but i want to update at first save only.
thanks,
sree.I want to update the DB table VBAK. and the user exit is:
here is my coding: my requirement is to block a field i.e LIFSK in va02 and after saving that and i have checked vbak table then in lifsk the blocked db is updated IN TABLE CONTENTS.LATER IF I SAVE IT ANOTHER TIME WITHOUT ANY MODIFICATIONS THE FIELD IS NOT UPDATED.
now the problem is with updation .i have blocked the field.
Please help me its urgent
FORM USEREXIT_MOVE_FIELD_TO_VBAK.
tables: knkk.
if not vbak-kunnr is initial.
if vbak-auart NE 'ZFD' and
vbak-auart NE 'ZCR2' and
vbak-auart NE 'ZRE' and
vbak-auart NE 'ZSD'.
select single * from KNKK
where KUNNR = vbak-kunnr
and KKBER = '8000'.
if sy-subrc = 0.
clear vbak-LIFSK.
ENDIF.
IF NOT SY-UNAME = 'FINCOMM1' AND SY-TCODE = 'VA02'.
SELECT SINGLE LIFSK FROM VBAK INTO LIFSK1 WHERE VBELN = VBAK-VBELN.
IF LIFSK1 NE ' '.
vbak-LIFSK = ' '.
ELSEif vbak-auart eq 'ZCR2'.
vbak-LIFSK = 'Z1'.
ELSE.
vbak-LIFSK = 'Z6'.
endif.
if sy-tcode eq 'VA02' . "added on 22/05/2008
if screen-name = 'VBAK-LIFSK'.
screen-input = 1.
modify screen.
update vbak.
endif.
ENDIF.
ENDIF.
endif.
endif.
if sy-tcode eq 'VA02' AND sy-uname NE 'FINCOMM1'. "added on 22/05/2008
if screen-name = 'VBAK-LIFSK'.
screen-input = 1.
modify screen.
update vbak.
endif.
endif.
endform.
Thanks,
sri. -
Function Module to store messages in to the data base table..
Hi Friends,
Is there any function module to store incoming messages from EDI to the database???
Thanks in advance.
JayshreeHI,
SEARCH THE FOLLOWING LINK.
http://www.erpgenie.com/abap/functions.htm -
How to control the name of custom field in data base table, added by AET
Hi,
I have added the one custom field by Application Enhancement Tool (AET).
The name of custom field has been added in the data base table as ZZFLD000004 by AET.
I need to add the some meaningful name like that ZMYPROB.
How can I control the name of custom field in the database field through AET?
Thanks,
AmitGot the answer.
Need to click on the Enable Expert mode, then custom field name will be editable. -
How to modify a data base table ?
Hi,
i am working on a list output where if user is editing a field and that field need to be updated in the data base. table is a z table .
the table has 5 fields .
mandt key field
matnr key field
werks key field
charg key field
lgpla key field
usnam
edate
in the list output , the user will change the values in the lgpla field and that field need to be changed in the data base table.
i have used the stmt :
modify< table> from <internal table> ,
but a new record is added in the data base instead of overwriting the existing one.
but the record can be seen modified in the internal table.
kinldy let me know the method of updating or modifying the existing value in the data base.
thanks and regards,
vikram.Hi,
Its not possible to change Primary Key contents in the database.
it mention in documentation of MODIFY Statement,
a line is searched for in the database table that has the same content
in the primary key as the corresponding beginning part of the work area.
If such a line is not found,
a new line is inserted according to the same rules as for the INSERT statement.
If such a line is found,
this line is overwritten according to the same rules as for the UPDATE statement
if you want insert the modified line first Delete from database,Then Use Modify Statement
Regards,
Raghava Channooru -
Which data base tables contain SCM customer code
Friends,
I am writing an user exit for VA01/VA02/VA3/VA32.
I am getting the customer number from VBAK-KUNNR when I execute any of the above transactions.
According to functional sepecification, we can find SCM code in the data base table ADRC.
(we can fetch the data from ADRC table where ADRC-ADDRNR = KNA1-ADRNR; ( KNA1-KUNNR = VBAK-KUNNR))
I could not find SCM customer code in the table ADRC.
Please let me know the Data table and field to find the SCM customer code in SAP.Hi Reddy,
>> As in SCM the company codes exist in the table ' <b>T001</b> '.
Corresponding field for it is ' <b>BUKRS</b> '.
>> U can use ' <b>ADRNR</b> ' as a key field in ' <b>T001</b> ' table and
relate with your <b>KNA1- ADRNR</b> using Joins for user exits.
Feel Free to ask any questions regarding this...
Hope it Helps...
Regards,
Dhayanandh.S
Message was edited by:
DHAYANANDH SIVASANKARAN -
Data Source for BSEG Data base table
Hi Every one,
I need to create a data source for the data base table BSEG (Function Module Extraction).
I have followed below steps.
I have created extarct structure which contains all the fields of BSEG Data base table.If I save the data source I am getting error.
If I remove all the currecy fields from extract structure, I am able to activate the data sorce.
So Could you please explain me how to extract currency fields.Hi,
Firstly, can you explain why you need a generic extractor for BSEG? There are already 2 datasources for BSEG, they are:
0FI_GL_4
http://help.sap.com/saphelp_nw70/helpdata/en/0c/b4973c115a6f3ae10000000a114084/frameset.htm
0FI_GL_14
http://help.sap.com/saphelp_nw70/helpdata/en/49/5700570223413085021a8b4ef1087a/frameset.htm
To use 0FI_GL_14, you should use the new GL in ECC side.
On the other hand, for your problem, your problem may occur if you did not give the reference unit field of your currency field in your extraction structure. when you double click the the currency field, you will see the ref. field, give the reference unit field in this area.
Regards. -
Hi Group,
When I try to search the data base table for a particular table it show me the structer.
For example--
In trasaction- ks03
the field 'cost center'-> F1 -> technical information
-> structer'CSKSZ'
How can I know the data base table of this field.
Regards,
sp sahuhi,
try st05:
1) Activate the trace.
2) Run the Transaction(QE01) in your case.
3) After the transaction is complete, deacticate the trace in ST05.
4) Execute "Display Trace".
It will give you listing of all the database tables that have been hit including the text tables.
regards Andreas
pls reward useful answers -
Need Information about TBD10 data base table
Hi Gurus,
Thanks in advance for looking at the issue.
I require information for the below questions ;
1.How is the data base table TBD10 populated i.e which transaction updates data
into this table.
2.How is this data base table used.
Please send your replies.
Thanks,
Bhanu.HI,
TBD10 --- Def., out of which IDOC fields a filter object is to be read
BD59 maintains that table
Rhea.
Edited by: rhea on Nov 4, 2008 2:09 PM -
hi ,
when i opened the Data Base table in SE11 ..the hierarchy of the fields r not displaying in a standard order.can anyone tell where we can find the setting option to rectify the correct sequence of the fields.
Suman RHi suman,
You can do anything with the fields created already ,
while displaying you can hide some fields and display
goto the selection screen of table , in menu settings>format list>choose fields
Maybe you are looking for
-
My charger for my macbook pro is broken
I have a warranty and I bought this mac back in august of 2011 will, the warranty cover a broken mac charger?
-
Color mismatch Windows 8.1 and Acrobat X and XI Pro
I am creating a PDF from Excel 2013 using both Acrobat X and Acrobat XI on my ASUS laptop running Windows 8.1. Text that is blue in Excel 2013 looks purple both in the PDF and when viewing the uploaded PDF in Internet Explorer. The text in the PDF
-
Digital Editions crashing on startup on Mac OS X Leopard
For the past few months, every time I try to start up Digital Editions on Leopard, it crashes the first time and I have to relaunch it. It's happening on both my Powerbook G4 and my Macbook Pro. According to the Crash Reporter, the cause is a kernel
-
How to manually switch VGA port on?, How to manually switch VGA port on?
I need help to manually switch VGA port on so when I connect PC to TV converter I will get a picture too instead of audio only.
-
How to change HD video clips to SD video clips ?
Hi there, I have purchased some video footage from a website. But I just realized after downloading it that it was in mov file HD format 1920 x 1080. But all my settings & videos I used in my FCE are in SD. How do I change the settings of the video c