Regarding the Function.......

Hi gurus,
What function can I use to create a drop down box in an input schedule in BPC ?  I have a schedule where I want the users to be able to select an account, I have 20 accounts and they need to select one from the drop down shoing all the 20 .
Regards
swagath......

Create a filtered list of members that can be used in a drop down selection. On a couple of projects, I've used a second EVDRE to generate a filtered list of members based upon the users security. The list is then used to populate a drop down box. It requires a little bit of experimenting to get everything to execute in the proper order.
EVLST is similar in that it creates a filtered list of members. The list then has to be referenced using a drop down box or other tool.
============= or solution -   2
I'm sure you probably want an automated solution, but here is an Excel non-VBA solution that's not entirely maintenance-free, but is fairly straight forward. You could use Data Validation.Allow List for a drop-down list where the user can select one member to retrieve. Depending on your EVDRE, the list could be all , but the concept here is you compile the list manually put it somewhere on the sheet or a hidden (or veryhidden) sheet, and have to update it manually if you add members. Here's how to do this:
1) Put the list of members you want the users to choose from either on the sheet, or on a hidden sheet. If you put them on another sheet, you need to do Insert.Define Name to name the range as direct references to off-sheet ranges are not allowed in data validation.
2) Select the cell where you want the users to click on a drop-down menu.
3) Do Data..Validation.click on "Allow List".
4)In the formula box enter your name range if off sheet, or the cell range if it is on sheet (example =$A$1:$A$10).
5) Experiment with the two other tabs. You might want to go to the Error Alert tab and select the "Stop" message, if you don't want the users to type over the choices in the drop-down box. Stop would force the user to select only from the members in your list.
5) Click OK
6) Reference this cell that contains the data validation in your EVDRE, EvGTS, or EvSND statement.

