Query to check modified records
Hi,
I have a situation, one of my user was running dataload on production database and somehow dataload failed its sequence and opened screens and it was not supposed to. Today, we discovered that some BOM master records were modified and diagnosing the issue from Last_updated_by column and username is pointing to a session of the same user. The conclusion is that dataload might have changed other records too.
To solve this issue, I need to code a SQL that will give me a list of all tables / records in the database that were changed by this user on an particular date.
Can someone please tell me am I safe to get the table name from all_tables or does things work different in APPS 11i?
Thanks
Aali
Edited by: aali on 09-May-2011 01:41
You may be overcautious.
Typically (but not always), when data load goes out of sync, it is rare that it will affect unrelated entities (unless you had ALT key in the dataload file).
Which screens were you performing data load on? Were they bom screens?
You can use the following
SELECT 'select count(1) '
|| table_name
|| ' from '
|| owner
|| '.'
|| table_name
|| ' where last_update_date > sysdate - 1 and last_updated_by = 11531;'
FROM all_tables AT
WHERE EXISTS (
SELECT 1
FROM all_tab_columns atc
WHERE atc.table_name = AT.table_name
AND atc.owner = AT.owner
AND atc.column_name = 'LAST_UPDATED_BY')
AND EXISTS (
SELECT 1
FROM all_tab_columns atc
WHERE atc.table_name = AT.table_name
AND atc.owner = AT.owner
AND atc.column_name = 'LAST_UPDATE_DATE')
--AND owner IN ('AP','GL','AR','FND')Add code to narrow down the list above otherwise it will return too many records.
Hope this helps,
Sandeep Gandhi
Similar Messages
-
SQL query to check continious records
With T1 As ( SELECT ‘E1’ as E ,1100 as T , 15.0787 as SM1 , 16.1345 as EM1 from dual union all
SELECT ‘E1’ ,1100 , 16.084 , 18.045 from dual union all
SELECT ‘E2’ ,1100 , 15.0787 , 16.1345 from dual union all
SELECT ‘E2’ ,1100 , 15.0327 , 18.045 from dual union all
SELECT ‘E3’ ,1100 , 15.0197 , 16.1445 from dual union all
SELECT ‘E3’ ,1100 , 16.1445 , 18.045 from dual union all
SELECT ‘E4’ ,1100 , 13.0787 , 14.0743 from dual union all
SELECT ‘E4’ ,1100 , 14.0743 , 34.0843 from dual union all
SELECT ‘E4’ ,1100 , 34.0843 , 54.0743 from
SELECT ‘E4’ ,1110 , 13.0787 , 14.0743 from dual union all
SELECT ‘E4’ ,1110 , 14.0743 , 34.0843 from dual union all
SELECT ‘E4’ ,1110 , 34.0843 , 54.0743 from union all
SELECT ‘E1’ ,1100 , 19.084 , 20.045 from )
Main Output should be come as
E1 1100 15.0787 18.045
E2 1100 15.0787 16.1345
E2 1100 15.0327 18.045
E3 1100 15.0197 18.045
E4 1100 13.0787 54.0743
E4 1110 13.0787 54.0743
E1 1100 19.084 20.045
could you help me with an sql to get the first output ?
Logic to derive the above output:
For a particular set of E and T as long as the EM1 of previous record <=SM1 of next record and SM1 of previous record < = SM2 of next record then consider it as a continious record. So record will become for this set
‘E1’ 1100 15.0787 16.1345
‘E1’ ,1100 , 16.084 , 18.045
temporary Output wll be : E1 1100 15.0787 18.045Hi,
user5698021 wrote:
With T1 As ( SELECT ‘E1’ as E ,1100 as T , 15.0787 as SM1 , 16.1345 as EM1 from dual union all
SELECT ‘E1’ ,1100 , 16.084 , 18.045 from dual union all
SELECT ‘E2’ ,1100 , 15.0787 , 16.1345 from dual union all
SELECT ‘E2’ ,1100 , 15.0327 , 18.045 from dual union all
SELECT ‘E3’ ,1100 , 15.0197 , 16.1445 from dual union all
SELECT ‘E3’ ,1100 , 16.1445 , 18.045 from dual union all
SELECT ‘E4’ ,1100 , 13.0787 , 14.0743 from dual union all
SELECT ‘E4’ ,1100 , 14.0743 , 34.0843 from dual union all
SELECT ‘E4’ ,1100 , 34.0843 , 54.0743 from
SELECT ‘E4’ ,1110 , 13.0787 , 14.0743 from dual union all
SELECT ‘E4’ ,1110 , 14.0743 , 34.0843 from dual union all
SELECT ‘E4’ ,1110 , 34.0843 , 54.0743 from union all
SELECT ‘E1’ ,1100 , 19.084 , 20.045 from )Thanks for posting this. Please test (and, if necessary, correct) your code before you post it. The code above has syntax errors.
Use only straight single-quotes (CHR (39)) around string literals. That is, don't say:
SELECT ‘E1’ , ...instead, say:
SELECT 'E1' , ...
Main Output should be come as
E1 1100 15.0787 18.045
E2 1100 15.0787 16.1345
E2 1100 15.0327 18.045
E3 1100 15.0197 18.045
E4 1100 13.0787 54.0743
E4 1110 13.0787 54.0743
E1 1100 19.084 20.045
could you help me with an sql to get the first output ?
Logic to derive the above output:
For a particular set of E and T as long as the EM1 of previous record <=SM1 of next record and SM1 of previous record < = SM2 of next record What is sm2?
then consider it as a continious record. So record will become for this setWhat does "previous" mean in this case? If you look at 2 rows, how can you tell which comes first? Remember, there is no built-in order to rows in a relational database. Are there other significant columns in the table that you haven't shown?
‘E1’ 1100 15.0787 16.1345
‘E1’ ,1100 , 16.084 , 18.045
temporary Output wll be : E1 1100 15.0787 18.045You can use LEAD or LAG to see when a new group starts, creating a new column with 0 or 1. Use the analytic SUM function on that column to see how many groups have already begun, and then GROUP BY that number; something like this:
WITH got_grp_start AS
SELECT e, t, sm1, em1
, order_col
, CASE
WHEN e = LAG (e) OVER (ORDER BY order_col)
AND t = LAG (t) OVER (ORDER BY order_col)
AND sm1 BETWEEN LAG (sm1) OVER (ORDER BY order_col)
AND LAG (em1) OVER (ORDER BY order_col)
THEN 0
ELSE 1
END AS grp_start
FROM t1
, got_grp AS
SELECT e, t, sm1, em1
, SUM (grp_start) OVER (ORDER BY order_col) AS grp
FROM got_grp_start
SELECT e
, t
, MIN (sm1) AS start_sm1
, MAX (em1) AS end_em1
FROM got_grp
GROUP BY grp, e, t
ORDER BY grp
;I couldn't test this, of course.
I assume there's another column, order_col, in the table, that determines what "previous" means.
Edited by: Frank Kulash on Dec 7, 2012 6:15 AM -
Check/uncheck record results on more than one step at a time
I have one hundred plus sequence files and several thousand steps total. Checking and un-checking record results one step at a time takes a long time. I'd like to be able to select several steps at a time then check or un check the "Record Results" option for all those steps at once. How do I do this? I'm using TestStand 2.0
Hi Kevin,
Thanks for contacting National Instruments.
Do you want to disable result recording for ALL sequences on this station? If so, you can turn on this option in the TestStand sequence editor (Configure >> Station Options, turn ON checkbox "Disable result recording for all sequences").
However, if you only want to do this for selected sequence files, then Ray is correct - you would need to write an external routine that will automate this for you. Attached is a zipfile containing a VBScript that will iterate through one sequence file ("c:\test.seq") and change all steps (all sequences, including Main/Setup/Cleanup) to turn off "Record Results". It first saves a backup copy of the sequence file, makes the changes, then save
s the modified sequence file. You can enhance this script to work for more than one sequence file by using Microsoft's FileSystemObject.
The VBScript uses a DLL I created, which exposes the TestStand 2.0 Engine object as an ActiveX DLL. Before you can run the VBScript, you will need to register this DLL:
regsvr32 TSEngine.dll
Then, the VBScript can be executed just by double-clicking it. Hopefully this helps get you started toward creating an automated way of solving this problem!
David Mc.
National Instruments
Attachments:
ts2seqfiles.zip 4 KB -
Checkout - modify record fails
Hi all,
I am facing a strange problem with Java API SP06.
I am checking out the main table records and I am setting field values for a record. When i execute modifyrecords command for the checkedout maintable record, I am getting a server exception...
"The records is protected"
The user session is same for all the operation.
I cannot figure out the problem.
Cant we do modification on checked out records?
Best regards,
Arun prabhu SHi Walter,
Thanks for the reply.
I was using modifyrecordCommand. i was getting "record is protected" exception.
Now i have changed my approach.
I am using modifyrecordscommand. Here i am supplying the records which i have modified. But the modification does not affects the checked out records.
BTW...Where do i supply the record ids? From my knowledge modifyrecordsbyID is not supported in SP06.
Kindly clarify.
Thanks and best regards,
Arun prabhu S -
Portal check out record does not check in when MDM workflow is active
Hi Experts,
We are using portal as front end for the MDM material creation/update.
when a user tries to edit a material via portal, the record is checked out in mdm and once the record update is done and submitted that particular record will be checked in. this is normal process and automatic in nature till date.
However, we have created a simple workflow in mdm, we havent checked out records in start step of workflow.
So it normally executes without check out /in via MDM Workflow.
workflow triggerring action = record import, record update, record add.
when i edit the material vai data manager WF triggers fine and all is well.
However when i edit the material via portal, record is checked out (which is normal) and once record is submitted, the workflow in mdm is triggered successfully.
Workflow ends with all necessary syndication's and validations and ends successfully, But after this the record still remains as checked out? ???
ideally as mentioned above (in bold) once the user completes editing the record and submits it, the record should be checked in, but this is not happening!!!
Please let me know why is this happening.
Please help.
Regards
EvaHi Eva,
That is useful.
Analyzing this issue I came across SAP note 1740194-Record remains in exclusive lock after workflow is completed.This was an issue observed in SAP MDM 7.1 SP08.
It gives a workaround -
The workaround is:
The owner of updating has to click on the modified record in Data Manager after workflow completed. The original modified record will be unlocked.
Ofcourse,resolution would require an upgrade.
Thanks,
Ravi -
Query error - with filtering records
Hi. I have a gallery that shows 9 records at a time, which
you can then move on to subsequent pages. I added filters to narrow
down the record search, however, I am receiving query errors. This
is my code:
<!----- This is setting the initial defaults for the filter
variables ---->
<cfparam name="form.ART_CATEGORY_ID" default="">
<cfparam name="form.ART_TYPE_ID" default="">
<cfparam name="form.FINE_ART_CLASS_ID" default="">
<cfparam name="form.searchfield" default="">
<!----- Populate the CATEGORIES filter drop-down ---->
<cfquery name="categories" datasource="nancy">
SELECT *
FROM CATEGORIES
ORDER BY ART_CATEGORY_ID
</cfquery>
<!----- Populate the TYPES filter drop-down ---->
<cfquery name="types" datasource="nancy">
SELECT *
FROM TYPE
ORDER BY ART_TYPE_ID
</cfquery>
<!----- Populate the CLASS filter drop-down ---->
<cfquery name="class" datasource="nancy">
SELECT *
FROM CLASS
ORDER BY FINE_ART_CLASS_ID
</cfquery>
<!----- Create the filter drop-down selections ---->
<form method="post" action="root_fineart.cfm">
<select name="ART_TYPE_ID">
<option value="" <cfif trim(form.ART_TYPE_ID) eq
"">selected
</cfif>> All </option>
<cfoutput query="types">
<option value="#ART_TYPE_ID#"
<cfif form.ART_TYPE_ID eq
types.ART_TYPE_ID>selected</cfif>>#ART_TYPE#</option>
</cfoutput>
</select>
<select name="ART_CATEGORY_ID">
<option value="" <cfif trim(form.ART_CATEGORY_ID) eq
"">selected
</cfif>> All </option>
<cfoutput query="categories">
<option value="#ART_CATEGORY_ID#"
<cfif form.ART_CATEGORY_ID eq
categories.ART_CATEGORY_ID>selected</cfif>>#ART_CATEGORY#</option>
</cfoutput>
</select>
<select name="FINE_ART_CLASS_ID">
<option value="" <cfif trim(form.FINE_ART_CLASS_ID) eq
"">selected
</cfif>> All </option>
<cfoutput query="class">
<option value="#FINE_ART_CLASS_ID#"
<cfif form.FINE_ART_CLASS_ID eq
class.FINE_ART_CLASS_ID>selected</cfif>>#FINE_ART_CLASS#</option>
</cfoutput>
</select>
<!----- This also creates a SEARCH capability ---->
<input name="searchfield" type="text" size="10"
value="#form.searchfield#" /></cfoutput> </label>
<input name="submit" type="submit" value="Submit" />
<!----- I got this part of the code from a site, that allows
me to display the 9 records at a time in my gallery ---->
<cfparam name="start" type="numeric" default="1">
<cfparam name="step" type="numeric" default="9">
<!----- My query to retrieve the records... This may be where
I have something wrong... ---->
<cfquery datasource="nancy" cachedwithin=".01"
name="queryResults">
SELECT *
FROM ART
WHERE 1 = 1
<cfif val(form.ART_CATEGORY_ID) GT 0>
AND ART_CATEGORY_ID = <cfqueryparam
value="#form.ART_CATEGORY_ID#" cfsqltype="cf_sql_integer">
</cfif>
<cfif val(form.ART_TYPE_ID) GT 0>
AND r.ART_TYPE_ID = <cfqueryparam
value="#form.ART_TYPE_ID#" cfsqltype="cf_sql_integer">
</cfif>
<cfif val(form.FINE_ART_CLASS_ID) GT 0>
AND i.FINE_ART_CLASS_ID = <cfqueryparam
value="#form.FINE_ART_CLASS_ID#" cfsqltype="cf_sql_integer">
</cfif>
<cfif trim(form.searchfield) neq "">
AND ART_TITLE LIKE '%#form.searchfield#%'
</cfif>
ORDER BY ART_TITLE ASC
</cfquery>
<!----- This is also code I got somewhere else to display the
gallery ---->
<cfif queryResults.recordcount gt 0>
<cfoutput>
<p class="style1">
<!--- if past start --->
<cfif (start-step-step) gt 1>
<a href="#cgi.SCRIPT_NAME#?start=1"><img
src="images/Beginning_blue.png" alt="Beginning" width="31"
height="21" align="absbottom" /></a>
</cfif>
<cfif start gt 1>
<a href="#cgi.SCRIPT_NAME#?start=#start-step#"><img
src="images/previous_blue.png" alt="Previous" align="absbottom"
/></a>
</cfif>
<strong>#start# - #iif(start * 3 + step gt
queryResults.recordcount,queryResults.recordcount,start + step-1)#
of #queryResults.recordcount# records</strong>
<!--- if still some not displayed --->
<cfif (start + step) lte queryResults.recordcount>
<a href="#cgi.SCRIPT_NAME#?start=#start+step#"><img
src="images/next_blue.png" alt="Next" align="absbottom"
/></a>
</cfif>
<cfif (start+step+step) lte queryResults.recordcount>
<a
href="#cgi.SCRIPT_NAME#?start=#queryResults.recordcount-step+1#"><img
src="images/end_blue.png" alt="End" align="absbottom"
/></a>
</cfif>
</p>
</cfoutput>
</cfif>
<cfloop query="queryResults" startrow="#start#"
endrow="#start + step/3-1#">
<table width="100%" border="1" bordercolor="#FFFFFF"
cellspacing="0" cellpadding="2">
<tr> <cfoutput query="queryResults"
startrow="#start#" maxrows="3">
<td width="33%"
class="style1">#queryResults.ART_TITLE#</td>
</cfoutput>
<cfset #start# = #start# + 3>
</tr>
</table>
</cfloop>
</td>
</tr>
</table></form>
It seems that the CATEGORIES filter is the only one that does
not return a ERROR EXECUTING DATABASE QUERY error. However, it does
not filter all the records... it only seems to filter and return
the first 4 or 5 records.
Any thoughts?your queryResults query selects only from ART table, while in
the WHERE
clause you are apparently using other tables whihc are not in
your FROM
clause...
you need to use JOIN/INNER JOIN/LEFT JOIN/RIGHT JOIN in your
FROM clause
to link the other tables. check your db manual for proper
usage of those
operators.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
Sql Except query to Display mismatched records along with Table names
Hi
I am using below query to display mismatch records between two tables
SELECT * FROM table1
EXCEPT
SELECT * FROM table2
UNION
SELECT * FROM table2
EXCEPT
SELECT * FROM table1
This displays mismatched records like below
Sunil 1000 india
Sunil 1500 india
I would like to display even the table names in the result For ex;
Sunil 1000 india Table1
Sunil 1500 india Table2
Can you please help us in this regard.cnk_gr's query should work for you.
One change that I would make is to use UNION ALL, not UNION. UNION eliminates duplicate rows, which means SQL has to do additional work (sort the result and then check for duplicates).
So if you can have duplicates and don't want them in your result, then you would use UNION. And if you can have duplicates and you want the duplicates in the result, you would use UNION ALL. But in cases like this, where you know you cannot have
duplicates (because column 1 contains 'TABLE1' for every row in the first half and column 1 contains 'TABLE2' for every row returned from the second half of the query), you should always use UNION ALL. It will be more efficient.
Tom -
Query-Automatic assignment of Record type to Book of Business-Pls help me
I have a query about Automatic assignment of record in Book of Business.
Using 5 record types & 50 regions as a part of Book of Business. You can say 50 sub-books.
I want to assign these 5 record type to particular Book when to create & modify.
Eg. When I create new account it should be automatically assigned to Book 1 & later I modify this account for reassignment to new user then it should be automatically added to the new user’s book.
I need to create workflow for this as Assign to book criteria for both when new record saved & when modified record saved.
I have tried this & its working; however problem is with the creation of two many workflows.
50 region (Books) x 5 record types * 2 - Create/modify flow = 500 workflows for one country!
If I am right then I can assign 1 record type with action as create or modify in 1 book only.
How to reduce these no. of workflows?
Pls help me out in this regard.
Regards
MangeshMangesh,
I am sorry to tell you that there is no quick answer to this but i will say that maybe you need to rethink your book structure and their requirements here.
I have 4 types and 7 regions so you need to create books to allocate all these on create and also modify. Customers have raised concerns with this to Oracle and they are looking into it but they are along way from completing this. Sorry to spoil your day but i would strongly ask you to consider your books structure before you complete this.
Otherwise if you are using webservices you could assisgn the book when the record is piped into the CRM and then you only need to complete the modify workflows. -
How to display first row value returened from a query as checked as default in a report
How to display first row value returned from a query as checked as default in a report
Example
Parameter 1
Paramerter2
ABD
x(checked)
Test
DEF
JMG
MudassarHi Mudassar,
The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
order to solve the issue.
If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
the specific value in Default Values dialog box.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
How to find out query for the deleted record.
Hi Guys,
We are using Oracle9i release 1. We are about 5 employees who are working on the same application. All Employee are connected to the same Schema (User)
User: Employee/web
Now one of the user have deleted like 200,000 records from a table. We just want to trace out the query by which these records were deleted.
From which file i can get the log of executed queries so that i can recover the data.
Just want to know the query executed for this deletion of records?
we are using windows server.
Regards,
Imran BaigIf you do not need an exact query, but only the way you can reconstruct the data, LogMiner can be solution for you. Below I have put a simple example you can review it if you want.
[email protected]> create table t201 as select object_id , object_name from all_objects where rownum < 10;
Table created.
[email protected]> select * from t201;
OBJECT_ID OBJECT_NAME
17918 /1005bd30_LnkdConstant
7540 /10076b23_OraCustomDatumClosur
23355 /10297c91_SAXAttrList
14204 /103a2e73_DefaultEditorKitEndP
22920 /1048734f_DefaultFolder
10154 /10501902_BasicFileChooserUINe
23566 /105072e7_HttpSessionBindingEv
23621 /106ba0a5_ArrayEnumeration
9830 /106faabc_BasicTreeUIKeyHandle
9 rows selected.
[email protected]> delete t201 where object_id < 10000;
2 rows deleted.
[email protected]> commit;
Commit complete.
[email protected]> alter system switch logfile;
System altered.
[email protected]> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 41 10485760 2 YES ACTIVE 58320830 25-MAR-06
2 1 42 10485760 1 NO CURRENT 58348006 25-MAR-06
3 1 40 10485760 1 YES INACTIVE 58293190 25-MAR-06
[email protected]> select * from v$archived_log where sequence# = 41;
RECID STAMP
NAME
DEST_ID THREAD# SEQUENCE# RESETLOGS_CHANGE# RESETLOGS FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# NEXT_TIME BLOCKS
ARC APP
DEL S COMPLETIO DIC DIC END BACKUP_COUNT ARCHIVAL_THREAD# ACTIVATION#
86 585998848
C:\ORACLE\ORADATA\MOB92\ARCH\ARC00041.001
1 1 41 57407039 20-MAR-06 58320830 25-MAR-06 58348006 25-MAR-06 20282
YES NO
NO A 25-MAR-06 NO NO NO 0 1 2555135919
[email protected]> exec dbms_logmnr.add_logfile('C:\ORACLE\ORADATA\MOB92\ARCH\ARC00041.001',dbms_logmnr.new)
PL/SQL procedure successfully completed.
[email protected]> exec dbms_logmnr.start_logmnr(options => dbms_logmnr.dict_from_online_catalog)
PL/SQL procedure successfully completed.
[email protected]> l
1 select sql_undo, sql_redo
2 from v$logmnr_contents
3 where username = 'MOB' and timestamp > sysdate - 1
4* order by timestamp
insert into "MOB"."T201"("OBJECT_ID","OBJECT_NAME") values ('7540','/10076b23_OraCustomDatumClosur');
delete from "MOB"."T201" where "OBJECT_ID" = '7540' and "OBJECT_NAME" = '/10076b23_OraCustomDatumClosur' and ROWID = 'AAAIE2AAXAAAFVaAAB';
insert into "MOB"."T201"("OBJECT_ID","OBJECT_NAME") values ('9830','/106faabc_BasicTreeUIKeyHandle');
delete from "MOB"."T201" where "OBJECT_ID" = '9830' and "OBJECT_NAME" = '/106faabc_BasicTreeUIKeyHandle' and ROWID = 'AAAIE2AAXAAAFVaAAI';
Best Regards
Krystian Zieja / mob -
Query to check BP Payment terms and Document Payment terms
Hi All,
Can any one help me to create an approval query to check the BP payment terms and Document Payment terms are same or not?
Normally we change our BP payment terms regularly as per the agreements between Customer and us.
but when we copy any previous document into invoice it calculate the Due date as per previous payment terms. so we need an query to check wether the BP payment terms and document Payment terms are same or not? if it is different they it should ask for authorization from manager or else the document should be saved.
Thanks in Advance,
Prachi.Hi
I will test this and will let you know if it works or not?
Thank you very much.
Prachi. -
How to check the records that were inserted in a day?Please Help!
HI All,
How to check the records that were insterted in a day in a standard SAP table?
For example : I want retrieve the records that were added in a day in WLK1 table.
How do i do this?
Urgent!! Please help!
Thanks in advance!
Sandeep ShenoyHI
Changes to data within a table can be automatically logged. Such automatic logging of changes is called automatic table history. To turn on logging, tickmark the Log Data Changes check box on the Technical Settings screen
IF THIS IS ALREADY DONE FOR A PARTICULAR TABLE, YOU CAN GET THE RECORD OF CHANGES THAT YOU MADE FOR THAT PARTICULAR TABLE AS EXPLAINED UNDER
<a href="http://64.233.179.104/search?q=cache:pOdVy55jfAIJ:cma.zdnet.com/book/abap/ch06/ch06.htmHISTORYOFUPDATESINADAYINABAP&hl=en&gl=in&ct=clnk&cd=1">Automatic Table History and Change Documents</a>
IF ITS HELPFUL PLEASE REWARD POINTS
REGARDS
ANOOP -
Workflow condition to check error records in a multi line container element
Hi All,
My requirement is to change a standard workflow in which below condtion is checked and subsequent action is taken.
The condtion checks a return internal table contains a row or not. Now the problem is for success and Information messages
also the return table contains entries and the condition is becoming true. Subsequently workflow follows error recovery steps when there is no error.
SAP suggests a note with manual corrections and mentions to change the condition to check whether error records are there. So can we enhance the condition &return& NX to something that it checks error records. I dont want to create a new step and go to business object method to delete non error records.
Please let me know if this condition can be enhanced.
Thanks in Advance.
Aleem Mohiuddin.Dear Aleem,
As this is sap standard workflow, should report this error and wait for feed back. Or add a loop step before of this check any E messages inside, if yes put a errflg as x other wise keep as blank.
Best of luck.
Regards,
Ranjith -
How to check the records in Master Data Table?
Hi,
I am trying to load the Master Data Table using the Flat File.Now how to check the records in Master Data Table?
I done the following way:
Info Provider->Info Object->Right Click->Display Data or Maintain Master Data
But it's not showing the records.It's asking like CID from......To......
CID(SID)from.............To.......
here CID means customer id(characteristic).
and showing some settings.
Please guide me.
Thanks & RegardsHi Sri,
Go to T- code RSD1 and type your info object name and open the P- table in the infoobject then select execute symbol to see the updated data in to master data info object.
regards
sap -
Server does not return query metadata check the query
hi,
i want know how to use bex query designer,
when i insert a data provider,the message is appear "server does not return query metadata check the query",
who can help me ?
thanks a lot !
addition: my current entironment is: gui710 with sp4,bi710 with sp2.Hi,
All the yellow and red lights will have an effect on query performance or execution. Read up on them as there are too many to explain via this forum.
There is a document on SDN on query performance. Some useful links:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a]
[http://help.sap.com/saphelp_nw70/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0501cb9-d51c-2a10-239c-c141a22c45a6]
Cheers...
Maybe you are looking for
-
How to Load the data from excel file(Extension is .CSV) into the temp.table
Hi How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g. My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production) Kindly Suggest the Solution. Regards, Sachin
-
How to get the Asset's current step under a specific workflow process via API?
Everyone, Is there a way to get the asset's current step for a specific workflow process by the WebCenter Sites API? We are showing out the asset created within the WebCenter Sites in another application via its API. We would like some actions get to
-
The prices are not coming automatically
Hi gurus, In batch determination. When i am creating a sales order the batch number is coming automatically. But the thing is the prices are not coming automatically. what could be the reason. Even though i maintained the prices conditon records
-
Hi all please help me or my company is gonna fire me :'(
i use mightycall, and fiverr cheap and perfect.
-
Function call SALI_MT_GET_TID_BY_NAME failed
All, We have the Central System Monitoring set up on the SOM to monitor Red Alerts. There is a current Red Alert associated with Log Attributes under the following path: SOM\CCMS database self-monitoring\... Database self-monitoring SQL S