Trigger not updating
I have a AFTER INSERT OR UPDATE OR DELETE TRIGGER
When i run this using (using TOAD by pressing Shift9- a populate window will come and give values) it works fine and update on another table. when i used insert query on the table it doesn't update on another table. any work around?
In case this post is somehow related to *PLS-00801: internal error [ph2csql_strdef_to_diana:bind]* (PLS-00801: internal error [ph2csql_strdef_to_diana:bind] - the OP being the same - you'd better had mentioned it or even better stick to your original post (avoiding comments by somebody who might not have figured that out :( )
There should not be any work around. If I got it right you are saying:
- you insert a row having a non existing user_id into ERPTRAIN.ADM_USER through TOAD (I don't know much about it - the meaning of Shift_F9 and so on ...)
and the other table - DOTCOM.SM_EMPLOYEE gets populated (presuming you verified that within TOAD i.e. within the same session)
so far so good (the trigger has no errors, is enabled and seems to be working)
- you insert another row having another non existing user_id into ERPTRAIN.ADM_USER through your application
and the other table - DOTCOM.SM_EMPLOYEE doesn't get populated.
How did you establish that?
Did you use TOAD i.e. did you verify it from another session?
If you did, I apologize for the question: Did you commit the insert in your application?
If you didn't, I suppose you must have had some kind of error returned.
Out of curiosity: which version did you use?
Regards
Etbin
Similar Messages
-
Oracle 9i Trigger not updating first time through
Hi,
I have read a lot of postings but this one seems to be unique. I am trying to update using from Access to Oracle backend database with a Trigger. When I put the code from the update in a test window in the PL/SQL, I step through the code and it doesn't update the first time through. The values from my :old and :new fields are null the first time through. When I change either proj_part_ppv_adj, incorp_date or end_date in the test window and step through the code again, it updates my table.
update statement:
-- Created on 10/17/2005
declare
-- Local variables here
i integer;
begin
-- Test statements here
update pcrit.tpcrit_proj_part
set proj_no = 'TestChris',
mat = '1080373',
plant = 'COR1',
vndr_code = '0000000564',
it_cat = '0',
incorp_date = '15-OCT-2005',
end_date = '31-DEC-2005',
unit_prce_chg = null,
proj_part_ppv_adj = 32500,
edit_id = 'XXXXXX',
edit_dt = to_date('17-OCT-2005 08:10:32 AM',
'DD-MON-YYYY HH:MI:SS AM')
where proj_no = 'TestChris'
and mat = '1080373'
and plant = 'COR1'
and vndr_code = '0000000564'
and it_cat = '0';
commit;
end;
Trigger:
create or replace trigger tpcrit_proj_part_trg_ubr
before update on tpcrit_proj_part
for each row
/* This trigger stores the key values of TPCRIT_PROJ_PART records for
later use by the after-update trigger.
The trigger must be disabled when running the loader or it will
interfere with loading documents from SAP/ODM.
declare
rowParts pcrit_mod_proj_part.typProjPartRowKey;
begin
if :new.proj_no <> :old.proj_no or :new.mat <> :old.mat or
:new.plant <> :old.plant or :new.vndr_code <> :old.vndr_code or
:new.it_cat <> :old.it_cat or :new.incorp_date <> :old.incorp_date or
:new.end_date <> :old.end_date or
:new.proj_part_ppv_adj <> :old.proj_part_ppv_adj then
-- Only perform the task if something other than the comment has changed.
-- Initialize the rowParts record to be added to the list.
rowParts.proj_no := :new.proj_no;
rowParts.mat := :new.mat;
rowParts.plant := :new.plant;
rowParts.vndr_code := :new.vndr_code;
rowParts.it_cat := :new.it_cat;
rowParts.incorp_date := :new.incorp_date;
rowParts.end_date := :new.end_date;
rowParts.proj_part_ppv_adj := :new.proj_part_ppv_adj;
-- Get the project type for this project.
begin
select proj_type
into rowParts.proj_type
from tpcrit_proj
where proj_no = :new.proj_no;
exception
when no_data_found then
rowParts.proj_type := null;
end;
-- Add this part row to the list for after-statement processing.
pcrit_mod_proj_part.add_to_list(rowParts);
end if;
end tpcrit_proj_part_trg_ubr;Are you lookng at tpcrit_proj_part to see if the update happend, or are you looking for the results of the after update trigger?
I believe that this is exactly what you are doing, except I have left out the after update trigger.
SQL> CREATE TABLE t (id number, id_dt DATE,
2 descr varchar2(10), desc2 varchar2(10));
Table created.
SQL> CREATE TRIGGER t_bu
2 BEFORE UPDATE ON t
3 FOR EACH ROW
4 BEGIN
5 IF :new.id <> :old.id or
6 :new.id_dt <> :old.id_dt or
7 :new.descr <> :old.descr or
8 :new.desc2 <> :old.desc2 THEN
9 DBMS_OUTPUT.Put_Line('This is all your proceesing');
10 END IF;
11 END;
12 /
Trigger created.
SQL> INSERT INTO t (id, id_dt) VALUES(1, TRUNC(sysdate));
1 row created.
SQL> COMMIT;
Commit complete.
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005
SQL> UPDATE t
2 SET descr = 'Descr',
3 desc2 = 'Desc2'
4 WHERE id = 1 and
5 id_dt = TRUNC(sysdate);
1 row updated.So your processing never happened but the update certainly did:
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005 Descr Desc2Now, even without a commit:
SQL> UPDATE t
2 SET descr = 'CHANGED'
3 WHERE id = 1 and
4 id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.Now, fix the trigger to take NULL into account:
SQL> ROLLBACK;
Rollback complete.
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005
SQL> CREATE OR REPLACE TRIGGER t_bu
2 BEFORE UPDATE ON t
3 FOR EACH ROW
4 BEGIN
5 IF (:new.id <> :old.id or
6 (:new.id IS NULL and :old.id IS NOT NULL) or
7 (:new.id IS NOT NULL and :old.id IS NULL)) or
8 (:new.id_dt <> :old.id_dt or
9 (:new.id_dt IS NULL and :old.id_dt IS NOT NULL) or
10 (:new.id_dt IS NOT NULL and :old.id_dt IS NULL)) or
11 (:new.descr <> :old.descr or
12 (:new.descr IS NULL and :old.descr IS NOT NULL) or
13 (:new.descr IS NOT NULL and :old.descr IS NULL)) or
14 (:new.desc2 <> :old.desc2 or
15 (:new.desc2 IS NULL and :old.desc2 IS NOT NULL) or
16 (:new.desc2 IS NOT NULL and :old.desc2 IS NULL)) THEN
17 DBMS_OUTPUT.Put_Line('This is all your proceesing');
18 END IF;
19 END;
20 /
Trigger created.
SQL> UPDATE t
2 SET descr = 'Descr',
3 desc2 = 'Desc2'
4 WHERE id = 1 and
5 id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.Now, all your processing happens on the first update, and all others:
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005 Descr Desc2
SQL> UPDATE t
2 SET descr = 'CHANGED'
3 WHERE id = 1 and
4 id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.But only when something changes:
SQL> UPDATE t
2 SET descr = 'CHANGED'
3 WHERE id = 1 and
4 id_dt = TRUNC(sysdate);
1 row updated.If you really see something different, then post a cut and paste of a sqlplus session as I did showing the behaviour you are getting.
TTFN
John -
i have modify the data STREET to "ANG MO KIO"
http://i192.photobucket.com/albums/z231/yzme/d1.gif
but the data in server still "HEAVEN ST"
http://i192.photobucket.com/albums/z231/yzme/d2.gif
I am using Time2Way T01, if it is when i sync the data will be uploaded, or do i need to configure somewhere to get the data upload ?
if the data in client and middleware is different, when i sync , the data from the middleware will again download to the client replace the modified values
OR
the data in the client will uploaded to the middleware and trigger the MODIFY bapi wrappers ?
<b>
when i check my MEREP_MON, and MEREP_LOG there is no data inside this meaning after i changed the values and perform the sync, Inbox and Outbox still remain the previous data as well as inside the MEREP_LOG,
is it the bapi wrapper not call by the client ?
</b>
and i find out that my bapi not get called, what additional code should i add instead of the code below.
DO I NEED TO IMPLEMENT SOME CODE FOR UPLOADER ??
do i have to change the reqDirectSync="true", if yes, how do i changed, just change inside the editor, or there is somewhere to configure in sapgui
after i changed the data , i try to sync, and i check on merep_mon
what specific or additional steps i need to configure, on uploader / receiver or synchronizer
<b>i do not implement any syncBoDelta or global reset ?</b>Can someone explain the term "delta" to me and its activities?
if i have upload something, and sync, the Inbox should have something right ??
i just put add this code to modify my records
public String modifyRecord(String eventName,boolean didNavigate){
String syncBoName="ZCON";
String syncKey="0001230297";
tableViewBean.setString(syncBoName +" "+syncKey);
System.out.println("SyncBoName: " +syncBoName + " syncKey: " +syncKey);
tcp = TableContentProvider.instance(syncBoName);
tcp.modifyTable(syncBoName,syncKey); return JSP_DETAIL_SYNCBOINSTANCE;
public void modifyRecord(String syncBoName,String syncKey){
SyncBoDescriptor sbd=null;
sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
SyncBo sb=null;
try{
System.out.println("bp 2");
sb=dataFacade.getSyncBo(sbd,syncKey);
}catch(PersistenceException pex){
System.out.println("Exception in modifyRecordLoc:" +pex.getMessage());
SmartSyncTransactionManager transactionManager;
try{ transactionManager=dataFacade.getSmartSyncTransactionManager();
if(!transactionManager.isTransactionStarted()){
transactionManager.beginTransaction();
boolean b8=false;
b8=setHeaderFieldValue2(sb,"STREET","ANG MO KIO");
transactionManager.commit();
SetSendType();
listAllOutDelta();
checkInboxConflict();
}catch(Exception e){
System.out.println("Exception in modifyRecordAmt2:" +e.getMessage());
public void checkInboxConflict(){
ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
MeIterator iter;
SyncBoResponse resp;
try {
iter= errorConflictInbox.getAllSyncBoResponses();
while(iter.hasNext()){
resp= (SyncBoResponse)iter.next();
String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
String state=resp.getSyncBoResponseState().toString();
String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
String msg=resp.getText();// This will return the exact message from the server
System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +msg);
System.out.println("state:" +resp.getSyncBoResponseState().toString());
if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
String a=resp.getSyncBoResponseState().toString();
resp.acceptClientSyncBo();
String b=resp.getSyncBoResponseState().toString();
resp.delete();
System.out.println("state1: " +a +"state2: " +b);
boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
System.out.println("syncStatus:" +syncStatusComplete);
}catch (Exception e) {
e.printStackTrace();
public void listAllOutDelta(){
SyncBoOutDeltaFacade deltFac=SmartSyncRuntime.getInstance().getSyncBoOutDeltaFacade();
MeIterator allDelta;
try {
allDelta = deltFac.getAllDelta();
while(allDelta.hasNext()){
SyncBoOutDelta outDelta=(SyncBoOutDelta)allDelta.next();
System.out.println("SyncKey:" +outDelta.getSyncKey() +" Action:" +outDelta.getAction()
+" State:" +outDelta.getStateId() +" SendType:"+outDelta.getSendType());
} catch (SmartSyncException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (PersistenceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
public void SetSendType(){
SmartSyncRuntime ssRuntime = SmartSyncRuntime.getInstance();
SyncBoOutDeltaFacade boDeltaFacade = ssRuntime.getSyncBoOutDeltaFacade();
SyncBoDescriptorFacade descF = ssRuntime.getSyncBoDescriptorFacade();
SyncBoDescriptor myBO = descF.getSyncBoDescriptor("ZCON");
boDeltaFacade.setSendType(myBO, SyncBoOutDeltaSendType.SEND_DIRECT);
//SyncManager.getInstance().synchronizeWithBackend(VisibilityType.USER_SHARED);
public boolean setHeaderFieldValue2(
SyncBo sb,
String headerFieldName,
Object value) {
SyncBoDescriptor sbd = sb.getSyncBoDescriptor();
//RowDescriptor trd = sbd.getTopRowDescriptor();
System.out.println("bp 10");
RowDescriptor trd=sbd.getRowDescriptor("010");
System.out.println("bp 11");
FieldDescriptor fd = trd.getFieldDescriptor(headerFieldName);
System.out.println("fd:" +fd.getFieldName());
if (fd != null) {
BasisFieldType bft = fd.getFieldType();
//Row header = sb.getTopRow();
System.out.println("bp 12");
//Row header = null;
Row[] header=null;
//try {
//header = sb.getRow("0001211181");
//header=sb.getTopRow();
header=getItemInstances(sb,"010");
if(header==null){
System.out.println("is null");
}else{
System.out.println("not null");
//} catch (PersistenceException e1) {
// TODO Auto-generated catch block
// System.out.println("Exception getRow:" +e1.getMessage());
// e1.printStackTrace();
System.out.println("bp 13");
try {
// Integer operator
if (bft == BasisFieldType.N) {
System.out.println("Numeric");
NumericField nf = header[0].getNumericField(fd);
if (nf != null) {
BigInteger ii = new BigInteger(value.toString());
nf.setValue(ii);
return true;
} else {
return false;
// Character operator
if (bft == BasisFieldType.C) {
System.out.println("Character");
CharacterField cf = header[0].getCharacterField(fd);
if (cf != null) {
cf.setValue(value.toString());
return true;
} else {
return false;
// Decimal operator
if (bft == BasisFieldType.P) {
System.out.println("Decimal");
DecimalField df = header[0].getDecimalField(fd);
System.out.println("bp 1.1");
if (df != null) {
System.out.println("bp 1.2");
BigDecimal bd = new BigDecimal(value.toString());
System.out.println("bp 1.3");
df.setValue(bd);
System.out.println("bp 1.4");
return true;
} else {
System.out.println("bp 1.5");
return false;
// Similar operation for time and date operator fields
if (bft == BasisFieldType.D) {
System.out.println("Date");
DateField df = header[0].getDateField(fd);
if (df != null) {
if (value.toString().equals("0")) {
Date dat = Date.valueOf("0000-00-00");
df.setValue(dat);
} else if (!value.toString().equals("")) {
Date dat = Date.valueOf(value.toString());
df.setValue(dat);
} else {
Calendar cal = Calendar.getInstance();
java.sql.Date bd =
new java.sql.Date(cal.getTime().getTime());
df.setValue(bd);
return true;
} else {
return false;
// Similar operation for time and date operator fields
} catch (SmartSyncException ex) {
System.out.println(ex.getMessage());
} catch (PersistenceException e) {
System.out.println(e.getMessage());
return false;
SyncType: T01 Wrapper: GetList,GetDetail,Modify
<?xml version="1.0" encoding="utf-8" ?>
- <MeRepApplication schemaVersion="1.1" id="ZCON" version="01">
<Property name="CLIENT.BUILDNUMBER" />
<Property name="C_APPLRESOLVE" />
<Property name="DATA_VISIBLE_SHARED">X</Property>
<Property name="E_APPLRESOLVE" />
<Property name="FACADE_C_CLIENT">X</Property>
<Property name="FACADE_E_CLIENT">X</Property>
<Property name="HOMEPAGE.INVISIBLE" />
<Property name="INITVALUE" />
<Property name="RUNTIME">JSP</Property>
<Property name="TYPE">APPLICATION</Property>
- <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="false" downloadOrder="1">
- <TopStructure name="TOP">
- <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <ChildStructure name="010">
- <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="CITY1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="CITY2" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="STREET" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="HOUSE_NUM" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="REGION" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
</ChildStructure>
</TopStructure>
</SyncBO>
</MeRepApplication>
Message was edited by:
yzme yzme<u>my intention is very simple, i just need to update a field in a row and update to the middleware so that the backend will reflect the changes. </u>
>2 if i set the conflict/error handling to application, then i should have to implement some code for it, right ?
>3) List syncbooutdelta
<b>SyncKey:0001233035 Action:M SendType:SEND</b>
doesnt it mean that when i sync , the uploader will pick up this data and do a modification ??
i have change the metadata like this
<SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync=<b>"true" </b>downloadOrder="1">
1) i try to sync the application and check the worklist monitor, there is nothing in the inbox ? how come ?
2)if i test using emulator, i try to modify a value and execute, i am getting the following error.
<u>
Header action from mobile="MOD", R/3 action="ADD"
Return code 1 (DOWNLOADER)
</u>
i try to modify not "Add"
3) I am using Time 2 Way , how to check it is synchronous or asynchronous ? in merep_sbuilder, the default asyn. is checked, meaning async ??
the type is T01 , ASYNC
4)
public void checkInboxConflict(){
ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
MeIterator iter;
SyncBoResponse resp;
try {
iter= errorConflictInbox.getAllSyncBoResponses();
while(iter.hasNext()){
resp= (SyncBoResponse)iter.next();
String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
String state=resp.getSyncBoResponseState().toString();
String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
String msg=resp.getText();// This will return the exact message from the server
System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +mtext);
boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
System.out.println("syncStatus:" +syncStatusComplete);
}catch (Exception e) {
e.printStackTrace();
<u>bo:ZCON state: INITIAL res: CONFLICT msg:Conflict: R/3 = delete, device = modify
SyncStatus=true (complete)
</u>
5) after that i change my code to this
while(iter.hasNext()){
if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
String a=resp.getSyncBoResponseState().toString();
String a1=syncBO.getSyncState().toString();
resp.acceptClientSyncBo(); //No transaction stated to commit
resp.delete();
String b=resp.getSyncBoResponseState().toString();
String b2=syncBO.getSyncState().toString();
System.out.println("state1: " +a +"state2: " +b);
System.out.println("SyncState1: " +a1 +"SyncState2: " +b1);
<u>state1: INITIAL state2: RESOLVED </u>
<u>SyncStatus1:QUANRANTINE SyncStatus2: INCONSISTENT</u>
and i try to sync ...no data in worklist
6)i try to list out all the delta to be uploaded
ListAllOutDelta to be upload
<u>SyncKey:0001233349 Action:I State:99925F8E24DFFE49A4563C5E018E9B61 SendType:SEND
</u>
i am modifying the rows, not Insert a new row, the Action:'I' instead of 'M', pls clarify on this.
after i sync, i found out that there is 2 record with different syncKey but same primary key and all attributes appear to be same except the attribute that i changing.
<u>SYNCKEY PERSNUMBER CITY STREET HOUSENO</u>
0001230298 000000000 HELL <u>ANG MO KIO</u> 0123456789 (modified record)
0001230299 000000000 HELL <u>HEAVEN ST</u> 0123456789(old record)
i check the application and found out that the previous record that i modify have its value changing locally but not updated into the backend, after sync, there is another record downloaded into this application which is the old record before i modify with different syncKey.
but when i check the backend table, there is only 1 record inside, because i dont implement the 'Create' Bapi.
does it make sense ?
7) when i check my client , the data is persisted with modified value , but the changes is not reflected in the server, how come the data in client is not uploaded to the server.
acceptClientSyncBo will make the client wins how come the data is not get updated in server ?
Re: Regarding modifying Sync BO
According to him, can anyone translate the things highlighted below
for modifying one sync bo instance , there is no need to use createUnlinkedCopy()..
just use like this..
sb = dataFacade.getSyncBo(sbd,key);
SmartSyncTransactionManager transactionManager;
transactionManager = dataFacade.getSmartSyncTransactionManager();
transactionManager.beginTransaction();
setHeaderFieldValue(sb,"PERSNUMBER","9866321467");
setHeaderFieldValue(sb,"FIRSTNAME","RajaSekhar");
setHeaderFieldValue(sb,"LASTNAME","Varigonda");
setHeaderFieldValue(sb,"PROFESSION","Technical Specialist");
setHeaderFieldValue(sb,"***","MALE");
setHeaderFieldValue(sb,"BIRTHDAY","1977-09-28");
setHeaderFieldValue(sb,"HEIGHT","165");
setHeaderFieldValue(sb,"WEIGHT","75");
// Commit the transaction
transactionManager.commit();
setHeaderFieldValue - can be used to set value in new sync bo instance , or modify the instance.
<b>
But one main think here have to consider is , if you have created one Sync Bo instance , not synchronized with back end and u have modified that, then thats just like a creation .So during sync this will call Create Bapi Wrapper.
</b>
But after synchronization , is u are modifying that instance , then it is a modification(will call MODIFY Wrapper in back end during synchronization). u must have the right to modify this instance in the client side.
hope u got it.
u can debug MI Applications in NWDS.
refer this blog written by Arun
/people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
let me know , if u have doubts
Regards
Kishor Gopinathan
pls comment... -
Instead of trigger not populating view
I've got a interactive report. I created a view based on this so I can use it elsewhere. I had it wokring, have been distracted by other projects, came back and ARUGH...you know the story. The view is not updating with anything. Is it my trigger?
VIEW
CREATE OR REPLACE FORCE VIEW "GET_USERNAME_VW" ("DOC_INFO_ID", "DOC_TITLE", "DOC_LINK", "ECRNO", "OWNER", "ISO_NUMBER", "STATUS_ID", "FILE_TYPE", "APPROVAL_REQ", "APPROVED", "JOB_DESC", "USER_NAME") AS
select "DOC_INFO"."DOC_INFO_ID" as "DOC_INFO_ID",
"DOC_INFO"."DOC_TITLE" as "DOC_TITLE",
"DOC_INFO"."DOC_LINK" as "DOC_LINK",
"DOC_INFO"."ECRNO" as "ECRNO",
"DOC_INFO"."OWNER" as "OWNER",
"DOC_INFO"."ISO_NUMBER" as "ISO_NUMBER",
"DOC_INFO"."STATUS_ID" as "STATUS_ID",
"DOC_INFO"."FILE_TYPE" as "FILE_TYPE",
"DOC_INFO"."APPROVAL_REQ" as "APPROVAL_REQ",
"DOC_INFO"."APPROVED" as "APPROVED",
"SH_JOB_DESCRIPTION"."JOB_DESC" as "JOB_DESC",
"SH_EMPLOYEES"."USER_NAME" as "USER_NAME"
from "SH_EMPLOYEES" "SH_EMPLOYEES",
"SH_JOB_DESCRIPTION" "SH_JOB_DESCRIPTION",
"DOC_INFO" "DOC_INFO"
where "DOC_INFO"."OWNER"="SH_JOB_DESCRIPTION"."JOB_DESC"
and "SH_JOB_DESCRIPTION"."JOB_DESC_ID"="SH_EMPLOYEES"."JOB_DESC_ID"
and "DOC_INFO"."STATUS_ID" IN (1,2)
/TRIGGER
create or replace TRIGGER "bi_GET_APPROVAL"
INSTEAD OF UPDATE ON GET_USERNAME_VW
REFERENCING NEW AS n
FOR EACH ROW
BEGIN
update doc_info
set approval_req = :n.approval_req
WHERE DOC_INFO_ID = :old.DOC_INFO_ID;
update doc_info
set approved = :n.approved
WHERE DOC_INFO_ID = :old.DOC_INFO_ID;
END;My overlook - - In my testing I had been setting the status_id on my form to something other than 1 or 2. Friday afternoon has me making dumb mistakes - those kind that can really mess things up if you act on them. Better to take a break!
Thanks anyway!!
Have a great weekend. -
Source of supply is not updating in me53n from fiori App order from Requisition
Hi,
I am using Order from Requisition APP, to create a PO from Approved PRs.
while doing this, there is a step assign Supplier, i am assigning the supplier and created the PO Successfully.
But in backend, when i checked in t-code ME53N for Source of supply tab for a particular PR item. that tab is not updated with vendor details.
when i checked in created PO it gets updated there.
Purchase REquisiton
PO CREATed with above PR
Is there any workaround to update the source of supply in backend.
Thanks,
Venu
Tags edited by: Michael ApplebyHi,
We are using classic scenario in SRM 5.0.
We are using desired vendor in the purchase requisition, whenever the Purchase requisition is moving into the SRM Sourcing cockpit. We are unable to see the source of supply.
Source of supply is missing in sourcing cockpit (SOCO).
desired vendor number which is not updating, instead it is showing empty.
I have found some BADI like BBP_SOS_BADI and BBP_SOS_BADI_ICC, this BADI will trigger when a shopping cart has contract GUID, but we donu2019t have contract for this purchase requisition.
Could you please tell me the BADI or user EXIT name, by using this BADI I can populate the populate the source of supply and vendor in SOCO. -
Unable to proceed in change document are not updating in CDHD, CDPOS tables
Hi all,
This is a question related to Change document.
I created one custom Change document object ZBUDGETS.
As I am trying to place a trigger on FMIT (Total Funds Management) table I created a Change document object ZBUDGETS.
I included some of the authorized fields from FMIT table on which we placed the trigger.
And of course all those fields are change document enabled in the data element level. I generation of the update program was completed. And I got the function module zbudgets_write_document along with some include programs and structure.
Everything is fine, But i am unable to get this change document generated information to these tables are CDHDR and CDPOS.
the problem is when I make any expenditure like PO Posting, it will be logging in the FMIT table and the respective fields also updating. With this the Change document object should trigger and it should send the record in CDHDR and CDPOS tables. This is not happening. If the records are getting updated in the CDHDR and CDPOS tables I can use those include programs and function modules in my program to retrieve the changes in FMIT table.
Since I am unable to proceed further since the documents are not updating in CDHDR and CDPOS tables.
PrabhakarCDHDR and CDPOS will not be populated with entries only by creating the change document object.Change documents will be written to CDHDR and CDPOS tables only if the function zbudgets_write_document is called in the transaction which updates FMIT.
You need to find an use exit in the transaction updating FMIT and call the function zbudgets_write_document in that exit.
Refer the below link http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa01b6493111d182b70000e829fbfe/content.htm
-Kiran
*Please reward useful answers -
Remote file template not updating on website
Hello I am very very new to dreamweaver and have been handed a website that I have to maintain and make changes to.
The website uses a template called index with further nested templates as shown
The index template contains the code for the Menu Bar and footer and although I have been able to make other updates and changes I am finding that any changes to the code on this template do not show up on the site. The strange thing is that both the local and remote code has updated as I would like it is just the website itself that is not changing. When I view the website source code it is different to the remote file code. I assume that the link between the two is somehow broken but I do not know how to fix it. Is there a trick to fixing such a problem or am I wrong about this being the problem?
Here is the remote file code which is that same as the local code - I have out the code that is not updating in bold and underlined it:
<body>
<div class="container">
<div class="header">
<div id="header_top">
<div id="text_only"><a href="http://www.genesi-fp7.eu/betsie/parser.pl">Text-only</a> </div>
<div id="admin"><a href="../admin/index.php">admin</a> </div>
<div id="search"><a href="../webpages/search/search.html">search</a></div>
<div id="header_middle">
<div id="logo_left"><img src="../images/500px-Flag_of_Europe.svg.png" alt="European Union" width="167" height="111" border="0" /></div>
<div id="logo_middle"><img src="../images/Genesi_Logo.png" alt="GENESI" width="620" height="111" border="0" /></div>
<div id="logo_right"><a href="http://cordis.europa.eu/home_en.html"><img src="../images/fp7.png" alt="Seventh Framework Programme" width="154" height="111" border="0" /></a></div>
</div>
<div id="header_bottom">
<ul id="MainMenu" class="MenuBarHorizontal">
<li><a href="../index.html">home</a> </li>
<li><a href="../webpages/news/news.php">news</a></li>
<li><a href="../webpages/programme/programme_wp1.html">programme</a></li>
<li><a href="../webpages/consortium/consortium_0.html">consortium</a></li>
<li><a href="../webpages/downloads/downloads.php">downloads</a></li>
<li><a href="../webpages/links/links.html">links</a></li>
<li><a href="../webpages/contact/contact.html">Contact</a></li>
</ul>
</div>
</div>
<!-- end .header --></div>
<!-- TemplateBeginEditable name="mainSection" -->
<div class="mainSection">
<h1>here is the main section </h1>
</div>
<!-- TemplateEndEditable -->
<div class="footer">
<div id="footer_top">This project is co-financed by the <a href="http://ec.europa.eu/index_en.htm">European Commission</a> and made possible within the <a href="http://cordis.europa.eu/fp7/home_en.html">VII Framework Programme</a></div>
<div id="footer_middle">Page maintained by <a href="mailto:[email protected]">Molly Buckingham</a> · Last update: <!-- #BeginDate format:En2 -->03-Apr-2013<!-- #EndDate -->
</div>
<div id="footer_bottom">
<div>© 2012 <a href="../webpages/consortium/consortium_1.html">G.EN.ESI Consortium</a> · <a href="../webpages/footer/Disclaimer.html">Disclaimer</a> · <a href="../webpages/footer/privacy_notice.html">Privacy Statement</a></div>
</div>
<!-- end .footer --></div>
And here is the source code from the website - again the code is underlined and in bold
<!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; } /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]-->
<!-- InstanceEndEditable -->
</head>
<body>
<div class="container">
<div class="header">
<div id="header_top">
<div id="text_only"><a href="http://www.genesi-fp7.eu/betsie/parser.pl">Text-only</a> </div>
<div id="admin"><a href="../../admin/index.php">admin</a> </div>
<div id="search"><a href="../search/search.html">search</a></div>
<div id="header_middle">
<div id="logo_left"><img src="../../images/500px-Flag_of_Europe.svg.png" alt="European Union" width="167" height="111" border="0" /></div>
<div id="logo_middle"><img src="../../images/Genesi_Logo.png" alt="GENESI" width="620" height="111" border="0" /></div>
<div id="logo_right"><a href="http://cordis.europa.eu/home_en.html"><img src="../../images/fp7.png" alt="Seventh Framework Programme" width="154" height="111" border="0" /></a></div>
</div>
<div id="header_bottom">
<ul id="MainMenu" class="MenuBarHorizontal">
<li><a href="../../index.html">home</a> </li>
<li><a href="../news/news.php">news</a></li>
<li><a href="../programme/programme_wp1.html">programme</a></li>
<li><a href="consortium_1.html">consortium</a></li>
<li><a href="../downloads/downloads.php">downloads</a></li>
<li><a href="../links/links.html">links</a></li>
<li><a href="../contact/contact.html">Contact</a></li>
</ul>
</div>
</div>
<!-- end .header --></div>
<div class="mainSection">
<div class="SubMenuBar">
<ul id="SubMenu" class="MenuBarVertical">
<li><a href="consortium_1.html">Università Politecnica Delle Marche</a></li>
<li><a href="consortium_2.html">Granta Design Ltd</a></li>
<li><a href="consortium_3.html">Faber s.p.a.</a></li>
<li><a href="consortium_4.html">Sibuet Environnement</a></li>
<li><a href="consortium_5.html">Bonfiglioli Vectron Gmbh</a></li>
<li><a href="consortium_6.html">ENEA</a></li>
<li><a href="consortium_7.html">University of Bath</a></li>
<li><a href="consortium_8.html">Grenoble Institute of Technology</a></li>
</ul>
</div>
<!-- InstanceBeginEditable name="content" -->
<div class="content">
<h1><strong>The Università Politecnica delle Marche</strong></h1>
<p><img src="../../images/delle_Marche.jpg" alt="The Università Politecnica delle Marche" width="142" height="142" />The Università Politecnica delle Marche(UNIVPM) is situated in the Marche Region (area of Ancona) that is the one of most important European industrial districts related to the household appliances, in fact many European leader companies such as Indesit , Elica, Ariston TG, Faber, and many others, have their headquarters there. Thanks to this geographical position UNIVPM has many collaborations with these companies and it has matured a vast skill on research topics related to the household appliances field. UNIVPM has 5 faculties, 550 professors (the largest is the Engineering Faculty with 180 professors), 12 technical Departments and 17,000 students; it participates to 23 academic spin-off. The central administration of UNIVPM has a management department which gives support to technical departments in European project set up, negotiation and administration of the grant agreement, draft and negotiation of the consortium agreement as well as project financial reporting. In this project will be involved the Department of Mechanics that has a remarkable experience on European Projects since it has been coordinator of 6th and 7th FP projects and it is involved in 9 active European projects. In particular, UNIVPM coordinates the G.EN.ESI project from an administrative and technical point of view.</p>
<p>The scientific contact at the Università Politecnica delle Marche for the G.EN.ESI project is Prof. Michele Germani. </p>
</div>
<!-- InstanceEndEditable --></div>
<script type="text/javascript">
var MenuBar2 = new Spry.Widget.MenuBar("SubMenu", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
<div class="footer">
<div id="footer_top">This project is co-financed by the <a href="http://ec.europa.eu/index_en.htm">European Commission</a> and made possible within the <a href="http://cordis.europa.eu/fp7/home_en.html">VII Framework Programme</a></div>
<div id="footer_middle">Page maintained by <a href="mailto:[email protected]">Chunlei Li</a> · Last update: <!-- #BeginDate format:En2 -->25-Apr-2012<!-- #EndDate -->
</div>
<div id="footer_bottom">
<div>© 2012 <a href="consortium_1.html">G.EN.ESI Consortium</a> · <a href="../footer/Disclaimer.html">Disclaimer</a> · <a href="../footer/privacy_notice.html">Privacy Statement</a></div>
</div>
<!-- end .footer --></div>
<!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MainMenu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
<!-- InstanceEnd --></html>
Thank you in advance for your helpJon Fritz that did actually work for some of the pages but not others. I upadted each invidivual page, except the main page as I have not finished the content and now some of the pages are acting strangely.
Here is the website http://www.genesi-fp7.eu/index.html
As you can see every page except the 'Contacts' and 'Links' page is now reading the correct code when you click on the 'Consortium' tab. The strange thing however is that the footer has updated on the 'Links' page suggesting that this part of the template has updated. Both these pages are based on the Index-misc nested template. The code is copied here:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<link href="../styles/genesi.css" rel="stylesheet" type="text/css" />
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/MainMenu.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SubMenu.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="google-site-verification" content="3L2ZN1aLnNO1X__brL1UzpHsgkiL7NdjWT8oJnAxF64" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>G.EN.ESI</title>
<!-- InstanceEndEditable -->
<!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; } /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<!-- InstanceEndEditable -->
</head>
<body>
<div class="container">
<div class="header">
<div id="header_top">
<div id="text_only"><a href="http://www.genesi-fp7.eu/betsie/parser.pl">Text-only</a> </div>
<div id="admin"><a href="../admin/index.php">admin</a> </div>
<div id="search"><a href="../webpages/search/search.html">search</a></div>
<div id="header_middle">
<div id="logo_left"><img src="../images/500px-Flag_of_Europe.svg.png" alt="European Union" width="167" height="111" border="0" /></div>
<div id="logo_middle"><img src="../images/Genesi_Logo.png" alt="GENESI" width="620" height="111" border="0" /></div>
<div id="logo_right"><a href="http://cordis.europa.eu/home_en.html"><img src="../images/fp7.png" alt="Seventh Framework Programme" width="154" height="111" border="0" /></a></div>
</div>
<div id="header_bottom">
<ul id="MainMenu" class="MenuBarHorizontal">
<li><a href="../index.html">home</a> </li>
<li><a href="../webpages/news/news.php">news</a></li>
<li><a href="../webpages/programme/programme_wp1.html">programme</a></li>
<li><a href="../webpages/consortium/consortium_0.html">consortium</a></li>
<li><a href="../webpages/downloads/downloads.php">downloads</a></li>
<li><a href="../webpages/links/links.html">links</a></li>
<li><a href="../webpages/contact/contact.html">Contact</a></li>
</ul>
</div>
</div>
<!-- end .header --></div>
<!-- InstanceBeginEditable name="mainSection" -->
<div class="mainSection">
<div class="SubMenuBar"><!-- TemplateBeginEditable name="subMenu" -->
<ul id="SubMenu" class="MenuBarVertical">
<li><a href="#">MISC</a></li>
</ul>
<!-- TemplateEndEditable --></div>
<!-- TemplateBeginEditable name="content" -->
<div class="content">
<h1>Introduction to the G.EN.ESI Project</h1>
<p>The sustainability of industrial products, particularly household appliances, is an important issue today. Energy consumption in the residential/domestic sector is about 20% of world consumption, and associated greenhouse gas emissions exceed 35%. Household appliances contribute greatly to these values and thus require particular attention as far as sustainability is concerned.</p>
<p>It is well known that decisions taken during the early design of products are very important in determining total product cost. It is possible to hypothesize the same for environmental impacts – i.e. the sustainability of a product is largely determined during the early design stage. In order to allow designers to make well-informed decisions, new design methods and tools are needed to provide the basis for determining the degree of sustainability of a given product or process. Many eco-design procedures and tools have been developed but they are often far from a practical day-by-day application in company engineering departments, and they are not well integrated with computer-aided design tools. This project wants to make up for this limitation and to develop an eco-design methodology (called G.EN.ESI) and a related software design tool (called the G.EN.ESI platform) able to help product designers in ecological design choices, without losing sight of cost and typical practicalities of industry. The software platform will propose a guided process towards eco-design among several design choices based on the different scenarios of product lifecycle. The proposed approach will be applied to the household appliance field but it can be easily extended to other mechatronic products.</p>
<p>The project started in February 2012 and will continue until January 2015.</p>
</div>
<!-- TemplateEndEditable --></div>
<script type="text/javascript">
var MenuBar2 = new Spry.Widget.MenuBar("SubMenu", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
<!-- InstanceEndEditable -->
<div class="footer">
<div id="footer_top">This project is co-financed by the <a href="http://ec.europa.eu/index_en.htm">European Commission</a> and made possible within the <a href="http://cordis.europa.eu/fp7/home_en.html">VII Framework Programme</a></div>
<div id="footer_middle">Page maintained by <a href="mailto:[email protected]">Molly Buckingham</a> · Last update: <!-- #BeginDate format:En2 -->03-Apr-2013<!-- #EndDate -->
</div>
<div id="footer_bottom">
<div>© 2012 <a href="../webpages/consortium/consortium_1.html">G.EN.ESI Consortium</a> · <a href="../webpages/footer/Disclaimer.html">Disclaimer</a> · <a href="../webpages/footer/privacy_notice.html">Privacy Statement</a></div>
</div>
<!-- end .footer --></div>
<!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MainMenu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
<!-- InstanceEnd --></html>
Murray do you suggest that I try and get rid of the nested templates or am I biting off more than I can chew after two days of self training?
Thank you -
Lightroom not showing up in Creative Cloud "your apps" list with others, thus is not updating
I use several Adobe programs, among them Lightroom. However, in my Creative Cloud window, accessible in the header bar on my desktop, the other apps show up under "Your Apps", but not Lightroom 5. Therefore, it is not updating to 5.2. How can this be remedied? I've tried updating it manually, but it was unsuccessful.
(Also, is there ANY phone or email tech support with an Adobe application support employee? I cannot find either, which is frustrating being a paying monthly member.)
Thanks!Justimy are you stating you are unable to see Lightroom listed in the Creative Cloud desktop application? Is so please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html for information on how to restore Photoshop Lightroom as being listed.
Please do be aware that this will not affect the Photoshop Lightroom 5.2 update being available. You will want to trigger the Lightroom update from within the Photoshop Lightroom application. Photoshop Lightroom utilizes different technology than the majority of the Creative Cloud application offerings which is why it is necessary to utilize a different workflow to obtain the update.
Finally you are welcome to contact our support team at http://adobe.ly/yxj0t6. You can also find the support options available for your country/region at http://helpx.adobe.com/support.html?promoid=KAWQK. -
New Podcast Episode Not Updating in iTunes
Hello Apple Community,
My name is Sara Simms, I have recently started a new DJ podcast series called Flight. My new episode has not updated yet in the iTunes store (its been over three days since I uploaded it)
My podcast episodes are hosted here:
http://sarasimms.blogspot.ca
My Feedburner URL is:
feed://feeds.feedburner.com/sarasimmsflightofficialpodcast
I also uploaded new artwork via Feedburner, in the 'Podcast' section of iTunes I see the artwork has updated.
However, in the iTunes store itself, the new artwork is not displayed. Here is the link to my iTunes podcast:
http://bit.ly/VM8tcF
I just pinged Feedburner, hopefully this helps to update everything.
Could anyone else please let me know if there's anything else I should check/change to make sure my podcast episodes are updating?
Thank you in advance!
Best wishes,
Sara SimmsYour second episode has a media file referenced at http://sarasimms.com/wp-content/uploads/2014/flight_episode_two
This works when the URL is entered in a browser, but at the URL has no extension (.mp3) iTunes does not see it as being a media file and thus does not display the episode. You need to give a full URL including the extension, as you have done for your first episode.
You are mixing episodes with and without media files - there are a lot of earlier episodes which don't have media files - these won't show in iTunes. If blogger limits the number of episodes shown in the feed, these will count towards that limit which could result in episodes not showing in iTunes once you have added enough episodes to trigger the limit. -
Hello,
Upon performing our daily system checks, one of the item is to monitor the sending of SLD data of the installed systems in the System Landscape to the Central SLD which in our case is the XI box. Four of our systems having Java stack did not update. With that, i performed the necessary steps to trigger it so that it'll update in both Web AS ABAP and Web AS Java. With regards to ABAP, i triggered and activated the system to collect and send SLD data via RZ70. As for the Java Systems, i triggered and activated it in the SLD Data Supplier in the visual admin. I performed the CIMOM test and it was a success. Furthermore, i've triggered the send SLD data. In order to check whether it worked or not, i've checked the respective local SLDs of the systems and viewed that it is updated there for both ABAP and JAVA. Furthermore, i've checked the system landscape and viewed the systems are updated for both ABAP and JAVA except for our APO system, both ABAP and JAVA as well. As another step, i reconfigured the Data supplier in the administration of the SLD of APO in order to make sure that the password of xisuper is correct or something. However, until now, it has yet to be updated.
Hope you could help me.
Thanks so much!Have you checked the Log on the receiving and sending SLDs to see of there is an error?
-
IDOC_INPUT_HRMD, it posts the document but does not update the Infotypes
Hi,
I am trying to trigger the IDoc Type 'HRMD_A06'. This Idoc was posted successfully, with the status as '53' (inbound IDoc). The Processing Function Module is IDOC_INPUT_HRMD for the IDoc "HRMD_A06". However the infotypes are not updated. The infotypes I am trying to update are 0000,0001,0002,0006, & 0008.
If someone has a solution for this issue. Kindly let me know.
Regards,
NarunHi Srinu,
Again....
Whats happening in Debug ???
Just clone the FM as it is and use the FM HR_INFOTYPE_OPERATION instead of other.
Parameters:
The following code is for infotype 15 inside custom FM which i have done. u can use for ref.
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
pernr = l_wa_p0015-pernr
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc = 0.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = c_0015
NUMBER = l_wa_p0015-pernr
SUBTYPE = l_wa_p0015-subty
OBJECTID =
LOCKINDICATOR =
VALIDITYEND = l_wa_p0015-begda
VALIDITYBEGIN = l_wa_p0015-endda
RECORDNUMBER =
RECORD = l_wa_p0015
OPERATION = c_ins1
TCLAS = c_a
DIALOG_MODE = '0'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = l_i_return .
KEY =
To dequeue the selected employee
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
pernr = l_wa_p0015-pernr. -
Status for the transferred Suppliers is not updated in ROS client!
Hi all,
We are running on SRM 5.0(Sp6).After i transfer the propects from ROS to EBP and when i convert them to VENDOR in EBP,then the status of the suppliers become "RELEASED" in EBP but the status is not updated in ROS client.
What is to be done so that once the prospect is saved as a VENDOR in EBP,its status should be updated /set as RELEASED in ROS client too?
Any help is appreciated...Points will be rewarded.
BR,
Disha.Deepti / Ramakrishna,
As per Rama's comments, the BP status is released only when we use SUS and the information is passed via XI. However in our case we have ROS (without SUS) and EBP in same client. In this scenario XI is not required to transfer the Business partner status as per OSS note 1134978.
So any idea how do we change the status from ACCEPTED to RELEASED?
Deepti - in one of the thread you did mention about a workaround to update the status? Did you manage to crack it?
Do you recommend having separate client for ROS, so that system automatically trigger XML message by standard?
Regards,
Sandeep Parab -
Trigger on update which delete updated record
Hello,
First I'm french so my english isn't very good.
I use an Oracle8i database with a VB program.(This program run also with SQL Server)
When a specific field is updating, I would like deleting the record updated, but only when this specific is updated. In other case, I would like to have the update statement.
I made a trigger "after update".
When I tried to do this , I had the message that "table or record is in "mutation" (in french) : his state is changing.
So I created a view on table as "select * from table where ...." and I used a trigger "instead of update" on the view. It works when I update the specific field but in the other case the update command don't work (it's normal).
Is it possible to make a "generic" update statement (as I have this functionality on every table of my database) ?
=> I tried to write the update command in a variable with a loop on user_tab_columns table to have the list of columns and "EXECUTE variable" but it doesn't work.
=> I don't find the possibility to activate a trigger "instead of" only when some columns are updated.
=> ..... ???? If some one have an idea ?????
Stephane DoussiereThe best you can do is put this code in a procdeure. Pass in the tablename as a parameter and use EXECUTE IMMEDIATE to action the delete.
Then you can generate the triggers (and views) using the data dictionary.
In passing I have to say this strikes me as a bizarre way of doing things. This is why many of us regard the INSTEAD OF trigger as a bad thing; because it's not intuitive - I update a record I expect it to be updated, not deleted. Mind you, at least it's all the tables in the database, so you are consistent, which helps.
Cheers, APC -
Hi Friends,
We are using Project System in our client. We have to fetch the Project details using BAPI - presently we are using BAPI_PROJECT_GETINFO bapi for this purpose.
However, in the E_ACTIVITY table, we are not able to fetch any Planned costs and Actual costs data. When we debugged, we found that the source of this fields to be COSS and COSP tables.
But the problem is I'm not able to populate the COSS and COSP tables.
When I tried Primary cost planning via CJR4 also, this table is not updated for the WBS element.
Please help.
Regards
Srini.USE [ClubManagement]
GO
/****** Object: Trigger [dbo].[DailyAtten] Script Date: 03/04/2015 18:14:54 ******/
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
ALTER
TRIGGER [dbo].[DailyAtten]
ON [dbo].[Temp_AValue]
AFTER UPDATE
AS
BEGIN
Delete from MCheckInOut
Delete
from HOCheckInOut
DECLARE @sqry
NVARCHAR(2000)
DECLARE @mqry
NVARCHAR(2000)
DECLARE @cols
NVARCHAR(2000)
DECLARE @vals
NVARCHAR(2000)
DECLARE @hmqry
NVARCHAR(2000)
SET @cols
= STUFF((SELECT
DISTINCT '],['
+ CONVERT(NVARCHAR, [CHECKTYPE])
FROM [dbo].[CHECKINOUT]
ORDER BY
'],[' + CONVERT(NVARCHAR, [CHECKTYPE])
FOR XML
PATH('')), 1, 2,
+ ']'
SET @sqry
= 'SELECT [UserID],[SENSORID], CONVERT(DATETIME,CONVERT(NVARCHAR, YEAR([CHECKTIME])) + ''-'' + CONVERT(NVARCHAR, MONTH([CHECKTIME])) + ''-'' + CONVERT(NVARCHAR, DAY([CHECKTIME]))) AS [chDate],
RIGHT([CHECKTIME],8) AS chTime, CHECKTYPE ' +
'FROM [dbo].[CHECKINOUT]'
SET @mqry
= 'SELECT [UserId],[SENSORID], [chDate], '
+ @cols +
' ' +
'FROM (' + @sqry
+ ') AS DT '
+
'PIVOT (MAX(DT.[chTime]) FOR DT.[CHECKTYPE] IN ( '
+ @cols +
' )) AS PT ' +
--'wHERE [SENSORID] = 1' +
'ORDER BY PT.[chDate]'
SET @hmqry
= 'SELECT [UserId],[SENSORID], [chDate], '
+ @cols +
' ' +
'FROM (' + @sqry
+ ') AS DT '
+
'PIVOT (MAX(DT.[chTime]) FOR DT.[CHECKTYPE] IN ( '
+ @cols +
' )) AS PT ' +
'WHERE [SENSORID] = 1' +
'ORDER BY PT.[chDate]'
insert
into MCheckInOut
EXECUTE(@mqry)
insert
into HOCheckInOut
EXECUTE(@hmqry)
END
GO -
Orchestrator - SCSM List not updating
Hi,
When updating or adding a list item in Service Manager it is not showing in Orchestrator.
For instance, I added a new support group that will trigger a task whenever a ticket is assigned to that Support Group. On the Monitor Object task when I select Support Group as a filter, it shows a list without my newly created Support Group.
I have an SCSM connector to Orchestrator, but when I run it I see no change.
Is there something else that I have to try?Hi,
Yes it's a real problem ... you can try this
In order to force SCO runbookactivity (i.e. Get Object) to re-read a class property:
1. Open an activity
2. If the activity had any filters, make a note of them
2. Under Class field, click on Brows button and select the same class
3. If the activity had any filters, they would be deleted at this point - re-enter the filters.
FYI you can read this :
https://social.technet.microsoft.com/Forums/en-US/ee9b3ca7-415f-4c74-afeb-0f6ec08c2ba2/orchestrator-scsm-2012-activity-does-not-update-custom-class-properties-automatically-how-to?forum=scogeneral
Remy BOVI
Maybe you are looking for
-
SDM Error while deploying apllication in fresh installation of SAP.
hi friends i installed Web AS and EP, and trying to deploy first WebDynpro Application in SDM then getting following Error... I am giving SDM password = Masterpassword. Error>>>>>>>> Mar 13, 2007 7:23:10 PM /userOut/deploy (com.sap.ide.eclipse.sdm.t
-
Since I installed the new Maverick update, iPhoto crashes on my Macbook Pro at the final stages of install and I am not able to acces my photos because a widow pop up telling me that iPhoto is being updated but it is not updating. What do I do now?
-
Photoshop PSD is importing as Quicktime Picture
I am creating menus in DVDSP 4.1.2 and when I import my PSD files they show up in the Assets window they appear as a "quicktime picture" not a "photoshop still" that will allow me to select my overlays, etc. Checked the Apple DVDSP boards only came a
-
Count number of rows from oracle and sql database and generate a report
Hi All, Can someone help me in writing a java program for the following scenario? 1. Read the number of rows available from oracle table and print the total row count in a Report.txt text file. 2. Read the number of rows inserted in a sql database (a
-
An error occured while publishing file
I have not been able to publish using iWeb 1.1.1 or 1.1.2. I receive the message - "An error occured while publishng file "/web/sites/iWeb/etc.. I have been able to publish using iWeb 1.0 without any problem. But as soon as I upgrade - the publish fe