How to get documet Id by passing document name?

Hi All,
I'm hitting the BO XI R3 server to get the pdf report as downloadable using the URL below.
http://servername:portno/CrystalReports/viewrpt.cwr?<b>id=34877</b>&promptex0=BANKAGENT&promptex1=sv66397&promptex2=1&cmd=EXPORT&EXPORT_FMT=U2FPDF:0
But I have a scenario where the document gets updated very frequently so I wont be able to use id parameter to get the report, as it gets refreshed everytime the document is updated.
So is there any way to get the latest document id by passing the document name as parameter through BO SDK?
Please let me know.
Thanks in advance.

Thanks for the response Adam,<br>
<br>
I already tried with the same idea. And I have got the id as well. Thanks a lot for your response. So this issue is solved. <br>
<br>
But I posted this thread so as to have a solution in hand as a backup since originally I wanted to have a solution for a problem with opendocument url only.<br>
<br>
I have posted a thread on the same, BO Opendocument Url not giving pdf report when invoked through Java.<br>
<br>
So it would be very helpful if I get a solution for that. Which would be best matching solution for me. <br>
<br>
The problem with viewrpt url is that I have been asked not to use it by our client's BO support team due to some security concerns.<br>
<br>
Thanks,<br>
Naaveen<br>

Similar Messages

  • I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where

    I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where I do not have a Wi-Fi connections.  I need to be able access files without going to acrobat.com.  Help!!!@

    Post the PDF files to a web site. The browse to them in Safari on the iPad.  When you Open the files specify the Open to occur in Adobe Reader.  Then you can have/Save them in your Documents folder on the iPad.   An iPad has limited access to files otherwise.

  • Cannot open Pages documents that I've worked on.  I open a new document, work on it, then save and close it.  When I try to open the document again, I get the following message: The document "[name]" could not be opened. The file isn't in the correct form

    I cannot open Pages documents that I have worked on and saved.  When I try to reopen Pages documents that I've saved, I get the following
    message:
    "The document “[name of document]” could not be opened. The file isn’t in the correct format.
    The file might be corrupted, truncated, or in an unexpected format."
    I have downloaded the latest update to iWork, but that doesn't help.
    I use Mac OSX 10.6.7
    I am using Pages '09 version 4.0.5 (852)
    If anyone can help, I would greatly appreciate it.
    Best regards,
    New York Mac User

    A few general trouble shooting tips that may apply here:
    1. If you used Software Update to do the OS update(s) to reach 10.6.7, go to http://support.apple.com/downloads/ and download and apply the Mac OS v10.6.7 Combo Updater. The Combo Updater contains some fixes that were not included in the incremental updaters used by Software Update.
    1a. Check that you have the current version of Pages (and of the other iWork applications) installed. All three applications' current version numbers end in .0.5
    2. A common cause of malfunctioning applications is a corrupted preferences file (.plist file). Your Pages '09's plist is at yourname > Library > Preferences > com.apple.iWork.pages.plist
    Quit Pages, locate the file and Drag it to the Desktop (or to the Trash).
    Restart Pages and attempt to open one of the files.
    If all is well, Trash the plist file and empty the Trash.
    If there's no change, AND you've made changes to the Preferences that you wish to keep, drag the file back to its previous location, replacing any new one that has been created.
    Regards,
    Barry

  • When I try to open a document created in Pages, I get an error message saying "[Document Name" can't be opened."  I don't want to lose hours of work; has anyone else encountered this?

    When I try to open a document created in Pages, I get an error message saying "[Document Name" can't be opened."  I don't want to lose hours of work; has anyone else encountered this?

    A few general trouble shooting tips that may apply here:
    1. If you used Software Update to do the OS update(s) to reach 10.6.7, go to http://support.apple.com/downloads/ and download and apply the Mac OS v10.6.7 Combo Updater. The Combo Updater contains some fixes that were not included in the incremental updaters used by Software Update.
    1a. Check that you have the current version of Pages (and of the other iWork applications) installed. All three applications' current version numbers end in .0.5
    2. A common cause of malfunctioning applications is a corrupted preferences file (.plist file). Your Pages '09's plist is at yourname > Library > Preferences > com.apple.iWork.pages.plist
    Quit Pages, locate the file and Drag it to the Desktop (or to the Trash).
    Restart Pages and attempt to open one of the files.
    If all is well, Trash the plist file and empty the Trash.
    If there's no change, AND you've made changes to the Preferences that you wish to keep, drag the file back to its previous location, replacing any new one that has been created.
    Regards,
    Barry

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • How to get passwords working in Pages documents?

    I've set a pages document to require a password to open. When I open the file, it opens without requiring this password. Any thoughts on how to get the password working? The doc is on icloud, could that be a factor?

    Finally, I've added a new field movement in transaction GCF2 with sender tables ACCHD, ACCIT_GLX AND ACCCR. The joint venture name comes only from FI documents and not JVA documents, so, only JVA information of P&L accounts is available.
    Best regards,
    Alfredo Del Portillo

  • How to get full path of indesign document as well as picture path.

    Hi all,
    I am working in InDesign CS4 plugins. and I have two quetions,
    1) How can we get the indesign document full path. I am able only to get the document name but i want the full path of it.
    2) How can we get the selected picture path also. I am able only to get its name.
    Please let me know if any one have idea of  it.
    Regards,
    Jitendra Kumar Singh

    //to get full path of document, works for both mac and pc
    IDocument *document = Utils<ILayoutUIUtils>()->GetFrontDocument();
    IDataBase* theDb = ::GetDataBase(document);
    const IDFile* sysFile = theDb->GetSysFile();
    InterfacePtr<ICoreFilename> cfn((ICoreFilename*)::CreateObject(kCoreFilenameBoss, IID_ICOREFILENAME));
    if(cfn != NULL){     if(cfn->Initialize(sysFile)
    == 0){
              PMString fulldocumentnameandpath = FileUtils::SysFileToPMString(*sysFile);
    Hope this helps,
    Liz Patten

  • How to get the list of archeived documents

    Dear Experts,
    How we can get the list of archeived documents ? Infact I am not able to some documents,which are already generated as per the number range interval FBN1.I am not able see these documents in parking/held document lists as well.
    Regards
    Partha
    Edited by: Partha_Mumbai on Feb 24, 2010 2:39 PM

    Hi
    Displaying the Archived List
    To display the archived list, proceed as follows:
           1.      In the SAP System initial screen, choose Office -> Business documents ->Lists.
           2.      Enter the appropriate search information on the selection screen (in our example, the name of the report).
           3.      Choose Execute. The system displays all the of archived lists that meet your selection criteria.
           4.      Select a list and choose, for example, Display from archive system. The system displays the archived list.
           5.      If the list contains index lines, you can search for them using Edit -> Search by attribute. In this example, the list contains an index line every 100 lines, with the following entries:
    Name
    Value
    Index
    IDX
    Number
    Sequence number of index lines
    You can use the Search by attribute function to navigate to line 100, 200, 300, and so on. The index lines themselves are not displayed. You can only use Search by attribute if the list was sent to the spool system while the program was running. Search by attribute is not available if the list was displayed first, then archived afterwards.
    Regards,
    ramanuja chary

  • Xml: how to get node value when pasing node name as a parameter

    Hi,
    I've got some xml:
    var xmlData:XML =
    <1stNode>
        <buttonID>first child node value</buttonID>
        <imageID>second child node value</imageID>
        <labelID>third child node value</labelID>
    </1stNode>
    Then I want to read specific node value based on a value passed to a function. .
    var buttonID = new Button;
    var imageID = new Image;
    var labelID = new Label;
    getNodeValue(buttonID); //the value here is set dynamically
    private function getNodeValue (nodeName:String):void {
    trace (xmlData.nodeName)                      //doesn't work
    var str:String = "xmlData." + nodeName;
    var xml:XMLList = str as XMLList             //doesn't work
    I'm don't know how to get the value when node name is dynamically changed.

    use:
    getNodeValue(buttonID); //the value here is set dynamically
    private function getNodeValue (nodeName:String):void {
    trace (xmlData[nodeName])                    

  • How to get Current Log in BO user name in data access driver

    In universe, to get the current log in user is via @Variable('BOUSER').
    Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
    Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?

    Shweta,
    The link you provided was the Auditor guide for BO 6.x, I'm not sure it that is going to help Karen or not.
    Karen,
    There is function called connection
    (usage:  =connection([Query Name]), where [Query Name]
    denotes the name of the tab for the query under Edit Query)
    Here is some of the output from connection:
    4;ODBC18;MS SQL Server 2000166; VERSION=7; USER=xxxxx;
    PASSWORD=; DBTYPE=Relational; DATABASE=xxx_xxxx;
    ODBC_USER=xxxxxx; ODBC_PASSWORD=; BO_DSN=xxxx_xxxx;
    BO_DRV_CONNECT_MODE=0; 224; VERSION=6; Name=xxxxx; Shared=4;
    LoginTimeout=600; Timeout=600; Pool Time=60; Array Fetch Size=10;
    Array Bind Size=5; RecommendedLenTransfert=1000; Password_Encryption=x;
    AliasTable=; MeasureDimension=; Hint=; ConnectInit=; ArrayFetch=1;
    I'm not sure if this info helps out either, being that connection provides info on a post-processing basis and it sounds like you need to get out ahead of the SQL generation.  The @variable('bouser') would seem like the place to be, however, in allowing custom SQL to take place you loose the bouser due to an individual could customize the SQL to the point that it gets unwantingly yanked out.  The end_sql might be your answer...
    Thanks,
    John

  • How to get LOGO as well as Company name in apex theme 4

    Hi There,
    I am using theme 4 for apex 4.0.2.
    I have to have logo as well as company name both, but when I select Image den it shows only image in dashboard and when i select text den it shows only company name.
    How to get both logo as well as company name?
    Thanks for your help.
    Regards,
    Pushpesh Pallav.

    Pushpesh Pallav wrote:
    Hi There,
    I am using theme 4 for apex 4.0.2.
    I have to have logo as well as company name both, but when I select Image den it shows only image in dashboard and when i select text den it shows only company name.The word is spelled "then", not "den".
    How to get both logo as well as company name?Select text, then include HTML referencing the image in the text:
    <div class="logo">
      <img src="#WORKSPACE_IMAGES#logo.png" alt=""> Company Name
    </div>The image <tt>src</tt> URI used depends on the image location, which you have neglected to specify.

  • How to get two fields with same tech name in LIS Extractors?

    Hi Experts,
    I need "ERDAT" field from two structures (QMSM & QMFE) in 2LIS_18_IOTASK extractor.
    In LBWE first I moved ERDAT from QMSM. When I moved ERDAT from QMFE it gives an error:
    "Field with same technical name is already available in the Extract Structure".
    I don't want to create Append Structure as we need to write User exit.
    Can any one tell me how to get this field added in the extractor from QMSM and QMFE?
    Thanks for your help.
    Regards,
    Sree

    this is not possible as the all those fields are put in one structure. per definition you can't put the same field name twice in a structure, table in the data dictionary...
    hence, you really need to use an append and fill via user exit
    M.

  • How to get the number of created document?

    Hi all,
    My first program in ABAP works very well. Thanks to all who helped me
    I would like only one function to it.
    The program read data from excel file and generates document using BDC. 
    I use this statement:
    call transaction 'F-65' using bdcdatafile
    I count the number of documents which have been generated or refeused because of error using the sy-subrc function.
    if sy-subrc <> 0.
        counter for errors
    else.
        counter for generated documents
    endif.
    Finally program displays these number on the last screen and the user knows if there everything is ok. For example this is a sample screen:
    1. OK.
    2. OK.
    3. Error.
    Number of imported documents (2)
    Errors (1)
    However, I would like to add one information to these screen. If the document is saved it gets its own number.
    Is any possibility to get this number for displaying?
    Maybe there is a function which returns this number.
    I want to get the scren like this:
    1. OK. Document No. 10000001
    2. OK. Document No. 10000002
    3. Error
    Best regards
    Arek

    The document number should be being passed back via a message.  You need to specifiy to return any messages in the messtab when calling the transaction.
    DATA: MESSTAB type table of BDCMSGCOLL WITH HEADER LINE.
    call transaction 'F-65' using bdcdatafile
                            messages into messtab.
    Messtab will have the messages after the call, you can then read this internal table and check for the success message, usually the document number is in the first variable field, MSGV1.
    Regards,
    Rich Heilman

  • How to get the details of the document uploaded at the catalog area header?

    Hi,
    Can someone explain how we can get the properties(guid class etc) of the uploaded document by using the details of the catalog area (guid)?. Do we have standard FMs available to fetch the required information?
    Please assist.
    Regards,
    Vaibhav

    got the FM

  • OSB: How to get stored in sbconsole xml document in message flow

    Hi
    I created a xml document (say ram.xml) as a XML document utility resource in OSB sbconsole.
    I want to refer this in message flow with fn:doc. Unlike xquery i can't assign ram.xml to a variable.
    I tried fn:doc("/home/osbuser/user_projects/domains/domain_name/osb/config/core/ram.xml") and fn:doc("file:////home/osbuser/user_projects/domains/domain_name/osb/config/core/ram.xml") it didn't work!
    I know if i store this xml as a xquery, it will get assigned to a variable. But i am just curious to see how fn:doc works!
    Any light !

    The reason for this is to eliminitate each assign action for each of XMLs that I use. Each assign gets converted into a xml bean and thats overhead.
    If this fn:doc() works, what i am planning is to use fn:doc() inside my xquery transformations directly, without using assign action to load XML.
    Also message flow will become somewhat cleaner.
    fn:doc() has to be used in a way that it uses relative path to access xml and not complete path (starting from /home/user_doamains/..) because development and production environment domain names are different. Using relative path, code can migrate without any change across environments.

Maybe you are looking for

  • F110 (Automatic payment transactions)

    Hi I am having a problem using a transaction: F110 (Automatic payment transactions) I need to create a payment method type D. Configuration of Display proposal: Customer:                 Doc. Number    Doc type       Debit/ Credit   Amount      00000

  • Internet won't connect all of a sudden...

    One night I was on my internet, watching a baseball game, and everything was working perfectly. Then the next morning, I went to open my internet and it wouldn't connect. I checked the other two computers in the house (that are using the same AirPort

  • Table TFIBLOPAY - Impact of Adding New Entries

    Hello SMEs, I'm looking for some expertise surrounding the use of table TFIBLOPAY "Origin on Online Payments". I've only been able to maintain via SM30 and had to add a value in order to configure the following item in SPRO: Financial Accounting -->

  • JCO Connection error in webdynpro

    Hi I  have Ep 7.0, ECC 6.0 (NW2004s) I am  trying to establish JCo connection but we are getting the following error "com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=***** GR

  • Windows 8.1 and PS CS6 HELP

    Before running windows 7 and CS4, when in PS and I minimized a window or two, it would keep them INSIDE PS but at the bottom of PS but was inside like sandboxed, and it was nice and easy quick reference to recall those pieces of work as they sit at t