PERFORM etd_list1 IN PROGRAM sapleinb - ECC Version 5

Hi Guys,
I was wondering whether you have encountered my issue here. Basically, the code I pasted below works in version 4.6C. However, when we upgraded to version ECC 5, the LIST_TO_ASCI function module failed. I saw the differences between the two versions of subroutine etd_list1. In version 4.6C, it was doing a 'WRITE' and used a 'classical report display'. However in version ECC 5, it was putting the records to gt_etd_alv. Is there any alternative FM I can use to read the data from the PERFORM statement below? I even tried using the value 'list_index = -1' but it seems that the FM is not really capable of getting the value from the ALV Grid table. 'gt_etd_alv'.
I would really appreciate your help.
  PERFORM etd_list1 IN PROGRAM sapleinb.
  CALL FUNCTION 'LIST_TO_ASCI'
       EXPORTING
            list_index         = sy-lsind  "0
            list_index        = -1
            with_line_break    = ' '
       TABLES
            listasci           = details
       EXCEPTIONS
            empty_list         = 1
            list_index_invalid = 2
            OTHERS             = 3.
  IF sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    EXIT.
  ENDIF.
Thanks in advance,
LeGo

Hi,
could you tell me which opeion should i select in SCOT under INT node. I have tried with diffrent options. but no luck.
SAPscript/Smart Forms  - No Conversion
ABAP List                     - No Conversion
Business Object/Link     - No Conversion
RAW Text                     - No Conversion

