Using of universallogcollector.pl with -afterdate throws error

Reference:  11gR2 GI/ASM/RAC Universal Collection Guide (Doc ID 1485042.1)
11gR2 Universal Collection is expanded diagcollection.pl to collect GI, ASM and database (RAC) diagnostics (logfile, trace file etc), the goal is to reduce back and forth information request
between Oracle Support and customers.
Once finishes, it will generate files in current directory. Only one file needs to be uploaded per node, the name of the file is highlighted on screen and
default to allData_<nodename>_<timestamp>.tar.gz
When I tried with below command I am getting the error as;
  /exports/universallogcollector/universallogcollector.pl  --orahome --afterdate '09/07/2013'
root@dbsrvr1/exports/universallogcollector/test_run/run2>/exports/universallogcollector/universallogcollector.pl --collect --orahome --afterdate '09/07/2013'
Production Copyright 2004, 2010, Oracle. All rights reserved.
Universal Log Collector tool Version 1.4
The following diagnostic archives will be created in the local directory if it's not excluded.
etcData_dbsrvr1_20130911_0035.tar.gz -> oraInst.loc, oratab and /etc/oracle or /var/opt/oracle(platform dependent).
crshomeData_dbsrvr1_20130911_0035.tar.gz -> logs, traces and cores from CRS Home.
                                             Note: core files will be packaged only with the --core option.
ocrData_dbsrvr1_20130911_0035.tar.gz -> ocrdump, ocrcheck etc.
chmosData_dbsrvr1_20130911_0035.tar.gz -> Cluster Health Monitor (OS) data.
coreData_dbsrvr1_20130911_0035.tar.gz -> contents of CRS core files in text format.
osData_dbsrvr1_20130911_0035.tar.gz -> logs from Operating System.
baseData_dbsrvr1_20130911_0035.tar.gz -> logs from CRS Base & Oracle Base(s).
invtData_dbsrvr1_20130911_0035.tar.gz -> logs from Oracle installation log.
orahomeData_dbsrvr1_20130911_0035.tar.gz -> logs from Oracle Home(s) log.
sysconfig_dbsrvr1_20130911_0035.txt -> system config info for cpu, memory, swap, network and disks.
crsresStatus_dbsrvr1_20130911_0035.txt -> outputs from "crsctl stat res -t -f [-init]"
vendorData_dbsrvr1_20130911_0035.tar.gz -> vendor clusterware logs if present.
acfsData_dbsrvr1_20130911_0035.tar.gz -> logs from acfs log.
rdbmsData_dbsrvr1_20130911_0035.tar.gz -> RDBMS traces and alert logs.
allData_dbsrvr1_20130911_0035.tar.gz -> a summary tarball for all above logs.
Collecting CRS home data
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
tar: a: unknown option
Collecting information from core dump files
No corefiles found
Collecting OCR data
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
gzip: ocrData_dbsrvr1_20130911_0035.tar: No such file or directory
Collecting Etc Oralce data
cp: /var/opt/oracle/oprocd/check/port: Operation not supported on socket
cp: /var/opt/oracle/oprocd/stop/port: Operation not supported on socket
cp: /var/opt/oracle/oprocd/fatal/port: Operation not supported on socket
Collecting CRS base & Oracle base(s) data
CRS base not specified or invalid, will try to get correct CRS base
Get valid CRS base "/app/oracle" and will collect it.
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting Oracle home data from "/app/crs/product/11g"
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting Oracle home data from "/app/oracle/product/11g/asm_1"
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting Oracle home data from "/app/oracle/product/11g/db_1"
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting Oracle home data from "/app/oracle/product/em/agent11g"
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting Oracle home data from "/app/oracle/product/11.2.0.3/db"
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting OS logs
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting Oracle installation logs
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting vendor cluster logs
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Collecting sysconfig data
Collecting CRS resource status
Collecting RDBMS traces and alert logs
tar: a: unknown option
tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
Done
#########Universal Log Collection Finished.#######
    Please upload ONLY allData_dbsrvr1_20130911_0035.tar.gz to Oracle Support!
root@dbsrvr1/exports/universallogcollector/test_run/run2>

