Identify the department VP in an employee interface table.
I have employee interface table something like this.
emp_id emp_name Job_title supervisor_name
1 AJ Engineer BJ
2 CK Analyst ND
3 BJ Manager TR
5 TR VP IT JD
6 ND S Manager MD
7 MD VP Telecom SK
8 SK VP Eng JR
I want to idenitfy the VP for each employee. The logic I have to apply is check for hte supervisor of each employee to see if the supervisor has designation starting with 'VP'. If no, I have check the supervisor of the supervisor and so on. I tried using a recursive query using connect_by_root but in the above example for employee ND it lists the VP as both MD and SK. I need it to show on MD who is the lower in the hierarchy. Could someone help?
I am a Java person but since my app uses the Oracle DB I am to do this task.
I am not a Oracle person so kindly pardon my ignorance.
Hi,
Welcome to the forum!
Whenever you have a question, it helps if you post CREATE TABLE and INSERT statements for the sample data, and the results you want from that data.
Since I don't have a version of your table, I'll show you how to do what you want using the scott.emp table, where 'MANAGER' has sort of the same role as 'VP' in your table. (In scott.emp, nobody has more than ome 'MANAGER' as an ancestor, but the query below should work even if they did.
SELECT CONNECT_BY_ROOT empno AS empno
, CONNECT_BY_ROOT ename AS ename
, empno AS manager_empno
, ename AS manager_ename
FROM scott.emp
WHERE CONNECT_BY_ISLEAF = 1
AND job = 'MANAGER'
CONNECT BY PRIOR mgr = empno
and PRIOR job != 'MANAGER'
;Output:
EMPNO ENAME MANAGER_EMPNO MANAGER_EN
7369 SMITH 7566 JONES
7499 ALLEN 7698 BLAKE
7521 WARD 7698 BLAKE
7566 JONES 7566 JONES
7654 MARTIN 7698 BLAKE
7698 BLAKE 7698 BLAKE
7782 CLARK 7782 CLARK
7788 SCOTT 7566 JONES
7844 TURNER 7698 BLAKE
7876 ADAMS 7566 JONES
7900 JAMES 7698 BLAKE
7902 FORD 7566 JONES
7934 MILLER 7782 CLARKWhat do you want for output if a node has no 'VP' for an ancestor?
The query above only includes the people who do.
Similar Messages
-
How to create Payment against the invoices in R12 using API/Interface table
Hi Experts,
I need your help.
As per my requirement , we need to create the payments against the invoices using the payment information provided.
Earlier the Payments against the invoice is done by (3rd party system) in 11i.
But, as a part of R12 implementation,
The requirement is like now they are going to provide us and flat file(having below payment information) and we need to create the payment with these information.
COLUMNS PROVIDED
SOURCE
INVOICE INTERNAL NUMBER #
ACCOUNTING SEGMENTS
DEBIT/CREDIT
AMOUNT
CURRENCY
BANK ACCOUNT
PAYMENT DATE
DUE DATE
PAYMENT METHOD
PAYMENT TERMS
BATCH ID
We need to create an inbound interface to achieve the below requirement.
1. Create the payments in oracle R12 with the above payment information. (unable to find the way please suggest).
2. Creating the Journal entries. -> We are having GL_INTERFACE & Journal Import program to import the journals.
3. Finally we have to posting the same into GL.-- Interface & Import programs available.
Is there any api or interface tables can be used to create the payment against the invoices in r12?
Could you please help me to achive my above requirements.
Any sample code or reference will be a great help for me.
Waiting for your response.
Thanks,
Thiru.Hi Thiru,
Perhaps these links can help:
http://ccchuanblog.blogspot.in/2010/12/oracle-ap-payment-api.html
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/ap-invoice-payment-need-help-4037407
See "Understanding Oracle Payments APIs" here:
http://docs.oracle.com/cd/B40089_10/current/acrobat/120ibyig.pdf
If this answers your question, please mark the post. Thanks.
Kristofer Cruz
Edited by: Kristofer Cruz on Sep 5, 2012 2:41 PM -
How to identify the data mismatch between inventory cube and tables?
Hi experts,
i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatchHi
U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
Thanx & Regards,
RaviChandra -
Identifying the procecure/function that has locked a table (or a resource)
Sometimes, I have a procedure failing saying that a table is locked (yes, I know, it could have been written to diligently wait for it to become available). Is there any system table from where I can figure out which procedure has locked a table and which procedures are waiting to access it, and in what order? I am trying to figure out who are the resource hogs here, and what resources are most hogged.
Thanks,
Regards,
SriniHi Keith,
This is bit difficult in GUI.
As mentioned by Mandy, try powershell
Use below to get all the open files:
Get-SMBOpenFile | flFileId SessionId Path ShareRelativePath ClientComputerName ClientUserName
4415226382229 4415226380377 C:\ClusterStorag... VM4\Virtual Mach... 192.168.102.14 Contoso\Contoso-HV2$
4415226382237 4415226380385 C:\ClusterStorag... VM4\VIRTUAL MACH... 192.168.102.14 Contoso\Contoso-HV2$
Identify the interested path and note the 'FileId', ClientComputerName (Is the user Workstation IP)
Use below cmdlet to identify if Locks(1) is Enabled on that path not.
Get-SmbOpenFile -FileId 4415226383569 | Select-Object -Property *ClientComputerName : 192.168.102.14
ClientUserName : Contoso\Contoso-HV2$
ClusterNodeName : Contoso-FS2
ContinuouslyAvailable : True
Encrypted : False
FileId : 4415226383569
Locks : 1
Path : C:\ClusterStorage\Volume2\VMS\VM4.VHDX
Once you find the correct FileId, use below command to ping and find the workstation name having the Lock,
ping -a <IP address>
There are few more cmdlets that you might be interested in.
Get-SMBConnection | fl
Get-SMBSession | fl
References:
Get-SmbOpenFile
http://technet.microsoft.com/en-us/library/jj635701.aspx
Regards,
Satyajit
Please“Vote As Helpful”
if you find my contribution useful or “MarkAs Answer” if it does answer your question. That will encourage me - and others - to take time out to help you. -
Please help me to get this done!....Thanks in Advance
This is current script I use to update AD record but its taking user id to pick the user in AD, which is some time give error not update properly..
# UpdateUsers.ps1
# PowerShell program to update Active Directory users from the information in a
# Microsoft Excel spreadsheet. Only single-valued string attributes supported.
# Author: Richard Mueller
# PowerShell Version 1.0
# September 12, 2011
Trap
If ("$_".StartsWith("Cannot load COM type Excel.Application"))
"Excel application not found, program aborted"
Add-Content -Path $LogFile -Value "## Excel application not found"
Add-Content -Path $LogFile -Value " $_"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
Break
If (("$_".StartsWith("Exception has been thrown")) -and ($Step -eq "4"))
"Excel spreadsheet not found, program aborted"
Add-Content -Path $LogFile -Value "## Excel spreadsheet not found: $ExcelPath"
Add-Content -Path $LogFile -Value " $_"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
Break
If ("$_".StartsWith("The server is not operational"))
"Domain Controller not found, program aborted"
Add-Content -Path $LogFile -Value "## Domain Controller not found"
Add-Content -Path $LogFile -Value " $_"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
Break
If ("$_".StartsWith("The directory service is unavailable"))
"Active Directory not found, program aborted"
Add-Content -Path $LogFile -Value "## Active Directory not found"
Add-Content -Path $LogFile -Value " $_"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
Break
If ("$_".StartsWith("The specified domain"))
"Domain not found, program aborted"
Add-Content -Path $LogFile -Value "## Domain not found"
Add-Content -Path $LogFile -Value " $_"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
Break
"Unexpected error: $_"
Add-Content -Path $LogFile -Value "## Unexpected error: $_"
Add-Content -Path $LogFile -Value " Step: $Step"
Break
Function CleanUp
Trap
"Error during cleanup: $_"
Add-Content -Path $LogFile -Value "## Error during cleanup: $_"
$Script:Errors = $Script:Errors + 1
Continue
# Function to release Excel objects from memory.
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Columns)} While ($x -gt -1)
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Rows)} While ($x -gt -1)
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Range)} While ($x -gt -1)
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Sheet)} While ($x -gt -1)
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Worksheets)} While ($x -gt -1)
$Workbook.Close($False)
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Workbook)} While ($x -gt -1)
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Workbooks)} While ($x -gt -1)
$Excel.Quit()
Do {$x = [System.Runtime.InteropServices.Marshal]::ReleaseComObject($Excel)} While ($x -gt -1)
# Specify paths to spreadsheet and log file.
$Script:Errors = 0
$Step = "1"
$ExcelPath = "c:\scripts\UpdateUsers.xls"
$LogFile = "c:\scripts\UpdateUsers.log"
Write-Host "Please Standby..."
# Add to the log file.
$Step = "2"
Add-Content -Path $LogFile -Value "------------------------------------------------" -ErrorAction Stop
Add-Content -Path $LogFile -Value "UpdateUsers.ps1 Version 1.0 (September 12, 2011)"
Add-Content -Path $LogFile -Value $("Started: " + (Get-Date).ToString())
Add-Content -Path $LogFile -Value "Spreadsheet: $ExcelPath"
Add-Content -Path $LogFile -Value "Log file: $LogFile"
$Step = "3"
# Open specified Excel spreadsheet.
$Excel = New-Object -ComObject "Excel.Application"
$Workbooks = $Excel.Workbooks
$Step = "4"
$Workbook = $Workbooks.Open($ExcelPath)
$Worksheets = $Workbook.Worksheets
$Sheet = $Worksheets.Item(1)
$Range = $Sheet.UsedRange
$Rows = $Range.Rows
$Columns = $Range.Columns
$Step = "5"
# Hash table of attribute syntaxes.
# The LDAP display names will be read from the spreadsheet.
# The corresponding syntaxes will be read from the Schema container.
$Attributes = @{}
# Array of spreadsheet column headings.
$Cols = @()
$Step = "6"
# Read attribute LDAP Display Names from the first row of the spreadsheet.
$ID = 0
For ($k = 1; $k -le $Columns.Count; $k = $k + 1)
# Retrieve column heading, the lDAPDisplayName of an attribute.
$Value = $Sheet.Cells.Item(1, $k).Text
# Keep track of all column headings.
$Cols += $Value
# Skip duplicates in hash table.
If ($Attributes.ContainsKey($Value) -eq $False)
# Default is "NotFound", until found in the AD Schema.
$Attributes.Add($Value, "NotFound")
# Keep track of which column uniquely identifies users.
If ($Value.ToLower() -eq "distinguishedname") {$ID = $k}
If (($Value.ToLower() -eq "samaccountname") -and ($ID -eq 0)) {$ID = $k}
# This script cannot be used to rename users.
If ($value.ToLower() -eq "cn")
Add-Content -Path $LogFile -Value "## This script cannot be used to rename users"
Add-Content -Path $LogFile -Value " Do not specify the cn attribute in the spreadsheet"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
CleanUp
Return "Program aborted: cn attribute found in spreadsheet" `
+ "`nSee log file: $LogFile"
$Step = "7"
If ($ID -eq 0)
Add-Content -Path $LogFile -Value "## No column found to identify users"
Add-Content -Path $LogFile -Value " One column must be distinguishedName or sAMAccountName"
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
CleanUp
Return "Program aborted: No column found in spreadsheet to identify users" `
+ "`nSee log file: $LogFile"
# Create filter to query for attributes in the schema.
$Attrs = $Attributes.Keys
$Filter = "(&(objectCategory=AttributeSchema)(|"
ForEach ($Attr In $Attrs)
$Filter = $Filter + "(lDAPDisplayName=$Attr)"
$Filter = $Filter + "))"
$Step = "8"
$RootDSE = [System.DirectoryServices.DirectoryEntry]([ADSI]"LDAP://RootDSE")
$Domain = $RootDSE.Get("defaultNamingContext")
$Schema = $RootDSE.Get("schemaNamingContext")
$Step = "9"
# Use the NameTranslate object.
$objTrans = New-Object -comObject "NameTranslate"
$objNT = $objTrans.GetType()
# Initialize NameTranslate by locating the Global Catalog.
$objNT.InvokeMember("Init", "InvokeMethod", $Null, $objTrans, (3, $Null))
$Step = "10"
# Retrieve NetBIOS name of the current domain.
$objNT.InvokeMember("Set", "InvokeMethod", $Null, $objTrans, (1, "$Domain"))
$NetBIOSDomain = $objNT.InvokeMember("Get", "InvokeMethod", $Null, $objTrans, 3)
Add-Content -Path $LogFile -Value "NetBIOS name of domain: $NetBIOSDomain"
$Step = "11"
$Searcher = New-Object System.DirectoryServices.DirectorySearcher
$Searcher.SearchRoot = [ADSI]"LDAP://$Schema"
$Searcher.PageSize = 200
$Searcher.SearchScope = "subtree"
$Searcher.PropertiesToLoad.Add("lDAPDisplayName") > $Null
$Searcher.PropertiesToLoad.Add("attributeSyntax") > $Null
$Searcher.PropertiesToLoad.Add("isSingleValued") > $Null
$Searcher.PropertiesToLoad.Add("systemFlags") > $Null
# Filter on specified attributes.
$Searcher.Filter = $Filter
$Step = "12"
# Query Active Directory.
$Results = $Searcher.FindAll()
# Enumerate recordset.
ForEach ($Result In $Results)
# Retrieve properties of attributes.
$Name = $Result.Properties.Item("lDAPDisplayName")[0]
$SysFlags = $Result.Properties.Item("systemFlags")[0]
$SyntaxNum = $Result.Properties.Item("attributeSyntax")[0]
$SingleValued = $Result.Properties.Item("isSingleValued")[0]
# Only single-valued string attributes supported by this version of the program.
Switch ($SyntaxNum)
"2.5.5.12" {$Syntax = "String"}
Default {$Syntax = "NotSupported"}
If ($Name.ToLower() -eq "distinguishedname") {$Syntax = "DN"}
If (($SysFlags -band 4) -ne 0)
$Attributes[$Name] = "Constructed"
Else
If ($SingleValued -eq $True)
$Attributes[$Name] = $Syntax
Else
$Attributes[$Name] = "NotSupported"
$Step = "13"
# Check if any attributes not found or have unsupported syntax.
$Found = $True
ForEach ($Attr In $Attrs)
$Syntax = $Attributes[$Attr]
If ($Syntax -eq "NotFound")
Add-Content -Path $LogFile -Value "## Attribute $Attr not found in schema"
"Attribute $Attr not found in schema"
$Found = $False
If ($Syntax -eq "NotSupported")
Add-Content -Path $LogFile -Value "## Attribute $Attr has a syntax that is not supported"
"Attribute $Attr has a syntax that is not supported"
$Found = $False
If ($Syntax -eq "Constructed")
Add-Content -Path $LogFile -Value "## Attribute $Attr is operational, so is not supported"
"Attribute $Attr is operational, so is not supported"
$Found = $False
$Step = "14"
If ($Found -eq $False)
Add-Content -Path $LogFile -Value $("Program aborted: " + (Get-Date).ToString())
CleanUp
Return "Program aborted" `
+ "`nSee log file: $LogFile"
# Read remaining rows of the spreadsheet, until the first blank value is found
# in the column that identifies users.
$Step = "15"
$Script:Updated = 0
$Script:Unchanged = 0
$j = 2
Do {
# Retieve ID value for the user first.
$Value = $Sheet.Cells.Item($J, $ID).Text
$Found = $False
$Step = "16"
If ($Cols[$ID - 1] -eq "distinguishedname")
# Any forward slash characters must be escaped.
$DN = $Value.Replace("/", "\/")
# Bind to the user object.
# If user not found, $User.Name will be $Null.
$User = [ADSI]"LDAP://$DN"
If ($User.Name -ne $Null)
$Found = $True
$Step = "17"
If ($Cols[$ID - 1] -eq "samaccountname")
Trap
Write-Host ""
"Error translating name: $_"
Add-Content -Path $LogFile -Value "## Error translating name $Value"
Add-Content -Path $LogFile -Value " Description: $_"
$Script:Errors = $Script:Errors + 1
Continue
# Convert sAMAccountName to distinguishedName.
$DN = ""
$Step = "18"
$objNT.InvokeMember("Set", "InvokeMethod", $Null, $objTrans, (3, "$NetBIOSDomain$Value"))
$DN = $objNT.InvokeMember("Get", "InvokeMethod", $Null, $objTrans, 1)
$Step = "19"
If ($DN -ne "")
$Step = "20"
# Any forward slash characters must be escaped.
$DN = $DN.Replace("/", "\/")
# Bind to the user object.
$User = [ADSI]"LDAP://$DN"
$Found = $True
If ($Found -eq $True)
$Step = "21"
# Read remaining values for this user.
$Changed = $False
For ($k = 1; $k -le $Columns.Count; $k = $k + 1)
# Skip the identifying column.
If ($k -ne $ID)
$Step = "22"
# Retrieve attribute name for this column from array.
$AttrName = $Cols[$k - 1]
# Retrieve attribute syntax from hash table.
$Syntax = $Attributes[$AttrName]
$Step = "23"
# Retrieve attribute value for this user.
$Value = $Sheet.Cells.Item($j, $k).Text
# Skip blank values.
If ($Value -ne "")
If ($Syntax -eq "String")
Trap
If ("$_".StartsWith("The directory property cannot be found"))
Continue
Else
Write-Host ""
"Error retrieving value from Active Directory: $_"
Add-Content -Path $LogFile -Value "## Error retrieving $AttrName for user $DN"
Add-Content -Path $LogFile -Value " Description: $_"
$Script:Errors = $Script:Errors + 1
Continue
$Step = "24"
# Single-valued string attribute.
# Retrieve existing value.
$OldValue = ""
$OldValue = $User.Get($AttrName)
# Check if existing value to be deleted.
If ($Value.ToLower() -eq ".delete")
If ($OldValue -ne "")
If ($AttrName.ToLower -eq "samaccountname")
Add-Content -Path $LogFile -Value `
"## Mandatory attribute sAMAccountName cannot be cleared for user: $DN"
$Script:Errors = $Script:Errors + 1
Else
Trap
Write-Host ""
"Error deleting value from Active Directory: $_"
Add-Content -Path $LogFile -Value "## Error deleting $AttrName for user $DN"
Add-Content -Path $LogFile -Value " Description: $_"
$Script:Errors = $Script:Errors + 1
Continue
$Step = "25"
# Make the attribute value "not set".
$User.PutEx(1, $AttrName, 0)
$Changed = $True
Else
$Step = "26"
# Check if new value from spreadsheet different.
If ($Value -ne $OldValue)
Trap
Write-Host ""
"Error assigning value from Active Directory: $_"
Add-Content -Path $LogFile -Value "## Error assigning $AttrName for user $DN"
Add-Content -Path $LogFile -Value " Description: $_"
$Script:Errors = $Script:Errors + 1
Continue
# Assign the new value to the attribute.
$User.Put($AttrName, $Value)
$Changed = $True
Else
# Unexpected error.
Add-Content -Path $LogFile -Value `
"## Unexpected syntax: $Syntax for attribute $AttrName for user $DN"
$Script:Errors = $Script:Errors + 1
If ($Changed -eq $True)
Trap
Write-Host ""
"Error saving to Active Directory: $_"
Add-Content -Path $LogFile -Value "## Error saving to AD for user $DN"
Add-Content -Path $LogFile -Value " Description: $_"
$Script:Errors = $Script:Errors + 1
$Script:Updated = $Script:Updated - 1
Continue
$User.SetInfo()
Add-Content -Path $LogFile -Value "Update user: $DN"
Write-Host "." -NoNewLine
$Script:Updated = $Script:Updated + 1
Else
Add-Content -Path $LogFile -Value "User unchanged: $DN"
Write-Host "." -NoNewLine
$Script:Unchanged = $Script:Unchanged + 1
Else
Add-Content -Path $LogFile -Value "## User not found: $Value"
Write-Host "." -NoNewLine
$Script:Errors = $Script:Errors + 1
$j = $J + 1
} Until ($Sheet.Cells.Item($j, $ID).Text -eq "")
$Step = "27"
CleanUp
Add-Content -Path $LogFile -Value $("Finished: " + (Get-Date).ToString())
Add-Content -Path $LogFile -Value "Number of users updated: $Script:Updated"
Add-Content -Path $LogFile -Value "Number of users unchanged: $Script:Unchanged"
Add-Content -Path $LogFile -Value "Number of errors: $Script:Errors"
Write-Host ""
"Done"
"Number of errors: $Script:Errors"
"See log file: $LogFile"Actually scripts run fine with excel file, currently we are using user-id to pick to update AD. Now we want to update AD use employee id. You can say to identify the record in AD through employee ID instead of user-id.
I do not think you will get anyone here to fix that for you. You need to find someone who knows PowerShell to help you or learn PowerShell your self.
I would fix it for you but not for free. It is too oddly designed and has too many dependencies. Any small change is likely to break it.
¯\_(ツ)_/¯ -
Getting the Department Number in HR- Urgent
Hi All,
I have a requirement where i need to take the department information for an employee from the HR tables.
Its urgent and Please help
Regards,
MohanIf it is so urgent then raise an SR with Oracle. That's what they are there (and paid) for.
But - in response to your question, do you mean the hr location? If so that is held against the assignment and should be joined to hr_locations. -
Need to change the date of joining of employee
Hi All,
I have gone through some threads similar to this subject an also tried to do changes from PA41 but i am facing some problems during the procedure.
We have transferred some employees to sap system with their original date of joining and payroll was run from some other date for those employees. So i need to change the date of joining of those employees.
For example : Below is the line items of one employee from table infotype 0.
End date Start date Changed on
22.02.2009 19.02.2007 19.02.2009
31.03.2009 23.02.2009 19.02.2009
31.12.2009 01.04.2009 14.10.2009
31.12.9999 01.01.2010 21.01.2010
Payroll was run from Feb-09 onwards and i want put date of joining for this employee as 23.02.2009.
I want to know which date i need to change??...When i am trying to change the first start date i.e. 19.02.2007 to my desired start date, but it is not allowing me to do that as end date is smaller.
Please tell me how would i change the joining date of employee as 23.02.2009 ?.
Thanks.Try this
22.02.2009 19.02.2007
31.03.2009 23.02.2009
31.12.2009 01.04.2009
31.12.9999 01.01.2010 take this record form PA30 IT0000 Over View (Shif + F8) Copy that record and change the Start date
as 2302.2010 so another record will be created
22.02.2010 01.01.2010
31.12.9999 23.02.2010
Just try and let me know -
How to identify the variable processing type
Hi Experts,
How to find the details of the variable whether it is filling with user exit or replacement path
Say i have a variable xxx , how to identify the above details.
Thanks,use RSZGLOBV table in VNAM give your variable and VPROCTP will give you processing type
-
Use of open interface tables in R12
Hello,
Can someone tell me the status of using open interface tables in release 12. Is this still a supported mechanism for importing data into the product, or must you use a PL/SQL/Java API, XML gateway etc?
iREP for 11.5.10 lists these open interface tables, but they are missing from the embedded iREP in R12. However, looking in the database for the RA_CUSTOMERS_INTERFACE_ALL shows that the tables exists. Is it supported to still use open interface tables, or are they just there for legacy upgrade purposes? If it is supported, where is the documentation for these R12 open interface tables?
I wish to integrate into various modules using Oracle Data Integrator and it seems to only have 'integration knowledge modules' to support open interface tables.
i look forward to your response.
Cheers,
JohnHi Helios,
Thanks for your response. Two of the links do not work.
All I really need to know for sure is that R12 supports open interface tables.
Perhaps I didn't use the embedded R12 iRep correctly - the standard view by product family certainly didn't show any open interface table, and they did not appear in the 'interface type' drop down list. However, I notice from an example on the web that you can pivot the results by interface type. I will try that when the environment becomes available again.
cheers,
John -
PAYABLE OPEN INTERFACE IN R12 NOT PICKING INTERFACE TABLE DATA ...
The data is getting loaded into interface tables. But while importing from interface tables to base tables using "Payables Open Interface Import " receiving the log message
Enter Password:
MSG-00000: 0 invoice(s) were created during the process run
MSG-00000: 0 invoice(s) were fetched during the process run
MSG-00000: summarize flagN
MSG-00883: After Repport Trigger: Setting the Org Context to Multiple
The invoices are not getting loaded into base table. Checked table ap_interface_rejections. There is no data present in this table.
Can some body on this forum help.
Thank you in advance.
Thanks and Regards,
Sreenivas Muppasani
91-9731068499Hi Sreenivas and Raju,
there are two related documentations available in oracle, first states it could be a Report Cache issue which needs to be cleared, another one was a bug where patch application was suggested .....
Can you check the references link and confirm that is not the cause ... if not try entering minimal (mandatory) information alone on the interface table and attempt importing ....?
References:
APXIIMPT - Payables Open Interface Import In Error [ID 1307261.1]
R12AP: Interface Does Not Copy The DFF Values From Lines To Distribution. [ID 1457398.1]
Regards,
Ivruksha -
Bank Statement Import interface tables
Hi all,
I'm using OEBS R 12.1.3. Can anybody tells me/some links or info / about the Bank Statement Import Program which interface tables uses as i cannot found or i'm just a bad researcher...? I have to insert data there in order this program to create bank statements.
Thanks in advance,
Bahchevanov.See http://docs.oracle.com/cd/A60725_05/html/comnls/us/ce/intert01.htm
and How To Create New Bank Statement Mapping Template To Requirement, Latest Patch [ID 563476.1]
Sandeep Gandhi -
Loading metadata into EPMA applications using Interface tables-Automation
Hi,
I am loading the metadata into epma applications using interface tables as ODI dont perit to load metadata into epma applications. Is there any way of using ODI and interface tables together to load the metadata
This process also need to be automated.Hi,
It is certainly possible and has be done, though there is not anything available that will do it for you, you will have to put in some effort learning the structure of the interface tables, then build interfaces and then a package in ODI to streamline the process.
Cheers
John
http://john-goodwin.blogspot.com/ -
Oracle EBS Based and Interface tables
Hi,
Where can I find the list of all Based and Interface tables used in Oracle EBS R12 Applications. OM, INV, AR, AP, GL, & PO (Purchasing).
I have been told that they are available in "My Oracle Support" please send me the path.
Thanks,
Amorsolo.Please see old threads, it should answer your question -- http://forums.oracle.com/forums/search.jspa?threadID=&q=Interface+AND+Tables&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Error when writing to interface table for HR
We recently did a client copy from Production to our User Testing client. User was trying to enter time via transaction CAT2 but received the following message when attempting to save the timesheet:
"Error when writing to interface table for HR"
Does anyone have advice on how to resolve this issue?
Thanks as always!Hi,
We have the same problem.
We tried to add many records to HR via a job but it result with en error message LR036 (Error when writing to interface table for HR)
Did you find a solution since your problem appear ? -
EPMA very slow to import large dimension from interface tables
I am attempting to import a dimension into the master library from the EPMA interface tables. The dimension is roughly 255,000 members. The import from the interface tables into an empty dimension member is taking close to 3 hours. CPU utilization on the EPMA server is a steady 6% (epma_server.exe) for the entire time. We are on 11.1.2.1.001 of EPMA. The rest of the suite is at 11.1.2.1. The dimension generic type. I have had the same result when importing into a local dimension. The performance degrades after about 6000 members.
Your thoughts would be much appreciated.I have found my answer from EPMA guide:
In addition to the dimension interface tables created by the template script, you can add interface tables for additional dimensions. For example, the template script contains one set of tables for the Entity dimension. You can add more Entity dimensions as needed. For each dimension added to the interface tables, you must also include the dimension in the IM_Dimension system table so that the dimension is available during profile creation.
Maybe you are looking for
-
How Can I make the toggle navigation OFF a default for an user
HI, working with ISS6 Windows 2003 and Xir2 (SP3) I am trying to make one specific user (Or all users) to have hidden (grapped) by default the navigation panel in Infoview, but this setting seems to pick the default (Display=true) not from the user's
-
Best thread method for a chat server
What would be the best way to thread a chat server in Java? I understand threads, but I'm new to java. I'm just looking for links to the appropriate classes not code. I already have the send/receive methods planed, but I'm interested in the best ways
-
Logic Unexpectedly Quits / Conflict with Motomix control surface
Logic unexpectedly quits when I try to open a new song. So I installed ProApplicationSupport and I trashed the Logic preferences. But it didn´t help. But I found out, that Logic does not have this problem - after deleting in Logic the control surface
-
To get teh amount using BAPI_GOODSMVT_GETITEMS
hi experts, i am using BAPI_GOODSMVT_GETITEMS bapi for fetching all the goods receipt(GR) document numbers, but when i use it, i see that the amounts are not coming, can any one tell me how should i get the amount for the corresponding
-
How do i un-resister my Apple ID from an ipad i have sold?
i have recently sold my ipad mini and the person i have sold it to is unable to reset the ipad until i unregister my apple id. how do i unregister it?