Similar Messages

  • Help regarding the Function Module GUID_CREATE

    Hi Experts,
    Can some one explain the functionality of GUID_CREATE function module.Thanks in advance.
    With regards,
    Srini...

    Hello,
    Guid for unique identification assigned list
    It think it will generate the one unique key in the program.
    DATA: con_log_guid   TYPE  guid_16.
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_16 = con_log_guid.
    WRITE con_log_guid .
    Try this example it is generating a 16number id.

  • Regarding The Function Module SXMS_ASYNC_EXEC strucking In Queue

    Dear All,
    I have Written an Enhancement for standard Program MB52,  I have written an Outbound Proxy and scheduled the job in background the Job is running successfully but default the the Function module SXMS_ASYNC_EXEC is also scheduled and is it  showing an Error SYS-Fail.
    Queue Block : Action OPEN_PSA_DATAPACKAGE/2 IS NOT SUPPORTED Iam Trying to Apply the Note Pls help me in this Regards
    Regards
    Naresh

    Hi Amit,
    if you are working with abap proxies there is an error in the proxy code that you have implemented.
    Use the tcode SPROXY -> Proxy -> Test Interface (F8)
    Best Regards,
    Francesco

  • Regarding the function module WF_WINDOWS_EXECUTE

    Can anyone tell me if the function module WF_WINDOWS_EXECUTE will work with a parameter of sap R/3 type. I mean that it works with internet sites but will it still work with the HTML pages which we design.

    hi..
    IMPORTING
    *" PARAMETER LIKE TWFSA-PARAM
    *" PROCESS_DATA LIKE WFPRCD STRUCTURE WFPRCD
    *" PROCESS_ID LIKE WFPRCK STRUCTURE WFPRCK
    *" EXPORTING
    *" PROCESS_DATA_NEXT LIKE TWFNS2 STRUCTURE TWFNS2
    *" RETURN_CODE LIKE TWFNS-RCODE
    *" TABLES
    *" ASSIGNMENTS STRUCTURE WFAS1
    *" LOGLINES STRUCTURE TLINE
    *" EXCEPTIONS
    *" WF_ERROR_PROCESS
    *" WF_NOTHING_DONE
    <b>Rewards point if useful</b>
    Regards
    Ashu

  • Please help regarding the function module 'MESSAGE_TEXT_BUILD'

    hii i am a new employee.
    can anyone please explain wat the following code is doing
    IF sy-subrc = 0.
    l_mstring = t100-text.
    IF l_mstring CS '&1'.
    REPLACE '&1' WITH wa_messtab-msgv1 INTO l_mstring.
    REPLACE '&2' WITH wa_messtab-msgv2 INTO l_mstring.
    REPLACE '&3' WITH wa_messtab-msgv3 INTO l_mstring.
    REPLACE '&4' WITH wa_messtab-msgv4 INTO l_mstring.
    ELSE.
    REPLACE '&' WITH wa_messtab-msgv1 INTO l_mstring.
    REPLACE '&' WITH wa_messtab-msgv2 INTO l_mstring.
    REPLACE '&' WITH wa_messtab-msgv3 INTO l_mstring.
    REPLACE '&' WITH wa_messtab-msgv4 INTO l_mstring.
    ENDIF.
    CONDENSE l_mstring.
    i am supposed to use a function module for it
    i have got a function module.
    but i am not understanding wat fields shd i put in it
    the function module is
    CALL FUNCTION <b>'MESSAGE_TEXT_BUILD'</b>
    EXPORTING
    msgid =
    msgnr =
    MSGV1 = ' '
    MSGV2 = ' '
    MSGV3 = ' '
    MSGV4 = ' '
    IMPORTING
    MESSAGE_TEXT_OUTPUT =
    can anyone tell wat shd i put on msgid ,msgnr and other fields.
    [email protected]

    Hello,
    Guid for unique identification assigned list
    It think it will generate the one unique key in the program.
    DATA: con_log_guid   TYPE  guid_16.
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_16 = con_log_guid.
    WRITE con_log_guid .
    Try this example it is generating a 16number id.

  • Regarding the function module 'DYNP_VALUES_READ'

    Hi,
         There are two input fields on my popup screen.
    1. Plant
    2. OrderNo.
    I have created F4 help for the order no. But i want to capture the plant value so that i can get order no based on the plant.
    For that, i have written the below code. The internal table tl_dynpfields is not getting filled after the function module  'DYNP_VALUES_READ'  gets executed.
    Can anyone tell me what mistake i am commiting.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pro1
    TYPES : BEGIN OF tp_dynpfields,
              fieldname  LIKE dynpread-fieldname,
              stepl      LIKE dynpread-stepl,
              fieldvalue LIKE dynpread-fieldvalue,
              fieldinp   LIKE dynpread-fieldinp,
              END OF tp_dynpfields.
      DATA : wl_dynpfields TYPE tp_dynpfields,
             tl_dynpfields TYPE STANDARD TABLE OF tp_dynpfields.
      wl_dynpfields-fieldname = 'P_PLANT1'.
      APPEND wl_dynpfields TO tl_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                         = sy-repid
          dynumb                         = '0200'
        TABLES
          dynpfields                     = tl_dynpfields
       EXCEPTIONS
         invalid_abapworkarea           = 1
         invalid_dynprofield            = 2
         invalid_dynproname             = 3
         invalid_dynpronummer           = 4
         invalid_request                = 5
         no_fielddescription            = 6
         invalid_parameter              = 7
         undefind_error                 = 8
         double_conversion              = 9
         stepl_not_found                = 10
         OTHERS                         = 11.
    Thanks,
    Ibrahim

    Hey,
    i got the value.
    thanks

  • Regarding the function module Number_Get_Next

    Hi All,
          We have created one custom transaction. We need to generate one number when we save. The number will be generated using the function module NUMBER_GET_NEXT. How can i capture the number which will be generated.
    When we create Sales Order, the sales order number gets generated and that number will go to the DB Table right.
    Similarly i need to save the number in one custom table which gets generated for my transaction.
    Thanks,
    Ibrahim

    Hi
    The code should be like this:
    IF RANGE_OPEN IS INITIAL.
          CALL FUNCTION 'NUMBER_GET_INFO'
               EXPORTING
                    NR_RANGE_NR        = <Nr range>
                    OBJECT             = <Object range>
               EXCEPTIONS
                    INTERVAL_NOT_FOUND = 1
                    OBJECT_NOT_FOUND   = 2
                    OTHERS             = 3.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          RANGE_OPEN = 'X'.
        ENDIF.
        CHECK RANGE_OPEN = 'X'..
        CALL FUNCTION 'NUMBER_GET_NEXT'
             EXPORTING
                  NR_RANGE_NR             = <Nr range>
                  OBJECT                  = <Object range>
             IMPORTING
                  NUMBER                  = _NUMBER
             EXCEPTIONS
                  INTERVAL_NOT_FOUND      = 1
                  NUMBER_RANGE_NOT_INTERN = 2
                  OBJECT_NOT_FOUND        = 3
                  QUANTITY_IS_0           = 4
                  QUANTITY_IS_NOT_1       = 5
                  INTERVAL_OVERFLOW       = 6
                  BUFFER_OVERFLOW         = 7
                  OTHERS                  = 8.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    But I don't understand if you need an your own number or the number used for the sales order.
    Max

  • Regarding the function modules

    Hi anybody pls tell me
    what are the scenarios for the creation of function module
    can you give me the some examples
    thanks in advance

    <b>Function Modules</b>
    Function modules are procedures that are defined in function groups (special ABAP programs with type F) and can be called from any ABAP program. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the  Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the R/3 System. They are stored in a central library. The R/3 System contains a wide range of predefined function modules that you can call from any ABAP program. Function modules also play an important role in database updates and in remote communications between R/3 Systems or between an R/3 System and a non-SAP system.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the  Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the  Function Builder.
    The  Function Builder also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed

  • Regarding the function module 'REUSE_ALV_GRID_DISPLAY'

    wat do these things do in 'REUSE_ALV_GRID_DISPLAY' function module and how to use them??
           IS_VARIANT                        =
          IT_EVENTS                         =
          IT_EVENT_EXIT                     =
          IS_PRINT                          =
          IS_REPREP_ID                      =
          I_SCREEN_START_COLUMN             = 0
          I_SCREEN_START_LINE               = 0
          I_SCREEN_END_COLUMN               = 0
          I_SCREEN_END_LINE                 = 0
          I_HTML_HEIGHT_TOP                 = 0

    Hi
    See the function module Documentation,
    Passing an EXIT routine indicates to the ALV that the application wants to respond to certain function codes.
    Generally, these are function codes that are unknown to the ALV (that is, are not standard ALV functions) and that were defined and set by a user status.
    See also the documentation on parameter I_CALLBACK_PF_STATUS_SET.
    The interface of the form routine specified must be defined as follows:
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    Parameter R_UCOMM contains the function code triggered.
    Structure RS_SELFIELD contains the following information:
    tabname : Name of the internal output table
    tabindex : Index of the internal output table
    fieldname: Field name
    endsum : Cursor is located on the totals line
    sumindex : If >0, the cursor is located on a subtotals line
    value : Value of the field on the list
    refresh : (Exporting) List should be set up again
    col_stable:(Exporting) Keep column position when list is set up again
    row_stable:(Exporting) Keep row position when list is set up again
    exit :(Exporting) Exit list (and ALV)
    before_action: Call before standard action execution
    after_action : Call after standard action execution, before list setup
    ignore_multi : Internal use
    sel_tab_field: Internal use
    The EXIT routine is called whenever a function unknown to the ALV is triggered or if the routine call before/after the execution of a standard function code has been defined by interface parameter IT_EVENT_EXIT.
    See also the documentation on parameter IT_EVENT_EXIT.
    The function code and the current cursor position are then passed on to the calling program through the EXIT routine.
    If the user has selected multiple rows by selecting checkboxes, the output table field designated as the checkbox contains the current state of the checkbox in the list.
    Top_Of_page :
    If the caller specifies an EXIT routine, this routine must have the following form:
    FORM top_of_page.
    Module REUSE_ALV_COMMENTARY_WRITE can then be called within the EXIT routine. This module is responsible for formatting the header information and also ensures online HTML formatting. In the print preview or in batch mode, the text passed is then output in the normal format.
    If module REUSE_ALV_COMMENTARY_WRITE cannot be used, you must use two parameters instead. In I_CALLBACK_TOP_OF_PAGE you pass the form routine that is responsible for normal formatting in batch mode or in the print preview mode. The form routine that is responsible for online formatting, is passed in parameter I_CALLBACK_HTML_TOP_OF_PAGE. If one of these parameters is not filled, top-of-page is not output in the respective mode.
    The important parameters are :
    I. Export :
    i. I_callback_program : report id
    ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status
    iii. I_callback_user_command : routine where the function codes are handled
    iv. I_structure name : name of the dictionary table
    v. Is_layout : structure to set the layout of the report
    vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
    vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
    II. Tables :
    i. t_outtab : internal table with the data to be output
    <b>REward if usefull</b>

  • Regarding the Function module HR_READ_INFOTYPE

    Hi Experts,
    I'm using the Function module HR_READ_INFOTYPE and the code is as following
    CALL FUNCTION 'HR_READ_INFOTYPE'
            EXPORTING
              pernr     = g_pernr
              infty     = '0002'
            TABLES
              infty_tab = it0002.
          CLEAR wa0002.
          READ TABLE it0002 INTO wa0002 WITH KEY pernr = g_pernr.
    it is not fetching the data for a particular PERNR but the sy-subrc is 0 after the executing the Function module.
    Please help me out.
    Thanks
    Nivash S

    Hi Experts,
    Thanks for Ur advice. Actually there is no authorization for that particular PERNR thats why it has skipped that particular record.
    Thanks Once again,
    Nivash S
    Edited by: Nivash S on May 12, 2009 8:49 AM

  • Regarding  the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'

    Hi
    I am using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send an email with tab delimited text file as an attachment. while doing this i'm facing the folloing issues.
    1. a) Here the subject line field is char 50. My subject line is more than 50 characters. Is there any other way to do so?
    1.b) I am facing the data alignment problem in attached file if it is the case of Text file.
    can you please let me know how to resolve these issues and also let me if there are any other function modules to do so.

    Hi!
    1. You will have to manage with a subject of 50 char. In any case a longer subject would not be visible in your mailbox.
    2. For TAB delimited contents: Concatenate the fields of your internal table separated by HEX 09 (TAB). For every new line add HEX 0D at the end of the string.
    Cheers!

  • Regarding the function module --error is coming.

    Hi All
    I am executing function module and i am getting one error after actvating that FM.
    Error is - REPORT/PROGRAM statement missing, or program type is I (INCLUDE).          
    Waiting for the fovarable reply.

    Hi,
    While creating a FM you will be assigned to a Function Group, that Function Group is not active. If function group is not active then only you will be getting this error.
    To over come this issue. Please do the below process.
    Go to Se80--> Select Function Group from the drop down list --> Select the function group --> Right click on the Function group --> Select activate.
    After above process is completed.
    Test the Function Module.
    Thanks,
    Sriram Ponna.

  • Regarding the function module.

    hi,
    iam using a function module in my program
    GET_PRINT_PARAMETERS
    the program is going to dump.
    iam not understood why it is going to dump.
    please provide me the solution for this issue
    thanks in advance

    HI,
      Please check the type of parameters that you are passing to this function module...   check for the function module definition and get the type of the parameters that you havve to pass to this FM.
    I am sure this is ur problem.
    Thanks
    Mahesh

  • Regarding the functional modules

    hi,
    there are three types of function modules are there.
    1)normal functional modules
    2)remote functional modules
    3)update functional modules
    what is the update functional modules?
    please provide me the information regarding this functiional modules

    Hi,
    go through following ,material:
    http://sapmaterial.com/RFCmaterial.html
    http://sapmaterial.com/bapi.html
    Reward points if helpful
    Srikanta Gope

  • A query regarding synchronised functions, using shared object

    Hi all.
    I have this little query, regarding the functions that are synchronised, based on accessing the lock to the object, which is being used for synchronizing.
    Ok, I will clear myself with the following example :
    class First
    int a;
    static int b;
    public void func_one()
    synchronized((Integer) a)
    { // function logic
    } // End of func_one
    public void func_two()
    synchronized((Integer) b)
    { / function logic
    } // End of func_two
    public static void func_three()
    synchronized((Integer) a)
    { // function logic
    } // End of func_three, WHICH IS ACTUALLY NOT ALLOWED,
    // just written here for completeness.
    public static void func_four()
    synchronized((Integer) b)
    { / function logic
    } // End of func_four
    First obj1 = new First();
    First obj2 = new First();
    Note that the four functions are different on the following criteria :
    a) Whether the function is static or non-static.
    b) Whether the object on which synchronization is based is a static, or a non-static member of the class.
    Now, first my-thoughts; kindly correct me if I am wrong :
    a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisation, since in case obj1 and obj2 happen to call the func_one at the same time, obj1 will obtain lock for obj1.a; and obj2 will obtain lock to obj2.a; and both can go inside the supposed-to-be-synchronized-function-but-actually-is-not merrily.
    Kindly correct me I am wrong anywhere in the above.
    b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation.
    Kindly correct me I am wrong anywhere in the above.
    c) In case 3, we have a static function , synchronized on a non-static object. However, Java does not allow functions of this type, so we may safely move forward.
    d) In case 4, we have a static function, synchronized on a static object.
    Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation. But we are only partly done for this case.
    First, Kindly correct me I am wrong anywhere in the above.
    Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".
    Another query : so far we have been assuming that the only objects contending for the synchronized function are obj1, and obj2, in a single thread. Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.a; and again obj1 trying to obtain lock for obj1.a, which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed. Thus, effectively, our synchronisation is broken.
    Or am I being dumb ?
    Looking forward to replies..
    Ashutosh

    a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisationThere is no synchronization between distinct First objects, but that's what you specified. Apart from the coding bug noted below, there would be synchronization between different threads using the same instance of First.
    b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.obj1/2 don't call methods or try to obtain locks. The two different threads do that. And you mean First.b, not obj1.b and obj2.b, but see also below.
    d) In case 4, we have a static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.Again, obj1/2 don't call methods or try to obtain locks. The two different threads do that. And again, you mean First.b. obj1.b and obj2.b are the same as First.b. Does that make it clearer?
    Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".That's what happens in any case whether you write obj1.func_four(), obj2.func)four(), or First.func_four(). All these are identical when func_four(0 is static.
    Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.aNo we don't, we have a thread trying to obtain the lock on First.b.
    and again obj1 trying to obtain lock for obj1.aYou mean obj2 and First.b, but obj2 doesn't obtain the lock, the thread does.
    which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed.Of course it won't. Your reasoning here makes zero sense..Once First.b is locked it is locked. End of story.
    Thus, effectively, our synchronisation is broken.No it isn't. The second thread will wait on the same First.b object that the first thread has locked.
    However in any case you have a much bigger problem here. You're autoboxing your local 'int' variable to a possibly brand-new Integer object every call, so there may be no synchronization at all.
    You need:
    Object a = new Object();
    static Object b = new Object();

