Getting error in Jython Procedure

hi all,
I m writing this code in ODI procedure with Target technology as Jython and ignore errors checked.
filesrc = open('D:\MyFile.txt ','r')
first=filesrc.readline()
lines = 0
while first:
lines += 1
first=filesrc.readline()
def intWithCommas(x):
if type(x) not in [type(0), type(0L)]:     
raise TypeError("Parameter must be an integer.")
if x < 0:
return '-' + intWithCommas(-x)
result =''
while x >= 1000:
x, r = divmod(x, 1000)
result = ",%03d%s" % (r, result)
return "%d%s" % (x, result)
s1=str(intWithCommas(lines))
s2='\n\n and the First Line of the File is —>> \n\n'
filesrc.seek(0)
s3=str(filesrc.readline())
final=s1 + s2 + s3
raise '\n\n The Number of Lines in the File are —>> ', final
but getting this error:
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<string>', 5, 1, 'lines += 1'))
     at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
     at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
     at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
     at java.lang.Thread.run(Thread.java:619)
Please help me in this regard..

hi,
Thanks for ur reply....
i tried it using command promt...
bin>jython D:\My_Jython.py
but got errror...
'jython' is not recognized as an internal or external command,
operable program or batch file.
then i tried
bin>startcmd jython D:\My_Jython.py
Again error::::
OracleDI: Starting Command jython D:\MyFile.py
java.lang.RuntimeException: oracle.odi.oditools.InvalidOdiToolException: Error:
Unrecognized Oracle Data Integrator built-in function: jython
at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
lRunner.java:87)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgOb
jectTemplate.java:193)
at oracle.odi.oditools.OdiAbstractToolRunner$1.doInTransaction(OdiAbstra
ctToolRunner.java:77)
at oracle.odi.core.persistence.transaction.support.TransactionTemplate.e
xecute(TransactionTemplate.java:119)
at oracle.odi.oditools.OdiAbstractToolRunner.executeOpenTool(OdiAbstract
ToolRunner.java:70)
at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractTool
Runner.java:53)
at oracle.odi.ToolRunner.main(ToolRunner.java:75)
Caused by: oracle.odi.oditools.InvalidOdiToolException: Error: Unrecognized Orac
le Data Integrator built-in function: jython
at com.sunopsis.dwg.function.SnpsFunctionBase.getOpenToolApi(SnpsFunctio
nBase.java:939)
at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
lRunner.java:83)
... 6 more
oracle.odi.oditools.OdiToolException: java.lang.RuntimeException: oracle.odi.odi
tools.InvalidOdiToolException: Error: Unrecognized Oracle Data Integrator built-
in function: jython
at oracle.odi.oditools.OdiAbstractToolRunner.executeOpenTool(OdiAbstract
ToolRunner.java:104)
at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractTool
Runner.java:53)
at oracle.odi.ToolRunner.main(ToolRunner.java:75)
Caused by: java.lang.RuntimeException: oracle.odi.oditools.InvalidOdiToolExcepti
on: Error: Unrecognized Oracle Data Integrator built-in function: jython
at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
lRunner.java:87)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgOb
jectTemplate.java:193)
at oracle.odi.oditools.OdiAbstractToolRunner$1.doInTransaction(OdiAbstra
ctToolRunner.java:77)
at oracle.odi.core.persistence.transaction.support.TransactionTemplate.e
xecute(TransactionTemplate.java:119)
at oracle.odi.oditools.OdiAbstractToolRunner.executeOpenTool(OdiAbstract
ToolRunner.java:70)
... 2 more
Caused by: oracle.odi.oditools.InvalidOdiToolException: Error: Unrecognized Orac
le Data Integrator built-in function: jython
at com.sunopsis.dwg.function.SnpsFunctionBase.getOpenToolApi(SnpsFunctio
nBase.java:939)
at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
lRunner.java:83)
... 6 more
what wrong this time while executing the command....

