Leave to list-processing doesn't work

Hi 2 all!
I have a problem with LEAVE TO LIST-PROCESSING. I have developed a module pool (type M) and screen with the screen painter of type Normal. Now I want to go to the report from my screen with LEAVE TO LIST-PROCESSING, but it doesn't work. I am trying to do this when the button is pressed ( at my application status). The operation is performed but then the Init_screen_xxxx module is called again. Highly appreciate your help.

Hi Nata
Yes U can do it.
We go from module pool program to report program and vice-versa.
1.  From report to screen (transaction)
       Call transaction
      Leave to list-processing and return to screen
2.  From screen to list (report)
         we can write a report program for fuction key available in the screen.
          for example.
    case sy-ucomm.
      when 'fctcode'.
       select .......... from tabl   into ..
    write:/.........,
endcase.
reward if useful.

Similar Messages

  • Leave to List processing is not working

    Hi all,
    I am displaying data in separate window using Window stratin at '' ''                                                                               
    ending at '' ''.
    in screen  PBO.
      SUPPRESS DIALOG.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
      PERFORM output.
    everything is working fine.but its not showing the whole output .
    even if i scroll .
    what am i did wrong...?

    Hi,
    Its my bad, i am using
      CALL SCREEN 1000  STARTING AT 01 01
                       ENDING   AT 150 50.
    MODULE status_1000 OUTPUT.
      PERFORM include_exclude_function USING sy-dynnr.
      SET PF-STATUS 'AAA' EXCLUDING fcodes.
      SET TITLEBAR '1000'.
      SUPPRESS DIALOG.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
      PERFORM output.
    ENDMODULE.                 " STATUS_8000  OUTPUT

  • Command leave to list processing

    Dear All,
    I have an executable program (execute via SE38) that need to call an additional screen for input before the actual output on sapscript.
    It is like this, user key in the input into selection screen, then program will extract data and display them into a pop up window. User will further select data from the pop up, and then sapcript will be printed out eventually.
    I'm now stuck at the pop up window. I created a new screen 9000 with screen type "Modal dialog box" and coding as follow:
    Executable program:
    CALL SCREEN 9000 STARTING AT 40 20
                       ENDING   AT 150 50.
    Flow Logic:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9000.
    Coding:
    MODULE STATUS_9000 OUTPUT.
      SUPPRESS DIALOG.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 9000.
      SET PF-STATUS 'STATUS_9000'.
      LOOP AT TAB INTO WA_TAB.
        WRITE:/1 WA_TAB-TYPE.
      ENDLOOP.
    ENDMODULE.                 " STATUS_9000  OUTPUT
    MODULE USER_COMMAND_9000 INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'OK'.
    ********  trigger output to sapscript
        WHEN 'CANCEL'.
          SET SCREEN 0.
          LEAVE SCREEN.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    With the above code, output is successfully displayed on screen 9000 with command "Leave to list-processing". But after the list displayed, those buttons that defined in Status_9000 are not working at all in screen 9000. There is no response from any buttons i clicked, even i tried in debugging mode it didn't go in debugger as well.
    Please comment which part i miss. Thanks.

    Hi,
    I think the problem is with your statement in the PBO module.
    Why not try and delete this part 'AND RETURN TO SCREEN 9000'.  Over here, if you want to use this addition RETURN TO SCREEN, then screen number should be other than your modal list screen. Currently you have changed the modal screen to behave as list, but at the same time, you want it to behave as the normal screen, after you come back from the list.
    If you really need that, then please create another screen, say 9100, and change it to AND RETURN TO SCREEN 9100, instead of AND RETURN TO SCREEN 9000.
    Regards,
    Lim...

  • Leave to list processing

    Hi all,
    i've designed a selection screen in module pool and based on some selction criteria i've to display success and error records.These records should be displayed in the form of list output.
    As i'm using module pool i've used LEAVE TO LIST-PROCESSING for displaying these records.As i've designed selection screen the application tool bars are appearing here on the list and no tool bar icon is functioning even though i've declared them in PF STATUS.
    Now when i double click on list it has to take me to some t-code say SM35.Where should i write this AT LINE-SELECTION event?
    ...Regards

    Hai,,
               You keep the AT-LINE SELECTION in the last only...
    For Leave To List Processing ,you will try the following ..
       IF SY-UCOMM = 'Your Fn_Code'.
           LEAVE SCREEN.
           LEAVE TO LIST-PROCESSING.
        SELECT * FROM ZTable INTO TABLE ITAB.
              LOOP AT ITAB.
          WRITE:/ ITAB-ITEMNO.
         ENDLOOP.   
      ENDIF.
    Try this ..it will be useful to you..I hope..
    reward points if it's useful..
    Regards,
    Manoj.

  • Shared distribution list CCMS_OnAlert_Email_V2 doesn't work

    Hi,
    My name is Raul Aguilar. I'm working at GRUPOTEC which is a VAR SAP. As a VAR SAP we work with a huge number of customers.I'm using Solution Manager in he Stack 17.
    The CCMS Alert Monitoring scenario is working and the authomatic email
    notification to one person is working too,  but now I need to send the
    alert more than one person. SAP Note 176492 types that I have to create
    a shared  distribution list with the email addresses I want to send the
    alert.
    "Example 3: (VALID TO DISTRIBUTION LIST)
    Parameter name Parameter value
    1. SENDER <ADMINUSER> (in client 000)
    2. RECIPIENTDistributionListIn000
    3. RECIPIENT-TYPEID C
    4. TIME_ZONE<Time zone> (optional)
    where DistributionListIn000 is a shared distribution list in client 000
    (important: The SAPSYS can only find the distribute list here) which, in
    turn, can contain any number of 'remote address' entries."
    I'm using a copy of the method CCMS_OnAlert_Email_V2
    (ZCCMS_OnAlert_Email_V2). SCOT transaction is configured at  working
    client (010) and also at client 000.
    I use RECIPIENT-TYPEID "C" as mentioned at SAP Note and at the following
    help.sap.com link:  http://help.sap.com/saphelp_46c/helpdata/es/6c/69c175418d11d1896e0000e8322d00/frameset.htm
    At the tab parameters:     
         Parameter Name         Parameter value
    1.   SENDER                 ADMIN
    2.   RECIPIENT              TESTGRUPOTEC
    3.   RECIPIENT-TYPEID       C
    4.   REACT_ON_ALERTS        RED
    5.   SUBJECT_ALERT          Alert in GRP
    6.   SUBJECT_ALERT_CONT
    TESTGRUPOTEC is a distribution list defined at 000 client.
    Please, remember that if we use only an email address it works, but if
    we try to use a distribution list it  doesn't work.
    Please, Could you help me?
    Thanks and regards,
    Raul
    Edited by: Raul Aguilar on May 13, 2009 1:34 PM

    Hi Bhudev,
    Thanks your fast reply.
    I checked manually send message to distribution list and it works. This distribution list contains only internet address.
    Please could you help me?
    Regards.
    Raul

  • Problem with leave to list-processing and return to screen

    Hi all,
    I am designing a screen in which I have provided a pushbutton which will allow the user to upload (via BDC) the price list to VK11 transaction. And consequently, after upload the BDC message will be captured and displayed as an ALV list. for this, I am using leave to list-processing and return to screen 100 statement.
    My problem is, when I return from the alv list screen by pressing back/any button the called screen 100 is displayed as a dialog window. but actually the screen 100 is a normal screen.
    How can I rectify this problem?
    Thanks,
    Rajan

    rajan,
    i think the below link will clear your problem.
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9d2f35c111d1829f0000e829fbfe/frameset.htm]
    Regards,
    Venkat

  • Leave to list processing and retun to scren 100

    Once output is generated in the list i want back to main screen .
    How i will prceed
    regards
    jithen

    This will end up current calling sequence (will proceed after CALL SCREEN XXX statement). So if no other CALLs were found the program will be finished, or will go back in selection screen.
    LEAVE to LIST-PROCESSING and RETURN TO SCREEN 0. 
    This will go back to screen XXX, if main screen is 200.
    LEAVE to LIST-PROCESSING and RETURN TO SCREEN 200.  "when you choose BACK, screen 200 will be called (main screen)
    Regards
    Marcin

  • Outlook 2007 - Automatic processing doesn't work unless logged in

    Hi guys,
    I'm working with an equipment mailbox in an Exchange 2007 / Office 2007 and am having some difficulty getting it to work properly.
    Basically, I've set the equipment mailbox up appropriately and have checked all three of the 'Resource Scheduling' tasks to automatically accept meeting requests and process cancellations as well as to decline conflicting and recurring meeting requests
    As long as I am logged in 'as' the user account of the equipment mailbox (for example, 'PipetteBalance') meeting requests are processed automatically from my own account (and other users)
    However, as soon as I log out of the PipetteBalance account the automation halts until I log back in to it again (and thus connect to Exchange via Outlook)
    I've disabled cached exchange mode and have forced the 'AutoAccept' powershell cmdlet against the mailbox to no avail
    Even adding the mailbox as a shared mailbox doesn't work. I have to log in as the account directly and have an 'active' connection with Exchange for the automation to work
    This is the full list of properties set against the equipment mailbox:
    AutomateProcessing : AutoUpdate
    AllowConflicts : False
    BookingWindowInDays : 180
    MaximumDurationInMinutes : 1440
    AllowRecurringMeetings : True
    EnforceSchedulingHorizon : True
    ScheduleOnlyDuringWorkHours : False
    ConflictPercentageAllowed : 0
    MaximumConflictInstances : 0
    ForwardRequestsToDelegates : True
    DeleteAttachments : True
    DeleteComments : True
    RemovePrivateProperty : True
    DeleteSubject : True
    DisableReminders : True
    AddOrganizerToSubject : True
    DeleteNonCalendarItems : True
    TentativePendingApproval : True
    EnableResponseDetails : True
    OrganizerInfo : True
    ResourceDelegates : {}
    RequestOutOfPolicy : 
    AllRequestOutOfPolicy : False
    BookInPolicy : 
    AllBookInPolicy : True
    RequestInPolicy : 
    AllRequestInPolicy : False
    AddAdditionalResponse : False
    AdditionalResponse : 
    RemoveOldMeetingMessages : True
    AddNewRequestsTentatively : True
    ProcessExternalMeetingMessages : False
    DefaultReminderTime : 15
    RemoveForwardedMeetingNotifications : False
    Is there something I may have overlooked or not set up properly?
    Thanks,
    Adam

    Hi,
    Please try to use Windows Search to search for words or phrases that you expect to find in email messages. In this way, we can determine if Outlook data is being indexed.
    If no results were returned, please try to search other files (not Outlook emails) with Windows Search to check if the Windows search feature is broken. If so, we can try to reinstall the Windows search feature to check if it helps. To do this, please follow:
    1. Go to Control Panel > Programs > Turn Windows features on or off.
    2. Untick "Windows Search".
    3. Press OK and wait until the installer is finished.
    4. Reboot your computer.
    5. Repeat steps 1-3 to enable it again.
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Page level process doesn't works for tabular form.....

    I am developing an application on inventory of an chemical factory.......
    I have an master-detail form where detail table is in tabular form.......
    I have an LOCATION1 AND QUANTITY1 COLUMN in detail table..........
    I have location say...LT01A02 AND limit of each location to hold an quantity is .....say 1000.
    I wrote an process for these but it doesn't work.......
    declare
    x NUMBER(6);
    z number(6);
    begin
    selecT NVL(SUM(QUANTITY1),0) INTO x from RM_LOCATION1 where LOCATION1 = :P3_LOCATION1;
    z := x;
    if :P3_LOCATION1 LIKE'%1)' or :P3_LOCATION1 LIKE'%2)' then
    if z > 1200 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 1ST OR 2ND PALLETE ,WHICH CAN HAVE MAXIMUM 1200KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%3)' or :P3_LOCATION1 LIKE'%4)' then
    if z > 800 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 3RD OR 4TH PALLETE ,WHICH CAN HAVE MAXIMUM 800KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%5)' or :P3_LOCATION1 LIKE'%6)' then
    if z > 750 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 5TH OR 6TH PALLETE ,WHICH CAN HAVE MAXIMUM 750KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%7)' or :P3_LOCATION1 LIKE'%8)' OR :P3_LOCATION1 LIKE'%9)' or :P3_LOCATION1 LIKE'%10)' OR :P3_LOCATION1 LIKE'%11)' or :P3_LOCATION1 LIKE'%12)' then
    if z > 600 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 7TH OR 8TH OR HIGHER PALLETE ,WHICH CAN HAVE MAXIMUM 600KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    end if;
    end;
    I HAVE SEEN THAT APEX DOESN'T PICKS VALUE CALLED... _:P3_LOCATION1_*
    NOW WHAT TO DO ,CAN ANY ONE HELP ME....HOW TO RUN THESE PROCESS......

    Hi User XY,
    tabular forms do not have Page Items. The values you entered in the tabular form are stored in arrays like APEX_APPLICATION.g_f01 to g_f50.
    Here are some links you might find helpful: http://www.talkapex.com/2008/07/manually-creating-tabular-form.html
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/apex_app.htm#CHDICJDA
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Update process doesn't work

    Hello all,
    I created the following PLSQL Trigger but it doesn't work as it should.
    If there is a change in the colomn "stunden" in table cn_pl_std_peplanung, the trigger should write the attributes (pl_id, l_art_id, pe_id, idee_id, abt_id, version_id) from cn_pl_std_peplanung into the table cn_pl_aenderungen.
    The problem is that this trigger doesn't just write the row where attribute "stunden" was changed into cn_pl_aenderungen, it writes all rows into cn_pl_aenderungen where the attributes (pl_id, l_art_id, pe_id, idee_id, abt_id, version_id) are matched. I just need the row where attribute "stunden" was changed. cn_pl_aenderungen is a table to log the changes made on cn_pl_peplanung.
    I hope you understood the problem... :-)
    create or replace trigger "CN_PL_STD_PEPLANUNG_T1"
    AFTER
    insert or update on "CN_PL_STD_PEPLANUNG"
    for each row
    DECLARE
    pragma autonomous_transaction;
    cursor c_peplanung(in_stunden number)
       is select pl_id, l_art_id, pe_id, idee_id, abt_id, version_id, stunden FROM cn_pl_std_peplanung
       WHERE stunden = in_stunden;
    rec_plan c_peplanung%rowtype;
    BEGIN
    OPEN c_peplanung (:old.stunden);
    LOOP
    FETCH c_peplanung INTO rec_plan;
    exit when c_peplanung%NOTFOUND OR c_peplanung%NOTFOUNd is Null;
    IF rec_plan.stunden != :new.stunden THEN
    INSERT INTO CN_PL_AENDERUNGEN (l_art_id, pe_id, idee_id, version_id, benutzer, datum)
    VALUES
    (rec_plan.l_art_id, rec_plan.pe_id, rec_plan.idee_id, rec_plan.version_id, v('APP_USER'), sysdate);
    COMMIT;
    END IF;
    END LOOP;
    CLOSE c_peplanung;
    END;

    All you need is just this
    CREATE OR REPLACE TRIGGER CN_PL_STD_PEPLANUNG_T1 AFTER INSERT OR UPDATE ON CN_PL_STD_PEPLANUNG FOR EACH ROW
    BEGIN
         IF :NEW.student != :OLD.student
         THEN
              INSERT INTO CN_PL_AENDERUNGEN (l_art_id, pe_id, idee_id, version_id, benutzer, datum)
                   VALUES (:NEW.l_art_id, :NEW.pe_id, :NEW.idee_id, :NEW.version_id, v('APP_USER'), sysdate);
         END IF;
    END;Don't use ATONOMOUS_TRANSACTION. You dont want to log if nothing happens to the Main table right? Think what happens if the main transaction rolls back.
    Note: Code not tested.

  • On load process doesn't work

    I have translated my application. The process that are On load before header doesn't execute. My application is translated from fr-ca to en-us.
    Any idea ?

    My process is a PL/SQL process with firing point : On load : Before Header.
    Here is the process :
    --Procédure permettant de copier le contenu de la table ass_groupe_usager dans la table de travail copy_travail où le PEIN correspond au PEIN sélectionné.
    --Dernière modification : 27 mars 2006
    for curseur IN (select asso_groupe_usager.CODE_GROUPE, asso_groupe_usager.PEIN from asso_groupe_usager where PEIN = :TB_PEIN_2) LOOP
    insert into COPY_TRAVAIL(CODE_GROUPE, PEIN, PEIN_CREATION)
    VALUES(curseur.CODE_GROUPE, curseur.PEIN, :USAGER_ACTIF);
    END LOOP;
    commit;
    I do not have conditions, build option or authorization scheme.
    This process only fill a work table.
    I can not put it on the web.. sorry..
    Chantale

  • Istat Pro "Processes" doesn't work since upgrade to OS X 10.8.2

    Ever since I upgraded the OS to 10.8, the istat Pro widget on the dashboard doesn't list anything but a stack of empty white squares under "Processes". Is this a known bug?

    Thanks CT! Here are the steps from the macrumors.com link:
    Steps:
    1. Locate your widget, it will be under /Library/Widgets or ~/Library/Widgets
    2. Right click it and select: "Show Package Contents"
    3. Open Wide.js or Tall.js file in some editor (Wide is for horizontal view, Tall for vertical)
    4. Locate the line
    Quote: 
    WideSkinController.prototype.updateProcesses = function(){
    var _self = this;
    var exclude = "";
    if(p.v("processes_excludewidgets") == 'on')
    exclude = " grep -v DashboardClient | "; if(p.v("processes_sort_mode") == 'cpu')
    widget.system('ps -arcwwwxo "pid %cpu command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print "<pid>"$1"</pid><cpu>"$2"</cpu><name>"$3,$4,$5"</name></item>"}\'', function(data){ _self.updateProcessesOut(data);});
    else
    widget.system('ps -amcwwwxo "pid rss command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print "<pid>"$1"</pid><cpu>"$2"</cpu><name>"$3,$4,$5"</name></item>"}\'', function(data){ _self.updateProcessesOut(data);});
    Change "PID|$1" to "PID| $1" (Add space before $ sign)
    5. Save the changes
    6. remove widget and re-add it Dashboard, and it should be fixed

  • Std::list::sort() doesn't work with custom class

    The following example doesn't order a list the way I'd expect. Is this being done wrong? Sun Studio 12 (not update 1). Current patches as of Monday.
    #include <list>
    class CMyClass
    public:
    CMyClass(long a) : m_Sec(a) { }
    bool operator<(const CMyClass* rhs)
    return (m_Sec < rhs->m_Sec);
    long m_Sec;
    typedef std::list<CMyClass*> TLogList;
    int
    main(int argc, char* argv[])
    TLogList logList;
    CMyClass* name = new CMyClass(0x4A833E79);
    logList.push_back(name);
    name = new CMyClass(0x4A85E144);
    logList.push_back(name);
    name = new CMyClass(0x4A85E66F);
    logList.push_back(name);
    name = new CMyClass(0x4A85E66F);
    logList.push_back(name);
    name = new CMyClass(0x4A85B2C2);
    logList.push_back(name);
    name = new CMyClass(0x4A85D6EF);
    logList.push_back(name);
    name = new CMyClass(0x4A69F9AD);
    logList.push_back(name);
    name = new CMyClass(0x4A85DC92);
    logList.push_back(name);
    name = new CMyClass(0x4A817316);
    logList.push_back(name);
    name = new CMyClass(0x4A85DEEB);
    logList.push_back(name);
    name = new CMyClass(0x4A846329);
    logList.push_back(name);
    name = new CMyClass(0x4A85E39D);
    logList.push_back(name);
    name = new CMyClass(0x4A85D41D);
    logList.push_back(name);
    name = new CMyClass(0x4A89CC17);
    logList.push_back(name);
    name = new CMyClass(0x4A85DC19);
    logList.push_back(name);
    logList.sort();
    TLogList::iterator logListIter = logList.begin();
    TLogList::iterator logListEnd = logList.end();
    for (; logListIter != logListEnd; ++logListIter)
    CMyClass* name = *logListIter;
    cout << hex << name->m_Sec << endl;
    return 0;
    which produces
    4a833e79
    4a85e144
    4a85e66f
    4a85e66f
    4a85b2c2
    4a85d6ef
    4a69f9ad
    4a85dc92
    4a817316
    4a85deeb
    4a846329
    4a85e39d
    4a85d41d
    4a89cc17
    4a85dc19

    The program as you wrote it will sort the contents of the list. The list consists of the addresses of CMyClass objects, and after sorting, will contain those addresses in sorted order.
    If you want to sort by the contents of the classes that are pointed to, you need to provide a comparison operator that compares the contents, and use the other form of the list::sort function that takes a comparison function as an argument. That is, add the function
    bool comp(const CMyClass* l, const CMyClass* r)
       return l->m_Sec < r->m_Sec;
    }and change
    logList.sort(); to
    logList.sort(comp); This version of list::sort will not compile using the default libCstd, because it requires member templates in the library implementation. For more information about this limitation, refer to the C++ FAQ section on library compatibility.
    [http://developers.sun.com/sunstudio/documentation/ss12u1/mr/READMEs/c++_faq.html#LibComp]
    The revised code will compile with the optional STLport library, or with other 3rd-party libraries like Apache stdcxx. To use STLport, add the option -library=stlport4 to every CC command, compiling and linking. You cannot mix code compiled for the default libCstd with STLport code in the same program.

  • Options-content- exceptions is NOT working. I put a website on exception list but doesn't work

    I go to : Tools, options, content. it has on top: Load images automatically . it has a button: exceptions. I enter a web site there so it will NOT load images automatically- does NOT work.
    OR I un-click the load images automatically which makes ALL websites not load images. I then go to exceptions and put a website so it WILL load images from that specific web site - does NOT work.
    When I put the website in exceptions it goes/gets saved to the list of exceptions- but firefox ignores it and does not make an exception for that website. (Also mostly after sometime that I close firefox the list would get cleared by itself)

    You need to make an exception for the server that stores the images. Some websites store their images on a separate server for load balancing or other reasons. You can check the images in Tools > Page Info > Media to see which sites you need to unlock.

  • BPM Studio 11g: New Process doesn't work

    Hi,
    Just downloaded JDeveloper 11.1.1.3 and extension "Oracle BPM Studio 11g".
    I created a BPM application, a BPM project and in this project a try to make a new Process, but after new > BPM Tier > Process, nothing happens.
    Am I missing something?
    Thanks,
    HJH

    After installing the extension "Oracle SOA Composite Editor" extension it works...
    I can create processes now.
    Groeten,
    HJH

Maybe you are looking for