InDate function with WEEK (Business Objects XI 3.1)

Hi,
I need some help about InDate function in Web Intelligence Java Panel (Business Objects XI 3.1).
How can I convert a year and a week in a date, let's day the first date of the week?
InDate("201052";"YYYYWW") doesn't work...Is it possibile to pass a year and a week as input parameters to this function?
Many thanks in advance

Oh, ok, that would be "ToDate()". I don't think it would work the way you are trying it. You may be able to plug in a date using an If statement with the Year() and the Week() functions, like:
If Substring([YYYYWWobject],1,4) = Year([a date object] and Substring([YYYYWWobject],5,2) = Week([same date object]) then [date object]
or something similar

Similar Messages

  • Problem with Copied Business Object : SELFITEM

    Hi,
    sub:    Problem with Copied Business Object : SELFITEM
    I want to use changed selfitem BOR for carbon copy functionality. For it, i copied the BOR : SELFITEM. it is giving error
    In SWI2_DIAG it is showing like this.
    Work item  cannot be read                                                
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    The problem is with COPYING The Business Object. Because , generally we extend BOR ,not copy. But i did copy.
    Please help me regarding this.
    Balaji.T.

    hi Martin,
    The problem may not be in method. because simply we copied the BO:SELFITEM into ZSELF . And i want to test this for a mail at first , whether copied BOR  is working or not.The mail is not triggering . it is saying that it is Error.
    WF_BATCH error...
    I can see error in Tx: SWI2_DIAG ,
    this is Error :
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    Once it is rectified i can modify the method in BO:ZSELF.
    Thank you in Advance..
    Balaji.T.

  • Additional plug ins not displaying when working with ERBI Business Objects.

    when working with ERBI Business Objects I am attempting to edit a report which requires Java. When I click on edit I get a bar at the top of the screen that say "Additional plugins are required to display all the media on this page". I click install missing plugins and receive a page that says no suitable plugins were found. I click finish and thus it still won't allow me to edit a report.
    Please help

    Please go to Java's website in this case to download Java.

  • Tutorials for starting with SAP Business Objects Explorer: Excel / Crystal

    Hello,
    we want to start with SAP Business Objects Explorer. I have been searching for tutorials for while without success.
    Are there any tutorials or documentation that shows how to work with excel-files as data source or how to upload Crystal reports files (.rpt) to the Explorer?
    Thanks in advance for helpful hints.
    Best regards,
    André

    As far as I know the SAP BUsiness Explorer car retrieve data either from a universe or from the SAP BWA. So hat you should be looking for is information on how to set Excel files as data sources for universes.
    Regards,
    Stratos

  • Delete attachments linked with a business object

    Hi All,
    I have added some pdf attachments to a business object using Archivelink. I am making use of FM - ARCHIV_CREATE_TABLE.
    This worked. Now we need to either add a retention period for these attachments or archive them or delete them after a certain period of time. I tried some ways till now.. but they havent worked
    1. Setting a delete date in my FM ARCHIV_CREATE_TABLE :
    CALL FUNCTION 'ARCHIV_CREATE_TABLE'
          EXPORTING
            ar_object                      = <archiveobj>
            DEL_DATE                       = '20100624'
            object_id                      = l_arc_doc
    However when I look in OAAD, this delete date doesnt show up!
    2. Using standard reports - RSBCS_REORG, RSSO_DELETE_PRIVATE and RSSODFRE. However my attachments are not even getting selected to be deleted.
    3. I also tried with FM - archive_object_delete and ARCHIVOBJECT_DELETE. Here I am getting an error that states-
    Error during import of physical document from cluster table SOFFCONT1.
    Any ideas towards this ? All your answers are appreciated.
    Thanks, Liz

    All,
    Minutes after I wrote up this question, I tweaked a way to delete the PDF using FM -ARCHIVOBJECT_DELETE. The archive doc id to be given here is from the 'Link' table one would have configured in transaction OAC3 (part of Archivelink config).
    I would still like to know if there is a cleaner way to delete the attachments from a business object.
    Also is there is way to delete the 'link' from transaction OAAD.
    Your input is appreciated!
    Thanks, Liz

  • BI Accelerator used in combination with SAP Business Objects Explorer

    Hi ,
    If you use SAP Netweaver BWA and SAP Business Objects Explorer Blade, do you only get the full benefit with using SAP BO Explorer, or will the same queries ran in BEx 7 Anaylser also benefit from the in memory OLAP processing?
    I'm guessing that the SAP BOE Blade will only benefit SAP BOE.
    It would be great if the current BWA had the ability to in-memory the OLAP part of the processing, as then it might be worth the hassle of getting it installed.
    Thanks,
    Jamie

    Hi
    May be the note : 1384526, could give you an insight.
    Regards, Hyma
    Edited by: Hymavathi Yanamadala on Feb 25, 2010 5:13 AM

  • SAP PCM 7.0 Connectivity with SAP Business Objects

    Hi All
    We are trying to integrate SAP PCM 7.0 FP5 with Business Objects. The prime purpose is to fetch PCM data into Xcelsius dashboard and WebI reports via BO Universe.
    We are sruggling to understand the plugins required to do this.Since other SAP documentation states that SAP BO Connectivity pack is required which is a part of SAP BusinessObjects Profitability and Cost Management 7.5 Support Package 06
    But , we understand that SAP BO PCM75 Support pkg06 cannot be installed on SAP PCM 7.0.
    Also, Please kindly help me in understanding if SAP PCM 7.0 connectivity with BOXIR3 (without using BW NW layer) is possible or it needs to be upgraded to SAP PCM 7.5
    Thanks

    Hello Siva,
    I am thinking that you may need to deploy FTP adapter in PI to get this process work fine but not sure.
    Let's see what other experts suggest.
    Thanks,
    Siva Kumar

  • Issue with Citrix Business Objects full client

    Hi ,
    I have issue with my database pasword being expired. I ran a recovery and it works fine for me.
    Since we are using the citirx installation the bomain.key is available on the citrix server which is copied across the user profile when they are login into citrix server via the logon script.
    I still could not find whether the log on script is correct or not can any one of you let me know what I can use to copy the bomain.key using citrix usrlogon.cmd script.
    Regards,
    Ramesh

    Please post this query to the Business Objects Enterprise Administration forum:
    BI Platform
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all BOE queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    Ludek

  • Problem with DimensionBuilder (Business Objects Financial Consolidation)

    Description of Problem or Question:
    Hi all,
    i try to create a new Dimension as described in the help by switching into "Definition Mode" of the Dimensionbuilder. In "data sources" I select the "amounts" folder and Select File -> New -> Dimension. Unfortunatelly the Dimension entry is greyed so that i can not select it. It is also not possible to load data into the existing dimensions or reference tables.
    Any ideas how to solve that problem?
    Product\Version\Service Pack\Fixpack (if applicable):
      SAP Business Objects Financial Consolidation 7.5 Built 7.5.0.1021
    Thanks a ot in advance!
    Sebastian Lehnert

    The problem is solved. If you have the same problem, make sure that your database is initialized as a top site. By default the database is initialied as a child site which means that customizing is not possible.

  • Problems with a Business Object when using data RAW.

    Hi,
      I've created a Z bapi with parameter tables as
        FILE_BIN like SDOKCNTBIN
    The structure SDOKCNTBIN has one RAW field.
    When I go to SWO1 and implement a new Bapi, the following error occurs:
    "Field SDOKCNTBIN -LINE is too large to be included in container"
    Does anyone knows why when I declare an structure with a field RAW, gives that error?
    Thanks in advance!

    Does this occur when using Immediate Mode?
    Here's a blurb from my ADF Toy Store paper about Batch Mode and immediate mode.
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore/readme.html#batchmode

  • Business Objects and SAP BI Integrated Planning

    Hi,
    Not too sure if this is in the correct forum...but I have question.
    Is there a way to use the integrated planning functionality with a Business Objects Front end tool? As I understand BEx will at some stage will not be supported...so I guess there must be a tool. If so which one?
    Thanks,
    Leo

    Hi Leo,
    The Business Objects << SAP Solutions Integration Kit >> enables Web Intelligence, Yoyager, and Crystal reporting on the following SAP sources:
    1. SAP BW   (Infoset, BW Query, BW MDX and ODS)
    2. SAP R3 / mySAP ERP  (transparent tables, pool tables, cluster tables, views, ABAP functions and ABAP data clusters)
    & Also web portal integration to:
    3. SAP Enterprise Portal  (SAP's Knowledge Management - Repository Framework Interface, iViews etc)
    So..  if you can consolidate your planning data into a cube datatarget, you might be in with a chance!
    I hope this helps.
    Regards,
    Henry

  • Send mail with business object link

    Hi,
    can anyone please tell me, how can i send a mail with an business object as an attachement. when i clik on attachment, it should execute the method of business object which will display the document.
    it will be a great help,if any one can send the code.
    Thanks,
    naresh.

    Hi,
    You need classes CA_SAPUSER_BCS and CL_CAM_ADDRESS_BCS .
    CLASS ca_sapuser_bcs DEFINITION LOAD.
    CLASS cl_cam_address_bcs DEFINITION LOAD.
    You require the following local variables:
    DATA: send_request TYPE REF TO cl_bcs.
    DATA: document TYPE REF TO cl_document_bcs.
    DATA: sender TYPE REF TO cl_sapuser_bcs.
    DATA: recipient TYPE REF TO if_recipient_bcs.
    DATA: exception_info TYPE REF TO if_os_exception_info,
    bcs_exception type ref to cx_bcs.
    DATA: num_rows type i.
    DATA: textlength type SO_OBJ_LEN.
    First create a mail request:
    send_request = cl_bcs=>create_persistent( ).
    Create the mail sender:
    Get sender object
    sender = cl_sapuser_bcs=>create( sy-uname ).
    Add sender
    CALL METHOD send_request->set_sender
    EXPORTING i_sender = sender.
    You can define your mail address in this Web Application Server in the user maintenance.
    The mail can be sent to one or more addresses:
    Create recipient
    data: c_address TYPE ADR6-SMTP_ADDR.
    move mail_address to c_address.
    recipient = cl_cam_address_bcs=>create_internet_address(
    c_address ).
    Add recipient with its respective attributes to send request
    CALL METHOD send_request->add_recipient
    EXPORTING
    i_recipient = recipient
    i_express = ' '
    i_copy = ' '
    i_blind_copy = ' '.
    You receive the mail address as a string and you have to convert in into the required data type.
    The mail is sent to one address only without any additional attributes.
    You can now send the mail and write everything to the database.
    Send document
    CALL METHOD send_request->send( ).
    COMMIT WORK.
    You still have not taken any precautions against error situations.
    You can take care of this by embedding the following code in a TRY – CATCH block:
    try.
    ... Now the code comes after the creation of send_request up to the COMMIT WORK:
    catch cx_bcs into bcs_exception.
    if messages is not initial.
    messages->add_message( condition = 'mail'
    message =
    'Error occurred while sending the mail' )."#EC NOTEXT
    endif.
    exit
    endtry.
    Reward if it is helpful.
    Regards,
    Rajesh

  • Problem with business object oContacts

    Hi,
    I have a link button associated with the business object oContacts which should be the object Id 33, but when I click on the link button will open the form of Activities. Is perhaps the wrong object ID?

    After opening BP form in beforeaction = true and formload event click on the pane contact persons by code (after click to link button store in some variable true value that will bp opened from link and than click on correct pane and set the varaible back to false).

  • Business objects

    Hi,
    I have no idea about business objects.What are business objects and as a functional consultant what I can do with business objects meaning can I give some additional things with very little efforts to my client or may be some convinience in use of SAP using business objects ?
    WHat and where business objects can be useful ?
    Please suggest.
    Thanks in advance
    Regards,
    manOO

    Hi,
    <b>What are business objects and as a functional consultant what I can do with business objects?</b></b>
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae4484488f11d189490000e829fbbd/frameset.htm
    <b>Business objects</b> are real world entities modeled as objects in an information system.
    Business objects encapsulate both data structures and the functions applied to the data, but hide their full complexity from other objects. This encapsulation of data and functions makes it easier to modify program components, because you can program with the relevant entities without having to know all the implementation details. You can also reuse existing functions.
    <b>WHat and where business objects can be useful ?</b>
    Client programs access business objects by reading their attributes, or by calling the methods that make up the object’s interface:
    Attributes
    Attributes describe the data stored in an object through a set of properties. They provide direct read access to the data structures of objects, but client programs cannot change them from outside.
    Methods
    Methods provide a way to encapsulate the data structures of business objects, and to process them. When accessing an object, the client program calls a method with parameters and gets back return parameters.
    Interface
    The interface is the set of methods associated with a business object, and determines how an object interacts with the outside world.
    The client program defines the object types to be used and, at runtime, creates object instances of those object types.
    SAP business objects are managed in R/3's Business Object Repository (BOR).
    Regards,
    Naveen.

  • Single Workflow to trigger from multiple business objects

    Can a single workflow be triggered for multiple business objects. We already have a workflow which triggers when there is error in the document. Can we use same workflow for other objects (Opportunity, lead etc..) or do we have to create separate workflows for each objects?

    Yes you check.Check the business object by passing test data in the function module.
    check with import and export parameters and check with the business object with the transaction
    after testing of business object check the status at transaction swel for event trace.
    Multiple Events & Triggering of Workflow
    Thanks,
    AMS

Maybe you are looking for

  • How to send pdf or excel attachment as saved alv layout in email

    Hi Guru, I am developing a report in which, i am sending report as excel attachment after clicking a button on top of alv grid, and pdf attachment after clicking another button on top of alv grid. I am sending mail by two ways they are: 1) I am popul

  • Updated Date not populated for Vendor in R3 Tables

    Hi I made few changes for Vendor in R3 but it didn't update UPDAT field in LFA1 Table whereas i could see other data fields changed that i did in the screen. Could you pls. tell me why is it Or Is there any configuration required for updating Update

  • "Exception thrown in non-transactional EJB invoke"

              When I throw an application exception from within a statless session bean which uses jdbs for DB Lookup Only I get           "Exception thrown in non-transactional EJB invoke".           As this is a llokup only I have no Transaction Manage

  • What is going on with Adobe Flash Player?

    All of a sudden videos are either disappearing from my website, leaving just blank boxes or grey boxes with error messages, saying that Flash player has crashed, and added videos don't appear?????? I've been reading all the forums to find out what's

  • Can I install Mac OS X 10.6 (Snow Leopard) on my new MacBook Pro?

    Hi all, I'm user of Mac since lot of time and I`ve got a question. I have bought a Macbook Pro on September 2011 and it cames with Lion and no installation disc. Can I downgrade this Macbook Pro with Lion preinstalled to Snow Leopard with SL Retail d