Regarding value updates in Table V_T559D
Hello,
Can you please let me know, how to update a value in table V_T559D.
The scenerio is like this :- We have to update the expiry of probation under no of deduction in Table V_T559D(Deliminate validity and deduction periods).
Plz explain me the steps how to do this.
rEGARDS
Hi,
Goto SM31, write V_T559D in the table/field.
When the entries come to screen double click the one you wanna change and make the necessary modifications.
Is this what you're asking for ?
Regards,
Dilek
Edited by: Dilek Ersoz on Dec 18, 2008 7:44 AM
Similar Messages
-
Variable values updation in table TVARV- for SCMA - very urgent..
Hi all,
Can anyone pass on the code or logic for udating the values of variables like
SAP_SCMA_FISC_YEAR
SAP_SCMA_PERIOD
or the variables I define like
Current fiscal year
Current period
The program should update the values for above variables based on system date, by the period end dates maintained in T009B table
Your help in this regard is highly appreciated
Thanks in advance
KumarHere you go !!
<b>FM "UPDATE_TECHN_PERIODEN_ERWEIT"</b>
<b>FYI</b>
see the source code of FM "MCP_TECH_PERIODEN_GEN"
call function 'UPDATE_TECHN_PERIODEN_ERWEIT' "IN UPDATE TASK
tables
uw_t009b = mt_t009b
exceptions
others = 0.
<b>Pl... award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
Default value updation in table
Hi,
I want to update default value 'X' in ztable field through report.How to set the field value always containing X only.Hi Anitha,
Can you a bit clarify your question ? - I understand if the ZTable field value is 'X' you need to update it right ?
Then , fetch the entries of the tables for which the field values is 'X' and modify the field value as per the business requirement and update the same table. You can use the work areas while updating the ZTable.
Thanks,
SK -
SAP Note regarding manually updating SQL tables
Hi all,
I know that under no circumstances should customers update their SQL tables using any method expect DTW or via SAP.
Is there an SAP Note on this subject. I cannot find one anywhere?
Thanks
GreigCheck this SAP Note: 896891 Support Scope for SAP Business One - DB Integrity
[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=896891] -
Update a table based on Min value of a column of a Another Table.Pls Help.
Dear All,
Wishes,
Actually I need update statement some thing like below scenario...
Data in table is like below:
I wrote a query to fetch data like below ( actually scenario is each control number can have single or multiple PO under it ) (i used rank by to find parent to tree like show of data)
Table: T20
Control_no P_no Col3
19950021 726473 00
19950036 731016 00
19950072 731990 00
731990 01
19950353 734732 00
734732 01
19950406 736189 00
736588 01
736588 02
736588 03
Table : T30
Control_no P_no col3
19950021 726473
19950036 731016
19950072 731990
731990
19950353 734732
734732
19950406 736189
736588
736588
736588
Now requirement is I need to update Table T30's col3 (which do have values in T20 but not this table) in such a way that , It should take MIN (COL3) from T20 and then update that value to related Col3)
Better I can explain through below new data format in T30 after update:
After update it should like:
Table : T30
Control_no P_no col3 (this is updated column)
19950021 726473 00 -- as this is min value for Pno 726473 belongs to Control NO 199950021 in Table T20 above
19950036 731016 00 -- as this is min value for Pno 726473 belongs to Control NO 199950021 in Table T20 above
19950072 731990 00 -- see here..both Pno should updated as '00' as MIN value col3 in Table T20 related to this
731990 00 record is '00' (out of 00,01 it should select 00 and update that value here)
19950353 734732 00 -- same again both Pno should updated as '00' as MIN value col3 in TableT20 related to this
734732 00 record is '00' (out of 00,01 it should select 00 and update that value here)
19950406 736189 00 -- As there is single col3 value in T20, 00 should be updated here.
736588 01 -- Here it should update col3 as '01' since for this pno(736588)
736588 01 -- Here too it should update col3 as 01 per requirement ,minimum value of this pno in T20
736588 01 -- same here too.. Sorry if my post formatting is not good...
Hope i am clear in my requirement..(update T30 col3 based on min value of col3 of related records)
Please suggest some update sql for this...(ideas would be great)
I am using oracle 10 g version soon will be migrated to 11g..
Regards
Prasanth
Edited by: Onenessboy on Oct 20, 2010 12:13 PM
Edited by: Onenessboy on Oct 20, 2010 12:15 PMOnenessboy wrote:
I am really sorry, my post so nonsense in look..
I used to use for actuall code..
the out put i tryped, i used [pre] , [/pre] but still does not look good..
hmm..thanks for your suggestion hoek..
so any ideas about my requirement...I would suggest spending a bit more time trying hoek's suggestion regarding {noformat}{noformat} tags instead of repeatedly asking for more help.
Because to understand your requirement, people are going to have to read it first. -
How to update value in internal table from cdpos taking fname n value_new?
hello everyone,
i want to insert value in internal table from cdpos table taking field name from fname and value from value_new.but the problem is i am not getting how to map the corresponding field of internal table with fname value which is the field name.
for example
i
fieldname
value
name1
raj
name2
sharma
i want to update field name1. this name1 is there in fname with updated value in value_new how to make name1 with fname value
thanks and regards
laxmikant soniHi Laxmikant,
If I have understood your requirement correctly, you need to update an internal table with latest 'value_new' from cdpos table where 'fname' = 'fieldname' .
Hope the below logic will help you:
FIELD-SYMBOLS: <wa_intab> LIKE LINE OF lt_intab. "the internal table you want to change
LOOP AT lt_intab ASSIGNING <wa_intab> .
READ TABLE lt_cdpos INTO wa_cdpos "lt_cdpos contains latest data selected from CDPOS
WITH KEY fname = <wa_intab>-fieldname.
IF sy-subrc = 0.
<wa_intab>-value = wa_cdpos-value_new.
ELSE.
"//logic if the name is not there in CDPOS
ENDIF.
CLEAR wa_cdpos.
ENDLOOP.
If you wish to improve performance, I suggest using
1. "transporting value_new" addition in READ TABLE,
2. select only the data which you require from CDPOS,
3. create the internal tables with only fields which you require,
4. when you are using SELECT,LOOP AT statements, limit records by using WHERE condition
Regards,
Kavya -
Update the values in the table on select of a particular row
hi
I want to update the values in the table on selecting the particular row.
im able to select the particular row using Leadselect.
can any one help me in updating the values in the table?
regards
rajihi,
values are coming from my database ( SQLServer.)
on click of the button i am able to display the values from the database.
My problem is on selection of any row , i should be able to edit/update the values in the table .
regards
raji -
How to update the table value in the valuechange event?
I have an input field in the datatable with the valueChangeListener
<rich:dataTable id="cart" value="#{cart.cartList}" var="item">
<h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
<h:outputText value="#{item.errorMsg}"> </h:outputText>
in the backing bean
Item item = (Item) model.getRowData();
// do some update, if the cost too larger, change to max_cost
item.setCost(max_cost);
item.setErrorMsg("Error Msg");
After calling the valuechange method, the screen output doesn't update the cost.
How to update the table value in the valuechange event?As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.
-
How can i insert new updated values in a table??
Hi ,
Can any one suggest me is there any way to insert the recently added data from one table to another table where both the tables have the same structure.
Suppose i have 10 rows in both table T1 and T2 and now if we add another 4 new rows in the table T2 .Can i update my table T2 w.r.t. T1 with these new row values.
Remember both the 10 rows in the tables T1 and T2 are the same and the strucuture of the tables are also the same.
please advice the way to achieve this and if then explain me how to achieve it?Looking forward for the response
B.r
debashisHi shailendra and all experts,
I thought of a more simple approach instead of going to the concept of stored procedure.But i am unable to do it on a scheduled basis like if i want this query to be run on a periodic basis i need to implement this sql query using a job.
can u suggest how to do it..As far as i know we can include the sql query inside a job to be scheduled on a weekly basis.
And also have a look at the sql i have written below it will insert all the extra row values of t2 into t1.please help me in scheduling it on a periodic basis .
Looking forward for ur response .I am almost near the goal i need ur help ..
reg
debashis
insert into t1 select distinct t2.apinumber,t2.wellname from t1,t2 where t2.apinumber NOT IN (select t1.apinumber from t1); -
Updating values in database table through Transaction
Hi,
Actually We have one transaction named EWAWA01. In that when we display the values from the transaction, there is a netweight field. The transaction displaying netweight values, but that value is not updated in the database table named EWA_WA_WEIGHPROC. How can i update that netweight value in the table.data:v_v_EWA_WA_WEIGHPROC type (v_EWA_WA_WEIGHPROC lenth) c.
decleare the data in charter type.
after pass the data charter type.
v_EWA_WA_WEIGHPROC = EWA_WA_WEIGHPROC
update db. -
Api to update the values in per_periods_of_placement table
Hi,
can anyone let me know whether any hrms api is available to update the values in the table PER_PERIODS_OF_PLACEMENT.
I want to update the values under the column TERMINATION_REASON in per_periods_of_placement for few set of contingent workers(for those a wrong reason was entered need to replace with correct value now).
Please revert asap.
Thanks,
JithendraHere is my stand alone PL/SQL block :
I am supplying the start_date fro mthe per_periods_of_ placement table itself...
DECLARE
CURSOR get_cwk_details IS
SELECT person_id cwk_person_id,
object_version_number ovn,
date_start service_start_date
FROM per_periods_of_placement pdp, hr_lookups l
WHERE l.lookup_type(+) = 'HR_CWK_TERMINATION_REASONS'
AND l.lookup_code(+) = pdp.termination_reason
AND HR_GENERAL.DECODE_LOOKUP ('HR_CWK_TERMINATION_REASONS',
PDP.TERMINATION_REASON) = 'Deceased' ;
l_person_id NUMBER(20);
l_ovn NUMBER(10);
l_date_start DATE;
BEGIN
FOR get_cwk_details_rec in get_cwk_details
LOOP
l_person_id := 153564;--get_cwk_details_rec.cwk_person_id;
l_ovn := get_cwk_details_rec.ovn;
l_date_start := get_cwk_details_rec.service_start_date;
dbms_output.put_line('l_person_id = ' || l_person_id);
dbms_output.put_line('l_ovn = ' || l_ovn);
dbms_output.put_line(' l_date_start = ' || l_date_start);
apps. hr_periods_of_placement_api.update_pdp_details(
P_VALIDATE => FALSE,
P_EFFECTIVE_DATE => l_date_start,
P_OBJECT_VERSION_NUMBER => l_ovn,
P_PERSON_ID => l_person_id,
P_DATE_START => l_date_start,
P_TERMINATION_REASON => 'DW');
COMMIT;
END LOOP;
END; -
Update table based on values from other table
Hi,
I am trying to update one table based on the values of another table. Since you can't use From in update statements, how do you execute this?
For example i have to tables, Table A and Table B. I want to update a column or columns in Table A based on another value in Table B:
So if the column in Table B was 1 then column in Table A would be Yes, if Table B was 2, then Table A would be Yes, if Table B was 3 then Table A would be N/A and so on...
Any help would be appreciated.
thanks,
scottSQL> select * from t1;
ID ST
1
2
3
SQL> select * from t2;
NO
1
2
3
4
SQL> update t1 set status=(select decode(no,1,'Y',2,'N','NA') from t2 where t1.id=t2.no);
3 rows updated.
SQL> select * from t1;
ID ST
1 Y
2 N
3 NA
Daljit Singh -
Best way to update a table with disinct values
Hi, i would really appreciate some advise:
I need to reguarly perform a task where i update 1 table with all the new data that has been entered from another table. I cant perform a complete insert as this will create duplicate data every time it runs so the only way i can think of is using cursors as per the script below:
CREATE OR REPLACE PROCEDURE update_new_mem IS
tmpVar NUMBER;
CURSOR c_mem IS
SELECT member_name,member_id
FROM gym.members;
crec c_mem%ROWTYPE;
BEGIN
OPEN c_mem;
LOOP
FETCH c_mem INTO crec;
EXIT WHEN c_mem%NOTFOUND;
BEGIN
UPDATE gym.lifts
SET name = crec.member_name
WHERE member_id = crec.member_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;
END;
IF SQL%NOTFOUND THEN
BEGIN
INSERT INTO gym.lifts
(name,member_id)
VALUES (crec.member_name,crec.member_id);
END;
END IF;
END LOOP;
CLOSE c_mem;
END update_new_mem;
This method works but is there an easier (faster) way to update another table with new data only?
Many thanks>
This method works but is there an easier (faster) way to update another table with new data only?
>
Almost anything would be better than that slow-by-slow loop processing.
You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
MERGE INTO bonuses D
USING (SELECT employee_id, salary, department_id FROM employees
WHERE department_id = 80) S
ON (D.employee_id = S.employee_id)
WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
DELETE WHERE (S.salary > 8000)
WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
VALUES (S.employee_id, S.salary*.01)
WHERE (S.salary <= 8000); -
Updating a table with a query that return multiple values
Hi,
I'm trying to update a table which contain these fields : ItemID, InventoryID, total amounts
with a query that return these values itemId, inventoryid and total amounts for each items
Mind you, not all the rows in the table need to be updated. only a few.
This what i wrote but doesn't work since the query return multiple values so i can't assign it to journalAmounts.
UPDATE [bmssa].[etshortagetemp]
SET JournalAmounts = (SELECT sum(b.BomQty) FROM [bmssa].[Bom] b
JOIN [bmssa].[SalesLine] sl ON sl.ItemBomId = b.BomId
JOIN [bmssa].[SalesTable] st ON st.SalesId = sl.SalesId
WHERE st.SalesType = 0 AND (st.SalesStatus IN (0,1,8,12,13)) AND st.DataAreaId = 'sdi'
GROUP BY b.itemid, b.inventdimid)
Any advise how to do this task?Remember that link to the documentation posted above that explains exactly how to do this. When you read it which part exactly were you having trouble with?
-
How to update values in the table control at Cat2 transaction,
Hi,
i am working on cat2 transaction, here
i am using the exit_saplcats_006 and updating values at catsdb table, but i want to display this values at the table control in the cat2 transaction.
can any one provide me solution for this same.
RegardsHi Suresh
this is actual requirement
in the CAT2.
1. Add a new column for WBS description and derive the value as per the FS
2. Retrieve project number and description and update in the column specified
3. When a service order is selected it should do the same for 2.
4. Finally repeat for the worklist view (which is the section above)
here i am able to display values at data entry area
for service order and network but not worklist area ?
updation is not coming, can u plz go throw it..
Thanks
Chinna
Maybe you are looking for
-
Trouble running adf/jsp application in jdev 11G
Hello , I have just installed Jdev 11g on Win XP SP 2. Everything looks good, but when I try to run *.jspx file I am getting following error message: I appreciate any help. Thanks C:\JDev1111\jdk\bin\javaw.exe -client -classpath O:\OC4J\j2ee\home\oc4
-
Where is the firmware downloads for WRV54G
Where is the firmware downloads for WRV54G? I am looking for 2.39.2.e
-
The bottom of my macbook is falling off.
The bottom of my macbook is falling off.
-
Implementing Authorization based on roles
Hi, I have the list of users created in ldap/oid and their roles in the data base table. I wrote the following method in AppModuleImpl.java which returns data from pl/sql to ADF BC. public String callgetUserRole(String usrRole){ String result = null;
-
Everything connects to my wifi except my n80 !
Can anyone help me connect my N80 to my wifi network? All my other quipment connects without a problem - laptop, PSP, PDAs etc but I'm getting nowhere fast with my phone. I have followed instructions in the manual and on this forum but the phone stil