Creation of multiple Fact Sheets

Hi,
I would like to create multiple customer fact sheets from different business partners in one process. The user doesn't want to open every single fact sheet.
The origin of the business partners could be a BI-query, a target group or a Z-table.
Does anybody have some ideas? Are there some function modules to fill the fact sheets? Is there a possibility with a function module and smart forms?
Regards
Jochen

Hi Magesh,
I understand your problem as I have gone through the same. Unfortunately this is standard functionality and you will have to investigate if a user-exit will resolve the issue.
I did some work on this but stopped as the business agreed to live with it. Basically what you can try to do is disable "save" if it hits specific error messages (quantity exceeded or limit exceeded).
Hope this helps !

Similar Messages

  • Multiple Fact sheets issue  for Account

    Hi All,
    Need help to trigger the multiple fact sheets. SAP has given one SAP note "2104590 - Use of multiple PDF factsheets in account overview page".
    I have implemented that note  and entered Custom Class and Z smartform in the configuration .
    SM30->CRMV_PRN_CONTROL
    SM34->CRMVC_BUIL_PRT
    I am able to see the  buttons in account overview , but those are not triggering .
    Could you please help  me  in this issue.
    regards,rama

    You can use different AppleIDs for different purposes on one device. It is a matter of setting the desired ID for the fucntion (iCloud vs. itunes and Apps stores, for example), in the settings app. My wife has that configuration on her iPhone. She has her own AppleID set up for iCloud (for synching with Contacts and handling back ups, for example), but uses mine for itunes and app store access (I already have a number of apps since I have been using iOS devices foer a while, plus I have iTunes Match).
    The IDs are NOT tied to each other, however. There is no way to do that.

  • Avoid creation of multiple entry sheets

    Dear all,
    In our process we create service entry sheets for service process. In SAP once if service entry sheet is created and the p.o qty is exhausted, system still allows me to create dummy document (service entry sheet) which are available as error documents in the system against the p.o - these are accidently created by the users.
    Is there any provision to prevent users from creating the SES once the p.o qty is fully exhausted. - i.e., system should throw error message and prevent user from creating the SES.
    Can I know why this is kept as standard functionality in SAP - What is the use of the parked document which is not processable at any point of time?
    Regards,
    M.M

    Hi Magesh,
    I understand your problem as I have gone through the same. Unfortunately this is standard functionality and you will have to investigate if a user-exit will resolve the issue.
    I did some work on this but stopped as the business agreed to live with it. Basically what you can try to do is disable "save" if it hits specific error messages (quantity exceeded or limit exceeded).
    Hope this helps !

  • BP Fact Sheet adding Multiple BI views using SAP configuration tool

    Hi,
    I am able to add multiple BI reports to the Fact Sheet using SAP standard Configuration. But all the views appear with the Same Heading "BI Report". Is there a way I can change the title "BI Report"  to something more specific to the Report context using SAP Standard Configuration or a BADI.
    E.g. Sales Data Report / Volume Analysis
    instead of BI Report / BI Report
    I am able to do so by creating my own BI inbound plugs for the interface definition in the component BP_FACTSHEET but I do not want to use that approach if their is a SAP standard way of doing it.
    Any advice will be greatly appreciated.
    Sumeet

    Hi Sumeet,
                     If you want to change the title of the view then you have to go particular component and view .Then redefine  this method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION  and give ur title in description variable.Or you can go to this component BSP_DLC_FS and change the title when you assign the view in particular tiles.
    Thanks
    Vishwas Sahu

  • BAPI for automatic Pr creation witth multiple files from excel sheet

    I have written a programm  for automatic PR creation  with the help of bapi , where its picks data from excel sheet and makes PR .It is picking excel files from one folder(Files) for PR creation and moving to another folder(Files sucess).
    now the problem is if Folder (Files) contains one excel sheet ,PR is created fine , but if the Folder(Files) have multiple excel sheet ,its is creating 1st PR right, but next PR's contains all the line item of 1st PR , 2nd PR and so on .can anyone suggest me where is the problem in codes.
    types : begin of x_file ,
            key1(10),
            pur_grp(4),
            maktx(40),
            plant(4) ,
            req(10),
            s_qty(13),
            wbs(24),
            gl(10),
            trackno(10),
            supl(4),
            deladd(255).
    types : end of x_file .
      data : str5 type char10.
      data : mm type char2.
      data : yyyy type char4.
      data : dd type char2.
      data : str9 type char10.
      data : str6 type char10.
      data : month type char2.
      data : year type char4.
      year = sy-datum+0(4).
      month = sy-datum+4(2).
      dd = sy-datum+6(2).
      yyyy = sy-datum+0(4).
      mm = sy-datum+4(2).
      dd = sy-datum+6(2).
      clear str6 .
      clear str5.
      concatenate  dd'.' month '.' year into str5 .
      concatenate  yyyy mm dd into str6 .
    DATA : file type rlgrap-filename .
    data : it_file type table of x_file .
    data : wa_file type x_file .
    data : it_header type table of x_file .
    data : wa_header type x_file .
    *&  Internal Table For Define Row and Coloum Postion
    data: col_start type i value 1 ,
          row_start type i value 2,
          col_end type i value 256 ,
          row_end type i value 65000 .
    *&  Internal Table For Retrieve  Data From Excel
    *data: excel_bdcdata like kcde_cells occurs 0 with header line.
    *data: excel_bdcdata1 like kcde_cells occurs 0 with header line.
    data: excel_bdcdata like ALSMEX_TABLINE occurs 0 with header line.
    data: excel_bdcdata1 like ALSMEX_TABLINE occurs 0 with header line.
    data: it_index type i.
    DATA : IT_INDEX1 TYPE I.
    *&  Define Field Symbol
    field-symbols: <fs> .
    data :   bdcdata like bdcdata    occurs 0 with header line.
    data :   messtab like bdcmsgcoll occurs 0 with header line.
    data : req_items type table of bapiebanc .
    data : wa_req_items type bapiebanc .
    data : req_acc_asg type table of bapiebkn.
    data : wa_req_acc_asg type bapiebkn.
    DATA : RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE .
    *data : return type table of     bapireturn.
    *data : wa_return type bapireturn .
    data : number type ebeln .
    *****************************MOVE FILES******************************
    data : xsource type string .
    data : xdestin type string .
    data : destin1 type string .
    data : destin2 type string .
    DATA : DEST1 TYPE STRING.
    DATA : DEST11 TYPE STRING.
    DATA : DEST2 TYPE STRING.
    DATA : DEST22 TYPE STRING.
    data : sou_dir_name like SALFILE-LONGNAME.
    data : tar_dir_name like SALFILE-LONGNAME.
    data : tar_dir_name1 like SALFILE-LONGNAME.
    data : sou_filename like EDI_PATH-PTHNAM .
    data : tar_filename like EDI_PATH-PTHNAM .
    data : filename1  type string .
    data : tar_filename1 like EDI_PATH-PTHNAM .
    data : file_itab like SALFLDIR occurs 0 with header line.
    data : wa_file_itab like SALFLDIR.
    data : file_count type i .
    data : dir_count type i.
    data : dir_table like sdokpath occurs 0 with header line.
    data : file_table like SDOKPATH occurs 0 with header line.
    data : wa_file_table like sdokpath.
    data : strr type string ,
           str1 type string ,
           str2 type string ,
           str3 type string .
    DATA : PA_VAL TYPE CHAR1.
    sou_dir_name = 'D:\barcodes\files\'.
    tar_dir_name = 'D:\barcodes\files-success\'.
        "success folder.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        DIRECTORY  = sou_dir_name
        FILTER     = '.'
      IMPORTING
        FILE_COUNT = file_count
        DIR_COUNT  = dir_count
      TABLES
        FILE_TABLE = file_table
        DIR_TABLE  = dir_table
      EXCEPTIONS
        CNTL_ERROR = 1
        OTHERS     = 2.
    IF SY-SUBRC <> 0.
    ENDIF.
    loop at file_table into wa_file_table.
    clear  :  strr , str1 , str2 , str3 .
      strr = wa_file_table-PATHNAME .
      concatenate sou_dir_name strr into str1 .
      concatenate tar_dir_name strr into str2 . " success
      concatenate tar_dir_name1 strr into str3 .         " failed
    FILE = STR1 .
    *start-of-selection.
    *&  Function For Retrieve Data From Excel
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        filename                      = FILE
        i_begin_col                   = col_start
        i_begin_row                   = row_start
        i_end_col                     = col_end
        i_end_row                     = row_end
      tables
        intern                        = excel_bdcdata
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3.
      IF sy-subrc NE 0.
    WRITE : / 'File Error'.
    EXIT.
    ENDIF.
      loop at excel_bdcdata.
        translate excel_bdcdata to upper case .
        move excel_bdcdata-col to it_index.
        assign component it_index of  structure  wa_file to <fs> .
        move excel_bdcdata-value to <fs>.
        at end of row.
          append wa_file to it_file .
            clear wa_file.
        endat.
      endloop.
    sort it_file by key1. "pur_grp maktx plant  .
    it_header[] = it_file[].
    delete adjacent duplicates from it_header comparing key1 pur_grp maktx
    plant .
    data : h_item(5) type n .
    data : h_pack(10) type n .
    data : line_no(5) type n .
    data : ln_no(5) type n .
    loop at it_header into wa_header .
    ln_no = 1.
    h_item = h_item + 10.
    h_pack = h_pack + 1.
    wa_req_items-preq_item = h_item .
    wa_req_items-doc_type = 'BOM'.
    wa_req_items-pur_group = wa_header-pur_grp .
    wa_req_items-MATERIAL = wa_header-maktx .
    wa_req_items-plant = wa_header-plant .
    wa_req_items-pckg_no =  h_pack .
    wa_req_items-deliv_date = str6 .
    wa_req_items-item_cat = '0'.
    wa_req_items-acctasscat = 'P'.
    *wa_req_items-distrib = '2' .
    **wa_req_items-gr_ind = 'X'.
    wa_req_items-ir_ind = '2'.
    wa_req_items-purch_org = 'TISL' .
    wa_req_items-QUANTITY =  wa_header-s_qty.
    wa_req_items-PREQ_NAME =  wa_header-req.
    wa_req_items-SUPPL_PLNT = wa_header-supl.
    wa_req_items-trackingno = wa_header-trackno.
    append wa_req_items to req_items .
    clear wa_req_items.
    wa_req_acc_asg-preq_item = h_item .
    wa_req_acc_asg-g_l_acct = wa_file-gl .
    WA_req_acc_asg-wbs_elem  = wa_header-wbs .
    append wa_req_acc_asg to req_acc_asg .
    clear wa_req_acc_asg.
    h_pack = h_pack + 1  .
    endloop.
    clear ln_no .
    ***BREAK-POINT.
    *& BAPI FUNCTION
    call function 'BAPI_REQUISITION_CREATE'
    importing
       number                               = number
      tables
        requisition_items                   = req_items
       requisition_account_assignment       = req_acc_asg
       return                               = return .

    Can someone please give me sol........

  • Creation of a simple custom fact sheet with assignment block

    Dear CRM Gurus,
    i need to create a custom fact sheet with a assignment block and link for that has to be given in a navigation bar . once if I click on  that navigation bar the custom fact sheet has to be displayed. am relatively very new to crm. kindly help me in this aspect.

    Hi Thomas,
    " By default, the Collect Signatures workflow is associated with the Document content type and it is thus automatically available in document libraries for documents or workbooks that contain Microsoft Office Signature Lines. "
    It doesn't work for a custom list which cannot be added with the document content type, please see more information from below,
    http://office.microsoft.com/en-us/sharepoint-server-help/use-a-collect-signatures-workflow-HA010154428.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Automatic Creation of Fact Sheets with push to MSA

    We are considering using fact sheets within MSA. We would like to periodically refreh fact sheets without human intervention (we do not want our sales people to request a download/refresh of the factsheet business partner per business partner).
    Is there a method to centrally refresh all fact sheets (eg for business partners with a planned business activity in the coming week) and to push these factsheets to the relevant MSA clients ?
    Thanks
    Ronny

    Hi
    U can create BDC for Tcode VA01 in T code SHDB with the validation and ask the ABAPer to create one Y/Z Tcode. Then you input the PO no in the Tcode to create the SO in background.
    Or
    Create BDC for PO AND SO and give logic and validation with input field and ask the ABAPer to crate one Y/Z Tcode to create PO and SO in single execute.
    Thx.

  • How to pass variable between CRM Fact sheet and BI web template

    Hello,
    I am looking for someone who has integrated a custom web template with the CRM fact sheet (I am on 2004s).
    I have created a custom web application design template for displaying on the portal for a CRM factsheet (TPL_FACT_SHEET).
    This template is based on a query which has a variable (CHOOSE_CUST, ready for input, input: optional type) on 0CUSTOMER char.
    When the sales rep queries the CRM FactSheet on the portal- based on the 0CUSTOMER he is demanding the fact sheet for,  the appropriate 0CUSTOMER value needs to be parsed to my custom web template and it should return him the report. The report is very simple with just sales for current and previous year by material group. There is a std template to do this but we are using cutom data providers and hence need to create this custom web template.
    Thus far I have created a 'filter pane' in my web template but do not know how to link this with the CRM fact sheet or even how to link it to my query variable. Currently when my template is called from the factsheet (portal) it displays results for multiple customers without any filter!
    Please advise how to proceed in linking the CRM fact sheet 0Customer number with my web template filter pane!
    Full points for useful answers!
    Thanks
    Naresh

    Hello,
    I am looking for someone who has integrated a custom web template with the CRM fact sheet (I am on 2004s).
    I have created a custom web application design template for displaying on the portal for a CRM factsheet (TPL_FACT_SHEET).
    This template is based on a query which has a variable (CHOOSE_CUST, ready for input, input: optional type) on 0CUSTOMER char.
    When the sales rep queries the CRM FactSheet on the portal- based on the 0CUSTOMER he is demanding the fact sheet for,  the appropriate 0CUSTOMER value needs to be parsed to my custom web template and it should return him the report. The report is very simple with just sales for current and previous year by material group. There is a std template to do this but we are using cutom data providers and hence need to create this custom web template.
    Thus far I have created a 'filter pane' in my web template but do not know how to link this with the CRM fact sheet or even how to link it to my query variable. Currently when my template is called from the factsheet (portal) it displays results for multiple customers without any filter!
    Please advise how to proceed in linking the CRM fact sheet 0Customer number with my web template filter pane!
    Full points for useful answers!
    Thanks
    Naresh

  • Multiple Facts in single subject area

    Hi everyone,
    Is there an optimal way to get multiple facts into a single subject area? The only way I've managed to get multiple facts into a single subject area is to go the route of creating hierarchies for all dimensions, setting up all the content levels for both the fact and dimension tables and finally creating aggregated measures for all the fact tables. However, when you setup these different hierarchies and content levels, the queries which are generated tend to get fairly nasty and seem to be slow. Another pesky issue is that I've had to create pseudo columns for all facts, so that if a report is using one dimension from FACT A and one dimension from FACT B, then you have to include this pseudo column from both facts so that OBIEE knows which tables are involved in the query. Without including these pseudo columns in the report, the OBIEE engine gets a little confused and puts up an error.
    I'd prefer to find a better way to do the multiple fact implementation without having to have the massive queries and pseudo columns, but I'm not sure what the other options out there are. Anyone know the best way to accomplish this?
    -Joe

    Hi Wildmight,
    You are exactly right.
    Here's an example of what I'm trying to accomplish. We have a TIME SHEET fact table which has things like a work date, an employee ID, a work order number and the hours which were worked. The work orders can be against one or more pieces of equipment. There is a second fact table which models the one to many relationship between work orders and equipment.
    The model would look a little like this:
    Join on WORK ORDER NUMBER Join on WORK ORDER NUMBER
    TIME SHEET FACT <-----------------------------------------------WORK ORDER Dimension ----------------------------------------------> WORK ORDER EQUIPMENT FACT
    We would like to create a report that shows the number of hours from the time sheets fact grouped by the piece of equipment from the work order equipment fact. I've been able to setup this report using the method I described in my first post, but like I said, the generated SQL is massive and seems somewhat unnecessary.
    I think I'd have to say the grains of the facts are different since they providing to different pieces of information.
    I haven't done too much multiple LTS experimentation. I'm working from a single data warehouse source which should be robust enough to handle any reporting requirements. Even though I know OBIEE can do some clever combining of tables using the LTS; if data sets need to be consolidated, I'm trying to keep that work in the database via ETLs in order to keep the work that OBIEE has to do down to a minimum.
    -Joe

  • Business partner in Fact Sheet for Individual object

    Hi Folks,
    I am unable to see the assigned business partners on the Fact Sheet for an Individual object.  I have created the iObject in the portal.  Here, I could not assign any BP's during the creation as the system does not have this option.  I then went ahead and created an Installed Base and assigned this iobject to it in the CRM system in transaction [IB51] "Create Installed Base".  I then went ahead and assigned the Business Partners to this iObject. 
    The situation is that I can see the assigned Business Partners in the Portal for this iObject/Component for the Installed Base in the "Installed Bases/Components" tab but when i go to the "Fact Sheet for Installed Bases" tab I am unable to see the assigned BP's.
    I haven't been able to find any documentation on it either.  Can someone please help.
    Thanks.

    Hi,
    Did you ever solve this issue? 
    I too am having the same problem and cannot display the factsheet or summary using the 'Go To' button in EP.
    Any help would be much appreciated.
    Regards
    Jo

  • Fact Sheet generation - CL_CRM_GENIL_CONTAINER_OBJECT issue

    Hi Guys,
    We are utilizing functionality of an Activity Management to schedule appointments using Activity Scheduling and Standalone appointment creation as well. We did use automatic Fact Sheet attachments to the appointments.
    We introduced an ad hoc generation of PDF Fact sheet attachments into the appointments. We are testing our custom solution but we experienced one issue caused by SAP standard code.
    Let me summarize our settings first
    1.We turn off automatic FS generation in IMG CRM->Transactions->Settings for activities->Attach Fact Sheet to activities
    (Role)G:ZZ:CRM1:SLS_USER; (Trans.Type)Z100; (Short Descriptio)Visit; (Language)EN; (AttchAutom)blank; (AttachMan) flag
    2.We do use custom smartform ZCRM_FACTSHEET that is a copy of CRM_ACC_ACCOUNT_OVERVIEW_PRN
    3. We created new class ZCL_UIU_PRN_ACCOUNT as a copy of CL_UIU_PRN_ACCOUNT
    4. in View CRMV_PRN_CONTROL we have maintained following entries (Role)G:ZZ:CRM1:SLS_USER; (External Object Name)BuilHeader; (Form name) ZCRM_FACTSHEET; (Class/Interface)ZCL_UIU_PRN_ACCOUNT; (View) blank
    5. in cluster CRMVC_BUIL_PRT we have maintaned following Related objects ro (Role)G:ZZ:CRM1:SLS_USER and (Ext. Object Name) BuilHeader
    (External Object Name)BuilActivity-(Field name)ACTIVITIES; BuilAddress - ADDRESS_OVERVIEW; BuilContactPerson - CONTACTS; BuilInteractionHistory - HISTORY; BuilRelationship - RELATION_TYPES; BuilSalesArrangement - SALES_AREAS
    Our custom program ZFCRM_CREATE_FACT_SHEET is basically selecting relevant appointments; Reading information about main partner using FM CRM_PARTNER_READ_OW and calling FM CRM_UIU_BP_PRINT_BACKGROUND. All export parameter are properly filled in.
    This FM is basically calling our Z class ZCL_UIU_PRN_ACCOUNT based on above customizing. For simplification reasons imagine that ZCL_UIU_PRN_ACCOUNT is exact copy of standard SAP class CL_UIU_PRN_ACCOUNT where  CL_UIU_PRN_ACCOUNT is its superclass
    The issue is with the method COLLECT_DATA and section of the code
    lr_collection = lr_buil_entity->get_related_entities(
    iv_relation_name = <ls_model>-relation_name ).
    that returns data for internal tables lt_activities(open activities) and lt_history(closed activities). If we have scenario when we have 3 open and 8 closed activities:
    a. When I generate the Fact Sheet from an Account directly in Web UI CL_CRM_BOL_CORE->get_related_entities is returning 3 records for lt_activities(open activities) and 8 lt_history(closed activities).
    b. When I called it from our Z program the CL_CRM_BOL_CORE->get_related_entities is returning 11 records for lt_activities(open activities) and 11 lt_history(closed activities). It means mixed bag. And this is the issue.
    I did analyze the standard SAP code and the section containing below
    code is responsible for the mismatch
    try to read children
    if IV_RELATION_NAME is initial.
    if IV_OWNED_ONLY = ABAP_TRUE.
    LV_OBJ_LIST = IV_ENTITY->CONTAINER_PROXY-
    >IF_GENIL_CONTAINER_OBJECT~GET_OWNED_CHILDREN( IV_AS_COPY = TRUE ).
    else.
    LV_OBJ_LIST = IV_ENTITY->CONTAINER_PROXY-
    >IF_GENIL_CONTAINER_OBJECT~GET_CHILDREN( IV_AS_COPY = TRUE ).
    endif.
    elseif LV_MODE ne CL_CRM_BOL_ENTITY=>BYPASSING_BUFFER.
    get relation state
    >>this code>> LV_OBJ_LIST = IV_ENTITY->CONTAINER_PROXY-
    >IF_GENIL_CONTAINER_OBJECT~GET_RELATION( IV_RELATION_NAME =
    IV_RELATION_NAME
    IV_AS_COPY = TRUE ).
    read table IV_ENTITY->MY_MANAGER_ENTRY->RELATIONS with table key
    RELATION_NAME = IV_RELATION_NAME
    assigning
    <REL_STATE>.
    endif.
    CL_CRM_GENIL_CONTAINER_OBJLISTCP->CONSTRUCTOR
    data: LS_RELATION type GTYPE_RELATION,
    LV_PARENT type ref to CL_CRM_GENIL_CONTAINER_OBJECT,
    LV_ENTRY type ref to IF_GENIL_CONTAINER_OBJECT,
    LV_CHILD_PROXY type ref to CL_CRM_GENIL_CONTAINER_OBJECT.
    field-symbols: <REL> type CRMT_GENIL_CONT_RELAT
    >>this code>> read table IV_PARENT_DATA_REF->RELATIONS assigning <REL> with table key RELATION_NAME = IS_FILTER-RELATION_NAME.
    Table IV_PARENT_DATA_REF->RELATIONS is not filled for scenario b. at all. It is filled for scenario a. For our scenario b. it is missing relationships and that's the reason why we got mixed activities in BuilActivityRel and BuilHistoryRel..
    Did you come across similar bug or do you know which note could potentially resolve this issue?
    Thank you in advance.
    -Milan

    You might have to put breakpoint in function module CRM_UIU_BP_PRINT_BACKGROUND
    Check the values in parameter - IT_BOL_RELATION
    Also check values returned from querying table crmc_prn_contr2 (its at line 76 in our system).
    Thanks,
    Alwyn

  • Import data external system in PCUI SAP CRM install base Object fact sheet

    I want to import data from third party system to Object fact sheet of install base. Please let me know the possible way to do so. Do I need to import data in BI and then to Object fact sheet?

    Hi Pankaj,
    If you have seperate BI server also alongwith the CRM system as back end.Then IU can create two seperate iviews of the two fact sheets hitting different servers e.g.if this is telecom perspective then In one pcui screen you can give two iviews one will fetch data from CRM server and populate 360 degree view of the customer whereas the BI iview will have multiple line level display of the last bills generated which we can see in detail also by hitting the same iview.
    Regards,
    Priyadarshan

  • Excel multiple tab sheets

    how to download data into multiple tab sheets in a single file

    report zole123.
    INCLUDE ole2incl.
    DATA:  count TYPE i,
           application TYPE ole2_object,
           workbook TYPE ole2_object,
           excel     TYPE ole2_object,
           sheet TYPE ole2_object,
           cells TYPE ole2_object.
    CONSTANTS: row_max TYPE i VALUE 256.
    DATA index TYPE i.
    DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
    DATA: BEGIN OF itab3 OCCURS 0, place(50), END OF itab3.
    *START-OF-SELECTION
    START-OF-SELECTION.
      APPEND: 'roshani' TO itab1, 'jain' TO itab2,
                                  'worli' TO itab3,
                'nehal' TO itab1, 'shah' TO itab2,
                                  'chowpatty' TO itab3,
               'saad' TO itab1, 'sheikh' TO itab2,
                                  'versova' TO itab3,
                'sushilnath' TO itab1, 'shukla' TO itab2,
                                  'grant road' TO itab3,
                'ajju' TO itab1, 'ratna' TO itab2,
                                  'gaon' TO itab3,
                'sanant' TO itab1, 'R.' TO itab2,
                                  'mahim' TO itab3.
    *  CREATE OBJECT application 'excel.application'.
    *  SET PROPERTY OF application 'visible' = 1.
    *  CALL METHOD OF application 'Workbooks' = workbook.
    *  CALL METHOD OF workbook 'Add'.
      CREATE OBJECT excel 'EXCEL.APPLICATION'.
      IF sy-subrc NE 0.
        WRITE: / 'No EXCEL creation possible'.
        STOP.
      ENDIF.
      SET PROPERTY OF excel 'DisplayAlerts' = 0.
      CALL METHOD OF excel 'WORKBOOKS' = workbook .
      SET PROPERTY OF excel 'VISIBLE' = 1.
    *  Create worksheet
      SET PROPERTY OF excel 'SheetsInNewWorkbook' = 1.
      CALL METHOD OF workbook 'ADD'.
      DO 3 TIMES.
        IF sy-index GT 1.
          CALL METHOD OF excel 'WORKSHEETS' = sheet.
          CALL METHOD OF sheet 'ADD'.
          FREE OBJECT sheet.
        ENDIF.
      ENDDO.
      count = 1.
      DO 3 TIMES.
        CALL METHOD OF excel 'WORKSHEETS' = sheet
          EXPORTING
            #1 = count.
    *    perform get_sheet_name using scnt sname.
        CASE count.
          WHEN '1'.
            SET PROPERTY OF sheet 'NAME' = 'firstName'.
            CALL METHOD OF sheet 'ACTIVATE'.
            itab1-first_name = 'FIRST NAME'.
            LOOP AT itab1.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab1-first_name.
              SET PROPERTY OF cells 'Value' = itab1-first_name.
            ENDLOOP.
          WHEN '2'.
            SET PROPERTY OF sheet 'NAME' = 'LastName'.
            CALL METHOD OF sheet 'ACTIVATE'.
            LOOP AT itab2.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab2-last_name.
              SET PROPERTY OF cells 'Value' = itab2-last_name.
            ENDLOOP.
          WHEN '3'.
            SET PROPERTY OF sheet 'NAME' = 'place'.
            CALL METHOD OF sheet 'ACTIVATE'.
            LOOP AT itab3.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab3-place.
              SET PROPERTY OF cells 'Value' = itab3-place.
            ENDLOOP.
        ENDCASE.
        count = count + 1.
      ENDDO.
    * Save excel speadsheet to particular filename
      GET PROPERTY OF excel 'ActiveSheet' = sheet.
      CALL METHOD OF sheet 'SaveAs'
                       EXPORTING #1 = 'c:tempexceldoc1.xls'     "filename
                                 #2 = 1.                          "fileFormat

  • BW report in BP Fact Sheet in CIC0

    Hi Gurus,
    We wish to display BP specific BW reports in our CIC0 fact sheet. We have configured a web template and are able to view the BW view in the CIC0 fact sheet. The issue is, that we want the BW query to run automatically based on the BP confirmed in CIC0. Currently, we get the BW view wher we open a query and then populate the BP in the selection screen and run the report. The report then shows the expected data in fact sheet. However, ideally, the BP should automatically be passed in BW query as its already confirmed in CIC0, as it does when we get information from R/3 regarding a BP.
    Any help would be highly appreciated.
    Cheers!
    Amit

    Hi guys,
    I have the same problem, I need to call bw reports using the BP selected at cic0.
    I tried 2 options, I can display the bw reports but the BP is not send as a parameter.
    1- I created an action box in cic0 to call transaction RRMX in BW. I used BOR method, object type TSTC and method execute. This works fine to call the reports but can't find any option to send the bp as a parameter.
    2 - I created a bsp version of the bw reports and created an HTML call from CIC0. But the BW report doesn't accept parameters. Also I don't know how to send the BP as a parameter, it seems that I can only send Text.
    Let me know if you find another way to call bw reports from cic0.
    Cheers,
    Hernan.

  • Prevent auto creation of service entry sheet

    Dear friends,
    I am using maint plan for creating service entry sheets automatically. I am using framework order where I give the validity period. Now when I try to generate service entry sheets through the plans after the end of validity period given in framework order,the system is allowing creation of service entry sheets. Is it possible to prevent a maint plan triggering a service entry sheet if the call date for the service entry sheet to be generated falls outside the validity period given in framework order.
    best regds
    Arun

    Arun,
    This doesn't suprise me...
    I'm not sure if there is a standard solution, but you could do this via user-exit/BADI (see [here|http://www.sapfans.com/forums/viewtopic.php?p=648307] under maintenance plans )
    PeteA
    [www.pjas.com]

Maybe you are looking for

  • MiniDisplay Port for Video input on macbook pro?

    Can I use my macbook pro`s MDP for video input? Wanna use my Belkin HDMI to MDP. MBP (Late 2010 model)

  • I can only read on my external usb hardrive

    Hello There, I could need some help When I plug my "Samsung SP1604N Media Mass-Storage-Device" to my (brand new :-)) iBook, i'm only "allowed" to read but not to write on the single volume, that is formatted in Windows NTFS format. First, I thought I

  • Load Balancing with OSPF and maximum-paths command

    Hello, Just a quick query really, we have a disribution layer 3 switch, in its routing table it has 3 default routes all with the same metric from the core router, this is because the core router is setup with the comamnd "default-information origina

  • How to generate chunked-encoding httpServletResponse

    Hi all, tomcat6.0, jdk5.0. I need implement a servlet which uses some very long string as the response to POST request. So I hope to divide the long string into several chunked http response messages instead of one huge response message. I tried belo

  • G42 processor speed problem

    I have a HP G42 i5 Lap top with 4GB RAM working on Windows 7 32 bit operating system.the problem ocurred since 2 months. When I working with the charger there is no any matter. But just plug off the charger processor increase to 100% and can't do any