Plz help me to get the document UIT 250 in IS-U area...

Hi all,
Can any body plz help me to get the document UIT 250 in IS-U area...
Appreciate ur help..
Regards,
Raja

String line1="27-03-2006";
SimpleDateFormat dfInput = new new SimpleDateFormat("EEE MMM d HH:mm:ss zzz yyyy");
Date dateBegin = dfInput.parse(line1.trim()); By the way, I feel there is some mismatch...

Similar Messages

  • APEX_UTIL.GET_PRINT_DOCUMENT Error Unable to get the document

    Hi,
       I am working on Oracle APEX 4.1 to send the report as an attachment through mail  I am unable to get the document while calling the APEX_UTIL.get_print_document. I have created a report query and report template (rtf template) so as to send the report as an email attachment. The report works fine individually upon clicking of button so there is no issue in BI publisher configuration. I am sure there is something very trivial which I am missing out here. Any help will be appreciated.
    Declare
       l_id number;
       l_document BLOB;
       l_error_msg varchar2(2000);
    BEGIN
       l_document := APEX_UTIL.GET_PRINT_DOCUMENT
             p_application_id=>'123',
             p_report_query_name=>'Sample_Report',   
             p_report_layout_name=> 'Sample_Report',
             p_report_layout_type=>'RTF',
             p_document_format=>'PDF',
             p_print_server => 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=Sample_Report'
       IF l_document is null
       THEN
           dbms_output.put_line( ' no report returned');
          l_error_msg:='<html> <body> <h1 > Apologies the report was not returned from the apex , as there is some printing issues </h1> </body> </html> ';
       ELSE
          l_error_msg:=null;
       END IF;
       IF l_error_msg IS NULL THEN
           l_id := APEX_MAIL.SEND(
           p_to => '[email protected]',
           p_from => '[email protected]',
           p_subj => 'APEX_MAIL with attachment',
           p_body => 'Please review the attachment.',
           p_body_html => '<b>Please</b> review the attachment' || l_error_msg);
          dbms_output.put_line(l_id);
          IF l_document is not null then
             APEX_MAIL.ADD_ATTACHMENT (
                        p_mail_id => l_id,
                        p_attachment => l_document,
                        p_filename => 'Sample_Report.pdf',
                        p_mime_type => 'application/pdf');
          END IF;
    END IF;
    END;
    Here the output says no report returned.
    Thanks & Regards
    Ahmed

    Try removing the parameter p_print_server from the call.  This will use your default print server which should already be configured to use the BI Publisher engine.

  • How to get the "Document Info" in illustrator

    In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
    Regards,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • Getting the document ID of an uploaded document

    Hello All,
    Perhaps someone out there can help with this assumingly simple task of getting the document id of a file that was uploaded.
    Back ground:
    I have a separate system which retains records of transactions. Paperwork is often received as a part of these transactions and my intention is to store those documents into SharePoint. I want to store the document id on the record to facilitate easy retrieval
    of the document. No need to search by meta tags or the like; I will have the specific document id which will point to the document.
    Environment:
    I currently have SharePoint 2013 online. The program that creates and maintains the records is an in-house VB.Net application running on 4.5 framework. The document repository is defined as a record center and contains several content types and meta tags
    (columns) already defined. Again the application is written in VB.
    Goal:
    Upload a given document, get the document id, and store that id to the record.
    What I have done:
    I have created a function that will take a given file name and proceed to upload the document to the given SharePoint list. It then proceeds to update the meta tags with information that will help find it using alternative methods. I have also spend hours
    upon hours researching every corn of every forum to find an answer. But to no avail.
    The problem:
    I cannot find how to get the document id of the document that I uploaded. Either it is so easy that no-one has bothered to post how it is done. Or it is not doable. I say this because I can find absolutely no reference to how to get the document id. There
    is lots of references on how to get the name, the url, the meta tags, etc... But NO example on getting the document id. Very frustrating. Below is the code that I am using. Can someone suggest how I can go about getting the document id. Please treat me like
    I am a noob and spell it out. Sample code would be great! I have already burnt way too much time on this seemingly simple task. I would greatly appreciate any help.
    Thanks
    Mike
    Imports Microsoft.VisualBasic
    Public Class Class1
    Private mVarTitle As String
    Private mVarStockCode As String
    Public Property DocTitle() As String
    Get
    Return mVarTitle
    End Get
    Set(value As String)
    mvartitle = value
    End Set
    End Property
    Public Property StockCode() As String
    Get
    Return mVarStockCode
    End Get
    Set(value As String)
    mVarStockCode = value
    End Set
    End Property
    Public Function UploadFile(FileName As String, Path As String, ListName As String, ContentType As String)
    'For each record, copy the file from knowledgetree to the local directory and then upload it with the metatags.
    Dim mKTFile As String = String.Empty
    Dim mFileName As String = String.Empty
    Dim mSource As String = String.Empty
    Dim mTarget As String = String.Empty
    Dim mTitle As String = String.Empty
    Dim mStockCode As String = String.Empty
    Dim mDocId As String = String.Empty
    Dim mCTid As String = String.Empty
    Dim mBaseKTFolder As String = "\\<computerName>\c$\Program Files\ktdms\documents\"
    mFileName = FileName
    mKTFile = Path
    mTitle = mVarTitle
    mStockCode = mVarStockCode
    mKTFile = Replace(mKTFile, "/", "\")
    mSource = mBaseKTFolder & mKTFile
    mTarget = ".\temp\" & mFileName
    UpdateStatus("uploading " & lrows.ToString)
    ' Copy the file to a new folder and rename it.
    My.Computer.FileSystem.CopyFile(
    mSource,
    mTarget,
    Microsoft.VisualBasic.FileIO.UIOption.AllDialogs,
    Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing)
    Dim mpassword As New System.Security.SecureString()
    Dim mp As String = "<adminPassword>"
    For k = 1 To Len(mp)
    mpassword.AppendChar(Mid(mp, k, 1))
    Next
    Dim mycred As New Microsoft.SharePoint.Client.SharePointOnlineCredentials("<AdminUserId>", mpassword)
    Dim url As String = "https://<SharePoint URL>/sites/rms"
    Dim listTitle As String = ListName
    Using clientContext = New ClientContext(url)
    clientContext.Credentials = mycred
    Using fs = New System.IO.FileStream(mTarget, System.IO.FileMode.Open)
    Dim fi = New System.IO.FileInfo(mTarget)
    Dim list = clientContext.Web.Lists.GetByTitle(listTitle)
    clientContext.Load(list.RootFolder)
    clientContext.ExecuteQuery()
    Dim fileUrl = [String].Format("{0}/{1}", list.RootFolder.ServerRelativeUrl, fi.Name)
    fileUrl = Replace(fileUrl, "#", " ")
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl, fs, True)
    Dim web As Web = clientContext.Web
    Dim newFile As Microsoft.SharePoint.Client.File = web.GetFileByServerRelativeUrl(fileUrl)
    clientContext.Load(newFile)
    clientContext.ExecuteQuery()
    '*****this section finds the content type and sets
    Dim contentTypeColl As ContentTypeCollection = clientContext.Web.ContentTypes
    clientContext.Load(contentTypeColl)
    clientContext.ExecuteQuery()
    mCTid = String.Empty
    '/ Display the content type names that are available in the website
    For Each ct As ContentType In contentTypeColl
    If ct.Name = ContentType Then
    mCTid = ct.Id.StringValue
    End If
    Next
    '***************End content type find.
    newFile.ListItemAllFields("ContentTypeId") = mCTid
    newFile.ListItemAllFields("Title") = mTitle
    newFile.ListItemAllFields("StockCode") = mStockCode
    '******This is the section where I have tried to get the uploaded document Id.
    '******None of these statements work.
    mDocId = newFile.ListItemAllFields("Document ID").ToString
    mDocId = newFile.ListItemAllFields("_dlc_DocId").ToString
    mDocId = newFile.ListItemAllFields("DocID").ToString
    newFile.ListItemAllFields.Update()
    clientContext.Load(newFile)
    clientContext.ExecuteQuery()
    End Using
    End Using
    ' Delete the file .
    My.Computer.FileSystem.DeleteFile(mTarget)
    UploadFile = mDocId
    End Function
    End Class

    Thanks Micheal for confirming SharePoint version.
    Is your VB code working with SharePoint 2010 Client Object model? It would give the idea that there is some poroblem in SharePoint 2013 CSOM.
    By the way, I tried the below code  in C# and I was able to print the Document ID and it worked for me.
     using (ClientContext clientContext = new ClientContext("http://<<Server Name>>:2425/sites/test/"))
                    Web site = clientContext.Web;
                    // Change your document library name
                    List docLib = site.Lists.GetByTitle("tester");
                    clientContext.Load(docLib);
                    CamlQuery caml = new CamlQuery();
                    ListItemCollection items = docLib.GetItems(caml);
                    clientContext.Load(items);
                    clientContext.ExecuteQuery();
                    // Iterate through all items in the document library
                    foreach (ListItem item in items)
                        Console.WriteLine("File Name:: " + item.FieldValues["Title"]);
                        Console.WriteLine("Document Id : " + item.FieldValues["_dlc_DocId"]);
                    Console.ReadLine();
    Output:
    File Name:: Remove_URL
    Document Id : TEST-1-1
    File Name:: Request
    Document Id : TEST-1-2
    Please check that your code is working with SP2010 or not?
    Thanks
    Ashish
    Ashish Gupta Click "Vote As Helpful"! if you think that post is helpful in responding your question click "Mark As Answer, if you think that this is your answer for your question.

  • Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?

    Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
    I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
    FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
    Thanks!

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • Plz help me to get Projects for Practice

    hi,
         I am vijay recently completed SAP In SD module.Plz help me to get projects for practice

    if you want to put am image into a game use this code:
    try {
    Image Img = Image.createImage("/your.png");
    catch(Exception e) {
    You have to have a try/catch statment to check for errors.
    You can have animated png with sprites.
    If you have a picture thats 32x32 put the next frame into it 32x64 and continue like that.
    I added a link to a good guide to make game in J2ME
    http://www.microjava.com/articles/techtalk/midp2_games?PageNo=1

  • How can we get the document id at event close?

    Hi All!
    I wanted to perform some actions at document close on the document file that has been saved to disk. To make sure that I am perfoming these actions on the right document, in case the user does a close all if multiple documents are open, I thought of getting the document id of the document which is closing. But I am having problems getting the document id from the descriptor I get at the close event call back function. How can I get the document id from this descriptor?
    Pls guide.
    Thanks!

    Hi Sandy,
    This should be no different than any other form of completing it. You can bind the Actual Agent back to your WF, and you could also bind SY-UZEIT if you need have the completion time in a WF container element.
    If you are talking about reading this afterwards, the agent is in SWWWIHEAD-WI_AAGENT.
    Hope that helps,
    Mike

  • Failed to get the document information (LO 26315)

    Hi,
    I have to create an Xcelsius dashboard where I use a Live Office connection based on a WebI-report. The WebI is created on top of a BEx Query.
    I need to pass 12 parameters to the WebI-report in orde to get the correct data.
    Everything works fine in design-time, but when I want to preview the dashboard, I get the error: Failed to get the document information (LO 26315).
    After investigating the issue, I've noticed that everything works fine when the parameters I have to pass, are only created in the WebI-report. But in my case it is a BEx variable that causes the error.
    There is no possible way that I can recreate the BEx variable in the Universe (There are restricted key figures, calculated key figures and cell restrictions in the BEx query).
    My question: is there a way to pass a parameter from an Xcelsius dashboard to a WebI-report via a Live Office connection to a BEx variable?
    Lieven

    Fred,
    on the SAP Notes Search page on sdn.sap.com, you can enter the note number in a text field at the right side of the page, just above the Search Option part.
    Just enter Note 1357924 in that text field and press the blue icon with the arrows next to it. Thiw ill show the corresponding note.
    Lieven

  • How do I get the "Document" tab to appear in the toolbar?

    How do I get the "Document" tab to appear on the "Adobe Reader" toolbar?

    There is no way to add that. All changes to the Adobe Reader toolbar can be found here:
    View->Show/Hide/Toolbar items

  • Can anyone help me with getting the best setting for me system

    can anyone help me with getting the best setting for me system on cpufan it says my temp is 38c but on corecentre it says 42c can anyone help get my system overclocked any more but keeping it stable as well thanx in advance for the help  

    my corecenter temp sometimes says im at 60 cel at idle....and i have the most recent update...i would rely on speedfan for temp control...core center seems to always read 3 degrees higher than speedfan on my pc....
    i wouldnt be too concerned...those temps are pretty low to begin with.

  • Documents created on my iPhone or iPad go into iCloud with no problem.  Why can't I get the documents created on my MacBook Pro to go into iCloud?

    Documents created on my iPhone or iPad go into iCloud with no problem and I can then access those documents from any of my "toys".  However, documents created on my MacBook Pro do not go into iCloud, and as such, they are not accessable from my iPhone or iPad.  How can I get the documents created on my MacBook Pro to go into the cloud?

    Reset iCloud sync state
    On Mac:
    Close open applications
    Open a Finder window
    Choose “Go to Folder…” from the “Go” menu
    Enter “~/Library/Application Support/”
    Find the folder named “Ubiquity” and move it to the Trash
    Restart your computer

  • How can i get the document full path in S_TieDocument?

    I create a new S_TieDocument and override 2 methods:
    extendedPreInsert and extendedPostInsert
    how can i get the document full path in these 2 methods?
    (e.g. if i use the system user to upload a new file named 'test.file' in system root path /home/system, and i want to get the document full path '/home/system/test.file', how to get it?
    anybody know it, pls tell me, thanks a lot.
    java source is as below
    package oracle.ifs.server;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.DocumentDefinition;
    import oracle.ifs.beans.LibraryObjectDefinition;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.common.AttributeValue;
    import oracle.ifs.common.IfsException;
    import oracle.ord.itech.cmsdk.ws.view.EmbeddedCMSDKWebServicesWSStub;
    public class S_TieDocument extends S_Document
    public S_TieDocument(S_LibrarySession session, S_LibraryObjectData data)
    throws IfsException
    super(session, data);
    public S_TieDocument(S_LibrarySession session, java.lang.Long classID)
    throws IfsException
    super(session, classID);
    // Overrides
    public void extendedPreInsert(OperationState opState,
    S_LibraryObjectDefinition def)
    throws IfsException
    // Always call super
    super.extendedPreInsert(opState, def);
    // Get the LibrarySession
    S_LibrarySession session = getSession();
    def.setUserSetAttribute("CUSTOMATTRIBUTE",
    AttributeValue.newAttributeValue(""));
    //how can i get the document file full path here?
    public void extendedPostInsert(OperationState opState,
    S_LibraryObjectDefinition def)
    throws IfsException
    // Get the LibrarySession
    S_LibrarySession session = getSession();
    //how can i get the document file full path here?
    }

    In the new version of Numbers this option is not available.  You will have to type the file name into the header yourself.  You can post feedback to Apple using the menu item "Numbers > Provide Numbers Feedback"
    or use Numbers2.3 which should be in the folder "/Applications/iWork '09" if you previously had it installed

  • Getting the documents in open line items for t-code f-53

    Hello gurus,
    In one scenario i want to get the document numbers against which the accounting document number is created after posting(saving) in t-code F-53. I am using BTE event -00001030 (posting of standard data). In this function module i am getting the tables t_bkpf and t_bseg etc.. in which the newly generated document number (Belnr) is present in the table. But the field AUGBL is blank. I want to get the document for which this clearing is being done. How can i get the open line items?

    Thanks, I solved the problem

  • How to read/get the document attached to PO line item

    Hi experts,
    I got a requirement wherein I need to read/get the document attached at PO line item and to send that document through mail as an attacment .
    please suggest me how to proceed on this.

    actually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
    For Example u can use this code.
    To print you have write the this code in Script item level printing window "MAIN" window
    Following perform is called to get the line item delivery date in PO
    {/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
    /: USING &EKPO-EBELN&
    /: USING &EKPO-EBELP&
    /: CHANGING &DEL_DATE&
    /: ENDPERFORM}
    {* Dellivery date &DEL_DATE& }
    write the below code in the Z program "ZPerform_prog"
    { FORM get_del_date  TABLES in_par STRUCTURE itcsy
                             out_par STRUCTURE itcsy.
      READ TABLE in_par WITH KEY 'EKPO-EBELN'.
      CHECK sy-subrc = 0.
      $_po_no = in_par-value.
      READ TABLE in_par WITH KEY 'EKPO-EBELP'.
      CHECK sy-subrc = 0.
      $_po_line = in_par-value.
      SELECT *
      FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
        $_del_date = eket-eindt.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
          EXPORTING
            date_internal            = eket-eindt
          IMPORTING
            date_external            = $_del_date
          EXCEPTIONS
            date_internal_is_invalid = 1
            OTHERS                   = 2.
        READ TABLE out_par WITH KEY 'DEL_DATE'.
        CHECK sy-subrc EQ 0.
        out_par-value = $_del_date.
        MODIFY out_par
                    INDEX sy-tabix.
        CLEAR : $_po_no , $_po_line ,$_del_date.
      ENDSELECT.
    ENDFORM.                    "GET_DEL_DATE }

  • How to get the document which is associated with a process having specific Guid value?

    when a PDF file is opened, AcroRd32.exe is started automatically, and we get the GUID value of that adobe reader.
    In c#, can't we get the document associated with the GUID value,  I mean the total PDF file which is opened in adobe reader at runtime.
    Here I'm struck up in code, can anyone suggest how to where I was missing something.
    Acrobat.CAcroAVDoc AcroAvDoc;
    Type AcrobatCAcroType;
    AcrobatCAcroType = Type.GetTypeFromCLSID(new Guid("{CA8A9780-280D-11CF-A24D-444553540000}"));  This CLSID is of adobe reader's.
    ///////Here I think I'm missing something
    Object obj = Activator.CreateInstance(AcrobatCAcroType);
    AcroAvDoc = (Acrobat.CAcroAVDoc)obj;
    I think I can get the full PDF document with AcroAvDoc.GetPDDoc();
    Thank you...

    Post your question in the forum for Acrobat SDK.

Maybe you are looking for

  • How to recover a 500GB disk, all data lost !!!!!

    Hello, I had a WD mirrored edition II disk connected to my airport extreme base station. Yesterday, my airport showed up a problem that had to be resolved. It showed that the disk was unable to mount. So, I connected the disk to my mac. It said that

  • Any Vendor in MIRO???

    Hello friends, In my testing I came to know that the system is allowing any vendor as different payee in MIRO screen irrespective of PO vendor and even i am able to post the document without any error or block. I don't have any partner functionality.

  • I have an iPhone 4S from China. How can I find out if it is unlocked, or unlockable, for service in the USA?

    I have an iPhone 4S from China. How can I find out if it is unlocked, or unlockable, for service in the USA?

  • RE: Help needed regarding ACL in weblogic 6.0

    Abishek, I've also posted this response to the newsgroup as I think there has been some discussion about it before without ever a complete answer. No. You can't use ACLs for servlets or JSPs in 6.0 and later. Prior to 6.0 we used ACLs as there was no

  • Failure of background Job

    Hi Friends, i have created back ground job in R3 in order to load delta records from out bound Queue to Delta Queue. The frequeny is once in 24hours with my user id. This load is OK since few months, I never faced any problem with this background job