Query Related to Mail

Hi all,
I am using code as given below for sending mail as pdf attachment ...its working fine.
but my problem is that mail is not coming unlit I am releasing it from SCOT..
I want  : when I schedule the program it automatically send the mail
please help..
Thanks
Rajeev
REPORT  zvenkat_mail_pdf_attach.
   "  Data retrieval related declarations
   "Variables
   DATA:
         g_spool_no TYPE tsp01-rqident.
   "Types
   TYPES:
        BEGIN OF t_emp_dat,
          pernr     TYPE pa0001-pernr,
          persg     TYPE pa0001-persg,
          persk     TYPE pa0001-persk,
          plans     TYPE pa0001-plans,
          stell     TYPE pa0001-stell,
        END OF t_emp_dat.
   "Work area
   DATA:
        w_emp_data  TYPE t_emp_dat.
   "Internal tables
   DATA:
        i_emp_data  TYPE STANDARD TABLE OF t_emp_dat.
   "  Mail related declarations
   "Variables
   DATA :
        g_sent_to_all   TYPE sonv-flag,
        g_tab_lines     TYPE i.
   "Types
   TYPES:
        t_document_data  TYPE  sodocchgi1,
        t_packing_list   TYPE  sopcklsti1,
        t_attachment     TYPE  solisti1,
        t_body_msg       TYPE  solisti1,
        t_receivers      TYPE  somlreci1,
        t_pdf            TYPE  tline.
   "Workareas
   DATA :
        w_document_data  TYPE  t_document_data,
        w_packing_list   TYPE  t_packing_list,
        w_attachment     TYPE  t_attachment,
        w_body_msg       TYPE  t_body_msg,
        w_receivers      TYPE  t_receivers,
        w_pdf            TYPE  t_pdf.
   "Internal Tables
   DATA :
        i_document_data  TYPE STANDARD TABLE OF t_document_data,
        i_packing_list   TYPE STANDARD TABLE OF t_packing_list,
        i_attachment     TYPE STANDARD TABLE OF t_attachment,
        i_body_msg       TYPE STANDARD TABLE OF t_body_msg,
        i_receivers      TYPE STANDARD TABLE OF t_receivers,
        i_pdf            TYPE STANDARD TABLE OF t_pdf.
   PARAMETERS p_mail type char120.
   "Top-of-page.
   TOP-OF-PAGE.
     PERFORM top_of_page.
     "Start-of-selection.
   START-OF-SELECTION.
     PERFORM get_data.
     IF i_emp_data[] IS INITIAL.
       PERFORM test_data.
     ENDIF.
     PERFORM do_print_n_get_spoolno.
     "End-of-selection.
   END-OF-SELECTION.
     PERFORM send_mail.
