Strange Region Permission error on table iterator

Adf 11g
Hello
I have an unbounded task flow containing a page.
On this page there is a bounded task flow as a region.
The main page of the bounded task flow contains several panel collections,
each panel collection contains an af:table.
A select once choice has been put on the bounded task flow page for navigation
which via ppr refreshes the tables.
If I use the select one choice to navigate and the tables are empty no error occurs.
However if I use the select one choice to navigate and if any of the tables are not empty I get the
following error(s)) in the log - there is one error for each non empty table iterator.
[JpsAuth] Check Permission
          PolicyContext:        [trac#V2.0]
          Resource/Target:      [sessiondef.ui_pages_transaction_mainTransactionPageDef_SttTransactionSellView_0_DynamicRegion]
          Action:               [view]
          Permission Class:     [oracle.adf.share.security.authorization.RegionPermission]
          Result:               [FAILED]
          For more information on this failure, please set -Djps.auth.debug.enable=true
[JpsAuth] Check Permission
          PolicyContext:        [trac#V2.0]
          Resource/Target:      [sessiondef.ui_pages_transaction_mainTransactionPageDef_SttTransSellCollateralView_0_DynamicRegion]
          Action:               [view]
          Permission Class:     [oracle.adf.share.security.authorization.RegionPermission]
          Result:               [FAILED]
          For more information on this failure, please set -Djps.auth.debug.enable=true
[JpsAuth] Check Permission
          PolicyContext:        [trac#V2.0]
          Resource/Target:      [sessiondef.ui_pages_transaction_mainTransactionPageDef_SttTransactionBuyView_0_DynamicRegion]
          Action:               [view]
          Permission Class:     [oracle.adf.share.security.authorization.RegionPermission]
          Result:               [FAILED]
          For more information on this failure, please set -Djps.auth.debug.enable=trueThe application is secured by form based authentication.
The main page of the unbounded task flow has been granted the view option as
has the bounded task flow used as a region.
Can anybody explain these errors ?
Why is there a dynamic region mentioned for each iterator and why is the
system looking for a view grant on this (non existant) dynamic region ?
Where do I set the -Djps... option ?
Regards
Paul

Hi,
don't think it has directly to do with the iterator. My assumption is that each table is queried in its own request and therefore the authorization on the Pagedef file is tested as many times. All of them fail, which is odd since they are in a bounded task flow and should not be security checked. Did you apply security to the page in the bounded task flow (its not necessary). Is the page built on a page template that provides the binding for the table ? If so then the pageDef file of the template needs to be secured as well
Frank

Similar Messages

  • SSIS 2012 package runs under SSDT but fails with permission error from SSMS

    I have a simple package that pulls data from a text file located on a Windows file server that runs successfully from SSDT on my client.
    However, when deployed and running the package via SSMS from the client, the package fails with a permission error, with the error stating that the data file could not be opened.
    I have done some investigation and have seen some info that states that a package run from SSMS runs under the account on which you are logged on to the machine, which I would have thought is correct. This is therefore the same account when running from
    SSDT (which works) and I can see from the SSIS Report that the 'Caller' is stated as my account, so if this is the case why isin't the package working.
    I've also seen an MSDN forum answer which stated the opposite that the package when run from the IS Catalog in SSMS doesn't run under the account on which the client is logged on with, which is the opposite of the above, but doesn't indicate which account
    it is using.
    So what account is being used to run SSIS 2012 packages from the IS catalog from within SSMS ?
    If it is the account on which you are logged onto the client running SSMS, why is it not working when the account has the necessary permissions (as provent when running from SSDT) ?

    I am aware it's using my account and not one of the service. There's nothing in the posts above which suggests I'm using the service account. I don't know why people keep assuming that I'm running the package from a job. I've never stated that in any of
    the posts I'm running the package from a job. It's been made quite clear I'm running the package from the IS Catalog on SSMS:
    "This is simply selecting a package from the IS Catalog, right-clicking and selecting Execute package.", as per the Nov 18 post, and in the original post "....So what account is being used to run SSIS 2012 packages from the IS catalog from
    within SSMS".
    Just to be clear, the package is NOT being run from a job. It's using the Execute package option when selecting the package within SSMS from the IS Catalog and it's running under the account on which I am logged on to my client.
    Please read carefully. I was just answering your question "So what account is being used to run SSIS 2012 packages from the IS catalog from within SSMS ?" and stating that you where right and that it uses your account to run the package
    when you execute a package manually from the Catalog and that you can prove that by logging the system variable.
    A good suggestion about using a share in the task to map the drive and I will try this. I would find it strange that SSMS requires this mapping whereas SSDT does not though.
    Ok let us know your findings. If it doesn't work you can also test it with a password and username:
    net use f: \\financial\public  yourpassword /user:username
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Error remote table does not contain a primary key

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

  • Strange system log error from Photoshop CS4

    Hi.
    I keep getting this strange system log error from Photoshop CS4.
    It comes after a wile when using PS CS4.
    I tried to chance the memory settings and scratch disc to see if that helped. It didn't.
    I also checked all my ram for anything bad. 16GB in my Mac Pro Intel OS X 10.5.6
    Everything is updated to latest included Adobe apps.
    This is the system log error
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    And it keeps on until i close Photoshop.
    Please anybody ?? i cant figure out what this means.
    Thx for help.
    Erik S

    Now i get this system log error ?
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    and this from Bridge ???
    Apr 29 16:35:45 mugge Adobe Bridge CS4[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: double free\n*** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge Adobe Bridge CS4[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0xcb73827b: Non-aligned pointer being freed\n*** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge Adobe Bridge CS4[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: Non-aligned pointer being freed (2)\n*** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: double free
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0xcb73827b: Non-aligned pointer being freed
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: Non-aligned pointer being freed (2)
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: *** set a breakpoint in malloc_error_break to debug
    Chris. also read my post just before this one plase.  thx

  • Strange mapping debbug error!

    I'm debugging a mapping and I have problem : parent constraint not found, it's strange because I defined other tables the same and it's ok. but this table have a Date format, so I think this is the problem. I know that Oracle format is dd-mon-yy, and I have mi source files as dd/mm/yyyy, can I put in the flat file propreties the format dd/mm/yyyy, or I must put the oracle format (dd-mon-yy)?
    I thing it give this error because ti can't se the row referenced because has data format!

    Hi,
    If your flat source file has the format dd/mm/yyyy on dates, you should use DD/MM/YYYY in the format string also.
    You might also want to turn on error logging in the properties of the mapping. This can give you an error log on the DB server file system.
    Regards, Hans Henrik

  • Network of file permission error.

    "There has been a network of file permission error. The network connection may be lost."
    This is happening only in the afternoon (after 12 noon) on someones machine with Word.
    We got him a brand new machine, deleted and recreated his user account on the server but it still happens when he re-opens and saves a document. He can only save it to his desktop and then drag it to the server.
    We used Migration assistant to transfer files. Haven't tried a new user account on his actual machine yet, but it's very strange. Others using Word are not having this problem.
    We have an Apple RAID server and a Windows server and he can't save to either one directly after about noon cst?

    I'm having the same problem with an Intel iMac. The user has a network account and has been having several strange account/permission issues like this. And we have deleted and recreated her account to no avail.
    Any luck figuring out what's going on or what the solution is?

  • Web-Disk on OSX 10.9 Give me this error: "Finder got an error: Network file permission error."

    Previously I was using OSX 10.8 and Web Disk was working great.
    Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
    FInder got an error: Network file permission error.
    When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
    And I did:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
    But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
    FInder got an error: Network file permission error
    After trying 100 times it attaches 1 time but then show this ERROR:
    Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
    If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
    Now Im stuck How can I solve this? All help is highly appericated..
    Thank you so much...

    Hi,
    Make sure to chmod the app, something like this :
    chmod -Rf 777  secure_site_WebDisk.app
    (in my case the CPanel provided the app for my OSx version.)

  • Sql loader 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", ....

    Hello all,
    I am getting error while running below sql loader command...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_INTERFACE_ID expression "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')",
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID)
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120
    Log file:
    Table "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')"
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me what could be an issue...
    Is there any other way to pass function in sql loader..
    Thanks and Regards
    Muthukumar

    I created function like below...... retrun value as number
    create or replace function VDR_INF_F(V_NUM number)
    return number is
    VDR_INF_id AP_SUPPLIERS_INT.VENDOR_INTERFACE_ID%type;
    begin
    select VENDOR_INTERFACE_ID
    into VDR_INF_id
    from AP_SUPPLIERS_INT
    where CUSTOMER_NUM = V_NUM;
    return VDR_INF_id;
    end;
    And attached that into loader program...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID,
    VENDOR_INTERFACE_ID expression "VDR_INF_F(':CUSTOMER_NUM')"
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_2,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_3,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1006,,SYSDATE,1132,Test1 M Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1006
    1007,,SYSDATE,1132,Test1 B Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1007
    Even now sql loader giving same error..
    like below.....
    able "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "VDR_INF_F(':CUSTOMER_NUM')"
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 4: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 5: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me, how to clear this issue?
    Thanks and Regards,
    Muthu

  • There has been a network or file permission error. The network connection..

    hello,
    there has been a network or file permission error. The network connection may be lost.
    this is the error my client gets sometimes when he wants to save a word document.
    when i go in the finder i have no problem accessing that network share, and when i look up the file and check the permissions there is no reason why this error should occure.
    situation :
    1 os 10.3.9 server
    7 os 10.5.5 clients
    1 os 10.3.9 client
    office 2004 for mac (version 11.50)
    there are 2 10.5.5 clients (emacs) with this problem on a regular base (3-5 times a week). One imac 17" 10.5.5 has this once a month.
    it is a wired cat5 network.
    any idea what could cause this problem?
    thanks
    Marco

    I found a logical explanation on the following site : http://www.makemacwork.com/office-2004-wont-save-to-server.htm , I am gonna try the steps they describe and post back the result.
    Marco

  • Crystal report error (The table '' could not be found)

    Dear Expert,
    As I know, the end user who don't want to edit the crystal report design no need to buy crystal report,right?
    Using the 'Crystal reports for SAP B1', they already view the report.
    But, how about, if I had created one crystal report, and then I want to distribute to end user. When I load the report on user machine that dont have crystal report, the system shown an error (The table '' could not be found).
    I think, maybe because of the database location. When I create the report, of course I made connection to my machine as a source of database location. But, how i'm going to change the database location to user machine?
    Is it when we login into SAP, did SAP auto detect the new location source? And will auto create connection to the crystal report?
    Thanks in advance for any help.

    Hi ,
    We do not create the database connection for the end user. the end user must have the same database connection as it is set up on your machine. The report is looking for the same connection, with the same access into the database.
    Best regards,
    Jadie

  • After installing 10.7.2 from scratch, permission errors remain

    Hey, this is a summery of what have happened:
    1. upgraded to Lion from SL (via AppStore)
    2. have played with 'get info' > 'apply to all enclosed items'  :/
    3. things have gone messy, slow, permission errors. example:
    (Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.)
    4. booted from DVD of Lion dmg.
    then, formatted and performed a clean install.
    (backed up to a new disk image with CCC, just in case)
    5. Notice that I did not copy anything or downloaded/installed a single file/application yet.
    after the so called 'clean' install, I've ran the disk utility to verify permissions again (both from DVD and from cmd+R - recovery partition).
    still I get the warning about ARDAgent, still verifying and repairing permission takes 2-3 minutes. with only the OS X installed on HDD.
    6. Got this advice from several boards:
    Open Terminal as an admin user.
    type in the following:
    sudo chmod -RN ~
    you will have to authenticate with a non-blank password.
    then follow the steps of resetting the ACLs.
    I have done this, and got: Failed to clear ACL on file ubiquity.socket: Invalid argument
    Then, booted from DVD, in terminal typed: 'resetpassword' and chose the HDD and "user" and clicked on 'reset password and ACLs'.
    restarted, Spotlight did index againg.
    7. still permission errors, so I didn't copy anything back yet, waiting for help to get the right way or restoring to default/formatting again.
    My questions are:
    1. Did I do everything right? Is it possible to perform a clean install from the DVD that I made?
    2. If so, shouldn't it cancel all the ACLs problems and reset them to the default?
    3. Is there a way to make a real 100% clean install of 10.7.2, with erasing even the recovery partition (if it has to do with ACLs)?
    4. if and when this will be solved, I will need to copy back my files and folders from external FW800 WesternDigital,
    will I need to reset their permissions too somehow? It could cause more problems with the ACLs.
    thank you very much.

    baltwo,
    I have a lion clone. so I guess there is no reason to install lion upon it's own clone.
    anyways, how is it possible that after the complete format, the ACL problem remains.
    what about removing the recovery partition.
    the reason I want it to be done is to get rid of the problems I had with the new installation, tham I'm afraid will not be fixed otherwise: crashing apple applications (safari quitted unexpectedly), slow performance, computer freezes, GUI lags (copying 138 items to another folder stucks and I have to relounch finder) and other animation bugs at almost everywhere on the system.
    restoring lion clone and turning on the time machine sounds like the last option right now...
    and I'll be happy to hear opinions about what to do with the backed up data on the external hdd permissions.

  • Error while impdp: ORA-02374: conversion error loading table

    Hi,
    I am trying to convert the character set from WE8ISO8859P1 to AL32UTF8 using expdp/impdp. for this I first convert WE8ISO8859P1 to WE8MSWIN1252 in source DB to get rid of “lossy” data. I created new database(target) with character set AL32UTF8 and nls_length_semantics = ’CHAR’ and created all the tablespaces as in source DB with auoexend on. I took full export (expdp) of source DB excluding TABLESPACE,STATISTICS,INDEX,CONSTRAINT,REF_CONSTRAINT and imported using impdp to target DB. I found below error in the import log file:
    ORA-02374: conversion error loading table "SCTCVT"."SPRADDR_CVT"
    ORA-26093: input data column size (44) exceeds the maximum input size (40)
    ORA-02372: data for row: CONVERT_STREET_LINE1 : 0X'20202020202020202020202020202020202020202020202020'
    I checked with select query on both DBs with below results.
    source DB:
    04:58:42 SQL> select count(*) from "SCTCVT"."SPRADDR_CVT";
    COUNT(*)
    74553
    target DB:
    04:59:24 SQL> select count(*) from "SCTCVT"."SPRADDR_CVT";
    COUNT(*)
    74552
    please suggest me a solution to this.
    Thanks and Regards.
    Edited by: user12045167 on May 9, 2011 10:39 PM

    Thanks for your update maher.
    09:15:53 SQL> desc "SCTCVT"."SPRADDR_CVT"
    Name Null? Type
    SPRADDR_PIDM NUMBER(8)
    CONVERT_PIDM VARCHAR2(9 CHAR)
    SPRADDR_ATYP_CODE VARCHAR2(2 CHAR)
    CONVERT_ATYP_CODE VARCHAR2(2 CHAR)
    SPRADDR_SEQNO NUMBER(2)
    CONVERT_SEQNO VARCHAR2(2 CHAR)
    SPRADDR_FROM_DATE DATE
    CONVERT_FROM_DATE VARCHAR2(8 CHAR)
    SPRADDR_TO_DATE DATE
    CONVERT_TO_DATE VARCHAR2(8 CHAR)
    SPRADDR_STREET_LINE1 VARCHAR2(30 CHAR)
    CONVERT_STREET_LINE1 VARCHAR2(40 CHAR)
    SPRADDR_STREET_LINE2 VARCHAR2(30 CHAR)
    CONVERT_STREET_LINE2 VARCHAR2(40 CHAR)
    SPRADDR_STREET_LINE3 VARCHAR2(30 CHAR)
    CONVERT_STREET_LINE3 VARCHAR2(40 CHAR)
    SPRADDR_CITY VARCHAR2(20 CHAR)
    CONVERT_CITY VARCHAR2(25 CHAR)
    SPRADDR_STAT_CODE VARCHAR2(3 CHAR)
    CONVERT_STAT_CODE VARCHAR2(25 CHAR)
    SPRADDR_ZIP VARCHAR2(10 CHAR)
    CONVERT_ZIP VARCHAR2(15 CHAR)
    SPRADDR_CNTY_CODE VARCHAR2(5 CHAR)
    CONVERT_CNTY_CODE VARCHAR2(5 CHAR)
    SPRADDR_NATN_CODE VARCHAR2(5 CHAR)
    CONVERT_NATN_CODE VARCHAR2(5 CHAR)
    SPRADDR_PHONE_AREA VARCHAR2(3 CHAR)
    CONVERT_PHONE_AREA VARCHAR2(3 CHAR)
    SPRADDR_PHONE_NUMBER VARCHAR2(7 CHAR)
    CONVERT_PHONE_NUMBER VARCHAR2(7 CHAR)
    SPRADDR_PHONE_EXT VARCHAR2(4 CHAR)
    CONVERT_PHONE_EXT VARCHAR2(4 CHAR)
    SPRADDR_STATUS_IND VARCHAR2(1 CHAR)
    CONVERT_STATUS_IND VARCHAR2(1 CHAR)
    SPRADDR_ACTIVITY_DATE DATE
    CONVERT_ACTIVITY_DATE VARCHAR2(8 CHAR)
    SPRADDR_USER VARCHAR2(30 CHAR)
    CONVERT_USER VARCHAR2(30 CHAR)
    SPRADDR_ASRC_CODE VARCHAR2(4 CHAR)
    CONVERT_ASRC_CODE VARCHAR2(4 CHAR)
    SPRADDR_DELIVERY_POINT NUMBER(2)
    CONVERT_DELIVERY_POINT VARCHAR2(2 CHAR)
    SPRADDR_CORRECTION_DIGIT NUMBER(1)
    CONVERT_CORRECTION_DIGIT VARCHAR2(1 CHAR)
    SPRADDR_CARRIER_ROUTE VARCHAR2(4 CHAR)
    CONVERT_CARRIER_ROUTE VARCHAR2(4 CHAR)
    SPRADDR_GST_TAX_ID VARCHAR2(15 CHAR)
    CONVERT_GST_TAX_ID VARCHAR2(15 CHAR)
    SPRADDR_REVIEWED_IND VARCHAR2(1 CHAR)
    CONVERT_REVIEWED_IND VARCHAR2(1 CHAR)
    SPRADDR_REVIEWED_USER VARCHAR2(30 CHAR)
    CONVERT_REVIEWED_USER VARCHAR2(30 CHAR)
    SPRADDR_DATA_ORIGIN VARCHAR2(30 CHAR)
    CONVERT_DATA_ORIGIN VARCHAR2(30 CHAR)
    SPRADDR_CVT_RECORD_ID NUMBER(8)
    SPRADDR_CVT_STATUS VARCHAR2(1 CHAR)
    SPRADDR_CVT_JOB_ID NUMBER(8)
    so here we can see its value is 40 (CONVERT_STREET_LINE1 VARCHAR2(40 CHAR)).
    shall i go ahead altering the column?

  • Permission error while addProcessTaskInstance of tcProvisioningOperationsIn

    Hi All,
    I am getting No Permission error while performing addProcessTaskInstance of tcProvisioningOperationsIntf. I am running this against process definition of Xellerate User. I have created a task in Xellerate User process definition and then trying to add this to user's process definition.
    There are two scenario -
    1) The call to addProcessTaskInstance is done by a user that belong to SYSTEM ADMINISTRATOR group. It works fine. There is no error.
    2) The call to addProcessTaskInstance is done by a user that does not belong to SYSTEM ADMINISTRATOR group. Here I am getting the following error:
    Caused by: Thor.API.Exceptions.tcAPIException: The logged in user does not have permissions to perform this operation
    at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.addProcessTaskInstance(Unknown Source)
    at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.addProcessTaskInstance(Unknown Source)
    The handle to tcProvisioningOperationsIntf is created by using the respective user credentials.
    Can somebody suggest ways of how to fix this?
    TIA
    Prakash
    Edited by: Prakash.Gupta on May 7, 2012 1:25 PM

    use private key
    ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm","PrivateKey");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,moSignature);
    Regards
    Suren

  • Error log table and output type

    Hi All,
    While creating an invoice(while saving billing document) is it poosible to capture the error in a log in table?
    And how is this error log table related to the output type?
    Thanks

    You seem to be confusing saving of the billing document with creation of the output. These are two independent updates (LUWs). A document may be saved without any output.
    If there are any errors in the billing document creation, the document just won't be created. Such errors should be captured in the log of the Blling Due list, if it's been run properly.
    To update the processing log for the output, use FM NAST_PROTOCOL_UPDATE.

  • Error 8 File permission error while building executable for a RT

    I got error 8 File permission error while building executable for a RT. It happened always after build, I mean new startup.rtexe and startup.alias files have been created. At the build properties, it was set use default .alias file.
    I had the executable built successfully at one time.
    The detail message is:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 8 occurred at Open/Create/Replace File in RTBEP_Generate_Deploy_Instructions.vi->RTBEP_Invoke_Build_Engine.vi->RTBUIP_Build_Invoke.vi->RTBUIP_Build_Rule_Editor.vi->RTBUIP_Open_Properties.vi->RTBUIP_Item_OnDoProperties.vi->RTBUIP_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File permission error. You do not have the correct permissions for the file.
    =========================
    NI-488:  DMA hardware error detected.
    I checked relevant posts, couldn't find any clue.
    Please give me some ideas.
    Thanks.

    Hi Ya-hoo,
    Error building application in LabView 8.0 seems to describe a similar situation. The .alias file is important, as described in that discussion forum.
    Cheers.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

Maybe you are looking for

  • How do I change incoming mail settings in Snow Leopard Mail?

    When I try to change the settings for my Mail app, in Snow Leopard, the incoming mail settings are greyed out.  What do I do to be able to change these? (I had a problem, with my Mail account, which a consultant fixed for me on my laptop.  But I cann

  • I can't get on to itunes.

    When ever I try to get onto itunes store, theres a message that comes up. It reads: "we could not complete your itunes store request. The itunes store is temporarily unavalable. Please try again later." Is there something wrong with my computer. Its

  • IPad 3 - smtp not working

    Hi, i have the axact same configuration of iPhone 4S for my email SMTP mail.mydomain.it [email protected] password use SSL: NO autehntication: password port: 25 and it dosen't work, when i try to send some email it keep spenning gmail (auto config) w

  • Is IR receiver 5189-0959 Rev B equivalent to IR receiver 492936-001 Rev A?

    I have a IR receiver P/N 492936-001 Rev A.  It works with windows 7 and windows 8 and all 5 of my computers with TV cards.  I purchased several IR receivers, P/N 5189-0959 Rev B that were supposed to be equivalent.  They look almost identical.  The R

  • Windows 7 not genuine after clean install with HP disks

    Hello, I just installed a new HDD on my Probook4540s a few days ago after the original one died.  I do have a backup of everything on an external HDD.   Eventhough I can see my product Key with Speccy, the windows activation window pops up from time