How do I end a process on an iMac

Sorry if this is elementary to you but I'm a relatively new user of Apple. I'm trying to find an equivalent CNTL-ALT-DEL to end a task (I'm loading a huge file on my email account and want to kill it). How do I do this, please. Thanks!

Press Option, Command, and Esc, or choose Force Quit from the Apple menu.
(50396)

Similar Messages

  • How can i end the Process chain based on some condition

    HI All,
    I have a scenario where i have a main pc chain which call  the  new chain at the end which in turn again call pc1. So its more like a closed loop .
    pc1-->pc2->pc1
    What main chain does is it reads some field value from a dso and assign that to some variable and set some flag to identify that value has been used. My second chain just run the report using the same variables assign by first chain. Now i have to design the main chain such that when all the values have been read from the dso, it should exit and should not trigger 2nd chain. How can i achieve this scenario.
    Thanks
    Prashant

    Hi,
    For this try using Process Type-"Decision between multiple Alternatives" in your main chain.It helps you the set condieion based on some formulas
    Pls refer links
    Decision Between Multiple Alternatives
    thanks
    nilesh
    Edited by: npathak on Aug 11, 2010 1:16 PM

  • When I enter the website, Firefox stops responding and I have to end the process from the Task Manager. How do I solve this problem?

    I am running Firefox 4.0 beta 7 on Windows XP Tablet Edition OS. When I enter this site using Firefox, the browser stops responding and I have to end the process using Task Manager. However, when I open it with other browsers such as IE8, I am able to view the site as per normal. This only happened when I updated my browser to Beta 7 and I did not have such problems in the previous betas.

    There is [[Flash]] content on that page.
    Do you have a problem with Flash on other websites?
    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How to know in an IDOC you are at the end of processing the EDIDD table?

    I am fairly new to processing IDOCS.
    I am working with the user exit EXIT_SAPLVEDF_002.  This is in the IDOC FM IDCO_OUTPU_INVOIC.  I am working with SAP AFS (the IDOC is /AFS/INVOIC02 but is the same as IDOC INVOIC02 with added logic for AFS).
    I know the FM processes one segment at a time and builds the EDIDD table and then passes it to the user exit after it adds each segment to the table.
    There isn't any other user exit that executes near the end of the processing - none that I could find.
    I am looking to do something that is similar to someone doing a SAVE in DYNPRO and using a user exit to do any final processing before the document is saved.
    Is there some segment name that is the key so that I know I am at the end of processing?
    Is there some status in the IDOC control record that would be set so I would know when it hits this that I can now review the entire EDIDD table?
    Points awarded for any help!
    Thanks.
    Scott

    I found the segment to search for - it's the summary segment 'ED1EDS01'.  It is passed after the detail processing has been added into the EDIDD table.

  • Year End Closing Process

    for year end process:
    1)I need to Post all these items (i.e; B/S and P/L a/c items) for November 2007 and December 2007. please help me how to post all these items*
    2)after posting I need to carryforward AR, AP, GL Balances to January 2008
    3)then I need to do year end closing process.
    BalanceSheet items:
    Liabilities: Capital, Other Loans, Account Payable, Income received in advance, Provision for bad debts,
    Outstanding expenses: wages, salaries, rent, taxes
    Assets: land n building, machinery, vehicles, furniture,Investment, Bills receivable, accounts receivable,
    Prepaid expenses, cash at bank
    Profit & Loss items:
    Expenses:Salaries,travelling,rent,postage,insurance,interest,advertise,audit & legal fee,repairs, depreciation.
    Income: gross profit b/d,interest earned,commission earned,other income
    so i need to make all these items fresh postings then i should carry forward it to january, then year end process.please help me how to post all these items then i can proceed further.
    thanks in advance. i'll award points..

    hi,
    SAP FI Month End and Year End Activities
    1 - Maintain Activity prices - KP26
    2 - Release of Standard Cost Estimate - CK40N
    3 - MM period close and open - MMPV
    4 - FI period open
    5 - Parked documents to be posted - FBV0, MIRO
    6 - Reposting of Inter Office CC - KB61
    7 - Bank Reconciliation
    8 - Update Section Code where missing - J1INPP
    9 - Maintain GRIR clearing - F.13
    10 - Provision for current month - FB50
    11 - Depreciation entry - FB50
    12 - Exchange rate - To be Updated
    13 - Revaluation of foreign currency open items - F.05
    14 - Recognition of Inventory at Bonded warehouse - FB50
    15 - Maintain Statistical Key Figures - KB31N/KP46
    16 - Variance Calculation of Process Orders - KKS1
    17 - Settlement of variances - CO88
    18 - Assessment cycles - Aux/WH CC to Main CC - KSU5
    19 - Assessment cycles - Functional CC to SBU CC - KSU5
    20 - Assessment cycles - SBU CC to COPA - KEU5
    21 - Profit Center Reposting - 9KE0
    22 - Balance Sheet Adjustment calculation - F.5D
    23 - Transfer Profit Center to AR & AP - 1KEK
    24 - Transfer Inventory to PCA - 1KEH
    if you want more details log on to following link.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/eb/1376b443c411d1896f0000e8322d00/content.htm
    assign points if its useful

  • How to go further in Process chain

    Hi Gurus,
    while running process chain some error occured and i solved that by modifying the record from PSA..
    Then Instead of Going for repeat for next process mistakenly I double clicked on that and run the infopackage, it runs successfully but it showing still running condition in process chian...Can any one tell me how to go further...
    Its very urgent
    thanks In advance
    Siddhu

    Hi sidharta,
    do you have the option to repeat a step in your chain?
    If not then you must finish the chain manually. you can try to end that process by right mouse-click. Maybe then you can repeat the next step. If it was a delta upload be sure that it is green in the monitor otherwise you get some problems at the next load.
    hope it helps
    Jürgen

  • How to show result from process in popup page?

    <br>We want to use one popup page for many information in application. So we want to make the following thing.
    <br>We want to execute process and show result in popup page (through hidden parameter-"P2_MESSAGE").
    <br>We also assign title of region on that popup page through "P2_TITLE".
    <br>What I do not know is how to show popup after process-branch problem.
    <br>Process is executed from one button. Button is located on page "28" and popup page is "2"
    <br>Code for javascript should be like:
    <br>
    javascript:popupURL('f?p=&APP_ID.:2:&APP_SESSION.::::P2_TITLE,P2_MESSAGE:'+'status '+','+'&P28_X.')<br>THX

    I have found in one thread:
    <br>
    <br>1) create an application item APP_ONLOAD (of course you can choose your own name)
    <br>2) create an application level before footer computation on APP_ONLOAD to clear the item after the page is generated.
    <br>3) place &APP_ONLOAD. (dot also) in the on load property of the page.
    <br>4) fill the APP_ONLOAD using :APP_ONLOAD := 'onload="your own javascript to call a popup window;"' in the plsql of an after On Submit - After Computations and Validations process (type PL/SQL anonymous block)
    Fill the when button pressed property of the process with the button you want to use to show the popup.
    <br>5) create a branch to branch to the current page (or a other if you wish)
    <br>
    Looks OK but when I create in PL/SQL js with "&" signe, which I use for filling some hidden values in popup page I get error.
    begin
      is_test_ok (1, :P28_X);
      :APP_ONLOAD := 'onload="javascript:popupHeightURL(''f?p=&APP_ID.:2:&APP_SESSION.::::P2_TITLE,P2_MESSAGE:''+''statusu testova''+'','+''&P28_X.'')"';
    end;<br>Should I use ASCII codes for that or what? Any example please!
    <br>THX

  • Confirm end of processing check box in task

    Hi,
    In my workflow used fork with 2 parallel branches.
    In one branch is a dialog activity step ( sending doc to incorportaors for review -  checked the confirm end of processing checkbox in the task )
    and in the other branch is a 'Wait for Event' step ( wait for rejection - when status getting changes to 32).
    when executing dialog activity with confirm end of processing,branch 1 wait step workitem is getting completed and branch 2 workitem is logically getting deleted and further step in the workflow is not executed in branch 2.
    Same changes I am trying to do without confirm end of processing pop up.When I uncheck the check box and execute the dialog activity, branch 1 wait step workitem is getting completed and branch 2 workitem is also getting completed ( instead logically getting deleted ) and further step in the workflow is executed in branch 2. I dont want the remaining step to get executed.
    Please let me know how to achieve this. I tried with some function module but its not working.
    In the attached file, I have shown the screenshot where it is going wrong.
    Thanks & Regards,
    Priya

    Hi Priya
    Both steps (in both branches) are getting executed by the same activity by the user. Yes, it's a race as correctly mentioned by Mike
    As mentioned by Prakash, either you need to restrict REJECTION event creation or you can try an approach mentioned in the following thread:
    Re: TRIP Workflow approval issue
    You can refer to my response in the above thread:
    Dated: Feb 26, 2014 (10:25AM) and Feb 26, 2014 (12:59PM)
    Regards,
    Modak

  • How to schedule infospokes in process chains..

    Hi All,
    I have a few infospokes to be scheduled in a process chain. In each infospoke, I have upto 10 jobs that are to be scheduled one after the other. At the end of these jobs I have to run a FTP script. I am new at creating the process chains. So can anybody help me out in letting me know:
    1. How to create a start process where I can select a given job by using its name
    2. How to run a FTP script as a follow up step on completion of a previous step.
    Thanks in advance
    John

    Hi John
    it a big task to explain all so I will try to give you the high level picture.
    1. process chain is easy to implement and learn.
       usually it is triggered either by a batch job or a
       batch job that fires an event.
    2. to call an OS (like Win or Unix) from the PC you can
       trigger an event from the end of the PC to call a
       ABAP program that will initiate an OS call.
       you use trx: SM69   - External Operating Sys Commands
       to set this call up.
    3. to implement an FTP you can do via a batch file with
       OS commands or by using free utilities (there are many of them).
    I hope it helps.
    Edan

  • How to Start and Stop Processes?

    How to Start and Stop Processes?
    Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
    Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
    Below is my code for how i start the servers. But i dont know how i would stop the process.
                    private void startServers()
                   for(GameServer gs : servers)
                        int ID = Integer.parseInt(gs.getID());
                        if(isChecked(ID))
                             try
                                  String cmd[] = gs.getStartString();
                                  Runtime.getRuntime().exec(cmd);
                                  int sleepPeriod = Integer.parseInt(sleepField.getText());
                                  Thread.sleep(sleepPeriod*100);     
                             catch(Exception e)
                             System.out.println(e);
                   }//end of iterator
                   JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);     
         }//end of startserversAnyhelp would be great thanks.

    Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).

  • How to start a GP process from a url within EP?

    I know how to start a GP process from the webdynpro url generated from the instantiation tab of a GP process.
    But if I use this url, the end-user will be prompted with a login screen to authenticate to the J2ee server because it's a webdynpro url and it doesn't recognized that the user is already logged in the Portal.
    How can i avoid this login screen or how can I get a Portal url that launch the GP process directly? Thanks, Andre

    Hi Austin,
    There is a strange problem when creating a web dynpro with the URL parameters. It web dynpro window pops up a new portal window in which the process is displayed. Rather, if I create a URL iView of the form http://<host>:port>/webdynpro/dispatcher/sap.com/cafeugpuiinst/AInstantiation?process.template.id=<...>&process.autostart=t it works fine!
    I'd like the web dynpro iView to work cause otherwise I'll have to add static sapcssurl parametes for the theme etc. which I want to avoid.
    Regards,
    Nirav

  • Solution Directory - How to lock a business process for a implement project

    We have Solution Directory assigned to a maintenance project and I understand the checkout/checkin process and how it locks the business process in the Solution.   What is the best practice when  you are starting a new IMPLEMENTATION project that will impact existing business processes that are in the Solution?  I know that I can copy from the solution to build the new project, but it doesnu2019t lock the BP from the solution.  
    I have a new Implementation project, that i want to checkout/pull existing business processes for the Solution Directory. 
    *How can these Business Processes be "locked" in Solution Directory as they are with a Maintenance project?*

    Kelly,
    You would use the maintenance project to make daily modifications.
    Consider the case of a O2C business scenario. You need to almost make daily configs etc, which get pushed through, such things will go into a maintenance project.
    But if you plan to enhance O2C with a CRM front end or include a better planning solution or TPM or something, then you are looking at an implementation project.
    Rule of thumb. Short Scale changes : Maintenance Project, Long term/major enhancements : Implementation Projects.
    Also In this case to speak about the lock down. Well the Solution Directory kind of takes care of that for you.
    I am assuming that you have a solution populated with business processes. So now if you want to enhance it with a new functionality, you would use an implementation project. So when you define the implementation project, and then navigate to Solar01, and try to add business scenarios , ensure that on the Structure tab you select the Solution as the source. This ensures you are copying content from your current, updated, productive solution. Once you do that, the implementation continues on its track, whilst daily support processes are managed with the check-in / check-out functionality of the Solution and the Maintenance Project.
    You technically do not need to lock the business processes down, since the Compare and Adjust functionality of a solution will help you identify the deltas  between the Solution and the implementation project and you can always make those adjustments post go-live and thus just update the Solution at one shot. Also remember that with SolMan 7.1 the Compare and Adjust functions can be used with Template, Implementation and Solutions in any permutation-combination.
    Hope this helps.
    Plz let me know if you need any additional information
    Cheers!!

  • How do I resolve "Error processing your request", when using Download link in My Orders (photoshop 5

    How do I resolve "error processing your request" when using the download link in My Orders for photoshop 5

    As Jeff already hinted at, try a different browser. Such issues almost always are local problems on your end. Something is either changing or blocking the HTTP headers used for forwarding (could be your router, a desktop firewall or other security tools) or a JavaScript is not running/ being blocked.
    Mylenium

  • How can we correct and process errorrecords in session and call transaction

    hai all
    how ca we correct and process error records  in session and call transaction method . tell me with coding.
    Edited by: swamy katta on May 14, 2008 10:25 AM
    Edited by: swamy katta on May 14, 2008 10:26 AM
    Edited by: swamy katta on May 14, 2008 10:27 AM

    hi,
    Check out the below sample code ...Here are the records are getting posting with call transaction method and a session is getting created with erroreneous records....
    REPORT  ztest_report
    NO STANDARD PAGE HEADING
                            LINE-SIZE 255
                            MESSAGE-ID ZRASH.
    *                 Internal Table Declarations                          *
    *--Internal Table for Data Uploading.
    DATA : BEGIN OF IT_FFCUST OCCURS 0,
             KUNNR(10),
             BUKRS(4),
             KTOKD(4),
             ANRED(15),
             NAME1(35),
             SORTL(10),
             STRAS(35),
             ORT01(35),
             PSTLZ(10),
             LAND1(3),
             SPRAS(2),
             AKONT(10),
           END OF IT_FFCUST.
    *--Internal Table to Store Error Records.
    DATA : BEGIN OF IT_ERRCUST OCCURS 0,
             KUNNR(10),
             EMSG(255),
           END OF IT_ERRCUST.
    *--Internal Table to Store Successful Records.
    DATA : BEGIN OF IT_SUCCUST OCCURS 0,
             KUNNR(10),
             SMSG(255),
           END OF IT_SUCCUST.
    *--Internal Table for Storing the BDC data.
    DATA : IT_CUSTBDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    *--Internal Table for storing the messages.
    DATA : IT_CUSTMSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : V_FLAG1(1) VALUE ' ',
    "Flag used for opening session.
           V_TLINES LIKE SY-TABIX,
           "For storing total records processed.
           V_ELINES LIKE SY-TABIX,
           "For storing the no of error records.
           V_SLINES LIKE SY-TABIX.
           "For storing the no of success records.
    *          Selection screen                                            *
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS : V_FNAME LIKE RLGRAP-FILENAME,
                 V_SESNAM  LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK B1.
    *          Start-of-selection                                          *
    START-OF-SELECTION.
    *-- Form to upload flatfile data into the internal table.
      PERFORM FORM_UPLOADFF.
    *        TOP-OF-PAGE                                                   *
    TOP-OF-PAGE.
      WRITE:/ 'Details of the error and success records for the transaction'
      ULINE.
      SKIP.
    *          End of Selection                                            *
    END-OF-SELECTION.
    *-- Form to Generate a BDC from the Uploaded Internal table
      PERFORM FORM_BDCGENERATE.
    *--To write the totals and the session name.
      PERFORM FORM_WRITEOP.
    *&      Form  form_uploadff
    *     Form to upload flatfile data into the internal table.
    FORM FORM_UPLOADFF .
    *--Variable to change the type of the parameter file name.
      DATA : LV_FILE TYPE STRING.
      LV_FILE = V_FNAME.
    *--Function to upload the flat file to the internal table.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      =  LV_FILE
    *     FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
    *     HEADER_LENGTH                 = 0
    *     READ_BY_LINE                  = 'X'
    *     DAT_MODE                      = ' '
    *   IMPORTING
    *     FILELENGTH                    =
    *     HEADER                        =
        TABLES
          DATA_TAB                      = IT_FFCUST
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_READ_ERROR               = 2
          NO_BATCH                      = 3
          GUI_REFUSE_FILETRANSFER       = 4
          INVALID_TYPE                  = 5
          NO_AUTHORITY                  = 6
          UNKNOWN_ERROR                 = 7
          BAD_DATA_FORMAT               = 8
          HEADER_NOT_ALLOWED            = 9
          SEPARATOR_NOT_ALLOWED         = 10
          HEADER_TOO_LONG               = 11
          UNKNOWN_DP_ERROR              = 12
          ACCESS_DENIED                 = 13
          DP_OUT_OF_MEMORY              = 14
          DISK_FULL                     = 15
          DP_TIMEOUT                    = 16
          OTHERS                        = 17
      IF SY-SUBRC = 0.
    *--Deleting the headings from the internal table.
        DELETE IT_FFCUST INDEX 1.
    *--Getting the total number of records uploaded.
        DESCRIBE TABLE IT_FFCUST LINES V_TLINES.
      ENDIF.
    ENDFORM.                    " form_uploadff
    *&      Form  Form_bdcgenerate
    *     Form to Generate a BDC from the Uploaded Internal table
    FORM FORM_BDCGENERATE .
    *--Generating the BDC table for the fields of the internal table.
      LOOP AT IT_FFCUST.
        PERFORM POPULATEBDC USING :
                                    'X' 'SAPMF02D' '0105',
                                    ' ' 'BDC_OKCODE'  '/00' ,
                                    ' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,
                                    ' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,
                                    ' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,
                                    'X' 'SAPMF02D' '0110' ,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    ' ' 'KNA1-ANRED'  IT_FFCUST-ANRED,
                                    ' ' 'KNA1-NAME1' IT_FFCUST-NAME1,
                                    ' ' 'KNA1-SORTL'  IT_FFCUST-SORTL,
                                    ' ' 'KNA1-STRAS' IT_FFCUST-STRAS,
                                    ' ' 'KNA1-ORT01' IT_FFCUST-ORT01,
                                    ' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,
                                    ' ' 'KNA1-LAND1' IT_FFCUST-LAND1,
                                    ' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,
                                    'X' 'SAPMFO2D' '0120',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0125',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0130',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0340',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0360',
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0210',     
                                    ' ' 'KNB1-AKONT'  IT_FFCUST-AKONT,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0215',
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0220',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0230',     
                                    ' ' 'BDC_OKCODE'  '=UPDA'.
    *--Calling the transaction 'fd01'.
        CALL TRANSACTION 'FD01' USING IT_CUSTBDC MODE 'N' UPDATE 'S'
        MESSAGES INTO IT_CUSTMSG.
        IF SY-SUBRC <> 0.
    *--Populating the error records internal table.
          IT_ERRCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_ERRCUST.
          CLEAR IT_ERRCUST.
    *--Opening a session if there is an error record.
          IF V_FLAG1 = ' '.
            PERFORM FORM_OPENSESSION.
            V_FLAG1 = 'X'.
          ENDIF.
    *--Inserting the error records into already open session.
          IF V_FLAG1 = 'X'.
            PERFORM FORM_INSERT.
          ENDIF.
    *--Populating the Success records internal table.
        ELSE.
          IT_SUCCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_SUCCUST.
          CLEAR IT_SUCCUST.
        ENDIF.
    *--Displaying the messages.
        IF NOT IT_CUSTMSG[] IS INITIAL.
          PERFORM FORM_FORMATMSG.
        ENDIF.
    *--Clearing the message and bdc tables.
        CLEAR : IT_CUSTBDC[],IT_CUSTMSG[].
      ENDLOOP.
    *--Getting the total no of error records.
      DESCRIBE TABLE IT_ERRCUST LINES V_ELINES.
    *--Getting the total no of successful records.
      DESCRIBE TABLE IT_SUCCUST LINES V_SLINES.
    *--Closing the session only if it is open.
      IF V_FLAG1 = 'X'.
        PERFORM FORM_CLOSESESS.
      ENDIF.
    ENDFORM.                    " Form_bdcgenerate
    *&      Form  populatebdc
    *       FOrm to Populate the BDC table.
    FORM POPULATEBDC  USING    VALUE(P_0178)
                               VALUE(P_0179)
                               VALUE(P_0180).
      IF P_0178 = 'X'.
        IT_CUSTBDC-PROGRAM = P_0179.
        IT_CUSTBDC-DYNPRO = P_0180.
        IT_CUSTBDC-DYNBEGIN = 'X'.
      ELSE.
        IT_CUSTBDC-FNAM = P_0179.
        IT_CUSTBDC-FVAL = P_0180.
      ENDIF.
      APPEND IT_CUSTBDC.
      CLEAR IT_CUSTBDC.
    ENDFORM.                    " populatebdc
    *&      Form  FORM_OPENSESSION
    *       Form to Open a session.
    FORM FORM_OPENSESSION .
    *--Variable to convert the given session name into reqd type.
      DATA : LV_SESNAM(12).
      LV_SESNAM = V_SESNAM.
    *--Opening a session.
      CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
         CLIENT                    = SY-MANDT
         GROUP                     = LV_SESNAM
         HOLDDATE                  = '20040805'
         KEEP                      = 'X'
         USER                      = SY-UNAME
         PROG                      = SY-CPROG
    *  IMPORTING
    *    QID                       =
       EXCEPTIONS
         CLIENT_INVALID            = 1
         DESTINATION_INVALID       = 2
         GROUP_INVALID             = 3
         GROUP_IS_LOCKED           = 4
         HOLDDATE_INVALID          = 5
         INTERNAL_ERROR            = 6
         QUEUE_ERROR               = 7
         RUNNING                   = 8
         SYSTEM_LOCK_ERROR         = 9
         USER_INVALID              = 10
         OTHERS                    = 11
      IF SY-SUBRC <> 0.
        WRITE :/ 'Session not open'.
      ENDIF.
    ENDFORM.                    " FORM_OPENSESSION
    *&      Form  FORM_INSERT
    *       fORM TO INSERT ERROR RECOED INTO A SESSION.
    FORM FORM_INSERT .
    *--Inserting the record into session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE                  = 'FD01'
    *     POST_LOCAL             = NOVBLOCAL
    *     PRINTING               = NOPRINT
    *     SIMUBATCH              = ' '
    *     CTUPARAMS              = ' '
        TABLES
          DYNPROTAB              = IT_CUSTBDC
        EXCEPTIONS
          INTERNAL_ERROR         = 1
          NOT_OPEN               = 2
          QUEUE_ERROR            = 3
          TCODE_INVALID          = 4
          PRINTING_INVALID       = 5
          POSTING_INVALID        = 6
          OTHERS                 = 7
      IF SY-SUBRC <> 0.
        WRITE :/ 'Unable to insert the record'.
      ENDIF.
    ENDFORM.                    " FORM_INSERT
    *&      Form  FORM_CLOSESESS
    *       Form to Close the Open Session.
    FORM FORM_CLOSESESS .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          NOT_OPEN    = 1
          QUEUE_ERROR = 2
          OTHERS      = 3.
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " FORM_CLOSESESS
    *&      Form  FORM_FORMATMSG
    *       Form to format messages.
    FORM FORM_FORMATMSG .
    *--Var to store the formatted msg.
      DATA : LV_MSG(255).
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          ID        = SY-MSGID
          LANG      = SY-LANGU
          NO        = SY-MSGNO
          V1        = SY-MSGV1
          V2        = SY-MSGV2
          V3        = SY-MSGV3
          V4        = SY-MSGV4
        IMPORTING
          MSG       = LV_MSG
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      IF SY-SUBRC = 0.
        WRITE :/ LV_MSG.
      ENDIF.
      ULINE.
    ENDFORM.                    " FORM_FORMATMSG
    *&      Form  form_writeop
    *       To write the totals and the session name.
    FORM FORM_WRITEOP .
      WRITE :/ 'Total Records Uploaded :',V_TLINES,
               / 'No of Error Records :',V_ELINES,
               / 'No of Success Records :',V_SLINES,
               / 'Name of the Session :',V_SESNAM.
      ULINE.
    ENDFORM.                    " form_writeop
    *  if routeindicator is initial.
    *   LOOP AT IT_YMMEE00090.
    *      LV_LENGTH = STRLEN( IT_YMMEE00090-CHANGETYPE ).
    *      IF SY-TABIX = '1'.
    *        IF  IT_YMMEE00090-CHANGETYPE = 'B' AND LV_LENGTH = 1.
    *          ROUTEINDICATOR = 'S'.
    *        ELSEIF IT_YMMEE00090-CHANGETYPE = 'R' AND LV_LENGTH = 1.
    *          ROUTEINDICATOR = 'S'.
    *        ELSEIF IT_YMMEE00090-CHANGETYPE = 'S' AND LV_LENGTH = 1.
    *          ROUTEINDICATOR = 'S'.
    *        ELSEIF IT_YMMEE00090-CHANGETYPE CA 'BRSCD' AND LV_LENGTH GT 1
    *                                          AND LV_LENGTH LE 5.
    *          ROUTEINDICATOR = 'S'.
    *        ENDIF.
    *      ELSE.
    *        IF  IT_YMMEE00090-CHANGETYPE = 'B' AND LV_LENGTH = 1 AND
    *                                         ROUTEINDICATOR = 'S'.
    *          ROUTEINDICATOR = 'S'.
    *        ELSEIF IT_YMMEE00090-CHANGETYPE = 'R' AND LV_LENGTH = 1 AND
    *                                         ROUTEINDICATOR = 'S'.
    *          ROUTEINDICATOR = 'S'.
    *        ELSEIF IT_YMMEE00090-CHANGETYPE = 'S' AND LV_LENGTH = 1 AND
    *                                         ROUTEINDICATOR = 'S'.
    *          ROUTEINDICATOR = 'S'.
    *        ELSEIF IT_YMMEE00090-CHANGETYPE CA 'BRSCD' AND LV_LENGTH GT 1
    *                  AND LV_LENGTH LE 5 AND ROUTEINDICATOR = 'S'.
    *          ROUTEINDICATOR = 'S'.
    *        ENDIF.
    *      ENDIF.
    *  ENDLOOP.
    * endif.

  • Firefox does not close in the normal fashion. I have to go to Task Manager and end the process

    I am operating on a Windows XP OS. I have been a FireFox user for several years. I am using version 3.6.13 Several months ago I noticed that if I closed FireFox I could not open it again. I got a message box stating that FireFox was still running. And, I fact, Task Manager did show that it was still active. I had to end the process there, before I could open FireFox again. It will remain active in the background and the CPU will be maxed out, thus creating problems for other programs. How can I remedy this problem? btw, I have trouble opening IE now.

    https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit

Maybe you are looking for

  • How to fetch Error message

    Hi folks, I am new to c/c++. And i am finding it difficult to figure it out .............. char* APIParser::parseDocument(const char *xmlInput) {           XMLParser parser;           const char *doc;           uword ecode;           doc = xmlInput;

  • Ink system failure HP Officejet 6500 E709n Series

    My printer stopped printing black.  So I put new cartridge in.  still not black printing. I just cleaned the printhead carefully removing lots of black gunk with a Q-tip.  Now I want to try it to see if that helped get my black printing back. I now g

  • I am using elements 10 and only getting audio not video.  Can anyone please explain why? I am a total newbie to video.

    I am using elements 10 and only getting audio not video.  Can anyone please explain why? I am a total newbie to video.

  • Input metering

    I have a question about input metering without software monitoring while recording. I cannot find how to do  in LPX what I did in Logic 9. In Logic 9, I had an input channel with the following plugins: - level meter - limiter I used this input channe

  • Issues importing PNG sequences

    Hey all, Using Flash CS3, I'm having an issue when importing a png sequence to the stage. For some reason, a sequence rendered out of after effects at 1920 x 1080 imports at 5442508.75 x 3061411.15. Anyone know why? I never had this problem in the pr