*&      Form  top_of_page
   FORM top_of_page.
     DATA: inc_colnum TYPE i.
     ULINE.
     inc_colnum = sy-linsz - 60.
     WRITE: / 'Report: ', sy-repid(18).
     WRITE AT 30(inc_colnum) sy-title CENTERED.
     inc_colnum = sy-linsz - 20.
     WRITE: AT inc_colnum 'Page: ', (11) sy-pagno RIGHT-JUSTIFIED.
     WRITE: / 'Client: ', sy-mandt.
     inc_colnum = sy-linsz - 20.
     WRITE: AT inc_colnum 'Date: ', sy-datum.
     WRITE: / 'User  : ', sy-uname.
     inc_colnum = sy-linsz - 60.
     WRITE AT 30(inc_colnum) 'Company Confidential' CENTERED.
     inc_colnum = sy-linsz - 20.
     WRITE: AT inc_colnum 'Time: ', (10) sy-uzeit RIGHT-JUSTIFIED.
     ULINE .
     SKIP.
     ULINE AT /(127).
     WRITE:/ sy-vline,'pernr' COLOR COL_HEADING,13
             sy-vline,'persg' COLOR COL_HEADING,20
             sy-vline,'persk' COLOR COL_HEADING,26
             sy-vline,'plans' COLOR COL_HEADING,35
             sy-vline,'stell' COLOR COL_HEADING,46
             sy-vline.
     ULINE AT /(46).
   ENDFORM.                    "top_of_page
   "Form  get_data from PA0001
   FORM get_data.
     SELECT pernr
            persg
            persk
            plans
            stell
      FROM pa0001
      INTO CORRESPONDING FIELDS OF TABLE i_emp_data
      UP TO 4 ROWS.
   ENDFORM.                    " get_data
   "Form  do_print_n_get_spoolno
   FORM do_print_n_get_spoolno.
     "Display Output
     LOOP AT i_emp_data INTO w_emp_data .
       AT FIRST.
         PERFORM get_print_parameters.
       ENDAT.
       WRITE:/ sy-vline,w_emp_data-pernr,13
               sy-vline,w_emp_data-persg,20
               sy-vline,w_emp_data-persk,26
               sy-vline,w_emp_data-plans,35
               sy-vline,w_emp_data-stell,46
               sy-vline.
       ULINE AT /(46).
       AT LAST.
         g_spool_no  = sy-spono.
         NEW-PAGE PRINT OFF.
         CALL FUNCTION 'ABAP4_COMMIT_WORK'.
       ENDAT.
     ENDLOOP.
   ENDFORM.                    "do_print_n_get_spoolno
   "Form  send_mail
   "PACKING LIST
   "This table requires information about how the data in the
   "tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are to
   "be distributed to the documents and its attachments.The first
   "row is for the document, the following rows are each for one
   "attachment.
   FORM send_mail .
     "Subject of the mail.
     w_document_data-obj_name  = 'MAIL_TO_HEAD'.
     w_document_data-obj_descr = 'Regarding Mail Program by SAP ABAP'.
     "Body of the mail
     PERFORM build_body_of_mail
       USING:space,
             'Hi,',
             'I am fine. How are you? How are you doing ? ',
             'This program has been created to send simple mail',
             'with Subject,Body with Address of the sender. ',
             'Regards,',
             'Venkat.O,',
             'SAP HR Technical Consultant.'.
     "Convert ABAP Spool job to PDF
     PERFORM convert_spool_2_pdf TABLES i_attachment.
     "Write Packing List for Body
     DESCRIBE TABLE i_body_msg LINES g_tab_lines.
     w_packing_list-head_start = 1.
     w_packing_list-head_num   = 0.
     w_packing_list-body_start = 1.
     w_packing_list-body_num   = g_tab_lines.
     w_packing_list-doc_type   = 'RAW'.
     APPEND w_packing_list TO i_packing_list.
     CLEAR  w_packing_list.
     "Write Packing List for Attachment
     w_packing_list-transf_bin = 'X'.
     w_packing_list-head_start = 1.
     w_packing_list-head_num   = 1.
     w_packing_list-body_start = 1.
     DESCRIBE TABLE i_attachment LINES w_packing_list-body_num.
     w_packing_list-doc_type   = 'PDF'.
     w_packing_list-obj_descr  = 'PDF Attachment'.
     w_packing_list-obj_name   = 'PDF_ATTACHMENT'.
     w_packing_list-doc_size   = w_packing_list-body_num * 255.
     APPEND w_packing_list TO i_packing_list.
     CLEAR  w_packing_list.
     "Fill the document data and get size of attachment
     w_document_data-obj_langu  = sy-langu.
     READ TABLE i_attachment INTO w_attachment INDEX g_tab_lines.
     w_document_data-doc_size = ( g_tab_lines - 1 ) * 255 + STRLEN( w_attachment ).
     "Receivers List.
     w_receivers-rec_type   = 'U'.  "Internet address
     w_receivers-receiver   = P_mail.
     w_receivers-com_type   = 'INT'.
     w_receivers-notif_del  = 'X'.
     w_receivers-notif_ndel = 'X'.
     APPEND w_receivers TO i_receivers .
     CLEAR:w_receivers.
     "Function module to send mail to Recipients
     CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
       EXPORTING
         document_data              = w_document_data
         put_in_outbox              = 'X'
         commit_work                = 'X'
       IMPORTING
         sent_to_all                = g_sent_to_all
       TABLES
         packing_list               = i_packing_list
         contents_bin               = i_attachment
         contents_txt               = i_body_msg
         receivers                  = i_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.
     IF sy-subrc = 0 .
       MESSAGE i303(me) WITH 'Mail has been Successfully Sent.'.
     ELSE.
       WAIT UP TO 2 SECONDS.
       "This program starts the SAPconnect send process.
       SUBMIT rsconn01 WITH mode = 'INT'
                       WITH output = 'X'
                       AND RETURN.
     ENDIF.
   ENDFORM.                    " send_mail
   "      Form  build_body_of_mail
   FORM build_body_of_mail  USING l_message.
     w_body_msg = l_message.
     APPEND w_body_msg TO i_body_msg.
     CLEAR  w_body_msg.
   ENDFORM.                    " build_body_of_mail