Similar Messages

  • Issue in sending the email with XL attachment in ECC version

    Hi,
    I have an issue with sending the email with XL attachment. My program is sending a mail to the receiver with XLS as attachment. Recently we have migrated from 4.6B to ECC version. Same code was worked in 4.6B.But it is not working in ECC version.When i try to open the attachment, i get a Dialog Box with the following message
    "The file is not in a recognizable format.
    1. if you know the file is from another program whih is incompatible with Microsoft excel,click cancel,then open this file in its original application
    2.If you suspect the file is damaged, click help for more information about solving theproblem.
    3.if you still want to see what text is contained in the file, click OK.Then click the text import wizard. "
    when i click OK, the excel sheet is opening with all required data.
    Can anyone kindly tell me why this is happening.
    I am also attaching part of the coding related to this requirement.
    *&      Form  BUILD_XLS_DATA_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM build_xls_data_table.
      DATA: w_total(13),
      w_clabs(13),
      w_cinsm(13),
      w_ceinm(13),
      w_cretm(13),
      w_cspem(13),
      w_cumlm(13),
      w_exp_date(8),
      w_v_totalp(13),
      w_min_rem(8),
      w_ersda(10),
      w_hsdat(10),
      w_vfdat(10),
      w_ship_date(10),
      w_plnmg(13),
       w_mhdrz(4).
      CLEAR: w_total, w_clabs, w_cinsm, w_ceinm, w_cspem, w_exp_date,
      w_v_totalp, w_min_rem, w_ersda, w_hsdat, w_vfdat, w_ship_date,
      w_plnmg, w_mhdrz.
      w_total = it_batch1-total.
      w_clabs = it_batch1-clabs.
      w_cinsm = it_batch1-cinsm.
      w_ceinm = it_batch1-ceinm.
      w_cspem = it_batch1-cspem.
      w_cumlm = it_batch1-cumlm.
      w_cretm = it_batch1-cretm.
      w_exp_date = it_batch1-exp_date.
      w_v_totalp = it_batch1-v_totalp.
      w_min_rem = it_batch1-min_rem.
      w_plnmg = it_batch1-plnmg.
      w_mhdrz = it_batch1-mhdrz.
      CONCATENATE it_batch1-ersda6(2) it_batch1-ersda4(2)
                  it_batch1-ersda+0(4) INTO w_ersda SEPARATED BY '.'.
      CONCATENATE it_batch1-hsdat6(2) it_batch1-hsdat4(2)
                  it_batch1-hsdat+0(4) INTO w_hsdat SEPARATED BY '.'.
      CONCATENATE it_batch1-vfdat6(2) it_batch1-vfdat4(2)
                  it_batch1-vfdat+0(4) INTO w_vfdat SEPARATED BY '.'.
      CONCATENATE it_batch1-ship_date6(2) it_batch1-ship_date4(2)
                  it_batch1-ship_date+0(4) INTO w_ship_date SEPARATED BY '.'
      CONCATENATE
      it_batch1-werks it_batch1-mtart it_batch1-matnr it_batch1-maktg
    it_batch1-prdha it_batch1-prctr it_batch1-ktext  it_batch1-dispo
      it_batch1-charg it_batch1-lgort it_batch1-herkl w_clabs
      w_cinsm w_ceinm w_cretm w_cspem
      w_cumlm w_total  it_batch1-meins  it_batch1-v_spr_unit
      w_v_totalp it_batch1-waers w_plnmg  it_batch1-meins
      w_ersda w_hsdat w_vfdat  w_exp_date
       w_ship_date  w_mhdrz  w_min_rem it_batch1-zlifer
       it_batch1-doknr it_batch1-dokar it_batch1-doktl  it_batch1-dokvr
               INTO L_STRING SEPARATED BY CON_TAB.
                  INTO l_string SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
      WHILE l_string <> space.
        CALL FUNCTION 'TEXT_SPLIT'
          EXPORTING
            length       = 255
            text         = l_string
            as_character = 'X'
          IMPORTING
            line         = it_attach
            rest         = l_string.
        IF l_string = space.
       CONCATENATE IT_ATTACH CON_CRET INTO IT_ATTACH.
          CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
          APPEND it_attach.
          CLEAR it_attach.
        ELSE.
          APPEND it_attach.
          CLEAR it_attach.
        ENDIF.
      ENDWHILE.
    move l_string to it_attach .
    CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
    APPEND it_attach.
    CLEAR it_attach.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
    -->  p1        text
    <--  p2        text
    FORM send_file_as_email_attachment.
      DATA:w_length TYPE i.
      DATA:  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,
              t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    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 = text-034 .
    w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
    DESCRIBE TABLE it_attach LINES w_cnt.
      DESCRIBE TABLE it_message LINES w_cnt.
      READ TABLE it_message INDEX w_cnt.
    w_length = STRLEN( it_attach ).
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_message ).
      w_doc_data-obj_langu  = sy-langu.
    w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = text-034.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_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.
    ***Start of changes by 501507008 on 29.01.2009
      t_packing_list-obj_descr  = 'MAIL BODY'.
    ***End of changes by 501507008 on 29.01.2009
      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   =  'XLS'.
      t_packing_list-obj_descr  =  text-034.
      t_packing_list-obj_name   =  'filename'.
      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.
      LOOP AT it_adr6.
        t_receivers-receiver = it_adr6-smtp_addr.
        t_receivers-rec_type = 'U'.
        t_receivers-com_type = 'INT'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
      ENDLOOP.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data              = w_doc_data
         put_in_outbox              = 'X'
         sender_address             = ' '
         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.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = w_doc_data
         put_in_outbox                    = 'X'
      commit_work                      = ' '
    IMPORTING
      sent_to_all                      =
      new_object_id                    =
    tables
            packing_list               = t_packing_list
            contents_bin               = t_attachment
            contents_txt               = it_message
            receivers                  = t_receivers
      contents_hex                     =
      object_para                      =
      object_parb                      =
       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.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT

    Hi,
    could you tell me which opeion should i select in SCOT under INT node. I have tried with diffrent options. but no luck.
    SAPscript/Smart Forms  - No Conversion
    ABAP List                     - No Conversion
    Business Object/Link     - No Conversion
    RAW Text                     - No Conversion

  • Is import & export working in ECC version?

    i had one program. In which Export and Import is not working
    properly in ECC 6.0 version where as 4.6C working fine.
    If i commented the Import & Export than only it is working fine. Is there any other procedure OR how to use
    import and export in ECC version. Please advise me it is very
    urgent.
    Edited by: jagan ravula on Jan 29, 2008 8:00 AM

    Hi,
    To import from txt, look this:
    REPORT ZTXTTOTABLE .
    DATA: p_file TYPE string value 'C:\teste.txt',
    BEGIN OF TI_table OCCURS 0,
    COD(5) TYPE C,
    NAME(40),
    END OF TI_table,
    a(2).
    PARAMETERS: sel_file(128) TYPE c
    default 'C:\teste.txt' OBLIGATORY LOWER CASE.
    p_file = sel_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = p_file
    TABLES
    data_tab = ti_table[].
    format color COL_TOTAL INTENSIFIED ON.
    loop at ti_table.
    write: / sy-vline, ti_table-cod, at 10 sy-vline, ti_table-name,
    at 60 sy-vline.
    endloop.
    write: / sy-uline(60).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = ''
    def_path = 'C:\'
    mask = ',Documentos de texto (*.txt), *.txt.'
    mode = ''
    IMPORTING
    filename = p_file
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    find '.txt' IN p_file.
    if sy-subrc 0.
    concatenate p_file '.txt' into sel_file.
    else.
    sel_file = p_file.
    endif.
    top-of-page.
    format color COL_HEADING INTENSIFIED ON.
    uline (60).
    write: / sy-vline, 'COD', at 10 sy-vline, 'NAME', at 60 sy-vline.
    write: / sy-uline(60).
    to export to txt try it:
    *& Report ZTABLETOTXT *
    REPORT ZTABLETOTXT .
    TABLES: spfli.
    DATA: ti_spfli LIKE STANDARD TABLE OF spfli WITH HEADER LINE,
    p_file TYPE string value 'C:\spfli.txt'.
    PARAMETERS: sel_file(128) TYPE c
    default 'C:\spfli.txt' OBLIGATORY LOWER CASE.
    SELECT * FROM spfli INTO TABLE ti_spfli.
    p_file = sel_file.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    FILENAME = p_file
    TABLES
    DATA_TAB = ti_spfli[].
    IF SY-SUBRC = 0.
    MESSAGE I398(00) WITH 'Arquivo criado com sucesso!'.
    else.
    MESSAGE E398(00) WITH 'Ocorreu um erro!'.
    ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = ''
    def_path = 'C:\'
    mask = ',Documentos de texto (*.txt), *.txt.'
    mode = ''
    IMPORTING
    filename = p_file
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    find '.txt' IN p_file.
    if sy-subrc 0.
    concatenate p_file '.txt' into sel_file.
    else.
    sel_file = p_file.
    endif.
    go through these links
    exporting internal table to memory variable
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/export01.htm
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • BI Process Chain executing a program in ECC

    I want to build a process chain in BI 7.0, which should also be able to execute a program in ECC.
    Is it possible.
    How do I do that ?
    Thanks
    Mary

    It should be possible:  Your process chain should include an ABAP program.  This program should call an RFC enabled function module in ECC (custom-built)  which should perform the required function in ECC.
    There are many links on including ABAP programs in PCs.  In the ABAP section you will find information about building RFC function modules.
    BR/
    Mathew.

  • Wht  r the advantages of New debugger in the ECC versions

    Hi,
      What r the advantages of the New debugger in the ECC verssions.
    Thanks,
    Srik

    Hi,
    In ther ECC versions in the program menu there are 2 buttons for: set/delete session breakpoint and set/delete External break point.
    Refer to this thread
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Debugging
    Check these documents.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    ABAP Debugging
    http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
    Look at the SAP help link below
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    reward if useful
    regards,
    ANJI

  • Update types in new ECC versions

    Hello Gurus,
    What are the new types of V3 updates available in the new ECC versions like 5,6 and later.
    Full marks to right answers
    Thanks in advance

    Hi,
    In ther ECC versions in the program menu there are 2 buttons for: set/delete session breakpoint and set/delete External break point.
    Refer to this thread
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Debugging
    Check these documents.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    ABAP Debugging
    http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
    Look at the SAP help link below
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    reward if useful
    regards,
    ANJI

  • Key functional differences between SAP ECC Version 6.0 and SAP Version 4.6

    Hi Forum,
    As we are currently updgqrading to SAP ECC Version 6.0 from SAP Version 4.6, could someone please identify what are the new functionalities are being offred in SAP ECC 6.0.
    Please let me know or guide me in a right direction - my email address is [email protected] or simply reply to the forum.
    Thank you
    Yogesh

    Dear Yogesh,
    Please go through Upgrade info @ service.sap.com.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/6880cbb88f297ee10000000a422035/frameset.htm
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Major difference is ECC6 is netwear product having WASJAVA+ABAP
    secondly support unicode apart from this we have other diff. you can get fom master guide from service.sap.com/instguides
    For installing ECC 6.0 you required a solution manager key.With out solutionmanager key you cannot install ECC6.0.
    For ECC 6.0 is called netweaver component here you have ABAP+JAVA stack.
    ECC6.0 supports UNCODE.
    For installing 4.6 you don't required solution manager key.It only having ABAP stack.
    4.6C supports NONUNICODE.
    Hope this would add some more info.
    Regards,
    Naveen.

  • I have a MacBook Pro with Snow Leopard. After connecting my HP Photosmart D110 to it, the printer works but the scanner doesn't. The message is"The scan cannot be performed because another program has control of the HP imaging device". Can anyone help?

    I have a MacBook Pro with Snow Leopard. After connecting my HP Photosmart D110 to it, the printer works but the scanner doesn't. The message is"The scan cannot be performed because another program has control of the HP imaging device". Can anyone help?

    Found the answer on the HP site. It's the original software that works with this printer OS X 10.6!!
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en &cc=us&prodTypeId=18972&prodSeriesId=3558902&prodNameId=3562006&swEnvOID=219&swL ang=8&mode=2&taskId=135&swItem=ma-60835-3

  • EXPORT statement in ABAP-Ecc version

    I used EXPORT FLAG TO MEMORY ID 'MB51_FLAG'. in Ecc version.
    when i do EPC check, i am getting error in Obsolete statments like..
    EXPORT var_1 ... var_n TO MEMORY ... is not supported in the OO context. Use
    EXPORT name_1 from var_1 ... name_n from var_n TO MEMORY ... instead . . . .
    Can anyone tell me how to implement it Plz ...?

    Hi,
    Instead of this:
    EXPORT FLAG TO MEMORY ID 'MB51_FLAG'.
    Use the very similar syntax:
    EXPORT name1 = FLAG TO MEMORY ID 'MB51_FLAG'.
    OR
    EXPORT name1 FROM FLAG TO MEMORY ID 'MB51_FLAG'.
    Then when you need to do the corresponding IMPORT you use the same syntax.  Here's one simple example to demonstrate:
    REPORT  ztest_jrg.
    TYPES: ty_ctype TYPE c LENGTH 20.
    DATA: l_test TYPE ty_ctype.
    PARAMETERS: p_test TYPE ty_ctype.
    EXPORT ptst = p_test TO MEMORY ID 'ZTEST'.
    IMPORT ptst = l_test FROM MEMORY ID 'ZTEST'.
    WRITE: /1 l_test.
    Best Regards,
    Jamie

  • Module Pool Programming in ECC 5.0

    Hi Experts,
    Can any one explain the unique features of Module pool programming in ECC 5.0. 
    Even if you find any documentation please pass it on.
    Regards,
    Shankar

    The screen painter is basically the same in 4.7 and ECC6.
    The difference you see might be because you are using the alphanumerical screen painter in 4.7 where the default in ECC is the graphical screen painter. Both are available in 4.7 and ECC.
    To switch back to the alphanumerical in ECC6, just do:
    - SE80
    - menu Utilities
    - Settings
    - tabstrip Screen Painter
    - remove the flag for graphical layout editor
    This will start the alphanumerical instead of the graphical one
    However the graphical one is much easier to use so you might want to look into using that one instead of the (old) alphanumerical one.
    Hope that helps,
    Michael

  • How to increase the performance of a program

    How to increase the performance of a program.
    Regards
    Lisa
    Message was edited by: Lisa Roy

    Here are some links that may help.
    http://www.sapinsideronline.com/searchspi/search.htm?page=article&key=20297&query_text=performance%7Ctuning
    http://www.sapinsideronline.com/searchspi/search.htm?page=article&key=44221&query_text=performance%7Ctuning

  • Need to Trigger a Program in ECC after the DSO load has completed

    HI Experts,
    I have scenario where i need to trigger a Program in ECC after the load to DSO has been completed successfully. Basically opposite of the everyday scenario.
    Can i still use the  the RSSM_EVENT_RAISE FM in the program to call the event in ECC.
    If the above is true.Do i need to have code in the program to confirm the DSO has been loaded or can i just have the program (which basically calls the FM RSSM_EVENT_RAISE) appended to the process chain after the DSO Activation?
    Appreciate your advice

    Hi,
    To help future proof your solution, lean towards using the process chain as much as possible.
    A "Green/Success" only link from the DataStore Activation process variant to an ABAP Program process variant will work nicely. It will also still allow your program to be executed by other scenarios (like manually because you want the event raised now without any dependency on the DataStore status).
    SAP now recommends you use the CL_BATCH_EVENT class and it's methods to interact with the system events. Use transaction SE24 to review the methods and parameters available and then use the sample code below to test your solution.
    Here is a starting point for coding that is used within an ABAP Program process variant in a process chain.
    Use transaction SE38 to store this code to be called by the ABAP Program process variant.
    constants:
      c_interrupt_eventid   type btceventid  value '[Event]',
      c_interrupt_eventparm type btcevtparm  value '[Parameter]'.
    data:
      l_interrupt_eventid   type btceventid value c_interrupt_eventid,
      l_interrupt_eventparm type btcevtparm value c_interrupt_eventparm.
    call method cl_batch_event=>raise
      EXPORTING
        i_eventid                      = l_interrupt_eventid
        i_eventparm                    = l_interrupt_eventparm
      EXCEPTIONS
        excpt_raise_failed             = 2
        excpt_server_accepts_no_events = 3
        excpt_raise_forbidden          = 4
        excpt_unknown_event            = 5
        excpt_no_authority             = 6
        others                         = 1.
    if sy-subrc <> 0.
      message e051(rsar) with 'Failed to raise background event.' c_interrupt_eventid c_interrupt_eventparm.
    endif.
    Note: The error message is process chain friendly and will appear in the RSPC transaction GUI and system logs.
    Hope this helps,
    John.

  • Euro exchange rate in sap 6.00 ecc version

    dear all,
    We are recently implementing sap in our company.we are following sap 6.00 ecc version. we have taken E.rate types B for selling , G for buying , M for average.
    But for EURO it is asking for type EURX only.but I want to define buying and selling rates for EURO also.can anybody tell how to define buying and selling for EURO also.

    Hi,
    nevertheless you will always do the postings in M. If you want to post to use G or B you have to put in the rate type manually. That means you can maintain the KNVV-KURST manually with another course type.
    to your problem. It is also possible to use the EURX. And in special cases like KNVV-KURST you can choose the exchange rate G or B manually. The document in this case will be posted later with G or B. KNVV is only an example
    Please check. But it should work.
    Best regards
    Volker

  • Query for copying standard program in ECC 6.0

    Hi,
      My problem is when i copy a standard program to my Z program in ECC and then try making some changes there it says new enhancement point will be created (specific to top include in function module).Kindly suggest what action needs to be taken for above problem.

    Hi,
    Please find the Standard workflow list in this link...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/926f8546f311d189470000e829fbbd/frameset.htm
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Pre-defined program in ECC 6.0

    Hi Experts,
      I have a issue that can resolve by u guys,
        Please provide the pre-defined program in ECC 6.0 that can stored the program code and all the includes in a program for the given path.
    Advance Thanks.
    u r answer will be given points.

    Dear Lakshman,
    The standard pricnt program of PO MEDRUCK
    dont modify this because this is original one copy and change copy program
    Hope this helps you
    Prem

Maybe you are looking for