Calling list from Screen

I am new in the field of SAP ABAP. So please tell me how to "call list from screen 100". please give small prg. for this

see below
This section describes how to switch from screen processing to list processing. It contains a short technical introduction, followed by a recommended procedure.
Switching Between Screen and List Processing
Screen processing always involves a screen sequence that you start either using CALL SCREEN or a transaction code. During screen processing, the ABAP program is controlled by the dialog processor. In the ABAP program, the PBO and PAI modules are executed as they are called from the screen flow logic.
To pass control from the dialog processor to the list processor, you must include the following statement in one of the dialog modules:
LEAVE TO LIST-PROCESSING [AND RETURN TO SCREEN <nnnn>].
You can include this statement in either the PBO or the PAI event. Its effect is to start the list processor and display the basic list after the PAI processing of the current screen. The basic list contains any list output from all PBO and PAI modules that have been executed up to that point.
If detail lists are defined in the corresponding event blocks of the ABAP program (AT LINE-SELECTION, AT USER-COMMAND), user actions on the basic list will lead to the detail list, and further interaction will lead to further list levels.
You can leave list processing in two ways:
By leaving the basic list using the Back, Exit, or Cancel function.
By using the following statement during list processing:
LEAVE LIST-PROCESSING.
In both cases, control returns from the list processor to the dialog processor. Each time this occurs, the entire list system is initialized. Any subsequent list output statements in PBO and PAI modules apply to an empty basic list.
By default, the dialog processor returns to the PBO processing of the screen from which the list processor was called. The optional addition AND RETURN TO SCREEN allows you to specify a different screen in the current screen sequence at whose PBO event you want to resume processing. In particular, the statement
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
can be used to end the current screen sequence and return to the point from which it had originally been called.