*&      Form  get_print_parameters
   FORM get_print_parameters .
     "Variables
     DATA:
        l_lay    TYPE pri_params-paart,
        l_lines  TYPE pri_params-linct,
        l_cols   TYPE pri_params-linsz,
        l_val    TYPE c.
*Types
     TYPES:
        t_pripar TYPE pri_params,
        t_arcpar TYPE arc_params.
     "Work areas
     DATA:
        lw_pripar TYPE t_pripar,
        lw_arcpar TYPE t_arcpar.
     l_lay   = 'X_65_132'.
     l_lines = 65.
     l_cols  = 132.
     "Read, determine, change spool print parameters and archive parameters
     CALL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
         in_archive_parameters  = lw_arcpar
         in_parameters          = lw_pripar
         layout                 = l_lay
         line_count             = l_lines
         line_size              = l_cols
         no_dialog              = 'X'
       IMPORTING
         out_archive_parameters = lw_arcpar
         out_parameters         = lw_pripar
         valid                  = l_val
       EXCEPTIONS
         archive_info_not_found = 1
         invalid_print_params   = 2
         invalid_archive_params = 3
         OTHERS                 = 4.
     IF l_val NE space AND sy-subrc = 0.
       lw_pripar-prrel = space.
       lw_pripar-primm = space.
       NEW-PAGE PRINT ON
         NEW-SECTION
         PARAMETERS lw_pripar
         ARCHIVE PARAMETERS lw_arcpar
         NO DIALOG.
     ENDIF.
   ENDFORM.                    " get_print_parameters
*&      Form  convert_spool_2_pdf
   FORM convert_spool_2_pdf TABLES l_attachment .
     "Variables
     DATA:
         l_no_of_bytes TYPE i,
         l_pdf_spoolid LIKE tsp01-rqident,
         l_jobname     LIKE tbtcjob-jobname,
         l_jobcount    LIKE tbtcjob-jobcount.
     CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
       EXPORTING
         src_spoolid              = g_spool_no
         no_dialog                = ' '
       IMPORTING
         pdf_bytecount            = l_no_of_bytes
         pdf_spoolid              = l_pdf_spoolid
         btc_jobname              = l_jobname
         btc_jobcount             = l_jobcount
       TABLES
         pdf                      = i_pdf
       EXCEPTIONS
         err_no_abap_spooljob     = 1
         err_no_spooljob          = 2
         err_no_permission        = 3
         err_conv_not_possible    = 4
         err_bad_destdevice       = 5
         user_cancelled           = 6
         err_spoolerror           = 7
         err_temseerror           = 8
         err_btcjob_open_failed   = 9
         err_btcjob_submit_failed = 10
         err_btcjob_close_failed  = 11
         OTHERS                   = 12.
     CASE sy-subrc.
       WHEN 0.
       WHEN 1.
         MESSAGE s000(0k) WITH 'No ABAP Spool Job'.
         EXIT.
       WHEN 2.
         MESSAGE s000(0k) WITH 'Spool Number does not exist'.
         EXIT.
       WHEN 3.
         MESSAGE s000(0k) WITH 'No permission for spool'.
         EXIT.
       WHEN OTHERS.
         MESSAGE s000(0k)
            WITH 'Error in Function CONVERT_ABAPSPOOLJOB_2_PDF'.
         EXIT.
     ENDCASE.
     CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
       EXPORTING
         line_width_src              = 134
         line_width_dst              = 255
       TABLES
         content_in                  = i_pdf
         content_out                 = l_attachment
       EXCEPTIONS
         err_line_width_src_too_long = 1
         err_line_width_dst_too_long = 2
         err_conv_failed             = 3
         OTHERS                      = 4.
     IF sy-subrc NE 0.
       MESSAGE s000(0k) WITH 'Conversion Failed'.
       EXIT.
     ENDIF.
   ENDFORM.                    " convert_spool_2_pdf
