Query in background and mail

we have a user who executes some three queries daily with fixed selection criteria . since
the queries are based on top of a remote cube and are slow , we were thinking of scheduling them
in the Background and setting them to go to the user's email daily at a specified time . I know
all this is possible with reporting agent , can anyone provide me with the steps to do this ?
thanks all
oooooops

Hi,
If you are using version below 3.5 then reporting agent can help you in precalculation, I don;t think it can be mailed ( until there are some exceptions)
with BW 3.5 & above - use information broadcasting features.
hope it helps
Regards
Vikash

Similar Messages

  • Execute query in background and write it's content in transparent table

    Hi,
    Is there an easy way to execute one query in background and write it's content in transparent table?
    Thanks,

    Hello,
    Yes you can do this in so mamy ways...
    GOTO RSCRM_REPORT -> select your query -> click on the extract button and set the parameters...table or file Execute.
    Create an APD in RSANWB select your query and you can store the result in ODS table...cube...
    Create a reporting agent and store the result.
    Regards,
    Pavan.

  • Execute Query in Background get notified per email

    Hello together,
    In a project we use BSP's to select variable values in a more comfortable way compared to the SAP Standard variable screen.
    For some long-running queries (e.g. show all line items in the ODS where the item text contains keyword 'XXX') our users want a button to calculate the query in background and to be notified per email containing the corresponding link as soon as the result is available.
    We use BW 3.5, so Information Broadcasting is available, but this does not really solve the problem.
    In the Broadcaster, you can specify the variables using the SAP standard variable screen. But of course we want to use our BSP's. In addition, we first want to specify the variable values before we decide whether to run the query online or in batch. And finally, running the query in the background should be a one-click action. This is not possible with Information Broadcasting.
    Does somebody know a solution for this problem.
    I assume it can be reduced to some magic FB's and methods that have to be called from the BSP to get what we want.
    Thanks for your help.
    Juergen

    HI Alex,
    Could you please help me with the solution. I have a similar requirement where I have to execute the query or workbook in background via a process chain.
    Thanks in advance.
    Rgds,
    Sree.

  • Convert Spool to PDF and mail for the jobs not run in background.

    Dear All,
    I need to convert the spool job into pdf and mail as attachment for job not run in background.
    I am printing the bills  using the program  SD70AV3A to print the bills in a batch using the SUBMIT.
    But i am not using the spool options since its going to into waiting state in spool...and i need to change the printer properties to G
    to get the printer to print the reports as these jobs run in backgroud....but this solution is not acceptable solution.
    SUBMIT SD70AV3A
             WITH RG_KSCHL-LOW = 'ZRR'
             WITH RG_NACHA-LOW = '1'
             WITH PM_VERMO = '2'
             WITH PM_NSORT = '1'
             WITH RG_VBELN IN range.
    *        TO SAP-SPOOL
    *        SPOOL PARAMETERS print_parameters
    *        WITHOUT SPOOL DYNPRO
    *        VIA JOB name NUMBER number
    *        AND RETURN.
    so how do i get the spool number from the above after the job is submitted....and then convert into pdf and mail
    please suggest some solution. I have searched on net but most the solutions are say to run the job as background job...
    i have also looked into the program RSTXPDFT4 but it asks for the spool id ....how can i get spool id for the job that has been completed.
    please suggest some solution.
    Thanks
    Bhargava.

    Hi,
    Spool to PDF : FM 'CONVERT_ABAPSOOLJOB_2_PDF'
    Table TSP01 to get spool number
    You ,may need to convert OTF to PDF: FM CONVERT_OTF
    and the to binary : FM 'SMCS_XSTRING_TO_BINARY'
    To send mail use class: cl_document _bcs.
    Regards,
    Maria João Rocha

  • When I send an email from Mac Mail, why does Mail go to the background and the Finder comes to the front? I want it to stay in Mail.

    When I send an email from Mac Mail, why does Mail go to the background and the Finder comes to the front? I want it to stay in Mail.

    Did you check your user name and password in Settings>Mail,Contacts,Calendars...tap your email account, tap SMTP, then tap the primary server name.  Make sure the settings there are correct.

  • Procedure or Function that send E-mail with image background and file attached

    hi
    I4d like know if someone there is a procedure or function that send E-mail with image background and file attached, for me.
    thanks
    Josi Vieira

    If you go to this part of OTN you will find the official Oracle UTL_SMTP demo, which includes attachments:
    http://technet.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Getting a background is slightly trickier. The UTL_SMTP package is for primarily sending text e-mails, whereas images require HTML e-mail. I suggest you look at the structure of a sample HTML e-mail and see if you can write the necessary HTML strings in the DATA parameter. Otherwise you'll need to investigate handcrafting a program based on the UTL_TCP package.
    [rant]
    If this seems like a lot of trouble I agree and urge you not to bother. HTML e-mail is one of the curses of the modern age, not least because it is frequently used by purveyors of viruses. I have a filter on my Outlook client that strips out all the HTML in any e-mail I receive, which means I get lots of e-mails rendered unreadable by the inclusion of <HTML> tags. But who cares, they're mostly spam anyway. In fact, the use of HTML in an e-mail is almost always an indicator of the irrelevance of its content.
    [rant]
    Vibes, APC

  • Executing query in background : EXPORT_NO_SHARED_MEMORY

    Hi,
    I am using reporting agent to execute the query in background.The actual requirment is to print the report and send the report as mail after the triggeting of an event by a ABAP program.We want the same report to run with 9 different varints at the of trigger of this event.
    Let me explain what I have done.
    1.I went to reporting agent-->print
    2.Created 9 settings for the report
    3.Added all these settings in a package
    4.scheduled the package to run after the triggering of the event
    Now the job that executes the report in backgroung gets cancelled with error
    "ABAP/4 processor: EXPORT_NO_SHARED_MEMORY"
    When I checked the spool ,it showed result of the report with one variant.
    Is it because I have assigned the alll settinmgs under a single package ?
    Also can some one tell me about mailing the output  to the user?

    Hi Fazil,
    It sounds like a system problem. You might want to ask Basis people to help you. You can check trx ST22 or SM21 to get any log..
    Hope this helps.
    Regards,
    Diego

  • Having problems connecting iMac(late 2006) running 10.7.5 to a Samsung Flat Screen TV using separate audio/speaker cable and HDMI standard cable, mini-DVI to HDMI video converter.  TV displays generic Apple galaxy background and "some" windows (e.g. scree

    Not sure that I have selected the correct forum.  Hope my questions are clearly stated.
    Having problems connecting iMac(late 2006) running 10.7.5 to a Samsung Flat Screen TV using separate audio/speaker cable and HDMI standard cable, mini-DVI to HDMI video converter.  TV displays generic Apple galaxy background and "some" windows (e.g. screen resolution choices).   It does not show Mail or Safari menus.  System preferences'  display "gathered" the Samsung and chose its resolution.  I did not find a way to select the Samsung as my display.
    In addition to having old hardware, we have Verizon FIOS providing internet and TV access.  Is there any way to make this work for us?  We would like to stream video (Netflix) and view shows from the Web.  Do we need Apple TV to do this?  Or is it not possible with our old iMac?  My husband thinks that our Airport could be a factor. 
    Thank you

    Lately, I have been seeing a lot of posts with users trying to use their Macs/iMacs to mirror their streaming video from their Macs to an HDTV.
    There are, actually, many alternatives to choose from than just from a Mac.
    You need to have or invest in a WiFi capable router for all of these examples.
    Apple TV only integrates with WiFi and newer Mac hardware. So, if you want to have total integrated experience, if you have a 2011 Mac or newer, you might as well pay the $100 for the AppleTV box.
    If you have a older Mac, like I have noticed many users do, then you have other options.
    If you want to elimate long cable clutter and having your Mac at the mercy of your TV all of the time,  you can still use the AppleTV box independently or purchase cheaper alternative media streaming boxes from Roku, Sony, Boxee or any number of electronics manufacturers that now have media streaming boxes and media streaming capability built into DVD/Blu-ray players.
    These eliminate long cable clutter by being close to the HDTV where shorter, less expensive cables can be used.
    Another alternative for iPad users is to use an iPad with the USB/HDMI video adapter and use your iPad as the streaming box. This ties up your iPad in much the same way as it does with your Mac, but again the iPad can be close to the TV and use minimal cables to the TV.
    Another alternative to is to use a combination of an iPad and your Mac to stream content that is only available to stream online from a computer. In this case, you can use a desktop remote app on your iPad and Mac. A good and cheap Desktop Remote app is Splashtop Remote. This allows you to completely connect your iPad remotely, over Wifi, to your iMac desktop. The app streams both video and sound to the iPad which is still connected to your HDTV. The resultant stream video picture will be smaller than the size of your HDTV, but it will still be plenty large enough to watch. Again, if you own a iPad and an Intel Mac, this method also allows minimal cabling to the TV.

  • Query related to workflows mail message text

    Hi,
    My problem is related to text chosen for Error mail unknown. An Error mail is fired in the workflow, now the text for E-Mail in English is coming correctly, But for FR language it is not seen properly.
    Now My query is where this mail text is maintained in Workflows, so that it can be rectified for other language as well.
    I have not found any text in notification and In task description.
    The text layout of some WF error messages, if the WF is started by a french speaking user.
    WF: MAT Plant Sichten anlegen
    Le workitem "< WORKITEM.WORKITEMSHORTTEXT  N'existe pas" (code <
    WORKITEM.WORKITEMID  N'existe pas) du type < WORKITEM.WORKITEMTYPE
    N'existe pas est dans le statut < WORKITEM.WORKITEMSTATUS  N'existe pas.
    Lancez une action de correction pour poursuivre le workflow correspondant
    (code < WORKITEM.WORKITEMREFERENCE  N'existe pas)
    If it's an english speaking user, the text is the following
    9999999 WF-Form 999999 Plant:9999
    The work item "99999 WF-Form 999999 Plant:9999" (ID 9999999999) of type
    B has the status ERROR.
    Initiate a correction measure so that the respective workflow (ID0009999999) can be continued.
    Thanks and Regards,
    Manoj

    Thanks Kiran,
    But in this case there is no task to send mail.
    In my case, an activity(Task) step is going into error and one of the things performed by the workflow system for this step is to send an SAP office document.
    Let me know if you need some more information to help me out.
    Regards,
    Manoj

  • Execution of query in background

    Hi,
    We are using excel report output.
    We are facing issue of longer report runtime, when we run the report for the first time after data load. There on, the further runs are not taking that a long, to get the report output.
    We have been observing this for more than a week. We got a confitmation that this is not much to do with the workprocess(Basis).
    So the solution we are looking at is to run the report in background and get the output cached, so that, when the users run the report, they get the report from Cache.
    We are using 3.5 version and the output, we are looking at is excel.
    Any thoughts, about how to proceed with this.
    Thanks.
    Naveen.A

    Hi Naveen,
    You can run the query in the background using tyhe reporting agent:
    1.Create a web template of the report and select the web template in the reporting agent.
    2. from the rules\favoraites create new setting. give it a technican name and description.
    3. in the parameters tab check all the check boxes under calculate. tou can also choose a language.
    4. save & activate .
    5. Create a new schedualing package and drag&drop your reporting agent setting under it.
    6. schedual the schedualing package.
    Hope it helps.
    Amir

  • Running queries in the background and save in a folder

    Hi,
    I have a requirement where I need to schedule a query in the background and save the output in a folder as a new excel file. How can I do that? Does any one have any ideas or thoughts? I appreciate your help with reward. Thanks,
    Regards,
    Rao.

    Hi VVR,
    Thanks, That was very useful piece of information.
    Regards,
    Rao.

  • Sending report outpu executed in Background as mail attachment

    Hi all
    I am executng ALV Grid report in the background and the output has to send to the customer mail as pdf attachment .
    Any Idea .
    Regards,

    Hi,
    check this code it will be helpfull to u.
    REPORT  ZEMAIL_ATTACH                   .
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver
                                      DEFAULT '[email protected]'.
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                 con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
        CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
                    wa_charekpo-aedat wa_charekpo-matnr
               INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY

  • Get query result in E-mail

    Hi Everyone,
    I am trying to get SQL Query Result in e-mail with proper format.
    I tired DB mail but result is not in proper format . It's hard to read from attachment. 
    From Below Query HTML format showing first 3 columns good after that all getting mixed up. 
    Select Ticktsno,customer_Id,Phone,Open date-time,OpenedBy,Assign_to,Category,Support_level,Incident_type,Description from dbo.query_result. 
    HTML Code: 
     if @@ROWCOUNT > 0
    begin
    declare @emailSubject varchar(100),
      @columnHeaders varchar(1000),
      @tableHTML nvarchar(max)
    select @emailSubject = 'My Results Email',
          -- Subject of Email
      @columnHeaders = 'tickets</th><th>Customer</th><th>Phone</th><th>Open Date/Time</th><th>OpenedBy</th><th>Assign_To</th><th>Category</th><th>Support_Level</th><th>Incident_Type</th><th>Status</th><th>DEscription'
       -- Column headers (must put </th><th> between each header)
    set @tableHTML =
      '<div><b>My Email Header</b></div><br>' + -- This is the bold text at the top of your email
      '<table border="1" cellpadding="5"><font face="Calibri" size=2>' +
      '<tr><th>' + @columnHeaders + '</th></tr>' +
      convert(nvarchar(max),
       SELECT td =  Tickets,       '',
                        td =  Customer, '',
                        td =  Phone, '',
                        td = [Open Date/Time], '',
                        td = OpenedBy, '',
                        td = Assign_To,
                        td = Category,
                        td =  Support_Level,
                        td = Incident_Type ,
    td = [Description]         
                         from master.dbo.QueryResult_2000
       for xml path('tr'), type))
      +'</font></table>'
    EXEC msdb.dbo.sp_send_dbmail @recipients='[email protected]',
        @subject = 'Query Result',
        @body = @tableHTML,
        @body_format = 'HTML' ;
    end
    What changes should make in HTML code to get report in proper HTML  format
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Thanks Uri for kind reply..I was able to edit that script. Script is running fine from SSMS and sending e-mail notification. But When I am running from SQK agent job getting successful but not getting e-mail notification.
    I enabled the profile from SQL job properties also. 
    Any thoughts on this?
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah
    Hi Logicinisde,
    According to your description, if you run the scripts in the SSMS, it can send an email with HTML format to your mailbox. When you run this scripts by using SQL Server Agent job, it can show running successfully but you could not get any email. We need to
    verify if you select the correct Mail profile. After configuring the alert system, restart the SQL Server Agent service. If you experience any problems sending e-mail notifications through the SQL Server Agent, check the service account that the agent is running.
    If the SQL Server Agent is running with one of the built-in accounts like the Local System account, resources outside the SQL Server machine will be unavailable. This includes SMTP mail servers that are on other machines. If this is the case, change the service
    account for the SQL Server Agent to a domain account to resolve this issue.
    For more information about using Database Mail in SQL Server and using Database Mail with SQL Server Agent, you can review the following articles.
    http://www.idevelopment.info/data/SQLServer/DBA_tips/Database_Administration/DBA_22.shtml
    http://technet.microsoft.com/en-us/library/ms190606(v=sql.105).aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Query Error (CL_RSDD_VCUBE .and SAPLRRK0)

    Query Error (CL_RSDD_VCUBE .and SAPLRRK0)  
    Posted: Apr 19, 2007 6:01 PM         Reply      E-mail this post 
    Hi,
    I'm trying yo run a query.
    I check the query in the Query Designer and is OK, but when run the query a message appears "Internal error in program CL_RSDD_VCUBE and method GET_SID-8-" and "System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-".
    This query is made on Remote cube Accessing data from ORACLE through UD Connect , and I don't known if this error is related number of records.We r using BW3.5
    We have OPCO CODE as a infoobject in the query if we restrict that opcocode with some values and execue the query its getting the values and running without errors .But if we wont restrict with anyvalues on the opo code its getting above errors.
    Can anyone help me?
    Thanks in Advance
    Message was edited by:
    Mural

    Hi Mural,
    you can go in Tcode RSRT, introduce your query and then select from Environment first "Repair Read Mode" and then "Generate Queries". Then try click to Execute to see if it was only a generation problem or if the query has a real problem.
    In this case you can try with "Execute + Debug" to see where the problem is.
    Ciao.
    Riccardo.

  • ALE distribution of HR master data to CRM - subtype CELL and MAIL

    Hello,
    Overview/Introduction:
    we are using the ALE distribution of HR master data to CRM. The distribution has already been set up and it is running. We know that the infotype communication (0105) is especially distributing the subtypes 0010 (e-Mail) and 0020 (telephone number). This e-Mail address and the telephone number are stored in the business partner in the CRM system.
    For this infotype 0105 there are also the subtypes CELL (cell phone) and MAIL (e-Mail address). Unfortunately this cell phone number and the mail address (from subtype MAIL) are not stored at the business partner in CRM.
    Our request is on the one hand to store the data from subtype CELL into the field mobile number of the business partner. And on the other hand we want to store the e-mail address of subtype MAIL at the business partner instead of subtype 0010.
    For some reason it seems that these requests canu2019t be setup within SAP standard.
    So we found SAP note 758426 which suggests to use the BAdI HRALEX_INBOUND and the report RH_ENHANCE_BP_TEMPLATE.
    Problem:
    Now the problem is that the BAdI does not get called! The BAdI is active! We tried to set break points -> unfortunately did not stop! And we also implemented an endless loop in the BAdI -> even with this the system did not u2018stopu2019!?
    Any ideas?
    Thank you,
    Roman

    Hi,
    First you need to create a distribution model using transaction BD64 : Edit > Model View > create.
    Then you will need to maintain fields for description and technical name. In partner box you need to enter the source system (HR) and the target system (FI) in the second field. Then you need to assign a message type and filter settings if you need it. You need to create this distribution model in source system (HR).
    After, still in BD64, go to environment > change partner profile or transaction WE20
    Select your target system and enter the corresponding message type ( HRMD_A or HRMD_ABA depends on your scenario) with the correct customizing (receiver port, packet size, idoc type, syntax check and output mode).
    Then please do the same things in your source system using WE20 for your source system and define your inbound parameters (Process code HRMD, processing by function module : use trigger immediately if it is not a production system or else trigger by background program and this case you will need to run report RBDAPP01 to process Idocs).
    Once done, then go back to your model view in your source system (BD64) and go to Environment > generate partner profiles. Then please go to Edit > Model View > distribute
    After all these settings done, it should work.
    Please also check out documentation :
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/82/933b90aa9e11d6b28800508b5d5211/frameset.htm
    Best Regards
    Christine

Maybe you are looking for

  • IMac turns off by it self and does not want to turns on later, do i have to feel the fan at the back?

    1.- The imac turned off by it self. 2.- I tried to turned on pressing the turn on/off button and it did not do anything. 3.- I disconected the computer form the wall and wait for some minutes, and it did no do anything. 4.- After about 20 minutes i t

  • Javascript:void(0) error in portal page

    Hi,     I am using EP 7.1. IE 6. when i am working in content admin, user admin or system admin some time entire roles are working fine. But in frequent way i am getting error in portal page like JavaScript: void (0) and at the mean time i am unable

  • Why I can't login to iMessage on my Mac os X mountain lion?

    When i try to login to imessage it says "The server encountered an error processing registration. Please try again later." There is the same problem with FaceTime. I'm using mac os x mountain lion and the last version of iMessage

  • Introduction to SAP HR ECM

    Hi Mates, i am just starting development for SAP HR ECM. here i have a few simple questions: 1. what is the relationship between ECM and HCM? is it a submodule of HCM? 2. What is the ECM development course documents ID? like the BC400 for ABAP introd

  • How do I uninstall CS3

    I'm running CS3 Design Standard on a MacBookPro with OSX10.9.5. Out of the blue my CS3 spell checker is not working. It opens with a green check and I click start, nothing happens and the checkmark remains green. I've tested it by intentionally missp