Similar Messages

  • Updating iTunes 12.1 and get error message "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll - what went wrong and how to resolve this?

    Updating iTunes 12.1 and get error message "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll". What went wrong and how to resolve this?

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Getting error while calling procedure from remote database

    When I am trying to call child procedure from remote database I am getting below error:
    ORA-02064: distributed operation not supported
    ORA-06512: at "NMUSER.NEW_CUST_UPLOAD", line 740
    (P.S. on line no 740 I issued "commit;" )
    I checked rights,synonym on all the objects they are fine.

    Oracle Error: ORA-02064
    Error Description:
    Distributed operation
    not supported
    Error Cause:
    One of the following
    unsupported operations was attempted:
    1. array execute of a remote update with a subquery that references a dblink,
    or
    2. an update of a long column with bind variable and an update of a second
    column with a subquery that both references a dblink and a bind variable, or
    3. a commit is issued in a coordinated session from an RPC procedure call
    with OUT parameters or function call.
    Cheers,
    Manik.

  • Keep getting error message: the procedure entry point RtlCaptureContext could not be located in the dynamic link library KERNEL32.dll

    The message above keeps popping up on the desktop. Sometimes I have 5 or 6 of those boxes on the screen. It happens all the time and it is when I am not on the web.

    Looks that RtlCaptureContext is not supported on the Windows 2000 platform, so you may have installed software that requires Windows XP as a minimum.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • !! Getting error while using function in where clause

    Hi,
    I have created a function as below
    create function find_cnt(n varchar2)
    return number is
    cnt number;
    begin
    execute immediate 'select count(1) from '||n into cnt;
    return nvl(cnt,0);
    end;
    and when running the below select
    select find_cnt(object_name),object_name from user_objects where object_type='TABLE' and find_cnt(object_name)=0
    I getting
    ERROR:
    ORA-04044: procedure, function, package, or type is not allowed here
    ORA-06512: at "SCOTT.FIND_CNT", line 5
    can anyone help????????
    thanks
    Harish

    In 11g you could simply do
    SQL> select table_name, trim(column_value) cnt
      from user_tables, xmltable(('count(ora:view("'||table_name||'"))'))
    TABLE_NAME                     CNT      
    DEPT                           4        
    BONUS                          0        
    SALGRADE                       5        
    DEMO_USERS                     2        
    DEMO_CUSTOMERS                 7        
    DEMO_ORDERS                    10       
    DEMO_PRODUCT_INFO              10       
    DEMO_ORDER_ITEMS               16       
    DEMO_STATES                    51       
    DEMO_PAGE_HIERARCHY            18       
    TABLE1                         6        
    TABLE2                         6        
    CREATE$JAVA$LOB$TABLE          0        
    CLICKS                         1        
    T                              0        
    EMP                            14       
    PLAN_TABLE                     2        
    17 rows selected.

  • After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is su

    After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is suggested; however, I can't do that because of my company's IT policies. Is there any way to solve this problem WITHOUT a complete reinstall? Thank you!
    == This happened ==
    Every time Firefox opened
    == I installed a new version ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • Getting error code 1 when calling SSIS package from a stored procedure (SQL Server 2008 R2)

    Hello,
    I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
    0 The package executed successfully.
    1 The package failed.
    3 The package was canceled by the user.
    4 The utility was unable to locate the requested package. The package could not be found.
    5 The utility was unable to load the requested package. The package could not be loaded.
    6 The utility encountered an internal error of syntactic or semantic errors in the command line.
    Details:
    I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
    it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
    Here I receives error code 1.
    Can anyone help me to resolve this issue please?
    Thanks in advance!
    CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
     @strPackage nvarchar(100)
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statements.
     SET NOCOUNT ON;
     DECLARE @cmd VARCHAR(8000)
     DECLARE @Result int
     DECLARE @Environment VARCHAR(100)
        SELECT @Environment = Waarde
     FROM  Sys_Settings
     WHERE Optie = 'Omgeving'
     --print @Environment
     SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
     SET @cmd = 'dtexec /SQL ' + @strPackage +  ' /SERVER "w2250\NGSQLSERVER"  /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
     --print @cmd
     EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
     --print @Result
    END

    It has something to do with the security.
    E.g. cmdshell is not enabled or the caller has not rights over the package.
    There could be a syntax error, too.
    I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
    sp_start_job <job name>
    Arthur
    MyBlog
    Twitter

  • My problem is on my Windows PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help?

    I use both a Mac and a PC.  My problem is on my Windows 7 PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help out there?  Thanks

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Now paste it in the folder  C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • Getting Error "Pricing Procedure could not be determined" in CRM Functional

    Hi Experts,
        While creating Quotation for Products, am getting error message of  " Pricing Procedure could not be determined".
    Kindly reply, how 2 resolve this by steps-by-steps.
    Thanks..
    Edited by: poorav4293 on Aug 6, 2011 12:27 PM

    Hi,
    Go to SPRO-> IMG-> Basic Functions-> pricing. Here goto second node & select determine pricing procedure.
    Here check the combination....
    sales org-distribution channel-doc price-cust price-pricing procedure.
    Here see the corresponding pricing procedure which should be proper based on the condition types.
    Thanks!
    Aswith.

  • I just tried updating to iTunes 10.7 on my pc and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Any Ideas?

    I just tried updating to iTunes 10.7 and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Them it tells me to re-install iTunes and the same thing happens again.  Any Ideas?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • When computer boots I get error box stating "The procedure entry point _NSConcreteStackBlock could not be located in the dynamic link libray CoreFoundation.dll".  I have removed iTunes and all of it's components several times and re-loaded programs.

    When I boot my computer I get error box stating "The procedure entry point _NSConcreteStackBlock could not be located in the dynamic link library CoreFoundation.dll.  I have completely removed iTunes and related programs and reinstalled them several times.  Doesn't fix the issue.  Any ideas on how to fix this?

    You should have one copy of CoreFoundation.dll in C:\Program Files\Common Files\Apple Application Support or C:\Program Files (x68)\Common Files\Apple Application Support if this is a 64-bit Windows.
    The detailed file properties should be as shown.
    If the file you have is correct check to see if there is another copy in the main iTunes folder. If so delete it and see if that helps.
    Otherwise try uninstalling/deleting folders/reinstalling iTunes again. See Troubleshooting issues with iTunes for Windows updates for more details. Your issue looks a bit like it might be a variation of the issue in the first box.
    Also worth checking that you have uninstalled the MobileMe control panel and any third party software that might try to talk to iTunes.
    tt2

  • Getting Invalid Cursor error in a procedure

    Hi,
    I have a procedure(1) which inturn calls another procedure(2) which does some task.
    Procedure(1) accepts response from Procedure(2).
    The error code of procedure(2) is *0* which is the success response.
    Iam getting 0 from Procedure(2).
    But still Procedure(1) gives me a Invalid cursor error ( eventhough all the cursors are closed and opened ).
    Any suggestion on this????

    procedure p_create_conn -- Procedure(1) which is the calling proc
    is
    begin
    connectivity_api.p_create_connection -- Procedure(2) called proc
    in_scheme_number => in_scheme_number
    ,in_a_lp_sysid => in_a_lp_sysid
    ,in_z_lp_sysid => in_z_lp_sysid
    ,in_interconnect_name => in_interconnect_name
    ,in_mux_usage => in_mux_usage
    ,in_mux_type => in_mux_type
    ,out_a_end_sne => v_out_a_sne_id
    ,out_z_end_sne => v_out_z_sne_id
    ,out_sss_id => v_out_sss_id
    ,out_error_code => out_error_code
    ,out_error_message => out_error_message
    ,in_a_port_name => in_a_port_name
    ,in_a_port_signal => in_a_port_signal
    ,in_z_port_name => in_z_port_name
    ,in_z_port_signal => in_z_port_signal
    ,in_trs_area => in_trs_area
    ,in_alternate_id => in_alternate_id
    ,in_dcn_equipment_name => in_dcn_equipment_name
    ,in_dcn_equipment_id => in_dcn_equipment_id
    ,in_dcn_equipment_notes => in_dcn_equipment_notes
    ,in_tcode => in_tcode
    if out_error_code != 0 --- Error code from Procedure(2) is 0 in my case
    then
    raise ex_p_create_connection;
    end if;
    -- Faliing after success response here
    workflow_utils.create_link
    in_link_type => 'A'
    ,in_source_workflow_name => con_wf_scheme_type
    ,in_source_record_id => in_scheme_number
    ,in_trigger_state => 'initial'
    ,in_dest_workflow_name => con_wf_connectivity
    ,in_dest_record_id => v_out_sss_id
    ,in_dest_from_state => null
    ,in_dest_to_state => null
    ,in_terminate_source => 'N'
    ,in_terminate_dest => 'N'
    ,in_user_account_name => v_user
    -- in this proc all the cursors have been closed properly.
    exception
    when ex_p_create_connection
    then
    null;
    when others
    then
    out_error_code := sqlcode;
    out_error_message := sqlerrm;
    end p_create_connection;
    Is that fine with you????

  • Getting Error message when execute Netezza Stored Procedure calling in ODI

    Hi,
    I need help to resolve this issue,
    I'm trying to execute a Netezza stored procedure passing three parameters and It getting error message .
    code:import java.sql as sql
    import java.lang as lang
    import java.sql.Types as types
    MyCon = snpRef.getJDBCConnection("SRC")
    def CALL_NZ_SP():
         try: p_log_id = 22
    p_step_number = 2
              p_drive_id= 3455
    myStmt = MyCon.prepareStatement("CALL SP_NAME(?,?,?)");
              myStmt.setInt(1, p_log_id);
              myStmt.setInt(2, p_step_number);
              myStmt.setInt(3, p_drive_id);
              resultSet=myStmt.executeQuery();
              resultSet.next();
              sp_return=resultSet.getInt(1);
              if sp_return !=0:
              raise 'fail';
         finally:
              pass
    Please let me know is this the right code or need any code updatation.
    I appreciate ur help in this regard
    Thanks
    brk

    Hi Gowsiya,
    Maybe the WCF forum would be better for this issue, you know that this forum is to discuss the VS IDE.
    WCF forum link:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Thanks for your understanding.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Get error messages for those procedures in some system tables

    Hi expert,
    when I ran a procedure by schedule or on the front end. is there any approach to get error messages for those procedures in some system tables?
    Many Thanks,

    >
    when I ran a procedure by schedule or on the front end. is there any approach to get error messages for those procedures in some system tables?
    >
    No - there is no system log table.
    You need to create your own logging package and log table and modify your procedure code to call your own logging procedures to log into your own log table.
    The procedures in the log package would typically be defined with PRAGMA AUTONOMOUS_TRANSACTION so that the exceptions get logged even if your procedure performs a ROLLBACK.
    See AUTONOMOUS_TRANSACTION in the PL/SQL Language Reference
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/autotransaction_pragma.htm
    Here is an Oracle-Base article that shows how to use the pragma to perform logging.
    http://www.oracle-base.com/articles/misc/autonomous-transactions.php

  • While I running macros created by Excel recorder getting run time error "5" Invalid procedure call or argument

    Hi,
    I',m very new of EXCEL VBA programs, one of the pivot table able to run with out error.
    but other getting error when i run it
    below codes are automatically created by excel macro recorder.
    if you help me out this situation, i really appriciated
    Sub Macro11()
    ' Macro11 Macro
        ActiveWorkbook.Worksheets("LCG-JKX").PivotTables("ThickCheckIn").PivotCache. _
            CreatePivotTable TableDestination:="LCG-JKX!R17C64", TableName:= _
            "PivotTable9", DefaultVersion:=xlPivotTableVersion15
        Sheets("LCG-JKX").Select
        CellS(17, 64).Select
        ActiveWorkbook.ShowPivotTableFieldList = True
        With ActiveSheet.PivotTables("PivotTable9")
            .PivotFields("Thick(mm)").Orientation = xlRowField
            .PivotFields("matTypeC").Orientation = xlPageField
        End With
        ActiveSheet.PivotTables("PivotTable9").ColumnGrand = False
        Range("BL17").Select
        ActiveSheet.PivotTables("PivotTable9").PivotSelect "", xlDataAndLabel, True
        Selection.ClearContents
        Range("BH18").Select
    End Sub

    You can't have two pivot table with same name in a sheet. As the macro names pivot table as "Pi...9" always if you run 2nd time, macro will try naming with "Pi..9" again but is not allowed. 
    try changing only the first block.
    ActiveWorkbook.Worksheets("LCG-JKX").PivotTables("ThickCheckIn").PivotCache. _
            CreatePivotTable TableDestination:="LCG-JKX!R17C64", TableName:= _
            "PivotTable" & [=round(Rand()*1000,0)], DefaultVersion:=xlPivotTableVersion15
    Just added RAND to make the pivot table name unique.
    Best Regards,
    Asadulla Javed, Kolkata
    Please do not forget to click “Vote as Helpful” if any post helps you and
    "Mark as Answer”if it solves the issue.

Maybe you are looking for

  • Download file

    I have a small servlet that allows the user to download a file. My problem is that I don't know how to check whether or not they accepted to download the file or the hit the 'cancel' button. here is a small chunk of code: res.setContentType("text/pla

  • Styling Error Messages

    What is the best way to go about styling the error messages set by default with ADDT? I have so far styled #KT_tngerror succesfully but I'm a little bit puzzled as to where.... .form_validation_field_error_error_message and .KT_field_error .....come

  • How to use Reader or InputStream to get byte[]

    Any opinions on the best way to get a byte[] using java.io.Reader or java.io.InputStream? I haven't used these in anger before, so sorry for the rookie nature! Any simple examples would be much appreciated! Thanks

  • TextEdit Replaces sh with ti almost all the time.

    When typing in TextEdit, I noticed that when the characters "sh" are typed in with a space after, most of the time the text will automatically be replaced with "ti" immediately after hitting space. I can spell out show, shim and other words, however,

  • Activate Commitment for Purchase order after PO approval

    Hi there, A requirement is to have fund/financial commitments set only after PO approval (ME28, ME29N) and not before. Is there any standard way or BADI or workaround to have such a system behaviour? Kind regards