Modifying the table in streams
Hi,
We have two Oracle 10.2.0.4 databases having bi-directional streams.
Now I want to modify one of the table to table partitioning.
Can I stop the apply process on both and modify the table and start the apply process?
Will this approach work?
Thanks,
DR
It should be as with all things database ... do it in a test environment first ... and my personal advice ... make starting Flashback Database logging with a guaranteed restore point part of your process.
Similar Messages
-
Another User Modified the table
Hi,
I have a user defined form, which is bound to Master-Data UDO.
I have matrices in the form which is bound to its child objects.
Following problem happens once in a while:
When I press update button, I get the error message 'Another User Modified the table'.
This is not consistent, but happens once in a while.
My SBO version is 2007.
In what situations you will get the error - "Another User Modified the table" ?
Please help me with this.
I'll appreciate your help.
Thanks.
-GeethaHi Mahendra,
Thanks for your reply.
In my case, I take back-up of the database from client site and bringing into our in-house.
If clients complained about record# 25, then the same record# has the 'Another user' issue in in-house also. (By record# I mean the Master UDO DocEntry#).
So, I think the locking is stored in the database, rather than in a PC specific place.
Please tell me any ideas you get in this angle.
Regards,
Geetha -
How to modify the table control?
Hi all,
How to modify the table control after setting the lines = 1. ie tbl_ctr-lines = 1.(tbl_ctr is the table control).
Can anyone explain this with an example?
Thanks.hi
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
Regards
pavan -
Revision: 13538
Revision: 13538
Author: [email protected]
Date: 2010-01-15 16:26:36 -0800 (Fri, 15 Jan 2010)
Log Message:
Modified the RTMP dynamic streaming sample to use the new SMIL plugin.
Modified Paths:
osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
Removed Paths:
osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/org/But DynamicStream.as is part of the code base and the does get executed. Jody, which version of DynamicStream.as is more current? The one that ships with FMS 3.5 or the one in tools?
Can anyone answer my original question (I think) which is: should I be able to switch source = http://dynamicStream1.smil -> source = http://dynamicStream2.smil and back and forth etc. It seems to work. Are there any caveats? I am not switching back and forth between flv-s and smil-s
It turns out that there are a couple of lines of code in NCManger.as::bitrateMatch() which is concatenating the streamName and this results in 404 on the FMS side. I'm not sure what this is supposed to do or if this is just a bug, but the upshot was that I could not specify source = http://dynamicStream.smil on a remote server. The uncanny part of this issue is if I serve the same smil locally, referencing remote remote smil and media, it works. Maybe this has something to do with the bit rate. Bottom line is that this cost me 3 days, becuase I was under the incorrect impression that you could not reference *.smil directly and I blindly followed the handrail provided by the the FMS videoPlayer sample. Shame on me for trying to leverage working code shipped with a production version.
NCManger.as::bitrateMatch()
if
(_streamName != null
) {_streamName += _streams[whichStream].src;
My incling is to change the += above to an = and get on with it.
If someone at adobe or anywhere can have a look and give me some other guidance, it would be much appreciated.
Thanks to Sean for the kind and detailed responses and giving me the green light that source=http://dynamicStream.smil _should_ work.
Thanks to all. -
Using module pool pgm, Con't modify the table field valus
Hello frnds,
i m create one rpt using module pool pgm, click display button display the table values .
Iwant to modify some fields that changes is update to table.
Bellow coding is correct or not, how can modify the fields with save changes.
TABLES : ZRFIM1.
DATA: ZREPNO TYPE ZRFIM1-ZREPNO,
ZPLANT TYPE ZRFIM1-ZPLANT,
ZRIMNO TYPE ZRFIM1-ZRIMNO,
ZRIMDAT TYPE ZRFIM1-ZRIMDAT,
DISPLAY TYPE C,
CLEAR TYPE C,
EXIT TYPE C,
SAVE TYPE C,
OK_CODE LIKE SY-UCOMM.
data : itab type table of zrfim1 with default key.
data : wa_itab type zrfim1.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
text
SET PF-STATUS 'SAVE'.
AT USER-COMMAND.
module STATUS_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'BACK'.
LEAVE PROGRAM.
WHEN 'DISPLAY'.
SELECT SINGLE ZREPNO ZPLANT ZRIMNO ZRIMDAT FROM ZRFIM1
INTO (ZRFIM1-ZREPNO, ZRFIM1-ZPLANT, ZRFIM1-ZRIMNO, ZRFIM1-ZRIMDAT)
WHERE ZREPNO = ZRFIM1-ZREPNO.
WHEN 'CLEAR'.
CLEAR ZRFIM1.
WHEN 'SAVE'.
select single * from zrfim1 into wa_itab where ZREPNO = ZRFIM1-ZREPNO.
wa_itab-zrepno = ZREPNO.
wa_itab-zplant = ZPLANT.
wa_itab-zrimno = ZRIMNO.
wa_itab-zrimdat = ZRIMDAT.
modify zrfim1 from wa_itab.
ENDCASE.
endmodule.
Thanks in advance.hello,
change the code like:
(IF ZRFIM1 is the structure has been used on screen)
wa_itab-zrepno = ZRFIM1-ZREPNO.
wa_itab-zplant = ZRFIM1-ZPLANT.
wa_itab-zrimno = ZRFIM1-ZRIMNO.
wa_itab-zrimdat = ZRFIM1-ZRIMDAT.
modify zrfim1 from wa_itab.
thanks
K. -
Data Modeler : Modifying the Table Report layout
Hi ,
I'm using SQL Data Modeler (DM) 4.0 EA .
I used the File -> reports option to generate the reports on Table and in the report
1) I couldn't see the column data type ? (Refer below table ) , Is there any options to bring on the Data Type in the Report ?
No
Column Name
PK
FK
M
Data Type
DT
kind
Domain Name
Formula
(Default Value)
Security
Abbreviation
1
ID1
P
Y
(10)
LT
2
ID2
F
Y
(10)
LT
3
ID3
Y
(1)
LT
4
ID4
Y
(10)
LT
5
ID5
F
(20,4)
LT
2) In options to manage the Table report (Reports -> Manage). Currently I can only remove a heading (like Descriptions Notes ,columns,column comments.). Is there is any way to customize the report in such a way that I can remove some columns (mostly the empty ones) from the report and add the column comments along with the column table than a new column comments table.
Please let me know ,is there is an option to customize the report .
Note: I even tried generating the report using the search then report , but it doesn't give a complete report (i was only able to generate a report on column or table name or constraints , not all together.)
Thanks,
Srinivasan.KThanks for the immediate reply.
I checked on the DM again, the report comes good for the one which has the data type . But now all my data type changed to UNKNOWN and lokks like ,due to this my table report is coming without the "Data Type".
Can you please help me in fixing this unknown data type issue ?
Table report for the ones with proper Data type:
Columns
No
Column Name
PK
FK
M
Data Type
DT
kind
Domain Name
Formula
(Default Value)
Security
Abbreviation
1
ID1
Y
NUMERIC (10)
LT
2
SCRIPT
Y
VARCHAR (1024)
LT
3
UPGRADE_S
Y
VARCHAR (10)
LT
4
UPGRADE_D
Y
VARCHAR (250)
LT
5
UPGRADING_F
Y
VARCHAR (20)
LT
6
TIMESTAMP2
Y
Timestamp
LT -
Read & Modify the table view data
Dear Experts,
CRM 7.0
I've added few extra custom fields to the table view through Workbench enhancment as AET does not work for my object type. Now, I would like to read the current table entries and accordingly i should fill the other columns. I am not sure how can I proceed. Please advise me asap.
Many thanks in advance.Hi,
Yes I guess you can do it in DO_PREPARE_OUTPUT.
Use below code to read values from table:
DATA: lv_wrapper TYPE REF TO cl_bsp_wd_collection_wrapper,
lr_entity TYPE REF TO cl_crm_bol_entity,
lv_attribute type string,
LV_ATTRIBUTE_VALUE type string
TRY.
lv_wrapper = me->typed_context->ZCONTEXTNODENAME->get_collection_wrapper( ). " Here you will get all values from table into lv_wrapper
CHECK lv_wrapper IS BOUND.
lr_entity ?= lv_wrapper->get_first( ). " Loop at table
WHILE lr_entity IS BOUND.
lv_attribute ?= lr_entity->get_property_as_string( 'ATTRIBUTE NAME' ). " TO read perticular attribute
*OR as per your requirement you can change the value. Here you can write your logic...
lr_entity->set_property_as_string( iv_attr_name = 'ATTRIBUTE NAME' iv_value = LV_ATTRIBUTE_VALUE ). " Change attribute property
lr_entity ?= lv_wrapper->get_next( ).
ENDWHILE.
CATCH cx_root.
RETURN.
ENDTRY.
Please let me know if it helps.
Regards,
Bhushan -
How to populate the table using streaming data
Dear folks
M about to create a midlet application in which i need to populate my table with the current stock exchange values. Since these values get changed dynamically , I planned to use streaming. Since m new to streaming ,pls someone come up to guide me in right path. M using Canvas application. I appreciate all the repliesDear folks
M about to create a midlet
application in which i need to populate my table
with the current stock exchange values. Since these
values get changed dynamically , I planned to use
streaming. Since m new to streaming ,pls someone
come up to guide me in right path. M using Canvas
application. I appreciate all the repliesthats fine and funny....
let me tell you something, in GCF everything you fetch through GPRS is bound to come as an inputstream and whatever request you send is passed as outputstream. so if you have worked with GCF, you have worked with streaming already. isn't it.
SD -
Modifying the custom tables TBZ* generated by EEWB for BUPA?? Advisable?
Hi,
We have added new fields in BUPA using EEWB. The new fields are automatically added in the new section created on screen. Now our requirement is to move these fields to one of the existing sections and delete the new section. Is it advisable?
I assume that in the EEWB extension wizard, we do not have any option of generating the new fields in existing custom sections. Please correct me if I am wrong.
As per our current plan, To accomplish this change we are planning to modify the tables TBZ3H, TBZ3I, TBZ3C and TBZ3D for the view--> section --> screen mapping. Will that be enough or some more changes will be required?
Also, a new BDT application is created for the new section and there are corresponding entries in TBZ0A, TBZ0B, TBZ0C and TBZ1F. Now we are not sure that if we modify/delete these entries, how the system would behave. Any pointers are welcome!!
Specially for TBZ1F entries, should the new events function modules created for the new application be assigned to the already existing application.
Please advise.http://scn.sap.com/people/rakesh.chugh/blog/2009/12/28/deletion-of-eewb-extensionproject-in-sap-crm-for-bupa
Just in case you are looking for this info -
Can I modify a table model outside of the event thread if it's not seen?
I have a JTable that I use to display several table models (I'm extending DefaultTableModel); I switch between the models using JTable.setModel.
If model A is active and currently being viewed, I of course make sure any updates are done using SwingUtilities.invokeLater().
My question is: Can I modify an "inactive" table, say table B, without using invokeLater(), for example B.setValueAt() etc.Isn't a model connected to an instance by JTable.setModel()? (Or by passing the model as a parameter in new JTable()) Yea. I meant connected to a JTable's UI. Or more specifically, listeners are installed on the model.
if data is changing and the user is not currently viewing that data, I want to change the table model in another threadI would argue that this is thread safe:
1) When a table becomes 'inactive' (not showing in any way) then you set the model to some static empty one.
table.setModel(EMPTY_MODEL);This should happen on the EventDispatchThread. Setting the model to the empty one will uninstall all the listeners on the actual model.
2) Freely modify the table's actual model in another Thread.
3) When the table is about to become 'active', then you set the model back to the original one.
table.setModel(originalModel);This should happen on the EventDispatchThread. In particular, the other thread should execute it with an invoke later. That way, proper synchronization occurs and the EDT sees all the changes made to the original model. -
How to update the table available in BADI method
Hi Friends,
I have to implement one badi ME_REQ_POSTED for purchase requistion, in this badi I have to read first line item and do
some check...if that check is true i need to update subsequent line item (line 20, 30, 40 or so) with purchase group and MRP controller.
In this BADI i have method POSTED, in this method parameter IM_EBAN is a table which i need to modify with my different
values for purchase group and MRP controller.
Kindly let me know how to update this table, so the changes can be reflected in purchase requistion.
Since when I tried to directly modify the table in a loop, system throw one error stating IM_EBAN can not be modified.
kindly help.
pradeephi
I have implemented this exit but it does not stop at it while saving Purchase requistion. But my previous BADI stops at it when saving.
Kindly guide. -
How we can lock No more than one user can use the table at a single time
Hi Abapers,
0) which function modules to lock & unlock a table.
1) When you execute the program, we can check if there is any lock on this table. If yes, the user should be able to only view the table contents and not modify.
2) If there is no lock, then lock the table and go into change mode.
3) On exiting from the program, unlock the table using the function module.
4) more than one user can't modify the table just display.
Note: If there is any lock, display message saying table is locked.
Plz help me for this requirement.
Thanks
NaniHello Nani
Have a look at the lock object EMMARAE (<i>Lock MARA and MARM/MAKT exclusively</i>) in transaction SE11.
Inspect the F1 help for field <b>Lock mode</b>:
DE ENQMODE
Short Text
Lock mode
Definition
Defines how to synchronize table record access by several users.
The following modes exist:
Exclusive lock
The locked data can be read or processed by one user only. A request
for another exclusive lock or for a shared lock is rejected.
Shared lock
Several users can read the same data at the same time, but as soon
as a user edits the data, a second user can no longer access this
data. Requests for further shared locks are accepted, even if they
are issued by different users, but exclusive locks are rejected.
Exclusive but not cumulative lock
Exclusive locks can be requested by the same transaction more than
once and handled successively, but an exclusive but not cumulative
lock can only be requested once by a given transaction. All other
lock requests are rejected.
If you want to lock a standard table search whether the table is used in lock objects (<i>Where-Used-List</i>). If it is a customer table you have to create your own lock object (including two function modules: one for enqueuing and the other for dequeuing).
The lock modules can be found in menu <b>GoTo -> Lock Modules</b>.
Given these lock modules the logic should be quite clear after starting the program:
1. Request lock -> if successful, continue in Change mode; -> if failed, continue in Display mode
2. Before leaving the report remove lock (note: no problem if no lock has been set in the beginning).
Regards
Uwe -
Issue while vertical scrolling in the table control
Hi,
i have my table control which can show 14 entries at a time. and i have almost 100 entries in table control.
now if i selected 2 entries in the visible part.
now scroll vertically.
again come back to see the selected records now they are unselected.
please respond soon.
Thanks
MalyaHi,
I have redone the scenario and follow the steps it will work....
STEP 1: Create an internal table with field for selection in table.
STEP 2: Assign the selection field in the table control for the line selection.
STEP 3: Now whenever the line is selected, the selection field will have a field 'X'.
STEP 4: In PAI Modify the table fields those are selected with 'X'.
STEP 5: Set a flag in PAI, flag = 'X'.
STEP 6: In PBO set a condition . " We set a flag so that we fetch the data only once.
If flag NE 'X'.
Fetch data.
endif.
Data:
begin of ztable,
ID type char4,
Name type char30,
Sel type c,
end of ztable.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT ITAB INTO FS WITH CONTROL EMP CURSOR W_I.
MODULE UPDATE.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT ITAB.
MODULE APPEND.
ENDLOOP.
MODULE USER_COMMAND_0100.
INCLUDE YMODTOP . " global Data
*& Module UPDATE OUTPUT
* text
MODULE UPDATE OUTPUT.
MOVE FS TO FS.
ENDMODULE. " UPDATE OUTPUT
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
IF FL_FLAG <> 1.
SELECT * FROM ZTABLE INTO CORRESPONDING FIELDS OF TABLE ITAB.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module append INPUT
* text
MODULE APPEND INPUT.
MODIFY ITAB INDEX SY-STEPL FROM FS TRANSPORTING SEL .
FL_FLAG = 1.
ENDMODULE.
Thanks&Regards
Sarves -
Dynamic icon in the table control
hi friends ,
I wanna to place a command with the icon changing when the status changed .Pls show me how .Thks .hI jACK
I am trying to get it .
as these text store in the table D021T and able to modify the table where the text can be modified to the ICON from PUSHBUTTON.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
DATA RESULT(60).
LOOP AT SCREEN.
IF screen-name = 'BB'.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = 'ICON_GREEN_LIGHT'
TEXT = ' '
INFO = ' '
ADD_STDINF = 'X'
IMPORTING
RESULT = RESULT
EXCEPTIONS
ICON_NOT_FOUND = 1
OUTPUTFIELD_TOO_SHORT = 2
UPDATE D021T SET DTXT = RESULT WHERE PROG = 'ZMTEST_99'.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDMODULE. " STATUS_0100 OUTPUT
still i am trying .
I will come back to you.
Regards
Ramchander Rao.K -
Hi guru,
I'm doing upgrade from R3 4.7 to ECC6.0. I have to correct an error in Phase ACT_700 phase
This is the error :
4 EDT013 Table "/ICMPAC00/P_T050" was not activated
I tried to correct the errore by activating manually the table trought SE11 in the shadow instance,
if I try to edit the table this error appears:
Namespace /ICMPAC00/ does not exist
Message no. TO123
Diagnosis
Object DEVC /ICMPAC00/PROVV is in namespace /ICMPAC00/. However, this namespace does not exist in your SAP system.
Objects from the namespace /ICMPAC00/ can only be edited if the namespace is in the namespace tables.
System Response
Editing is terminated.
Procedure
Choose an object name that is not assigned to the namespace /ICMPAC00/ (this means that it cannot begin with /ICMPAC00/).
For a list of the namespace prefixes in the SAP system, go to the Transport Organizer tools (Transaction SE03) and choose -> Objects -> Namespace Information System -> Select namespace.
I can't correct the error , because I can't modify the table !
Any idea to solve the problem ?
Thank's , Antonio Voce.Question : it is not sufficent to create namespace ?
The table are not active in data dictionary, it means that are unusable...
I think that it is sufficent to create the namespace.
Do you know how to correct the errore mentioned in the first post :
Objects from the namespace /ICMPAC00/ can only be edited if the namespace is in the namespace tables.
If I correct this error I can activate the table and the upgrade can go on.
Thank's.
Maybe you are looking for
-
Outlook 2010 with Time Warner as my internet provider. Had to switch from POP3 to IMAP and now when I receive messages and delete them from my phone they delete from my server, Outlook and iPad. I want to keep them on my desktop in Outlook so I have
-
Query about Tech specs for purchasing new Macbook Pro
HI, I have an 13-inch, Late 2011 Macbook Pro and all the details are as follows: Processor 2.4 GHz Intel Core i5 Memory 4 GB 1333 MHz DDR3 Graphics Intel HD Graphics 3000 384 MB Serial Number C02HLMQRDV13 Software OS X 10.9.4 (13E28) I wanted to
-
Can't save to OS X Server from Microsoft Word since upgrading to Yosemite
When I am working on a Word Document and I click "save" the box pops up and every folder on my local computer is available as a location save my file, but my server is not. it simply does not show up. I can save to my local drive and then drag it o
-
I am new to this and am having trouble connecting to a MSSQL database. I am getting the following error message... org.apache.jasper.JasperException: /pizza.jsp(11,0) According to TLD or attribute directive in tag file, attribute dataSource does not
-
J'ai acheté une Production Premium CS6 pour MAC (version boite). Il semble que la clé de licence est uniquement pour un version anglaise. J'ai trouvé des tutos qui affirment que on peut le mettre en français en changent le fichier en_US en fr_FR. Cel