Abap program in pc failed and aggregation failed

hi friends,
we are using process chains and one of the proces chain has an abap program which activates and
fills the aggregates. its failed and for yesterday.. can you please help on best action? <removed by moderator>
regards,
Bhavani
Edited by: Siegfried Szameitat on Nov 7, 2008 9:46 AM

Hi Sanjai,
    Check out what your ABAP program is doing. It is really odd that though the job called for invoking the ABAP program is not finished ... the next process is starting. If my understanding is wrong please correct me here.
   How can you say that the next process is starting before the current process finishes?
Best regards,
Kazmi

Similar Messages

  • My MBA indicates my connection is timing out. My wifi on other laptops work in the house. Diagnostics indicate wifi settings failed, network settings failed, ISP failed, Internet failed, and server failed. What can I do?

    My MBA indicates my connection is timing out. My wifi on other laptops work in the house. Diagnostics indicate wifi settings failed, network settings failed, ISP failed, Internet failed, and server failed. What can I do?

    Take each of the following steps that you haven't already tried, until the problem is resolved. Some of these steps are only possible if you have control over the wireless router.
    Step 1
    Turn Wi-Fi off and back on.
    Step 2
    Restart the router and the computer. Many problems are solved that way.
    Step 3
    Change the name of the wireless network, if applicable, to eliminate any characters other than letters and digits. You do that on your router via its web page, if it's not an Apple device, or via AirPort Utility, if it is an Apple device.
    Step 4
    Run the Network Diagnostics assistant.
    Step 5
    In OS X 10.8.4 or later, run Wireless Diagnostics and fix the issues listed in the Summary, if any.
    Step 6
    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Enter the name of your wireless network in the search box. You should have one or more "AirPort network password" items with that name. Make a note of the name and password, then delete all the items. Quit Keychain Access. Turn Wi-Fi off and then back on. Reconnect to the network.
    Step 7
    You may need to change other settings on the router. See the guidelines linked below:
    Recommended settings for Wi-Fi routers and access points
    Potential sources of interference
    Step 8
    Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    Step 9
    Reset the System Management Controller (SMC).

  • ABAP Program for set local process chain failed

    I would like to execute ABAP Program in local process chain. If the condition is in the pre-defined bussiness rule, local process chain is set to fail.
    Currently I use ABAP and Raise Message Error = Message Type E for cancel program. After program is cancelled, local process chain don't know its status, wait for job SAP_CCMS_MONI_BATCH_DP  to determine status of process chain and then further execute subsequent process.
    I 'm not sure that our solution is right or not about set process chain to fail via ABAP. Please suggest us if there are other solution to set process chain as failed.

    Hi.
    Plz see my answer to similar question in [this thread|Re: Manage a message at the end of process chain on Web planning Application].
    Regards.

  • ABAP Program to Read Transports and Get Descriptions

    Hello,
    Does anyone out there have an abap program or know of one that will read transports with the technical names and give you the description of the objects, in order to make it easier to verify things in a transport?

    Hi,
    there is a good weblog here about transport request program that write about usefull FMs.
    Try this link
    /people/uwe.schieferstein/blog/2009/01/07/multi-purpose-alv-list-programming
    Bye
    Andrea

  • ABAP Program that generates XML and calls an XSLT transformation,

    Hello,
    I am creating a program that creates some XML output, and I am using STRANS to create a transformation.
    The file created looks like below before transformation.
      <?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <EMPLOYEE_DATA>
    - <item>
         <EMPLOYEE_ID>00000010</EMPLOYEE_ID>
        <FIRSTNAME>Joe</FIRSTNAME>
        <SURNAME>Bloggs</SURNAME>
        <DOB>1940-11-10</DOB>
        <SALARY>200000.0</SALARY>
      </item>
    <item>
      <EMPLOYEE_ID>00000055</EMPLOYEE_ID>
      <FIRSTNAME>Lydia</FIRSTNAME>
      <SURNAME>Jones</SURNAME>
      <DOB>1965-03-09</DOB>
      <SALARY>90000.0</SALARY>
      </item>
      </EMPLOYEE_DATA>
      </asx:values>
      </asx:abap>
    I want to make EMPLOYEE_ID  an attribute like in the following
    and what I want to output is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml">
    - <asx:values>
    - <EMPLOYEE_DATA>
    - <EMPLOYEE_DETAILS EMPLOYEE_ID="00000010">
       <FIRSTNAME>Joe</FIRSTNAME>
       <SURNAME>Bloggs</SURNAME>
       <DOB>1940-11-10</DOB>
       <SALARY>200000.0</SALARY>
      </EMPLOYEE_DETAILS>
    <EMPLOYEE_DETAILS EMPLOYEE_ID="00000055">
        <FIRSTNAME>Lydia</FIRSTNAME>
        <SURNAME>Jones</SURNAME>
        <DOB>1965-03-09</DOB>
        <SALARY>90000.0</SALARY>
        </EMPLOYEE_DETAILS>
        </EMPLOYEE_DATA>
      </asx:values>
      </asx:abap>
    the XSLT I have cureently produces:
      <?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml">
    - <asx:values>
    - <EMPLOYEE_DATA>
    - <EMPLOYEE_DETAILS EMPLOYEE_ID="00000010">
      <EMPLOYEE_ID>00000010</EMPLOYEE_ID>
      <FIRSTNAME>Joe</FIRSTNAME>
      <SURNAME>Bloggs</SURNAME>
      <DOB>1940-11-10</DOB>
      <SALARY>200000.0</SALARY>
      </EMPLOYEE_DETAILS>
    - <EMPLOYEE_DETAILS EMPLOYEE_ID="00000038">
      <EMPLOYEE_ID>00000038</EMPLOYEE_ID>
      <FIRSTNAME>Fred</FIRSTNAME>
      <SURNAME>Johnson</SURNAME>
      <DOB>1960-12-11</DOB>
      <SALARY>123450.0</SALARY>
      </EMPLOYEE_DETAILS>
    - <EMPLOYEE_DETAILS EMPLOYEE_ID="00000055">
      <EMPLOYEE_ID>00000055</EMPLOYEE_ID>
      <FIRSTNAME>Lydia</FIRSTNAME>
      <SURNAME>Jones</SURNAME>
      <DOB>1965-03-09</DOB>
      <SALARY>90000.0</SALARY>
      </EMPLOYEE_DETAILS>
      </EMPLOYEE_DATA>
      </asx:values>
      </asx:abap>
    But it is repeating the Employee_ID, I want it to start from Firstname, the XSLT I have is:
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:strip-space elements="*"/>
      <xsl:template match="node()">
        <xsl:copy>
          <xsl:apply-templates select="node()"/>
        </xsl:copy>
      </xsl:template>
      <xsl:template match="item">
        <EMPLOYEE_DETAILS>
          <xsl:attribute name="EMPLOYEE_ID">
            <xsl:value-of select="EMPLOYEE_ID"/>
          </xsl:attribute>
          <xsl:apply-templates select="node()"/>
        </EMPLOYEE_DETAILS>
      </xsl:template>
    </xsl:transform>
    How do I get it to start from the next node?
    Thanks

    Hi
    I am also trying the similar kind of requirement.
    I am trying to convert XML file in to ABAP using transformations.
    Problem
    When I am trying to execute the Transformation (Selection is Transformation name, Source File Path) using STRANS it is giving the bellow message.
    XSLT Tester                                                                               
    Runtime Errors                                                                               
    Reason          : No valid XSLT program supplied 
    Could you please guide me how to test the Transformation using STRANS
    Thanks
    Nikhil.B

  • IPad2 update to iOS5 failed and restore fails with error code (6)

    I have updated my iTunes to version 10.5 (on Windows 7 32-bit). After that and creating a back up of my iPad, I started the update to iOS5.
    For some unclear reason it failed. The only option left was to do a restore.
    This restore process starts and I see a progress bar on the iPad.
    However iTunes comes up with an error message (translated from Dutch): "The iPad iPad cannot be restored. An unknown error code has occured (6)".
    Whatever I try my iPad only shows the iTunes Logo with the USB connector.
    Can anybody advice on how to I get my iPad running?
    Regards,
    Frans.

    Only after submitting my question other answers were shown. The error code to which 6 refers is shown on the next page: http://support.apple.com/kb/TS1275
    In effect: I had to shutdown my Firewall! (How close do you have to be with a vendor).
    After the Firewall (ZoneAlarm) was shutdown, the restore worked. and it gave me iOS5

  • My iphone 4 says call failed and message failed?

    It was locked to orange but just had it unlocked to work on my T-mobile sim. Had this issue even before I got it unlocked. I have just bought this off of somebody and it keeps saying call failed/call ended just after I have dialled and then when I try to send a message it says message failed, however, I can get onto the internet using my signal alone and not connecting to Wi-fi. Incredibly confused as to why this isnt working. I have full signal. Done a full restore on 2 different computers still with no result. Really at the end of my tether with this, someone please help.
    Operating system 4.3.5
    Thanks

    I faced similar issue where I was getting signal, able to receive calls, use all data services but everytime i went to make a call it said "Call Failed"
    You need to try to go to Settings>>Phone>>>Show My Caller ID>> Ensure it is On.
    Even if it appears on try switching off and on.
    Mine was not allowing to switch off and on but something I did worked and then able to make calls.
    Also try Settings>>>General>>>Reset>>Rest All Settings
    I faced issue of not being able to make calls after switching my sim card from postpaid to prepaid. First it dint recognise the sim at all then on pluggin in to itunes i was able to activate and atleast receive calls, use all data only everytime i tried makinng a call it said call failed.
    When i restored to factory settings it worked. However on restoring my backup i faced the same issue.
    Apple local support was most unhelpful saying that i had to forget my data and work with a new phone without contacts, apps, etc

  • Server Pool Master fails and cannot fail over to another VM Server

    Dear All,
    Oracle VM 2.2.2
    I have 2 VM Servers connect to Storage 6140 Array and on VM Manager I enable HA on the server pool, then on all virtual machines.
    - VM Server 1 has role as Server Pool Master, Utility Server, Virtual Machine Server and has virtual machines running
    - VM Server 2 has role as Utility Server, Virtual Machine Server and has virtual machines running.
    I try to shutdown the VM Server 1 act as Server Pool Master but I don't see Server Pool Master fail over to another VM Server 2 and also status become to Unreachable both of 2 Servers.
    Especially, All virtual machines cannot be accessible.
    Please kindly give advice for this.
    Thanks and regards,
    Heng

    Thanks Avi, I'll find and read that document. And thanks also for elaborating about the Utility Server.
    After reading the followups to my original question, I tried to think of possible server "layouts" in a HA environment.
    1) "N" servers in the pool, one of them is Pool Master, Utility Server AND VM Guests Server at the same time. Maybe this will be the preferred server for smaller, quicker VMs.
    2) "N" servers in the pool, one is Pool Master AND Utility Server, but has no VM guests running on it
    3) "N" servers in the pool, one is the Pool Master, another one is the Utility Server (none of them has VMs running on them), and finally a number of VM Guest servers
    Let's take case 1. If the Pool Master & Utility server fails, given that it has VM guests running on it as well, I understand from your explanation that I'll be ANYWAY able to manually "live migrate" the guests somewhere else, using VM Manager. Is this correct?
    If it's correct, then it's just a question of how much money I want to spend to have dedicated servers for different tasks, JUST FOR BETTER PERFORMANCES REASONS. Do you agree? And especially: do YOU have dedicated Pool Masters (just to figure out your "real" approach to the problem :-) )
    I feel that I still miss something, the picture is not completely clear to me. The fact is, that I'm now testing on my new bladesystem, but for now I put up one single blade. Testing HA will be the next step. I was just trying to get a few things sorted out in advance, but there is still something that I'm missing, as I was saying...
    Looking forward to your next reply, thanx again
    Rob

  • Tried to download iOS 8 but failed and now phone won't go on stuck on plug into I tunes screen

    Trows to download iOS on the laptop but said failed and keeps failing but phone won't do anything now stuck on plug in to I tunes help please

    hey guys I was in the phone to apples for over hour and a half and he couldn't fix it, so I took it to my local stormfront shop and he plugged it in and it restored straight away and had the iOS 8 on it, it's very common he was telling me and sometimes windows interacts with the download for apple updates and causes the phones to go into basically limp mode, best to plug in to an Apple Mac etc

  • Code to call url in abap program

    code to call url in abap program using cl_http requests and save the outcome to a location  in a file

    See the below program
    REPORT zbrowser .
    TABLES : sscrfields.
    INCLUDE .
    CONSTANTS: htmlcntl_eventid_on_navigate TYPE i VALUE 1.
    CONSTANTS: htmlcntl_eventid_navigate_com TYPE i VALUE 2.
    DATA : h_html_ctrl TYPE cntl_handle,
    repid TYPE sy-repid,
    dynnr TYPE sy-dynnr,
    cmd TYPE sy-ucomm,
    flag,disp.
    DATA : it_exclude LIKE TABLE OF rsexfcode WITH HEADER LINE.
    SELECTION-SCREEN : FUNCTION KEY 1,
    FUNCTION KEY 2,
    FUNCTION KEY 3,
    FUNCTION KEY 4,
    FUNCTION KEY 5.
    General Browser to View
    Files/Pictures & WebPages
    © 2005 SAP AG 2
    SELECTION-SCREEN COMMENT 45(50) comment1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(28) comment2 FOR FIELD url.
    SELECTION-SCREEN POSITION 31.
    PARAMETERS : url(1064) LOWER CASE .
    SELECTION-SCREEN PUSHBUTTON 79(4) open USER-COMMAND open.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
    comment1 = 'ABAP INTERNET EXPLORER'.
    comment2 = 'Enter URL/Filename To Open :'.
    open = icon_transfer .
    sscrfields-functxt_05 = icon_sap.
    sscrfields-functxt_04 = icon_booking_stop.
    sscrfields-functxt_03 = icon_refresh.
    sscrfields-functxt_02 = icon_arrow_right.
    sscrfields-functxt_01 = icon_arrow_left.
    repid = sy-repid.
    dynnr = '1000'.
    it_exclude-fcode = 'ONLI'.
    APPEND it_exclude.
    it_exclude-fcode = 'INFO'.
    APPEND it_exclude.
    *Changing GUI status
    CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
    p_status = sy-pfkey
    p_program = repid
    TABLES
    p_exclude = it_exclude.
    CALL FUNCTION 'CONTROL_INIT' .
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'HTMLCNTL_CREATE'
    EXPORTING
    owner_repid = repid
    link_repid = repid
    dynnr = dynnr
    handle = h_html_ctrl
    EXCEPTIONS
    control_install_error = 1
    create_error = 2
    General Browser to View
    Files/Pictures & WebPages
    © 2005 SAP AG 3
    OTHERS = 3
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'HTMLCNTL_INIT'
    EXPORTING
    h_control = h_html_ctrl
    left = 1
    top = 2
    width = 143
    height = 37
    register_event_on_navigate = 'X'
    cb_form_navigate_complete = 'ON_CONTROL_EVENT'
    EXCEPTIONS
    cntl_system_error = 1
    cntl_error = 2
    dp_create_error = 3
    dp_install_error = 4
    dp_error = 5
    create_browser_error = 6
    init_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'CONTROL_FLUSH'.
    AT SELECTION-SCREEN.
    cmd = sscrfields-ucomm.
    CASE cmd.
    WHEN 'OPEN'.
    PERFORM load_html_page.
    CALL FUNCTION 'CONTROL_FLUSH'.
    WHEN 'FC01'. "BACK
    CALL FUNCTION 'HTMLCNTL_GO_BACK'
    EXPORTING
    h_control = h_html_ctrl.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    General Browser to View
    Files/Pictures & WebPages
    © 2005 SAP AG 4
    PERFORM get_current_url.
    WHEN 'FC02'. "FORWARD
    CALL FUNCTION 'HTMLCNTL_GO_FORWARD'
    EXPORTING
    h_control = h_html_ctrl.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    PERFORM get_current_url.
    WHEN 'FC03'. "REFRESH
    CALL FUNCTION 'HTMLCNTL_DO_REFRESH'
    EXPORTING
    h_control = h_html_ctrl.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    PERFORM get_current_url.
    WHEN 'FC04'. "STOP
    CALL FUNCTION 'HTMLCNTL_STOP'
    EXPORTING
    h_control = h_html_ctrl.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    WHEN 'FC05'. "GO TO HOME
    CALL FUNCTION 'HTMLCNTL_GO_HOME'
    EXPORTING
    h_control = h_html_ctrl.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    PERFORM get_current_url.
    CALL FUNCTION 'CONTROL_FLUSH'.
    WHEN OTHERS.
    General Browser to View
    Files/Pictures & WebPages
    © 2005 SAP AG 5
    CALL FUNCTION 'CONTROL_DISPATCH'
    EXPORTING
    fcode = cmd.
    CALL FUNCTION 'CONTROL_FLUSH'.
    ENDCASE.
    CLEAR cmd.
    CALL FUNCTION 'CONTROL_FLUSH'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR url.
    PERFORM get_file_name.
    PERFORM load_html_page.
    *& Form get_page_name
    Get Page Name
    FORM get_file_name.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    DEF_FILENAME = ' '
    def_path = 'C: '
    mask = ',.,..'
    mode = 'o'
    title = 'Browse to Open'
    IMPORTING
    filename = url
    RC =
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    ENDFORM. " get_page_name
    *& Form load_html_page
    TO load the file (URL)
    General Browser to View
    Files/Pictures & WebPages
    © 2005 SAP AG 6
    FORM load_html_page.
    CALL FUNCTION 'HTMLCNTL_SHOW_URL'
    EXPORTING
    h_control = h_html_ctrl
    url = url.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    flag = 'X'.
    ENDFORM. " load_html_page
    *& Form get_current_url
    Get Current URL
    FORM get_current_url.
    CALL FUNCTION 'HTMLCNTL_GET_CURRENT_URL'
    EXPORTING
    h_control = h_html_ctrl
    IMPORTING
    url = url.
    ENDFORM. " get_current_url
    Callback form for the event 'NavigateComplete'
    callback on_control_event.
    CALL FUNCTION 'CONTROL_GET_EVENT_PARAM'
    EXPORTING
    h_control = h_html_ctrl
    param_id = 0
    CHANGING
    return = url.
    PERFORM get_current_url.
    endcallback.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Problem in triggering abap program in process chain

    i m running a infopackage in a process chain .
    this infopackage creates the request in the DSO .
    after infopackage i m including the abap program to delete the same request in the process chain .
    but the abap program is not getting triggered .i have maintained the variant correctly for the program in the process chain .
    what can be done so that the program gets triggered .

    Hi,
    You can trigger you ABASP program from
    1. SM64  : copy the ABAP program's Afer event and parambeter and give it there and execute
    2.or go to
    SE37 >>Program : BP_EVENT_RAISE  >> say test execute
    and give the same after event and parameter ..and execute
    this might trigger your program
    Hope this helps you,
    Regrads,
    shikha

  • Program to create Debit and Credit Memos

    Hello everybody!
    I am new to SAP and I need to develop ABAP program to create Debit and Credit Memos...
    1. Debit/Credit memos created with header (Higher level) item and sub item/s
    2. One Debit/Credit memo created per customer
    3. A part of information for memos program will receive through XI (Excel file coming through XI)
    maybe someone can help?
    Helpfull answers will be awarded!
    BR, M.

    You dont need a custom prog to create a debit memo or credit memo.
    You can raise a Credit Memo for a Vendor using the transction code FB65 (without reference to an invoice) or MIRO (if it is with reference to an invoice) and the system would pass the following accounting entry
    Dr. Expenses A/c
    Cr. Vendor A/c
    This particular document would have a payment term and payment due date. While running Automatic Payment Process, depending on the payment method the system will pick up the document and create a cheque / electronic transfer etc for the vendor with the following entry
    Dr. Vendor A/c
    Cr. Bank Clearing A/c
    In the case of Customer you can account the credit memo (without reference to invoice) using FB75 or VA01 (Order Type CR, if it is with reference to an invoice). While you create the billing document for the order type CR the system would raise the following accounting
    Dr. Expenses A/c
    Cr. Customer A/c
    This particular document would have a payment term and payment due date. While running Automatic Payment Process, depending on the payment method the system will pick up the document and create a cheque / electronic transfer etc for the customer with the following entry
    Dr. Customer A/c
    Cr. Bank Clearing A/c

  • ABAP Program in a Process Chain

    Hi!
    I create a program in ABAP/4. The program modify an attribute of a Z table I have previously created.
    I want to add that program in a process chain of BW which load a cube. The problem is that when I am in in the process chain, the program I have created doesn´t appear in the available programs to select and associate to the process chain.
    What I have to do to have the ABAP program available to select and associate to the process chain?
    Thanks in advance.

    Hello Nicolas, there are a few options you can try.
    1.  Instead of an ABAP program, would you think of incorporating your logic into a function module and then create a generic datasource in R/3 to extract the data from your Z table using the function module.  There is a function module in R/3 called <b>RSAX_BIW_GET_DATA_SIMPLE</b> that you can copy and use as a template for your function module.  Refer to the following blog:
    <a href="/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module:///people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    You can also search this forum for RSAX_BIW_GET_DATA_SIMPLE for other ideas.
    2.  If you really want to use your ABAP program in R/3, then your best solution would be to create a job in R/3 that is triggered by an event.  This job will have two steps in it.
    Step 1:  execute your ABAP program to fill your Z table
    Step 2:  execute program to notify process chain in BW that ABAP process is complete (sample source below)
    In your process chain in BW, your ABAP process should be set up to be
    Called From:  (RFC destination of your R/3 system)
    Scheduled Program:  Event (event name in R/3)
    You may get a help message about "Requirements for asynchronous processes".  This is an informational message telling you that if you call an ABAP program from a remote system, there is no way for BW to monitor it, so you will have to execute a function module (RSPC_ABAP_FINISH) in the R/3 system to inform the process chain when the ABAP program finishes.   You can create your own program in R/3 to use this function module:
    *& Report  Z_RSPC_END_PROCESS                                    *
    *  Trigger end of an ABAP process in BW process chain.
    REPORT  z_rspc_end_process.
    *"*"Lokale Schnittstelle: Detination BW
    *"  IMPORTING
    *"     VALUE(I_VARIANT) TYPE  RSPC_VARIANT
    *"  EXCEPTIONS
    *"      ALREADY_FINISHED
    PARAMETER: p_rfc LIKE rfcdes-rfcdest,
               p_var(30) TYPE c.
    CALL FUNCTION 'RSPC_ABAP_FINISH'
        DESTINATION p_rfc
         EXPORTING
           I_VARIANT              = p_var
         EXCEPTIONS
           ALREADY_FINISHED       = 1
           OTHERS                 = 2
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    This program in R/3 will inform your process chain in BW that the ABAP process is finished and BW will continue to next process in the process chain.
    Note:
    p_rfc would be the RFC destination of your BW system
    p_var would be the name of the ABAP process in your process chain
    Hope this helps.

  • How to improve the performance of the abap program

    hi all,
    I have created an abap program. And it taking long time since the number of records are more. And can anyone let me know how to improve the performance of my abap program.
    Using se30 and st05 transaction.
    can anyone help me out step by step
    regds
    haritha

    Hi Haritha,
    ->Run Any program using SE30 (performance analysis)
    Note: Click on the Tips & Tricks button from SE30 to get performance improving tips.
    Using this you can improve the performance by analyzing your code part by part.
    ->To turn runtim analysis on within ABAP code insert the following code
    SET RUN TIME ANALYZER ON.
    ->To turn runtim analysis off within ABAP code insert the following code
    SET RUN TIME ANALYZER OFF.
    ->Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
    ->Avoid for all entries in JOINS
    ->Try to avoid joins and use FOR ALL ENTRIES.
    ->Try to restrict the joins to 1 level only ie only for tables
    ->Avoid using Select *.
    ->Avoid having multiple Selects from the same table in the same object.
    ->Try to minimize the number of variables to save memory.
    ->The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
    ->Avoid creation of index as far as possible
    ->Avoid operators like <>, > , < & like % in where clause conditions
    ->Avoid select/select single statements in loops.
    ->Try to use 'binary search' in READ internal table. -->Ensure table is sorted before using BINARY SEARCH.
    ->Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)
    ->Avoid using ORDER BY in selects
    ->Avoid Nested Selects
    ->Avoid Nested Loops of Internal Tables
    ->Try to use FIELD SYMBOLS.
    ->Try to avoid into Corresponding Fields of
    ->Avoid using Select Distinct, Use DELETE ADJACENT
    Check the following Links
    Re: performance tuning
    Re: Performance tuning of program
    http://www.sapgenie.com/abap/performance.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    check the below link
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    See the following link if it's any help:
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    Check also http://service.sap.com/performance
    and
    books like
    http://www.sap-press.com/product.cfm?account=&product=H951
    http://www.sap-press.com/product.cfm?account=&product=H973
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    Performance tuning for Data Selection Statement
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    Debugger
    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
    Run Time Analyser
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm
    SQL trace
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f7c454211d189710000e8322d00/content.htm
    CATT - Computer Aided Testing Too
    http://help.sap.com/saphelp_47x200/helpdata/en/b3/410b37233f7c6fe10000009b38f936/frameset.htm
    Test Workbench
    http://help.sap.com/saphelp_47x200/helpdata/en/a8/157235d0fa8742e10000009b38f889/frameset.htm
    Coverage Analyser
    http://help.sap.com/saphelp_47x200/helpdata/en/c7/af9a79061a11d4b3d4080009b43351/content.htm
    Runtime Monitor
    http://help.sap.com/saphelp_47x200/helpdata/en/b5/fa121cc15911d5993d00508b6b8b11/content.htm
    Memory Inspector
    http://help.sap.com/saphelp_47x200/helpdata/en/a2/e5fc84cc87964cb2c29f584152d74e/content.htm
    ECATT - Extended Computer Aided testing tool.
    http://help.sap.com/saphelp_47x200/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm
    Just refer to these links...
    performance
    Performance
    Performance Guide
    performance issues...
    Performance Tuning
    Performance issues
    performance tuning
    performance tuning
    You can go to the transaction SE30 to have the runtime analysis of your program.Also try the transaction SCI , which is SAP Code Inspector.
    edited by,
    Naveenan

  • Trigger a waiting ABAP program from a User Exit of CO01

    Hi all,
       We would like to launch a ABAP program from a User Exit (EXIT_SAPLCOZV_001) of CO01, this ABAP program has a special characteristic: using Function Module RFC_PING_AND_WAIT, so this program will be existing until terminating event coming.
        Our purpose is terminate CO01 normally before finishing of ABAP program. We don't know if it's possible?
        Actually:
           1. when we use SUBMIT ..., the process will stop CO01 (stop not normally) and then launch ABAP program. => This is not suitable for our purpose.
           2. when we use SUBMIT ... and RETURN, CO01 will wait for finishing of ABAP program => This is not suitable for our purpose too, because we wish CO01 terminated normally when ABAP program is still existing and waiting for its terminating event.
    Do you have a solution that is suitable for our purpose, could you please help us?
    (The context is below:
    Time:  Begin-->CO finished> ABAP finished-->    
       Launch CO01 --> Call User Exit --> Call ABAP program for waiting --> CO01 saved normally.
    > ABAP program still waiting ---> waiting for terminating event       
    Thanks a lot,
    Vinh Vo

    Hi,
         Try with the function module BP_EVENT_RAISE, it takes eventid, and eventparm as import parameters in the User exit.
    1) With Eventid, you create a background job of the ABAP program and schedule it. Eventparm can be the Production order number.
    2) So when ever the Event is triggered the FM gets triggered and which in turn run the ABAP program, so the foreground the CO01 transaction runs without waiting for the ABAP program to complete.
    Regards
    Bala Krishna