Could you explain what do you want to fix?
I think you should read StockAccess's javadoc.
It should describe how you can use it.

Similar Messages

  • Sharing video using MPEG2 comes up with no permission error, what do i do?

    When I go to share my video using the MPEG2 setting, and I keeps throwing a permission error. Changing the file output location, running as admin, changing codec settings, making a new project all have not worked.
    I also cannot burn to a disc as it throws a transcoding error, but I'm not sure if that's related to the first issue.
    I am using Premiere Elements 10.
    Thanks

    Christopher
    Thanks for the reply.
    You have 2 known Premiere Elements 10 issues that need clearing out of the way to see what, if anything, is behind them.
    1. There is a serious problem with Premiere Elements 10 run on a computer that uses a NVIDIA GeForce card.
    ATR Premiere Elements Troubleshooting: PE10: NVIDIA Video Card Driver Roll Back
    The answer has been and is to roll back the driver version to about May 2013 (no typing error). In your case, Windows 7 Home Premium 64 bit and the NVIDIA GeForce GT-545
    As you see, the oldest driver version is July 1, 2013. That driver version may not be old enough. But worth a try if no where to go.
    2. Please install QuickTime latest version on your computer with Premiere Elements.
    Once both are ruled out, then back to the present....
    1. You say
    Every instance of using the MPEG2 codec it has always asked for activation instead of saving the code I put in.
    Here is the error message I am getting:
    Interesting, since I might expect to see an error message specific to MPEG2 Activation there instead of Error compiling movie.
    You report that export to file MPEG2 and burn to DVD disc result in this error. What happens with burn to Folder (4.7 GB)? Same thing?
    If none of the above, two possibilities
    a. Uninstall, free ccleaner run through, reinstall with antivirus and firewall(s) disabled.
    b. Create a new user account with administrative privileges and install and try to run Premiere Elements 10 from there.
    Please review and consider.
    Thank you.
    ATR

  • Using applescript to react to a application error

    Hey, my friends
    I want to using applescript to handle with some application error. For example, I send a iMessage to my friend for the first time, after a while the Message application may return a messagebox said that he is not using iMessage service. And I want my computer say it out loud using "say" script. How can I do that? Or is that impossible?
    There might be a way by using some error log file belongs to the application from which I want to be notified if an error happend. But I don't know where I can find those log files.
    Any ideas?
    Thanks!
    Qiu.

    I'd figure out how to do the shutdown from the command line.  You then should be able to do this from an applescript.
    There is some way of initiating an apple script on a remote machine but I do not know how.
    What OS is the remote server using?
    Robert

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Uploading document using Powershell is throwing error- There is no file with URL

    Hi.
    I am trying to upload multiple documents to a sub folder in a library using powershell.
    I am getting the error as : ForEach-Object : Exception calling "Add" with "3" argument(s):
    "<nativehr>0x80070003</nativehr><nativestack></nativestack>There is no file
    with URL 'server/TestLibrary/User_image/ab_3f_wht_ist_small_gif.gif' in this Web."
    I have used the below code:
    function UploadImages($weburl)
    $docLibraryName = "TestLibrary"
    $localFolderPath = "C:\Users\Imgs\user_image"
    Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
    $web = Get-SPWeb -Identity $webUrl
    $docLibrary = $web.Lists[$docLibraryName]
    $subFolderName="user_image"
    Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
    $web = Get-SPWeb -Identity $webUrl
    $docLibrary = $web.Lists[$docLibraryName]
    #Attach to local folder and enumerate through all files
    $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles() | ForEach-Object {
    #Create file stream object from file
    $fileStream = ([System.IO.FileInfo] (Get-Item $_.FullName)).OpenRead()
    $contents = new-object byte[] $fileStream.Length
    $fileStream.Read($contents, 0, [int]$fileStream.Length);
    $fileStream.Close();
    write-host "Copying" $_.Name "to" $docLibrary.Title "in" $web.Title "..."
    #Add file
    $folder = $web.getfolder($docLibrary.Title + "/" + $subFolderName)
    write-host "folder is " $folder
    $spFile = $folder.Files.Add($folder.Url + "/" + $_.Name, $contents, $true)
    $spItem = $spFile.Item
    Write-Host -f Green "Added Images to Library !!!"
    $web.Dispose()
    How to fix this?
    Thanks

    HI,
    Is the name of the image or the sub folder name the issue?
    I have the images with the name as "ab_3f_wht_ist_small_gif.gif".  folder name "User_image"
    There are underscores on the file name, but there is no space. When I add the file from the library (using the UI), the image is getting added.
    But adding through the powershell is giving the issue.
    I have checked this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e810ad03-81ef-4fa6-aab8-ddc896a13ebf/getting-error-during-uploading-a-document-using-powershell?forum=sharepointdevelopmentprevious
    but did not help.
    Thanks

  • Using Weblogic JDBC driver 5.1.0sp8  with MSSQL, throwing "abstract method" error when trying to use scrollable resultsets

    I am using the weblogic driver with Allaire JRun.
    Using these lines, I am trying to make my resultsets scrollable and updatable.
    dbConnection.createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE
    ResultSet rs = queryStatement.executeQuery(query);
    When I run the code, I get this error ..
    java.lang.AbstractMethodError
    at allaire.jrun.sql.ConnectionProxy.createStatement(../sql/ConnectionProxy.java:413)
    at com.mindseye.utils.database.DBAccessor.executeQuery(DBAccessor.java:35)
    at com.fao.shopping.tag.HandleShoppingCartTag.checkExists(HandleShoppingCartTag.java:635)
    at com.fao.shopping.tag.HandleShoppingCartTag.doStartTag(HandleShoppingCartTag.java:90)
    at jrun__jsp__shoppingbag2ejsp14._jspService(jrun__jsp__shoppingbag2ejsp14.java:45)
    at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:39)
    at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:228)
    Everything works fine when I do not try and specify attributes to the statement
    object. (i.e. dbConnection.createStatement();)
    Anybody know what is going on?
    thanks,
    randy

    Hi. I don't see our code anywhere in the stacktrace, but I'll assume
    it's there somewhere. The basic fact is that our MS SQLServer driver
    implements practically zero of the JDBC 2.0 methods. There is a way
    to connect to this driver that has the methods defined, but then all
    the difference will be that you'll get an exception saying 'this jdbc 2.0
    method not implemented'.
    Joe
    randy shepherd wrote:
    >
    I am using the weblogic driver with Allaire JRun.
    Using these lines, I am trying to make my resultsets scrollable and updatable.
    dbConnection.createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE
    ResultSet rs = queryStatement.executeQuery(query);
    When I run the code, I get this error ..
    java.lang.AbstractMethodError
    at allaire.jrun.sql.ConnectionProxy.createStatement(../sql/ConnectionProxy.java:413)
    at com.mindseye.utils.database.DBAccessor.executeQuery(DBAccessor.java:35)
    at com.fao.shopping.tag.HandleShoppingCartTag.checkExists(HandleShoppingCartTag.java:635)
    at com.fao.shopping.tag.HandleShoppingCartTag.doStartTag(HandleShoppingCartTag.java:90)
    at jrun__jsp__shoppingbag2ejsp14._jspService(jrun__jsp__shoppingbag2ejsp14.java:45)
    at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:39)
    at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:228)
    Everything works fine when I do not try and specify attributes to the statement
    object. (i.e. dbConnection.createStatement();)
    Anybody know what is going on?
    thanks,
    randy

  • I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, it is throwing error "The product distribution file could not be verified. It may be damaged or not signed".

    I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, the App Store is throwing error "The product distribution file could not be verified. It may be damaged or not signed".
    Is there anything I should do differently? Is anyone else facing the same issue?
    Kindly help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Throwing error ORA- 01031 while connecting as sys, but not with system

    Hi
    we are having oracle 10g on one of the server. When I try to connect sqlplus "/as sysdba"..its throwing error
    ORA- 01031: Insufficient privelege.
    But when I tried login with sqlplus system@dbname its getting connected properly. whats the reason behind this? It was
    working fine till yesterday.
    Thanks
    Shiyas M

    The reason for this can partly be seen in your profile,
    you have asked 17 questions, and 17 of them have been unresolved.
    This isn't very likely,
    so likely you are too lazy to label a question as answered.
    Your laziness is also indicated by this question, which is a FAQ, and FAQs are most often asked, by people who
    - don't read documentation
    - don't use online resources
    - don't search this forum
    prior to asking their FAQ.
    Your equation of SYS as SYSDBA and the SYSTEM account is also incorrect, as SYSTEM doesn't have SYSDBA privileges.
    The ORA-1031 simply means someone somehow disabled OS authentication.
    Now it is up to you to find out why.
    Either by using online resources, or by reading documentation, and researching your own database.
    Not by asking a FAQ and never marking any answer as correct.
    Sybrand Bakker
    Senior Oracle DBA

  • Full optimize with Compress DB throws error

    Hi,
    We are using SAP BPC 7.0 MS version... We have an SSIS package scheduled every morning for a Full Optimize with Compress DB. For the past few days this package had been failing after running for 2 hours, with the following error message :
    [Error][OSoft.Services.Application.OptimizeManage.OptimizeManageCtrl]
    When we tried doing a Full optimize without compress DB or Index defragmentation from the Admin Console, it completes successfully.
    But when we try doing a Full Optimize with Compress database checked, it runs for about 2 hours and throws the following error :
    An error has occurred during processing
    Error Message : Thread was being aborted
    After the above process it leaves all the records in the fact table with source column 1.
    Can anyone please share your ideas on this issue if you have faced this before and a way to fix this.
    We do not have bad or invalid records in the fact table.

    Hi,
    Please recheck if you have any calculated members or invalid dimension members.
    Calculated members will create such problems.
    Please check you have enough free disk space on your server which has Database and Analysis Services.
    Please make sure you have enabled 3GB support in Everest Update component, if you have more than 4GB RAM in your Application server.
    Please check if you have setup the Analysis Server settings with a minimum recommended value for the
    Threadpool \ Query \ MaxThreads parameter.
    The recommended value is higher of 10 or (number of Analysis Services Databases + twice the number of processor cores).
    If you have 4 dual core processors in your Analysis Services server (8 cores) and 5 Analysis Services DB, then you must set the value as 5+(2*8)=21.
    The source column will be updated as zero when the full optimization is complete. It remains as 1 since your full optimization is not completed.
    Since it says thread is being aborted, I believe the Analysis Services server settings change might resolve your issue.
    Karthik AJ

  • Help req for check customer table maintenance with XD02 if not throw error

    hello ABAP GURUS,
    check customer of the table maintenance with XD02 if not throw error i have given the codition for passing the values in the table but before that it has to check whether the customer i am passing in to the table is a customer from xd02.Here whatever no i am passing it is accepting it should not happen, but when i give the customer which is not a customer it should not accept but it has to throw the message as 'customer does not exist.Its urgent please help me
    TYPES: BEGIN OF TY_KNVI,
    KUNNR TYPE KUNNR,
    TATYP TYPE TATYP,
    TAXKD TYPE TAKLD,
    END OF TY_KNVI.
    DATA : VALIDFROM TYPE GUEBG,
    VALIDTO TYPE GUEEN.
    DATA : IT_KNVI TYPE STANDARD TABLE OF TY_KNVI,
    WA_KNVI TYPE TY_KNVI OCCURS 0 WITH HEADER LINE.
    DATA : V_NAME TYPE SYUNAME.
    SELECT KUNNR
    TATYP
    TAXKD
    FROM KNVI
    INTO TABLE WA_KNVI
    WHERE KUNNR = YYV_CFORM-KUNNR
    AND TATYP = 'ZCST'
    AND TAXKD = '1'.
    V_NAME = SY-UNAME.
    YYV_CFORM-ENTEREDBY = V_NAME.
    IF SY-SUBRC NE 0.
    MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'.
    ENDIF.
    I have used the following code to enter the data into the table maintenance it is working fine and throwing the error when the tax type is not the one which i have given in the select statements but the problem is when i have given the customer no which is not there in the XD02 tcode, it is accepting and showing the error message as MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'. now i have to check the customer no from XD02 and if it is existing in that tcode it should allow to save in the table maintenance otherwise throw a message as the 'Customer no does not exist, this I am unable to write so how can i check please help me .
    thankx in advance.
    Edited by: soni khadary on Apr 22, 2008 7:55 AM

    Hi Kelly,
    I guess <wa_tab>-handle_style is of type lvc_t_styl therefore you can do the following:
    ls_edit-style = cl_gui_alv_grid=>mc_style_enabled.
    "I assume you know your non-key fields' names so you can use subrotuine to perform update on each of them
    ls_edit-fieldname =  'First field name' .
    PERFORM update ls_edit.
    ls_edit-fieldname =  'Second field name'.
    PERFORM update ls_edit.
    ls_edit-fieldname = 'Third field name'.
    PERFORM update ls_edit
    FORM update USING fs_edit type lvc_s_styl.
    field-symbols: <style_tab> type lvc_t_styl,
                         <style_wa> type lvc_s_styl.
    LOOP AT <tab> ASSIGNING <wa_tab>.
       if e_row = sy-tabix .
         "get you style table
         assign component 'HANDLE_STYLE' of structure <wa_tab> to <style_tab>.
         "as <style_tab> is typed fully you can read the row you are interested in
         read table <style_tab> assigning <style_wa> with key fieldname = fs_edit-fieldname
         if sy-subrc = 0.
           "update this entry
            <style_wa> = fs_edit.
    *        modify table <style_tab> from <style_wa>. 
         endif.
       endif.
    endloop.
    endform.
    Note!
    Though, this should work, the use of RTTI as Uwe suggested would be best practise approach as far as dynamic programming is concerned. Anyhow it is still up to you which one you pick.
    Regards
    Marcin
    I noticed now that this line is not necessary
    modify table <style_tab> from <style_wa>. 
    as we simply are working with field symbols, so changes made to <style_wa> are already visible in that table <style_tab>.
    Edited by: Marcin Pciak on Mar 15, 2009 12:44 PM

  • Custom Item updating throws Unable to Communicate with the server Error.

    Hi Team,
       I am trying to Implement Form based authentication in SharePoint 2013. When trying to update membership list (A Custom List) item it throws "Unable to Communicate with the Server" error. As shown in below image.
    Please let  me know how to resolve this issue.
    Thanks in advance.

    Hi Murali,
    I'm having a similiar problem with one of my customers. We haven't been able to resolve it but we have found a way around it, I'd like to do more testing but my customer justs wants to get on with it now that we have a workaround. Logging a call with Microsoft
    can be expensive, most businesses have a finite amount of support hours so you really have to do your homework before you starting chewing those hours up.
    Problem Description:
    Customer created a custom list with two calculated columns and various choice, string and multi-string columns. Customer was attempting to copy and paste 128 rows of data into each column from a spreadsheet. The first (title) column successfully pasted
    128 values.
    Subsequent columns would paste the values but not allow the values to be committed as every row displayed the "Unable to Communicate with the Server" message, preventing the list from being saved.
    Workaround:
    The problem appears to be related to the number of items the customer is trying to paste during each operation and the relationship this has with the calculated columns. We found that when we pasted 70 or less items in one operation we did not receive the
    error. I attempted pasting 128 rows of data into a seperate list with the same columns excluding the calculated columns, and was successfully able to paste all 128 rows.
    For the problem list I suggested to the customer to copy the formula's from the calculated columns, delete these columns and then trying pasting again, he didn't like the idea as he's happy to paste in 50% chunks. Based on the fact I was able to paste
    without any problems on a list without calculated columns I would suggest it's related.
    So my questions for you are:
    Are you trying to paste/add multiple values at once?
    Do you have any special column types, i.e. calculated or lookup columns?
    What columns do you have in your list?
    Have you tried adding the entries in using form entry instead of grid entry?
    Unforunately I don't know how generic this error message is, there is absolutely nothing in my ULS logs or event viewer. If this error is specific to submitting data to a list in grid view it would make it easier to diagnose, but if the error is generic
    in nature your problem could be as obscure as the FBA configuration.
    I hope this information helps you, I will try and do some more testing.

  • Using Oracle OLE DB provider (with ADO) generates error: ORA-01843 while using date

    Were using OLE DB provider in order to connect to our Oracle 9i database. When executing the following query in a SQL Plus window I will get the correct results:
    SELECT gum_seu_syo_id, seu_userid, seu_first_name, seu_last_name
    From group_user_mapping, security_users
    Where gum_seu_syo_id = seu_syo_id
    and gum_term_date > '8/19/2002'
    and gum_seg_syo_id = 11
    However if will execute the same query from the our application (VB using ADO) I will get the following error:
    ORA-01843: Not a valid month
    Checking with our Oracle DBA we made sure my registry is correct and includes the correct format under HEKY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOME,
    where the key is NLS_DATE_FORMAT (of type REG_EXPAND_SZ) with the value:
    MM/DD/YYYY HH:MI:SS AM
    I also run the following query in a SQL Plus window:
    select sysdate from dual;
    and got the following result:
    08/19/2002 10:27:20 AM
    which shows that the data format is correct.
    Trying to switch between the month and day in the query (put '19/8/2002') worked from the application but generated ORA-01843: Not a valid month in the SQL Plus window.
    Any ideas?

    try using
    to_char function
    for eg.
    select * from emp where to_char(hiredate,'dd/mm/yy') > '20/3/83'.
    Jagriti

  • Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.

    Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.
    If a shortcut is used while Firefox is already open the error does not occur.

    As reported in earlier replies, the annoyance disappeared after I upgraded to Roboform 7.5.6, from 7.5.4.
    Regards, Steve

  • Erased all content on 3G but now won't sync with iTunes. Error states, "This iPhone cannot be used because the Apple Mobile Device service is not started." I don't want phone service on this old 3G. Just want to use it as an iTouch. Any suggestions?

    Erased all content on 3G but now won't sync with iTunes. Error states, "This iPhone cannot be used because the Apple Mobile Device service is not started." I don't want phone service on this old 3G. Just want to use it as an iTouch. Any suggestions?

    Type "Apple Mobile Device service " into the search bar at the top of this page by "Support"

  • Using Windows 8.1 with Directx11, when I lauch Photoshop Elements Organizer, I see the error message "DirectX could not be initialized. Please be sure that it is installed on your system. You can download the latest DirectX installer from:[URL] I have the

    Using Windows 8.1 with Directx11, when I lauch Photoshop Elements 12 Organizer, I see the error message "DirectX could not be initialized. Please be sure that it is installed on your system. You can download the latest DirectX installer from:[URL] I have the latest version, Directx11, as verified by running dxdiag.

    Maybe you need to enable Direct Play under Legacy Components in the Turn Windows Features on or off dialog.
    1. Right click on the windows start Logo on the taskbar, select Control Panel and click on Programs
    2. Under Programs and Features click on Turn Windows Features on or off and then under Legacy Components enable Direct Play

Maybe you are looking for

  • Dynamic Text line spacing issue

    Hi, in my Flash movie (CS3) I want all text to be selectable. When I select 'static' and 'selectable', I have the following issues: - Some of the text does not fit into the available (scrolling required to see the end of text) - This is larger than w

  • In BW what is meaning of AWG (where used list using AWG)

    Hi Gurus   In BW what is meaning of AWG (where used list using <u>AWG</u>)

  • How do I consolidate photos from Finder into iPhoto Library?

    I would like to tidy up my photos on my iMac to save space and ensure that all is secure. Iam using iPhoto 08 on my iMac v10.8.5. My preference is to consolidate all my photos into my iphoto library so that I can manage my collection through iPhoto.

  • Nokia 3600 slide has lost signal

    Hi My mobile (nokia 3600 slide) has lost signal, what is the solution ? please Moderator's note: The title changed as the post was moved from another thread.

  • Determine which version of producer tools to download

    In Adobe folio builder panel my version is: 12.3.1.20120730_m_695362 7.5.5.20 We are using adobe InDesign cs 5.5 I am on a mac and my co-worker is on a PC. I need to find the correct link to the folio producer tools that is v20 so we stay compatiable