Maybe you are looking for

  • I just set up Time Machine and have a WD external disc attached.

    A WD SmartWare folder now resides on my desktop.  It contains a question that asks if I want to back up files or set up the drive.  What am I supposed to do?  Thanks for your assistance.

  • Download Data from OBIEE to Excel using Macro (ODBC connection)

    Hi, We have OBIEE used as data source for reporting. Currently we manually go into OBIEE and download the report in Excel Format. However we want that to be automated by writing a macro and connecting directly do the DB and querying the data. Do anyo

  • Upgrade options for OS 10.2.8?

    I have a flat panel imac with 256mb of memory, an 800 mhz processor and OS 10.2.8. I've been informed that I can upgrade to Tiger, but my computer is too slow to upgrade to Leopard. Do I need to buy the Panther upgrade before I can install the Tiger

  • Certification Course Code

    Hi Experts, I am going for SAP PM certification Now i want to confirmed that whether the below given course code is Correct code for Plant Maintenance (PM Module ),Also in description it is given ERP 2005 may know what is this ERP 2005. Course Code :

  • Using jsp variable in java code

    Hey guys, I need some help hope you guys can help me. I've declared a variable "error" in a jsp. how do I access this variable in the java code whice resides in the same jsp page. I know I can use java variable in jsp code using <%= sVariable %> wher