Maybe you are looking for

  • Variable size item with scrap

    we are using sheet size 600 * 1280 mm weight of above sheet = 259gms we get effective out put from the above sheet = 177 grms.Balance 82 grms is considered as scrap How to account receipt of material in BOM??? Please advice regards PP

  • Networking - Why Doesn't This Work?

    Hey all Just wondering if any of you have any ideas why this code isn't working properly - for the Client to connect the Server has to be restarted. Is there a solution to this problem? The Client Class: import java.awt.Container; import java.awt.Col

  • Error in external tax system: SAX processing failed on input stream SAX pro

    Hi When I was posted in T.Code: FB70,  (Customer Invoice) I am getting below mentioned error. Error in external tax system: SAX processing failed on input stream SAX processi. I put tick mark on calculate Tax column and select O1(A/R Sales Taxable).

  • Aperture 3.4.5 will not show NEF files after importing in OSx 3.8.5

    Hi this is driving me crazy.  I have quite a few NEF files from a Nikon E5000 that I would love to be able to process using Aperture but have run into a rather difficut situation.  When I import my images into Aperture I can see the preview of the fi

  • Need suggestions for what order to install software on new computer

    I have had an iMac (with Panther) for 3 1/2 years but have never made any major changes to it and plan to leave it as it is. We got a second computer yesterday, one of the last of the white iMacs, via an Apple reseller. It came with Tiger 10.4.6 inst