Similar Messages

  • Call list from Campaign

    How can you create call list from Campaign for a selected target group ? Can anyone help me in this.

    Hi ,
    To generate a call list from the campaign all you need to do is to create your campign and then choose the send target group to channel option the call list will get generated. Please refer the campaign execution link for detials
    http://help.sap.com/saphelp_crm50/helpdata/en/4e/ac6f422f91c153e10000000a1550b0/frameset.htm
    Regards,
    Anita

  • Calling PCUI call list mgt screen from ICWC

    Hi,
    My business requirement is to have visibility on the status of the call lists in ICWC. 
    This cannot be done using standard ICWC screens, so I'm looking to PCUI application CRMD_CLMANAGEMENT to get it done.
    So I created the transaction launcher class with the wizard.  As transaction parameter I enetered the call list ID.  The purpose is to have the selected call list opened when the PCUI screen is opened. 
    However, seem to be facing issues passing over the correct parameters.
    When I select a call list and open the PCUI tx, I get the message:  Execution not possible; data flow errors
    When I select a bp and open the PCUI tx, the screen opens but there is no call list selected - you can't even search for it.  The only possible feature is the ability to (start to) create a call list.  (but PCUI could not complete this action either).
    My questions are as follows:
    what parameters do I need to pass over to CRMD_CLMANAGEMENT in PCUI?
    How do I pass over these parameters?  Can it be done via the wizard or do I need to do it via additional programming?
    How can I get the search function working on the PCUI screen?
    Best regards,
    Carl

    Hi Thirumala,
    Thx for you input, but this does not really tackle the problem.  The suggested line of coding only helps if you don't need to pass any compulsory parameters to the PCUI application.
    I want the PCUI application to open the call list that was selected in ICWC, or at least a list of call lists that are active for the user.  The goal is the end user being able to have some kind of call list mgt transaction.
    Best regards,
    Carl

  • How to call list from memory after submitting RCS13001

    Can anyone help me with this problem? I am submitting RCS13001 and using option exporting list to memory and return. It was successfully displayed the ALV list (which I don't want to see) and return to the caller program. Then when calling function list_from_memory, it short dumped/returned nothing. It seems that nothing is saved in the memory when submitting the program.
    So what I want to get now is call RCS13001 and process the data, don't display the ALV report but save it in memory, and then collect the memory for output.
    Any help is appreciated and points awarded. Thanks in advance
    Regards,
    Eric
    Code:
            SUBMIT ZRCS13001
              WITH PM_MTNRV INCL v_matnr
              WITH PM_WERKS INCL p_werks
              WITH PM_STLAL INCL p_stlal
              WITH PM_CAPID INCL p_capid
              WITH PM_DATUV INCL p_datuv
              WITH PM_EMENG INCL v_emeng
              EXPORTING LIST TO MEMORY
              AND RETURN.
        CALL FUNCTION 'LIST_FROM_MEMORY'
          TABLES
            LISTOBJECT       = alv_stb
        EXCEPTIONS
          NOT_FOUND        = 1
          OTHERS           = 2

    Hi Eric,
    Please check Rich's sample code.
    report zrich_0003 .
    data: begin of listout occurs 0,
          line(1024) type c,
          end of listout.
    * Submit the report and export list to memory
    submit z_your_report exporting list to memory
                and return.
    * Get list from memory and convert to ascii
    perform retrieve_list_from_memory tables listout.
    loop at listout.
      write:/ listout.
    endloop.
    * RETRIEVE_LIST_FROM_MEMORY
    form retrieve_list_from_memory tables reportlines.
      data: list like abaplist occurs 0 with header line.
      data: txtlines(1024) type c occurs 0 with header line.
      clear list.  refresh list.
      clear reportlines. refresh reportlines.
      call function 'LIST_FROM_MEMORY'
           tables
                listobject = list
           exceptions
                not_found  = 1
                others     = 2.
      check sy-subrc = 0.
      call function 'LIST_TO_ASCI'
           tables
                listobject         = list
                listasci           = txtlines
           exceptions
                empty_list         = 1
                list_index_invalid = 2
                others             = 3.
      check sy-subrc = 0.
      reportlines[] = txtlines[].
      call function 'LIST_FREE_MEMORY'.
    endform.
    Also please check this link for more sample codes.
    http://www.sapdevelopment.co.uk/reporting/rep_submit.htm
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Call alv from screen painter

    hello all expert,
    i have requirement display alv report in screen painter. select options and report display on same screen.
    iam taking custom control for display alv report .but when i click on button alv not displayed in custom control.
    plz help me anyone /
    there is no hurry.
    Thanks in advance,
       sandeep.
    Edited by: Thomas Zloch on Jan 22, 2011 1:00 PM - urgency reduced

    Thanks for reply ,
    now i write my code in  pbo and pbi event but report not displayed yet.
    now this is the code.
    *& Report  ZTEST_SCREEN1                                               *
    REPORT  ZTEST_SCREEN1                           .
    DATA :
      gr_EBELN TYPE RANGE OF EKKO-EBELN,
      grs_EBELN LIKE LINE OF gr_EBELN.
    DATA:
      gs_fieldcatalog TYPE lvc_s_fcat OCCURS 0,
      gv_fcat LIKE LINE OF gs_fieldcatalog,
      gs_layout TYPE lvc_s_layo.
    TYPES :
      BEGIN OF gty_item,
        mandt LIKE EKKO-mandt,
        EBELN LIKE EKKO-EBELN,
        lifnr LIKE EKKO-lifnr,
        matnr LIKE EKPO-matnr,
       desc_text LIKE zEKPO-desc_text,
      END OF gty_item,
      BEGIN OF gty_EKKO,
        mandt LIKE EKKO-mandt,
        EBELN LIKE EKKO-EBELN,
        lifnr LIKE EKKO-lifnr,
      END OF gty_EKKO,
      BEGIN OF gty_EKPO,
        EBELN LIKE EKPO-EBELN,
        matnr LIKE EKPO-matnr,
      END OF gty_EKPO.
    DATA :
      gs_item TYPE gty_item,
      gt_item TYPE TABLE OF gty_item.
    DATA :
      gs_EKKO TYPE gty_EKKO,
      gt_EKKO TYPE TABLE OF gty_EKKO,
      gs_EKPO TYPE gty_EKPO,
      gt_EKPO TYPE TABLE OF gty_EKPO.
    DATA :
      g_Container TYPE scrfname VALUE 'CC_CONTAINER_GRID',
      g_Custom_Container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
      g_Grid TYPE REF TO CL_GUI_ALV_GRID.
    DATA :
      OK_CODE LIKE sy-ucomm,
      SAVE_OK LIKE sy-ucomm.
    START-OF-SELECTION.
    call screen 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'MAIN'.
      SET TITLEBAR 'TITLE'.
      IF g_Custom_Container IS INITIAL.
    "Create CONTAINER object with reference to container name in the screen
        CREATE OBJECT g_Custom_Container EXPORTING CONTAINER_NAME =
        g_Container.
        " Create GRID object with reference to parent name
        CREATE OBJECT g_Grid EXPORTING I_PARENT = g_Custom_Container.
        PERFORM u_prepare_fieldcatalog.
        gs_layout-ZEBRA = 'X'.
        "gs_layout-edit = 'X'. " Makes all Grid editable
        " SET_TABLE_FOR_FIRST_DISPLAY
        CALL METHOD g_Grid->SET_TABLE_FOR_FIRST_DISPLAY
          EXPORTING
            is_layout = gs_layout
          CHANGING
            it_fieldcatalog = gs_fieldcatalog
            IT_OUTTAB = gt_item. " Data
      ELSE.
        CALL METHOD g_Grid->REFRESH_TABLE_DISPLAY.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK_CODE.
        WHEN 'EXIT' OR 'BACK' OR 'CNCL'.
          LEAVE PROGRAM.
        WHEN 'LIST'.
          PERFORM u_filter_EKKO.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  u_filter_EKKO
          text
    -->  p1        text
    <--  p2        text
    FORM u_filter_EKKO .
         REFRESH gt_EKKO.
      Define Range Criteria
      grs_EBELN-SIGN   = 'I'.
      grs_EBELN-OPTION = 'EQ'.
    grs_EBELN-low    = '6000000004'.
    grs_EBELN-high   = ekko-ebeln.
      APPEND grs_EBELN to gr_EBELN.
    CHECK gr_EBELN[] IS NOT INITIAL.
      SELECT mandt EBELN kunnr
        FROM EKKO INTO TABLE gt_EKKO
        WHERE EBELN IN gr_EBELN.
      CHECK gt_EKKO[] IS NOT INITIAL.
      SELECT EBELN matnr
        FROM EKPO INTO TABLE gt_EKPO
        FOR ALL ENTRIES IN gt_EKKO
        WHERE EBELN EQ gt_EKKO-EBELN.
      IF gt_EKKO[] IS NOT INITIAL.
        LOOP AT gt_EKPO INTO gs_EKPO.
          READ TABLE gt_EKKO INTO gs_EKKO WITH KEY EBELN = gs_EKPO-EBELN.
          gs_item-mandt = gs_EKKO-mandt.
          gs_item-EBELN = gs_EKKO-EBELN.
          APPEND gs_item TO gt_item.
          CLEAR gs_item.
          CLEAR gs_EKKO.
          CLEAR gs_EKPO.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " u_filter_EKKO
    FORM U_PREPARE_FIELDCATALOG .
      CLEAR gv_fcat.
      gv_fcat-fieldname = 'MANDT'.
      gv_fcat-tabname = 'EKPO'.
      gv_fcat-col_pos = 0.
      gv_fcat-coltext = 'MANDT'.
      gv_fcat-no_out = 'X'. " Do not Display Column
      INSERT gv_fcat INTO TABLE gs_fieldcatalog.
      CLEAR gv_fcat.
      gv_fcat-fieldname = 'EBELN'.
      gv_fcat-tabname = 'EKPO'.
      gv_fcat-col_pos = 1.
      gv_fcat-coltext = 'EBELN'.
      INSERT gv_fcat INTO TABLE gs_fieldcatalog.
      CLEAR gv_fcat.
      gv_fcat-fieldname = 'ERDAT'.
      gv_fcat-tabname = 'EKPO'.
      gv_fcat-col_pos = 2.
      gv_fcat-coltext = 'ERDAT'.
      INSERT gv_fcat INTO TABLE gs_fieldcatalog.
      CLEAR gv_fcat.
      gv_fcat-fieldname = 'KUNNR'.
      gv_fcat-tabname = 'EKPO'.
      gv_fcat-col_pos = 3.
      gv_fcat-coltext = 'KUNNR'.
      INSERT gv_fcat INTO TABLE gs_fieldcatalog.
      CLEAR gv_fcat.
      gv_fcat-fieldname = 'MATNR'.
      gv_fcat-tabname = 'EKPO'.
      gv_fcat-col_pos = 5.
      gv_fcat-coltext = 'MATNR'.
      INSERT gv_fcat INTO TABLE gs_fieldcatalog.
    ENDFORM. " U_PREPARE_FIELDCATALOG

  • Calling List from MIDlet

    Hello all,
    i have been working on this code and not able to find the solution................
    i am trying to call a list class from a MIDlet........however it gives me an error........i have highlighted only the error, i got and the line too...........
    MIDLET
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class ME extends MIDlet {
    public void startApp() {
    Display display=Display.getDisplay(this);
    display.setCurrent(new Listing(this));
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    LIST
    import javax.microedition.lcdui.Alert;
    import javax.microedition.lcdui.AlertType;
    import javax.microedition.lcdui.Display;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.List;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * @author Hitesh
    public class Listing extends List implements CommandListener{
    private Display display;
    private List list = new List("Menu:", List.IMPLICIT);
    private Command exit = new Command("Exit", Command.EXIT, 1);
    Alert alert;
    MEmidlet;
    public Listing(ME midlet) {
    super(true); ////////////////////////////////////////////// I'm getting the error here.......saying "Cannot find symbol"
    this.midlet=midlet;
    list.append("New", null);
    list.append("Open", null);
    list.addCommand(exit);
    list.setCommandListener(this);
    throw new UnsupportedOperationException("Not yet implemented");
    public void commandAction(Command c, Displayable d) {
    if (c == List.SELECT_COMMAND) {
    String selection = list.getString(list.getSelectedIndex());
    alert = new Alert("Option Selected", selection, null, null);
    alert.setTimeout(Alert.FOREVER);
    alert.setType(AlertType.INFO);
    display.setCurrent(alert);
    else if (c == exit)
    midlet.notifyDestroyed();
    waiting for response......................................

    ...i gave others as a parameter like.....object and string .....but none worked......I see. You were trying blind shoots. "Try object, try string, try boolean..."
    Blind shoots are good strategy. I use it myself and it often works.
    But sometimes, this way just stucks. My favorite way to get out in that case is to change blind shoots to another strategy, known as RTFM.
    what should be the parameter to pass on here???If you re-read my previous reply, you'll find that words List API make a clickable link.
    - If you click this link, it will bring you to documentation page.
    -- If you read this documentation, you can find a section called Constructor Summary.
    --- If you read this section, you'll see that two words List make clickable links.
    ---- If you click these links, they will bring you to detailed descriptions on what parameters you can pass on here.
    Hope this helps. {color:lightgray} // And if it doesn't, then maybe programming is just not for you? {color}

  • Call transaction from screen

    Hi experts,
    I have a screen where I can call another transaction. My problem is if I call another transaction, how can I know what was the previos program. So I need to pass the program name with call transaction somehow.
    I did'nt find the relevant information in syst.

    Hi
    Try like this
    call transaction         <t-code>
              using     (bdc table)
              mode     (display mode)
              update ( update mode)
              messages into message itab.
    The  bdc table must be declared like bdcdata
    The (display mode) determines how the transaction will be processed:    u2018Au2019 (display all), u2018Eu2019 (display errors only), or u2018Nu2019 (no display)
    The (update mode) :  u2018Su2019 (synchronous) or A (asynchronous).
    Regards
    ABG.

  • How to set custom page heading in List when called  from Screen

    Hi All,
    I have a requirement in which i have to call a list from screen. On the list i have to display data on from screen. The data width is 200(around 15 columns).
    In the screen's PBO i have used the below code to navigate to list:
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
      SET PF-STATUS space.
      SUPPRESS DIALOG.
    But, here how can i set the custom LINE-SIZE and LINE-COUNT.
    Please do reply  with an example.
    Thanks in advance,
    Sumesh

    Hi,
    Use the below code.
      data : lo_column_setting type ref to if_salv_wd_column_settings,
             LO_COLUMN TYPE REF TO CL_SALV_WD_COLUMN,
              LO_HEADER TYPE ref to cl_salv_wd_column_header.
    lo_column = lo_column_setting->get_column( 'USERID' ).
      CALL METHOD lo_column->CREATE_HEADER
      RECEIVING
        VALUE  = LO_HEADER.
      CALL METHOD LO_HEADER->SET_TEXT
      EXPORTING
        VALUE  = 'User Id'.
    Regards,
    Priya

  • I accidently cleared my phone call list.  I need numbers from it.  Please help

    I accidently cleared my call list from my iphone 4.   How can I recover cleared call list.

    If you have a recent backup that contains those numbers, you will need to restore your phone from that backup.  Otherwise, you cannot recover those numbers.

  • Campaing management channel telephony automatic call list

    Dear Gururs,
    On my current project we have integrated SAP CRM 2007 ICI with Genesys.
    From the campaign management we are using the channel "Telephony" and a call list is generated. This call list is syncronized with Genesys and in Genesys we are using the Predictive Outbound to call customers.
    When the current call is assigned from Genesys to an agent in IC WebClient I'm receiving the call list id in CAD (as SAP_CALL_ID). This ID is not used by the Interaction Center to identify the call list (I need it because I have a script assigned to the call list from the campaign).
    Do I miss some configuration ?
    Thanks a lot,
    Valentin

    Hi,
    I had a different thread were I have found the solution and the correct understanding for this functionality.
    [You can access it here ...|CRM 2007 - Automated call lists;
    BR,
    Valentin

  • How to enhance call list to show entire list

    Hi
    In SAP standard, only calls witihin the maintained calling hours are displayed in web-ui.
    For example: If the call list is generated for all customers to be called on tuesday, then customer A will show up 9AM if the calling hours are maintained beteween 9AM-11AM.
    We would like to enhance this functionlity to show the entire call list from the beginning.
    Does someone has experience of this and know how to do that?
    BR
    Johan

    Hi,
    In component/view CRMCMP_CLM/ClmCallListDetails you must change DO_PREPARE_OUTPUT method.
    from
    lr_Calls = lr_Call_List->get_Related_Entities( iv_Relation_Name = CL_CRM_APPL_INTLAY_CL=>Co_Rn_Active_Calls iv_Mode = CL_CRM_BOL_ENTITY=>BYPASSING_BUFFER ).
    to
    lr_Calls = lr_Call_List->get_Related_Entities( iv_Relation_Name = 'Calls' iv_Mode = CL_CRM_BOL_ENTITY=>BYPASSING_BUFFER ).
    Hope this helps!
    Best regards,
    Caíque Escaler

  • Call Lists In IC-Web

    Hi All,
    In CRM_IC , when click on Call Lists on the navigation bar and select the Call from the Call list and go to Identify Account, I dont see the Contact Partners associated with the selected Call.
    Can any one help me in displaying the contact partners associated with the call?
    Thanks in Advance.
    Krish

    Thanks for your suggestion.
    Our scenario: We create call list from Campaign not through BP call time. However, when i select call from call list and go to identify account, I only see my Sold-Party (Account). I dont see any of the associated Contact Person with that Account in the <i>Result List</i>. But if i try to search for an account in the Identify account, I can see all the assoiciated contact persons. I was wondering, is there any work around to display the contact person information in the identify account tab when we select a Call from Call list?
    I appreciate your time and guidance.
    Thanks,
    Krish

  • National do-not-call-list with UCCX

    Hi,
    Is it possible to program the UCCX to block automatically number appears in a "do not call list" from the contact campaign list ?  I have found some way do to that with ICM but not with UCCX.
    Thanks,

    No, the documentation specifically states, that you need to do this before uploading the contacts.

  • Call list: no calls to select

    Hi experts,
    I have created a call list from a target group with 8 BP´s, and then I have assigned it to a IC Agent.
    In WebClient, with the IC Agent Rol, I go to call list, and it appears corretly, but when i click in "show calls" button, it shows no calls to select. I have checked my call list at GUI, and  the 8 calls have the Ready status. Anybody knows why don´t appears in WebClient to select?
    Thanks in advance,
    Paco.

    Hi,
    now, appears the calls, and the problem exposed before was fixed. But if calls was created from a campaign, when i try to access to the campaign clicking the "show campaign" button, it have no effects.
    Anybody can help me?
    Thanks in advance,
    Paco.
    Edited by: frgarcia on Jun 26, 2009 1:26 PM

  • Call list: calling hours not taken into consideration

    Hi Gurus,
    I have a question. We are using CRM 7.0 EHP1, and especially marketing functionality.
    We are generating call lists from a marketing campaign. What we see is that the customer calling hours are not taken into consideration when creating the call list.
    However, if we create the call list the "old-fashioned" way (using CRMD_CALL_LIST), we have the option "scheduling... based on calling hours".
    How can I achieve that calling hours are also considered when creating the call list from the campaign?
    Is there a customizing setting, or do I need to activate a BAdi?
    thanks.
    regards,
    Wim Olieman

    Also, keep in mind that MRP calculates availability of inspection stock in two ways.
    Before an inspection lot is created, (i.e. a purchase order or production order is out there and planned already, MRP uses the expected GR date plus the Avg. GR days on the main QM view for the material to determine the availability date.
    Once the inspection lot is created however, MRP uses the end date of the inspection lot which is the lot creation date plus the avg insp. duration in the inspection type setup in the material master.  This can result in some minor differences if you aren't careful in setting your various fields in the material master.
    If a material is going to reside in QI for an extended time, the lab should use QA02 to modify the end date of the inspection lot.
    FF

Maybe you are looking for

  • How to connect my MC207 (macbook 2009) with iMac 2013?

    There is a 4 years gap between the two model, so I am not sure if the "Mini DisplayPort adapter" and one more "cable" work well for that. The model of my macbook is MC207 (white one). What things do I need?

  • Error while calling servlet in WebLogic

    Hi, We are trying to call servlet in WebLogic by using http://scrmskr.apac.nsroot.net:7801/forms/HelloWorldServlet URL and getting below error. ======================================================================== Error 404--Not Found From RFC 206

  • Material movement types

    dear gurus, want to know the relation of material movement types with posting

  • How to i get my printer online

    How do i get my printer to scan documents to my laptop.  it says my printer is offline.

  • Acrobat Help /  Flash Player needed link not working

    I'm trying to install the flash player addon for Adobe Reader and the links found on the adobe help page are showing error messages. When I try to download the installer, they say "no file found" and are showing "Not Found The requested URL /pub/flas