Scope of List in custom program

Hi Experts,
    I have a requirement to include scope of list parameter in my selection screen just like ME3L Transaction. How can I achieve this functionality as it behaves in that standard transaction.
Thanks & Regards,
Arun.

Sorry I misunderstood you question...
I strongly feel that this functionality is developed specifically for purchasing module keeping few report into consideration and its not in the form where in other developer can use it.
put a break-point in method is_supported defined in program LMEREPI06 and execute the program for scope ALV.

Similar Messages

  • Need to check all custom programs with open data set

    Hi all ,
    i have  to list all custom programs and f.m.  which are using ftp server (file share).
    Is there any way to list that programs

    Hi,
    You can use program RPR_ABAP_SOURCE_SCAN to find custom programs with providing find string criteria (i.e open data set).
    Regards,
    Ferry Lianto

  • How to get list of custom objects used in abap report program?

    Hi friends,
    I have a requirement in which I have to scan the entire abap report and retrieve list of custom objects used in it for example custom tables, data elements, structures, table types etc,. Is there any provision in SAP like fuction modules to do this functionality?  As of now I am coding everything manually where so many possibilities are there for all kinds of objects. Provide your answers and suggestions...
    Thanks,
    Nastera

    Hi,
    The best way to do this is environment analysis. Follow the steps:
    1. Open se38, type in the program name (don't click on on display/change or create button, stay on first screen only)
    2. Click on environment analysis button (hot key SHIFT+F4)
    3. It will throw a pop-up, which will ask for type of object you want to see, which are linked /used by this program. select all (or may be if you are only interested in Tables, then select table only)
    4. Hit 'Enter'
    You will get the full list of all objects used in this report program. Just note down the one which starts with Z or Y and that's it.
    Cheers,
    Anid

  • ABAP program to list Data Dictionary objects referenced in custom program

    I want an uitlity program that will list all ( Custom and standard) data dictionary objects referenced to declare variables in custom ABAP program. Is there any standard program available in SAP to meet this requirements?
    This is required to create a separate transport requests only with data dictiornay objects.
    Thanks in advance for your help
    Regards,
    Sunil

    Hi
    You can try the FM AKB_WHERE_USED_LIST.
    ~~~Ganesh Kumar K.

  • Scope of list ALV not defined (please correct) in rm06bkps program

    hi experts,
    i have to add some fields in me5j t-code, for this i have copied the standard program as z prog. But at time of execution it gives an error
    "Scope of list ALV not defined (please correct)
    Message no. ME287"
    At the time of debugging i found gf_factory object is not filled, but im unable to trace that variable
    even i have searhed the same on SDN but the quetion is not answerd.
    please help me out ASAP.
    waiting for ur valuable replies..
    thanks in advance
    Neha

    i got the problem
    in fm
    ME_REP_GET_TABLE_MANAGER  -->   l_factory(object) -->im_service(variable)
    l_active = l_factory->is_active( im_service = l_service  im_scope = im_scope ).
    im_service  variable has programe name, im_scope has "ALV" . then it execution goes in case statement where it checks the im_service with standard prog name.
    as in case im_service has zprog, so it doesnt go to any when case and hence the prob.
    any sugesstion..?????
    Neha

  • Data from list of standard alv to customized program

    Hi all,
    The recquirement is like this.
    I have used the Submit option from my customized program to call a standard program it , and that standard program executed perfectly and it generates the list in ALV format . Now my recquirement is to call those populated list to my own program . How to do this ....
    Can any one help me in this ...it is urgent ...
    with regards
    vijay

    You need to get the spool no.
    & get the spool data into internal table.
    Refer the code of following blog:
    /people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job

  • ALV - scope of list

    Hi Experts,
    I am modifying ME5j Transaction : Program : RM06BKPS
    I just copied the standard program into Zprogram.
    I haven't made any changes just copied to Zprogram.
    when i am executing Zprogram
    i gave Prject definition :XXXXXXXX
    and Scope of list = ALV
    I am getting error : Scope of list ALV not defined (please correct)
    I am getting output for scope of list :  A,B,B1,B2,B3,C,C1,D,F,G,H,I,J
    I want output in ALV format..
    Pls guide me
    Regards.
    Vinay.

    Hi,
    In customizing:
    Scope of list (ALV) is maintained in the below path:
    SPRO->Materials management ->Purchasing->Reporting->Scope of list-
    >Define scope of list is maintained. Please mantain your Z transaction.
    Best Regards,
    Arminda Jack

  • Background job getting cancelled : Choose at least one scope of list

    Hello to all,
    I am trying to Run on Z report in background which conatins SUBMIT statement to standard progarm for MB5B .This report already programmed to call a report in background.It takes stocks for given period,I am taking the values using "import memory-id" statement.It gives an error log in SM37 as:
    Choose at least one scope of list
    Message no. M7829
    Can we call a submit stmt in a report that is to run in background?? or pls provide any alternative for this problem??
    Thnax & Regards
    Sonal

    Hi Sonal,
    1. This is happening because there are some checkboxes on the selection screen
       which are ticked by default when we run in fore ground
       and are blank when run in  background.
      Hence the system gives the error meaning to select atleast one of them.
    2. We can simulate this error in foreground also.
       There is one button on selection screen in the middle frame.
       "> Category"
       Just push it.
       Some checkboxes will appear now.
       Untick all of them and run the report. You will get the same error
    Choose at least one scope of list
    3. So while doing SUBMIT in the z report, you can pass the values of those checkboxes (which ever you require) as 'X'.
    eg.
    report abc.
    submit RM07MLBD
    with matnr = '3'
    with pa_wdzer = 'X'.
    4. The checkboxes field names are:
    PARAMETERS : pa_wdzer    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdzew    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdwiz    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdwuw    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdwew    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_ndzer    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_ndsto    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    regards,
    amit m.

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • GOS on custom program not saving links

    Hi all, I've just implemented GOS to a Z program following the instructions of a SDN contribution document called "How to attach documents to any custom program using GOS". I simply want to add GOS to the selection screen of the program in order to locat and store documentation regarding this Z program.
    I run the program and the GOS button is displayed, I add some link or document and then I display the list of attachments and everything seems to be working ok. So when I leave the program and run it again no list of attachments is available as this is greyed out. Anyone could help please.
    Steps I performed:
    I created the Business object saved and released to implemented with the following:
    Key -> programName (TRDIR-NAME)
    and redefined the GOSAddObjects method like this:
    BEGIN_METHOD GOSADDOBJECTS CHANGING CONTAINER.
    DATA:
          SERVICE(255),
          BUSIDENTIFS LIKE BORIDENT OCCURS 0,
          LS_BORIDENT Type BORIDENT.
        CLEAR LS_BORIDENT.
        LS_BORIDENT-LOGSYS = SPACE.
        LS_BORIDENT-OBJTYPE = 'ZGOS'.
        LS_BORIDENT-OBJKEY  = OBJECT-KEY.
        APPEND LS_BORIDENT TO BUSIDENTIFS.
      SWC_GET_ELEMENT CONTAINER 'Service' SERVICE.
      SWC_SET_TABLE CONTAINER 'BusIdentifs' BUSIDENTIFS.
    END_METHOD.
    Z program:
    REPORT  Z_RUBS_TEST_GOS.
    CONSTANTS: OBJTYPE TYPE BORIDENT-OBJTYPE VALUE 'ZGOS'.
    DATA: MANAGER TYPE REF TO CL_GOS_MANAGER,
    OBJ TYPE BORIDENT.
    PARAMETERS: MATNR TYPE MARA-MATNR.
    AT SELECTION-SCREEN OUTPUT.
    CLEAR OBJ.
    * SET OBJECT TYPE TO 'ZGOS'
    OBJ-OBJTYPE = OBJTYPE.
    OBJ-LOGSYS  = 'OP1CLNT200'.
    * SET OBJECT KEY = REPORT NAME
    SELECT SINGLE NAME FROM TRDIR INTO OBJ-OBJKEY
    WHERE NAME = SY-REPID.
    * CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
    CREATE OBJECT MANAGER EXPORTING
    IS_OBJECT = OBJ EXCEPTIONS
    OTHERS = 1.

    You must add COMMIT WORK (AND WAIT or not) somewhere in your application (add a button that the user), or use CREATE OBJECT manager EXPORTING ... IP_NO_COMMIT = space or 'R' ... so that the COMMIT WORK will be done automatically by the GOS manager. Note: IP_NO_COMMIT = 'R' means that the service will start in its own LUW (using synchronous RFC).
    For more information, read the [SAP Library - GOS - Publishing unique object|http://help.sap.com/saphelp_nw2004s/helpdata/EN/7e/4dbeb62c8e11d4a39e00a0c943858e/frameset.htm] (well, it doesn't talk about 'R'...)

  • S_ALR_87012197 - List of Customer Line Items

    Hello!
    There is in 4.6C report 'S_ALR_87012197 - List of Customer Line Items' selection field called 'Search help ID'. In that field's dropdown list, there is a selection option 'Customers by bank account number' available. This same selection option is not any more available in SAP ECC 6.0 corresponding report whether they use same program RFDEPL00.
    Do anyone know from where that selection option could be enabled also in SAP ECC 6.0? Bank account number is to be taken from view M_DEBI2 to report S_ALR_87012197 in 4.6C, but that view is not active as default in 6.0.

    Here's how we resolved this.
    1. Create the view ZZM_DEBI2  in ED1 .. In old release M_DEBI2 was available.
    2. Create the elementary search help ZDEBI2.. SE11
    3. Add to the search help DEBI
    SE63 to translate to necessary languages.

  • Oracle11i AP positive Pay customized program setting

    Hi
      I need to know how to set up a new customized program for Positive Pay file for payment batch where the checkbox is in actions panel so once it is clicked by the user the program will be triggered
    Thanks

    ISUTri wrote:
    Thank you for your reply Hussein. Those documents don't appear to address the specific problem we seem to be having. Out of the log file that I posted I have been concentrating my search on this error message. Let me know if you have any other tips.
    java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at "APPS.IBY_EXTRACTGEN_PVT", line 380
    ORA-06512: at line 1
    Is there a way I can get additional information that might help me track down what is happening? I have an SR on this but Oracle seems to be as stumped as I am.R12: Troubleshooting Payment Process Request (PPR) Errors: Comprehensive Listing of Errors and Solution Documents [ID 1314118.1]
    IBY_FD_PAYMENT_FORMAT_TEXT Format Payment Instructions Errors with ORA-06502 [ID 1073786.1]
    Thanks,
    Hussein

  • How to list the abap programs order by updated date in ECD

    Hi experts,
    how to list the abap programs order by updated date in ECD?
    thanks.

    I wrote a custom program for displaying Z* development work into an ALV report. 2500 character limit prevents me from posting, message me your email and I'll send you source code.
    Edited by: Brad Gorlicki on Feb 18, 2010 11:25 PM

  • Trigger IDOC_OUTPUT_ORDRS using custom program.

    Hello.
    I have a requirement to send an order response (ORDERS05) IDoc by calling FM IDOC_OUTPUT_ORDRS using a custom program.  Wanted to know if anyone had suggestions on the best approach.  We are using much of the native mapping and adding a few segments (which I would handle updating in the customer exits).
    My biggest question is how to setup the call to IDOC_OUTPUT_ORDRS.  I think I need to simulate the NAST table entry.  Is that the recommended approach?  Any tips or hints would be appreciated.
    Thanks,
    Cal
    Edited by: Cal on Feb 3, 2009 7:07 PM

    Actually condition technique based on which output determination works - is designed for exactly what you are asking - triggering the output type under certain conditions.
    You can create ouput condition records with key fields that represent your business conditions: for example certain sales org, distrib channel, certain sales order type can only trigger the output. You can make it as finer as you want (like even including sold-to as a criteria), like you can include any field that appears in the sales document as a criteria to trigger the idoc.
    The tables that store condition records - condition tables - are custom created with your business field combination that you want to base the triggering upon.
    Goto the IMG path:
    IMG -> SD -> Basic functions -> Output control -> Output determination -> Maintain output determination for sales documents.
    1. A o/p determination procedure is assigned to sales document type
    2. A o/p determination procedure comprise a list of output types, which are checked sequentially by the system
    3. Custom condition tables with new business criteria can be assigned to new or existing access sequence
    4. Access sequence is attached to output type
    How the system triggers a particular output type during application document processing, say sales order processing:
    1. From the sales document type, the o/p determination procedure is determined
    2. The system then checks the output types inside the procedure one by one
    3. Say at output type 1, the system checks to see what access sequence it has
    4. The access sequence comprises of 1 or more condition tables.
    5. The system then checks each condition table, by comparing the key fields of the condition table with the correpsonding sales document fields - like comparing sales org, documen type in the condition record with what the sales document has. If every thing matches, the output type is triggered.
    I have just simplified the whole o/p determination. There are several other features which are controlle at o/p determination, procedure, output type and access sequence levels. Spend some time one these, it is a neat, flexible and future proof concept. You will never regret! )

  • Transfer GOS Attachment (Single/Multiple) from custom program to XK01

    Hi,
    GOS - Generic Object Service is a way one can attach single / multiple attachment. I have a custom program where there is a GOS with some attachment (used CL_GOS_MANAGER class).
    Next I need to send / transfer this GOS attachment from my custom program to say a standard transaction , eg XK01.
    Whether we can achieve this functionality, ie. we are able to create/save attachment but is there a way to send attachment (not via email) such that the same attach itself to the GOS of the standard transaction. I don't see any method in the CL_GOS_MANAGER class by which we can achieve this!
    Any suggestion/solution will be highly appreciated!
    Thanks,
    Deb

    Hi,
    I am trying to send attachment linked to a custom BO to standard BO eg, LFA1 using 'GOS_SERV_TOOLS_TEST' (copy_linked_objects).
    Surprisingly, I am able to copy/send attachment list within same BO (LFA1) from one LIFNR to another LIFNR. But the same method does not work when I try to copy attachment between diff BO example from VENDOR BO to MATERIAL BO. Why is it so?
    Also it does not work between a custom BO & standard BO. Please suggest in case I am missing on anything!
    Thank,
    Deb

Maybe you are looking for