*&      Form  test_data
   FORM test_data .
     DO 10 TIMES.
       w_emp_data-pernr = sy-index.
       w_emp_data-persg = '2'.
       w_emp_data-persk = '93'.
       w_emp_data-plans = '99999999'.
       w_emp_data-stell = '31414144'.
       APPEND w_emp_data TO i_emp_data.
       CLEAR  w_emp_data.
     ENDDO.
   ENDFORM.                    " test_data
Edited by: Rajeev Shrivastava on Aug 27, 2009 12:32 PM
Edited by: Rajeev Shrivastava on Aug 27, 2009 12:49 PM

Hi Rajeev,
If your mail is getting triggered to SCOT then there is nothing much you can do as mail from SCOT to outside system is a BASIS activity. Even if you schedule your program , it will only trigger a mail , i dont think you program can release it from SCOT.
TC
Sajimon Chandran

Similar Messages

  • Query related to multiple attachments in mail adapter

    Hi,
    I have a query related to multiple attachments in receiver mail adapter.
    I have successfully configured mail related scenarios but now I have another requirement in which I have multiple source files in one directory and I want to send one mail for multiple files as mail attachment using receiver mail adapter. Can anybody help me how to achieve multiple attachments in reciever mail adapter.
    To clarify the requirement more let us take an example
    Ex: I have 5 input files in the source which I pick up using additional files option in the sender file adapter, now I want to send those 5 files into one mail with 5 attachments. Can anybody explain how 5 different payload will be sent as multiple attachments in one mail.
    For your information I used, options like "keep attachments" , some parameters in module processesors etcs...but not able to find out as how exactly it will be achieved.......I dont want to use BPM collect pattern for this.....
    Need your help on this issue. Please suggest the solution as how it can be achieved using receiver mail adapter.
    Thanks & Regards
    Prabhat

    Hi,
    I resolved the issue on my own. Thanks for your help and support.
    Thanks & Regards
    Prabhat

  • Query related to Email adapter

    Hi,
    I have query related to receiver Email adapter. I am able to run a scenario for 2 attachments in receiver mail adapter scenario.
    My scenario is that I am picking up the multiple files using sender file adapter "additonal fiiles" fucntionality and and post the two files as attachments in receiver email adapter. I am picking up two formats: .xml file and PDF and successfully attached to the receiver email adapter.
    My query is is related to Standard module processors sequence.
    For 3 files in mail attachments(.xml , pdf & .txt)  what should be the module processors sequence in receiver email adapter?
    Currently I am using the following module processors sequence
    1     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans2
    2     localejbs/AF_Modules/PayloadSwapBean                          Local Enterprise Bean     swap
    3     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans1
    4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    swap -> swap.keyName -> payload-name
    swap> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file1
    trans2>Transform.ContentDescription>inline
    Can any body tell me what should be the sequence of module processors and the associated parameters so that all formats(.xml , pdf & .txt)  should go as an attachments in the reciever email adapter.
    Thanks & Regards
    Prabhat

    it would be something like this, Try this
    1 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swaptxt
    2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans3
    3 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swapxml
    4 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans2
    5 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swappdf
    6 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans1
    7 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    swapxml -> swap.keyName -> payload-name
    swapxml> swap.keyValue> file2
    swappdf -> swap.keyName -> payload-name
    swappdf> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file2
    trans2>Transform.ContentDisposition>attachment
    trans2> Transform.ContentType>application/xml;name="file2.xml"
    trans3> Transform.ContentDescription>file3
    trans3> Transform.ContentDisposition>attachment
    trans3> Transform.ContentType>application/txt;name="file3.txt"
    mail --> mime.contenttype   --> multipart/mixed
    I have not tried this myself. but it should work

  • Query relating to the creation of Managed Service Accounts

    Hi Folks
    I am studying for my 70-411 exam and have a query relating to the creation of Managed Service Accounts.
    I have successfully created an MSA account named 'MSATest' on a DC  using:
     new-adserviceaccount -name msatest –dnshostname home-dc-01 -passthru
    and
     add-AdcomputerServiceAccount -identity home-ap-01 -serviceaccount msatest -passthru
    However the guide that I am using now says that I now need to run:  Install-ADServiceAccount on the host computer in the domain to install the MSA in order to make available it available for use by services.
    So on my member server (home-ap-01) I have installed the Active Directory Module for powershell and ran:
    PS C:\Users\administrator.PCECORP> Install-ADServiceAccount -Identity msatest
    Install-ADServiceAccount : Cannot install service account. Error Message: 'An
    unspecified error has occurred'.
    At line:1 char:1
    + Install-ADServiceAccount -Identity msatest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (msatest:String) [Install-ADServiceA
       ccount], ADException
        + FullyQualifiedErrorId : InstallADServiceAccount:PerformOperation:Install
       ServiceAcccountFailure,Microsoft.ActiveDirectory.Management.Commands.Insta
      llADServiceAccount
    PS C:\Users\administrator.PCECORP>
    However this errors, Have I misunderstood the purpose of the Install-ADServiceAccount ?  or am I doing something wrong?
    Thanks in advance for you help.

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Query related to GAL

    Hello All,
    We are in process of implementing Exchange 2013 in our Organization and had a Query related to GAL.
    Below is our Environment description:
    01. We have a Single Forest and Single Domain Architecture.
    02. We will have separate Active Directory Sites for all 3 Regions across Global.
    03. Exchange 2013 will be installed in each region.
    04. In APAC region Exchange 2013 Language pack for Japanese will be installed to support Japanese language.
    Our Requirement:
    ================
    01. When a Japanese User tries to browse GAL all the display names have to be displayed in Japanese language and when a user who resides other Region (Europe or AMERICAS) tries to browse GAL the Address list has to be displayed in default English Language.
    Can someone guide us on how this can be achieved?
    Awaiting for all your suggestions.
    Thanks in advance.
    Thanks & Regards,
    Nagaraj N
    Nagaraj N

    Hi Nagaraj,
    Here are some requirements that I am still not quite sure. Could you please provide more information about it? Such as:
    1. Do you mean one user have two display names: one with Japanese language used for users in Japan, one with English language used for English users? Then we filter address lists with language difference. Based on my knowledge, one email address is generally
    involved for one display name.
    2. If there are both Japanese users and English Language users in the forest, and you just need Japanese users view users whose name is displayed as Japanese language. We can use
    Address book policies (ABPs) to segment users into specific groups to provide customized views of your organization’s global address list (GAL).
    To show different GAL for different users, we can specify the CustomAttribute1-15 property to divide your organizations. For example, we can set the CustomAttribute15 property for Japanese users to
    Japan. Just like:
    Set-Mailbox –Identity JapanUser1 –CustomAttribute15 Japan
    Then we can create global address list for Japanese that includes all of the recipients that exists in the address lists and room address list:
    New-GlobalAddressList -Name "GAL_Japan" -RecipientFilter {(CustomAttribute15 -eq "Japan")}
    For detailed steps about how to create and apply the Address Book Policies, please refer to:
    http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
    Hope it helps.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Query related to DataGuard Archicture...

    Hi All,
    I want to implement DataGuard Archicture in my setup, I'hv one query related to different operating system in my setup, I'hv two server one for primary and the other for standby Database with 10g DB R2. In one server having Linux os and the other own has Solaris, so DataGuard will work on different os or both server os should be same? And if I'hv 2 GB then will it be create any prob?
    pl. suggest me.

    A requirement for standby is both databases must be on the same platform and on the same db version, this requirement applies even if you are on a logical or on a physical dataguard database.
    You can verify the Step by Step instructions to create a standby database:
    Step-byStep Instructions for Creating a Logical Standby Database
    Step-by-Step Instructions for Creating a Physical Standby Database
    ~ Madrid

  • Query related to withhold tax

    Hi  Freinds,
    This is mamatha i have a query related to withhold tax .what is diff b/w business place and section code.what is importance of section code.
    Regards
    S Mamatha
    Please, search SDN

    For India, witholding tax, you need to create the business place and section code with the same id.
    Section code is additional field provided by sap for tds related processig, reports etc.
    Regards,
    SDNer

  • Query  related to the transfer of the control to the other controller.

    Hi all,
    I have a query related to the transfer of the control to the other controller.
    I have components A and B .From a view of component A I neeed to open a window which belong to component B.Problem is that ,if I use create_window_for_cmp_usage( ) and the open( ) method and after that there is some code,then that code is getting executed before the window is opening.
    I want that the control should be back to the these code after the window is poped up and  after clossing the window. 
    Eg
    method ONACTIONOPEN_WINDOW .
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window_for_cmp_usage(
                         interface_view_name    = 'ZHELLO_WORLD'
                         component_usage_name   = 'USAGE_HELLO'
                       title                  =
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
      lo_window->open( ).
      data a type i.
      data b type i.
      a = 2.
      b = 3.
      a = a + b.
    endmethod.
    In this case I am calling  ONACTIONOPEN_WINDOW method.But before opening the window the a iscalculated here.I want that after popuping  the window the calculations should be done .
    How will I achieve this.
    Thanks in advance.
    Edited by: vaibhav nirmal on Nov 25, 2008 6:42 AM

    Hi,
    You will have to do your calculation as an event in your new window, or capture the closing of the new window as an event in your currenbt view and do your calculations in the event.
    Regards,
    Shruthi R

  • Query related to User License.

    Hi all,
    I have some query related to User License.
    If we have 250 no of user license( with one developer),
    can we use them individually on DEV, QAS & PRD ?
    can we use them individually on differrent clients?
    what abt users on 000 client. Is they should different license or come under same group.
    Regards,
    shan

    Contact you SAP Account Manager.
    Regards
    Juan

  • Query related to Internal Table

    Hi ,
          I have a small query related to internal table , can we dump millions of records to an internal .
    The actual requirment is like i need to develop a report in BI side where i have to dump records into an internal table  from PSA tables without filtering .
    Can we do so ....
    or do we have any other option to dump the data to an internal tables .
    need some tips on the same .
    Thanks ,
    VInay.

    Hello Vinay,
    I believe the following extract will give you a brief idea on the size limitations for an internal table.......
    Internal tables are dynamic data objects, since they can contain any number of lines of a particular type. The only restriction on the number of lines an internal table may contain are the limits of your system installation. <u><i>The maximum memory that can be occupied by an internal table (including its internal administration) is 2 gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for hashed tables is that they may not contain more than 2 million entries.</i></u>
    Hope it proved useful
    Reward if helpful
    Regards
    Byju

  • Query related to OA framework.

    HI all,
    I have one query related to OA framework.
    Query : I have one business requirement to add/update one choice fields on receivables page and base on user input’s I have to add this choice in sql query and want to display result that is controller .( As of now everything is there only I want to add one more choice on page ).
    So I am looking for solution what to do . As I am new in OA framework.
    First of all I want to pull out all files and want to check /modify on my user desktop once it will work normal then I will start modify .
    So for that what I have to do (I have to pull out all files from server ) . ?
    Thanks in advance,
    Raj

    Raj,
    I have already replied that you will find the details for setup in some of the old threads. Its always better to look into old threads for generic issues. If you have got any specific OAF issue, ppl are always here to help you.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Query related to RSA3 transaction

    Hi Guys ,
             I have query related to RSA3 transaction screen in that you can see in
    settings
    Data Records / Calls = 100
    Display Extr. Calls    = 10  by default .
    can this value can be made to 1000 and 1000 as a default value as soon as screen get displayed without manually changed .
    can we creat any variant for this ,will it be possible .
    i need some suggestion related to this .
    valuble answers will be surly rewarded .
    Thanks ,
    Vinay .

    Do any one have any suggestion how to solve the query

  • Query related to filter group on matnr created in ALE distribution model

    Hi All,
    I have query related to filter group on matnr created in ALE distribution model.
    I have created a filter group on matnr in ALE distribution model and put the value E*  ( purpose is that all the material number started with E should be triggered in case of any changes in the material).But it is not working.
    <b>Can anybody suggest the solution for this i.e how to capture E* value for the material master changes and should trigger idoc using change pointer using BD21.</b>
    Thanks & Regards
    Prabhat

    Unfortunately, you cannot filter using wildcards or exclusions.  You have to explicitly list each allowed value in its entirety.
    In my opinion, the simplest solution would be to copy function MASTERIDOC_CREATE_SMD_MATMAS, modify it to handle your custom filtering and update the message type entry in transaction BD60.

  • Query related to .tpz files

    Hi,
    I am having query related to .tpz files.
    I am having XI Development server on AIX. My XI Prd server will be on windows NT .
    <b>Can i transport .tpz file from development server to production server as both the servers are on different platforms.</b>
    Regards
    Prabhat

    I think it should not be a problem....
    One of the reasoning is that SAP standard content for XI also comes as tpz files... 
    best way to know is to just try it out...
    here is the link from sap help on transporting objects..
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    Thanks,
    Renjith

  • Query related to UPN Suffix in Hierarchical domain architecture in Active Directory deployment

    This is regarding a query related to UPN Suffix in Hierarchical domain architecture in Active Directory deployment.
    We use LDAP query (filter uPNSuffixes=* for the parent domain DN) to retrieve the upn suffixes configured in the AD Domain. This returns the UpnSuffixes configured for the entire domain tree ( upnsuffixes of parent domain and all the child domains) in the
    hierarchy. The AD Domains and Trusts configuration lists all the upnsuffixes as part of the dnsroot domain. 
    For one of our implementation, we need to distinguish between the UPNsuffixes belonging to the parent and child domain and map the UPN suffixes with the respective domain in the hierarchy. As the upnsuffixes are stored as part of the root domain in the AD
    domains and trusts configuration, it was not clear how to retrieve the information specific to each domain in the hierarchy.
    It would be helpful if you could provide pointers on how to obtain the above mapping for the upn suffixes in a hierarchical domain setup.
    Thank you,
    Durgesh

    By default, you can use only the domain name as UPN suffix for user accounts you create within the domain. It is possible to add extra UPN suffixes but these are added at the forest level and not specific to a domain.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

Maybe you are looking for

  • Ssrs 2008 r2 or ssrs 2012 place moving graphics in report while it is executing

    In a new ssrs 2008 r2 or ssrs 2012 report application, I want to add some graphics to the report(s). I know that you can embedded a graphic in the ssrs report. However I would like to be able to do one or more of the items I am listing below: 1. In o

  • Jumping mouse pointer

    I've seen other posts describing a problem similar to mine. But I have not been able to resolve my problem. I'm hoping someone can suggest a resolution. I'm using my Mac Pro (early 2009) with a 4850 graphics card. I have always had 2 monitors attache

  • Firewire DV video output for DVD player?

    Hi everyone, I am just wondering, does anyone know of any way to get the DVD player program to output NTSC DV via firewire like FCP allows for external monitors? I would love a way to test my dvds without having to waste so many discs... Any suggesti

  • Which compression type should I use?

    Hello~ I'm saving Keynote presentations to QuickTime for viewing on the web. Under the Compression Type menu there are 14 different choices to choose from, Animation to PNG. Apple is big to push the H.264 codec, but I'm getting mixed results with it

  • Error in execting jsp files

    hi Friends, using tomcat and i m trying to run jsp file and getting the error javax.servlet.ServletException: com/sun/tools/javac/Main (Unsupported major.minor version 48.0) What does this mean and wht needs to be done Thnx