Function Module to Make Help on Your Field

Hi,
Is there any FM to Make Help on Field?
Thanks

Hi,
You can do this by two way:
1. Make a help by using SE11 & attach it to your field like this 'parameters abc like zstudent-name matchcode object id = search help name'
2. Use Function module to make help on your field by using this coding.
DATA: lc_vbeln      LIKE vbrk-vbeln,
      ltab_fields LIKE help_value OCCURS 0 WITH HEADER LINE,
      BEGIN OF ltab_values OCCURS 0,
        feld(40) TYPE c,
      END OF ltab_values.
**&      Form  HELP_CHECK
      text
FORM help_check.
*-- Set up fields to retrieve data
  ltab_fields-tabname    = 'VBRK'.
  ltab_fields-fieldname  = 'VBELN'.
  ltab_fields-selectflag = 'X'.
  APPEND ltab_fields.
  ltab_fields-tabname    = 'VBRK'.
  ltab_fields-fieldname  = 'FKDAT'.
  ltab_fields-selectflag = space.
  APPEND ltab_fields.
*-- Fill values
  SELECT * FROM vbrk WHERE kunag = 'RICO0US'.
    ltab_values-feld = vbrk-vbeln.
    APPEND ltab_values.
    ltab_values-feld = vbrk-fkdat.
    APPEND ltab_values.
  ENDSELECT.
  CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
    EXPORTING
      fieldname                 = 'VBELN'
      tabname                   = 'VBRK'
      title_in_values_list      = 'Select a value'
    IMPORTING
      select_value              = pr_vbeln
    TABLES
      fields                    = ltab_fields
      valuetab                  = ltab_values
    EXCEPTIONS
      field_not_in_ddic         = 01
      more_then_one_selectfield = 02
      no_selectfield            = 03.
ENDFORM.                    "fiscal_year
End of Coding
Make this coding according to your program.
Reward if helpful..
Varishtah.

Similar Messages

  • Function Module for search help Exit

    How to create a function Module for search help exits?
    please explain in details with step by step process.

    Hi,
    How to create a function Module for search help exits?
    function module for search help F4IF_SHLP_EXIT_EXAMPLE
    dynamic search help use 'F4IF_INT_TABLE_VALUE_REQUEST'
    please check out the link below it will help you
    A repository object maintained in the ABAP Dictionary. It supplies input fields on Dynpros with single- or multi-column input helps. Search helps can be linked in the Dictionary with components from structures, data elements, and check tables. A search help enables you to search for entry values with assigned data, without you having to know the exact spelling of the value.
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm
    please explain in details with step by step process.
    create a search help exit:
    1. create an fm with this interface:
    *" TABLES
    *" SHLP_TAB TYPE SHLP_DESCR_TAB_T
    *" RECORD_TAB STRUCTURE SEAHLPRES
    *" CHANGING
    *" VALUE(SHLP) TYPE SHLP_DESCR_T
    *" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
    put this logic in it:
    Delete duplicate filter logic.
    This logic only needs to apply at the 'DISP' event - which is just
    before the hit list is displayed
    if callcontrol-step = 'DISP'.
    delete adjacent duplicates from record_tab.
    endif.
    2. edit your search help in se11 and enter the name of the above search help exit fm
    check this sample code..for dynamic search help
    REPORT  ZTEST_F4HELP                              .
    *---Report with selection screen and to display the list of
    possible entries for field 'B' as per the value in field 'A'.
    parameters: p_vbeln type vbak-vbeln,
                p_posnr type vbap-posnr.
    at selection-screen on value-request for p_posnr.
      data: begin of help_item occurs 0,
              posnr type vbap-posnr,
              matnr type vbap-matnr,
              arktx type vbap-arktx,
            end of help_item.
      data: dynfields type table of dynpread with header line.
      dynfields-fieldname = 'P_VBELN'.
      append dynfields.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname               = sy-cprog
                dynumb               = sy-dynnr
                translate_to_upper   = 'X'
           tables
                dynpfields           = dynfields
           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.
      read table dynfields with key fieldname = 'P_VBELN'.
      p_vbeln = dynfields-fieldvalue.
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = p_vbeln
           importing
                output = p_vbeln.
      select posnr matnr arktx into table help_item
                     from vbap
                          where vbeln = p_vbeln.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'POSNR'
                dynprofield = 'P_POSNR'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = help_item.
    also check this link it will help you
    /message/3854825#3854825 [original link is broken]
    *********please reward points if the information is helpful to you*************

  • Function module for F4 help download

    HI Experts
    What is the function module for F4 help download.
    Thanks in advance

    Hi,
      Function module is F4IF_FIELD_VALUE_REQUEST.
    Use the Function moduel like this in this i create screen 100 by using se51.
    REPORT zcl_f4_help.
    TYPES: BEGIN OF values,
             carrid TYPE spfli-carrid,
             connid TYPE spfli-connid,
           END OF values.
    DATA: carrier(3) TYPE c,
          connection(4) TYPE c.
    DATA: progname TYPE sy-repid,
          dynnum   TYPE sy-dynnr,
          dynpro_values TYPE TABLE OF dynpread,
          field_value LIKE LINE OF dynpro_values,
          values_tab TYPE TABLE OF values.
    CALL SCREEN 100.
    MODULE init OUTPUT.
      progname = sy-repid.
      dynnum   = sy-dynnr.
      CLEAR: field_value, dynpro_values.
      field_value-fieldname = 'CARRIER'.
      APPEND field_value TO dynpro_values.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE value_carrier INPUT.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                tabname     = 'DEMOF4HELP'
                fieldname   = 'CARRIER1'
                dynpprog    = progname
                dynpnr      = dynnum
                dynprofield = 'CARRIER'.
    ENDMODULE.
    MODULE value_connection INPUT.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname             = progname
                dynumb             = dynnum
                translate_to_upper = 'X'
           TABLES
                dynpfields         = dynpro_values.
      READ TABLE dynpro_values INDEX 1 INTO field_value.
      SELECT  carrid connid
        FROM  spfli
        INTO  CORRESPONDING FIELDS OF TABLE values_tab
        WHERE carrid = field_value-fieldvalue.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'CONNID'
                dynpprog    = progname
                dynpnr      = dynnum
                dynprofield = 'CONNECTION'
                value_org   = 'S'
           TABLES
                value_tab   = values_tab.
    ENDMODULE.
    you use this exaple  code.
    Plz Reward if Help,
    Mahi.

  • Function Module for F4 Help

    HI Experts
    What is the function module for F4 help download.
    Thanks in advance

    Hi,
    try these fn modules,
    F4IF_INT_TABLE_VALUE_REQUEST
    its a F4 help that returns the values selected in an internal table.
    F4_IF_FIELD_VALUE_REQUEST
    It uses values from a DDIC table to provide a list of possible values

  • Function Module for F1 help

    Hi all!
    I want to know the function module to create your own F1 help.
    Please Help me Out

    U can use FMs 'DSYS_SHOW_FOR_F1HELP'/1.     HELP_OBJECT_SHOW_FOR_FIELD /HELP_OBJECT_SHOW
    Example:
    REPORT  ZGB_TEST_SEARCH_HELP                    .
    INTERNAL TABLE FOR STORING NAMES IN SELECTION LIST
    data: begin of t_itab occurs 0,
            name(10) type c,
          end of t_itab.
    *FIELDNAME AND TAB NAME FOR THE SELECTION
    DATA :field_tab LIKE dfies  OCCURS 0 WITH HEADER LINE.
    *THE TABLE FOR RETURNING THE NAME OF THE SELECTED ITEM
    DATA : return_tab LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    *START THE SELECTION SCREEN BLOCK
    selection-screen begin of block ss1 with frame.
    parameters: p_name1(10) type c.
    selection-screen end of block ss1.
    *& F4 Help for p_name1                                                 *
    at selection-screen on value-request for p_name1.
    *CLEAR ALL EXISTING DATA
    *TO BE DONE EVERYTIME F4 HELP IS REQUESTED
    REFRESH t_itab.
    REFRESH field_tab.
      field_tab-fieldname = 'ERNAM'.
      field_tab-tabname = 'VBAK'.
    APPEND field_tab.
    t_itab-name = 'Andrews'.
    append t_itab.
    t_itab-name = 'Jennie'.
    append t_itab.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = ' '
        retfield               = field_tab-fieldname
      PVALKEY                = ' '
      DYNPPROG               = ' '
      DYNPNR                 = ' '
      DYNPROFIELD            = ' '
      STEPL                  = 0
        WINDOW_TITLE           = 'Select name'
      VALUE                  = ' '
      VALUE_ORG              = 'C'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
      tables
       value_tab              = t_itab
       FIELD_TAB              = field_tab
       RETURN_TAB             = return_tab
      DYNPFLD_MAPPING        =
    EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_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.
    else.
    p_name1 = return_tab-fieldval.
    ENDIF.
    *& F1 Help for p_name1                                                 *
    at selection-screen on help-request for p_name1.
    CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP'
      EXPORTING
      APPLICATION              = 'SO70'
        dokclass                 = 'TX'
        DOKLANGU                 = SY-LANGU
        dokname                  = 'Z_GAURAB_DEMO'
      DOKTITLE                 = 'This appears as bold title'
      HOMETEXT                 = ' '
      OUTLINE                  = ' '
      VIEWNAME                 = 'STANDARD'
      Z_ORIGINAL_OUTLINE       = ' '
      CALLED_FROM_SO70         = ' '
      SHORT_TEXT               = ' '
      APPENDIX                 = ' '
    IMPORTING
      APPL                     =
      PF03                     =
      PF15                     =
      PF12                     =
    EXCEPTIONS
       CLASS_UNKNOWN            = 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.
    Regards,
    Joy.

  • Function module for F4 help in ranges.

    The function module COMPLEX_SELECTIONS_DIALOG is used for providing the multiple selection popup screen for a particuler field.Now the problem is F4 help is not availble for each row in the multiselection pop up screen if the field refers to a custom table's field.But it is available if it refers to standard table.
    Please suggest if there is nayway to do this or is there any other alternative function module.
    Thanks!
    Savitha.

    Hi
    Have you assigned the CUSTOM table as a CHECK table against the fields of the row.
    Or declare as a master data table fields to see the F4 help.
    Or use the fun module F4IF_INT_TABLE_VALUE_REQUEST
    see the sample code
    See the following ex:
    TYPES: BEGIN OF TY_MBLNR,
    MBLNR LIKE MKPF-MBLNR,
    END OF TY_MBLNR.
    DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.
    data: it_ret like ddshretval occurs 0 with header line.
    At selection-screen on value-request for s_mat-low.
    Select MBLNR from mkpf into table it_mblnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'MBLNR'
    PVALKEY = ' '
    DYNPPROG = ' '
    DYNPNR = ' '
    DYNPROFIELD = ' '
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    VALUE_TAB = IT_MBLNR
    FIELD_TAB =
    RETURN_TAB = IT_RET
    DYNPFLD_MAPPING =
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_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.
    IF SY-SUBRC = 0.
    read table it_ret index 1.
    move it_ret-fieldval to S_mat-low.
    ENDIF.
    Go through the test program.
    REPORT Ztest_HELP .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
    SELECT MATNR
    FROM MARA
    INTO TABLE ITAB
    UP TO 10 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'MATERIAL NUMBER'
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_MATNR'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3. 
    Regards
    Anji

  • Error during generation of the function module..need help urgently

    Hello everyone,
                            m trying to generate data source in BWDevelopment.
    After mapping all the BW fields to Source Object elements I click on Generate DataSource(for UD Connect) so following error comes
    'An error occurred in step 1 during generation of the function module'
    RFC connection is fine, error free and extractor is also fine.
    Where could be the problem?
    Thanks & Regards,
    Priyanka

    Hello everybody,
                             my problem is solved.For the UDConnect, whatever DATA SOURCES you create gets registered in a FUNCTION MODULE which has a capacity of only 99 enties, so to increase it implement the SAP NOTE 876340 - UDC Error available on SERVICE MARKET PLACE.
    This problem occurs with BW version 3.5 level 17 or below.
    Regards,
    Priyanka
    Edited by: Priyanka Joshi on Jun 10, 2008 11:03 AM

  • Problem with calling a report from a function module. Please help! URGENT!

    Hi Experts,
       I have a scenarion like this:
      XI -
    > Function Module -
    > ABAP Report
      From XI I am callingf a function module in another R/3 system. This function module inturn calls a ABAP report using SUBMIT statement. The function module and the report reside in the same R/3 system.
      I am calling the report like this:
    SUBMIT yseg_save_bp_data WITH SELECTION-TABLE rspar
                                 AND RETURN.
    The problem is when I run the function module directly in the R/3 system then it calls the report without any problem.
    On the other hand, when I call the function module from XI then the report is not called. On debug mode I found that the program exits just at the Submit statement. Why is this strange problem?
    What mistake am I doing? Is there any limitations or restrictions with SUBMIT statement.
    What is the correct way of using submit statement in this scenario?
    Kindly help me!
    Thanks
    Gopal

    Hi Rao,
       I have created the FM as remote RFC. Infact XI is able to call the FM. Only problem is when it reaches the point where the report is called via SUBMIT it exits.
    Help me please!
    Thanks
    Gopal

  • Function module or search help !

    Hi ABAP gurus,
    I have a requirement where I have to have the Material, Sales Organization and Distribution channel displayed as parameters on one screen.
    But the trick here is when ever I select any material .. The sales organization and distribution channel should only have values that only correspond to that material only.
    Basically the Sales organization and Distribution channel should only have values corresponding to that material only in F4 help.. How to achieve this ..There should be some function module for this can anyone help me with this requirement .
    Correct answer would be rewarded accordingly !
    Regards,
    Ragz

    Hi Raghvendra,
    try this.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_salesorg.
    select salesorg from tablename into itab where matnr = p_matnr(selction screen value).
    if sy-subrc eq 0.
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
             EXPORTING
                  ENDPOS_COL   =
                  ENDPOS_ROW   =
                  STARTPOS_COL =
                  STARTPOS_ROW =
                 TITLETEXT    =
                  TITLETEXT    =
             IMPORTING
                  CHOISE       = W_LINEN0
             TABLES
                  VALUETAB     = itab
             EXCEPTIONS
                  BREAK_OFF    = 1
                  OTHERS       = 2.
        IF SY-SUBRC EQ 0.
          READ TABLE itab INDEX W_LINENO.
          IF SY-SUBRC EQ 0.
            P_salesorg = itab-salesorg.
    endif.
    endif.
    similarly for distribution channel pass sales org ....

  • Function module for f4 help in presentaion server and application server.

    hi guys,
    I need to create a function module that will get the file or folder name by f4 help for the file in the presentation server or  application server based on the location selected.
    For this function module what are the minimum impot parametrs  and export parameters required.
    i have tried with 'f4_filename' for presentation server
    and '/SAPDMC/LSM_F4_SERVER_FILE' for application server.
    but i am not able to get this.
    can any one help me in this regard ?
    cheers,
    kumar.

    hi use like this ..
      if p_presvr = 'X'.
    *-- if the file is to be downloaded to presentation server
        call function '/SAPDMC/LSM_F4_FRONTEND_FILE'
          changing
            pathfile         = p_file
          exceptions
            canceled_by_user = 1
            system_error     = 2
            others           = 3.
        if sy-subrc <> 0.
          if sy-batch = 'X'.
            message id sy-msgid type 'S' number sy-msgno
                    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into v_msg.
            write / v_msg.
            clear v_msg.
            stop.
          else.
            message id sy-msgid type 'S' number sy-msgno
                      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          endif.
        endif.
      else.
    *-- if the file is to be downloaded to application server
        call function '/SAPDMC/LSM_F4_SERVER_FILE'
          exporting
            directory        = '/'
            filemask         = '*'
          importing
            serverfile       = p_file
          exceptions
            canceled_by_user = 1
            others           = 2.
        if sy-subrc <> 0.
          if sy-batch = 'X'.
            message id sy-msgid type 'S' number sy-msgno
                    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into v_msg.
            write / v_msg.
            clear v_msg.
            stop.
          else.
            message id sy-msgid type 'S' number sy-msgno
                      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          endif.
        endif.
      endif.

  • Function Module for F4 Help for stext ( table Hrp000 ) type field

    Hello all,
    I have defined one selection parameter as "Event_NAME FOR HRP1000-STEXT" .
    But while running the program, system does not provide any drop down for Event_Name,just displaying it as a text field. I wanted a drop down that contains all entries of STEXT in Hrp1000.
    For that I have written following code to make drop down available for event name in selection screen.The code is working fine.But the issue is that i can just select one value from the list on selection screen.I need multiple selections.How can i do that??
    PARAMETERS : EV_NAME LIKE HRP1000-STEXT AS LISTBOX VISIBLE LENGTH 50.
    PARAMETERS : EV_GRP LIKE HRP1000-STEXT AS LISTBOX VISIBLE LENGTH 50.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR EV_NAME.
    SELECT STEXT FROM HRP1000 INTO TABLE F4_EV_NAME WHERE OTYPE = 'E'.
    SORT  F4_EV_NAME BY EV_NAME.
    DELETE ADJACENT DUPLICATES FROM F4_EV_NAME.
    LOOP AT F4_EV_NAME.
    LWA_VRM2-KEY = F4_EV_NAME-EV_NAME.
    APPEND LWA_VRM2 TO L_VRM_VALUES2.
    ENDLOOP.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = 'EV_NAME'
    VALUES = L_VRM_VALUES2
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    For Event Group*************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR EV_GRP.
    SELECT STEXT FROM HRP1000 INTO TABLE F4_EV_GRP WHERE OTYPE = 'L'.
    SORT  F4_EV_GRP BY EV_GRP.
    DELETE ADJACENT DUPLICATES FROM F4_EV_GRP.
    LOOP AT F4_EV_GRP.
    LWA_VRM3-KEY = F4_EV_GRP-EV_GRP.
    APPEND LWA_VRM3 TO L_VRM_VALUES3.
    ENDLOOP.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = 'EV_GRP'
    VALUES = L_VRM_VALUES3
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    i have done this as following code:it appears as a range selection parameter but no options available in 2 drop downs.
    any replies??
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-ft2.
    SELECT-OPTIONS :EV_NAME FOR HRP1000-STEXT,
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN ON EV_NAME.
    SELECT STEXT FROM HRP1000 INTO TABLE F4_EV_NAME WHERE OTYPE = 'E'.
    SORT  F4_EV_NAME BY EV_NAME.
    DELETE ADJACENT DUPLICATES FROM F4_EV_NAME.
    LOOP AT F4_EV_NAME.
    LWA_VRM2-KEY = F4_EV_NAME-EV_NAME.
    APPEND LWA_VRM2 TO L_VRM_VALUES2.
    ENDLOOP.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = 'EV_NAME'
    VALUES = L_VRM_VALUES2
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Is there a function module or BAPI to change the field UVP03 in table VBUP

    When certain conditions are in place I need to change the value of VBUP-UVP03 (items reserve status 3) to a value of C).
    there must be a FM or bapi to do this - thanks.
    Scott

    We had to do this from a custom program that runs in a batch job.  It changes a field in VBAP using the BAPI_SALESORDER_CHANGE - that in turn will execute a user exit called userexit_set_status_vbup, that we added code to update the field vbup-uvp03.  it works.

  • Function Module for splitting(field) in CO02 t-code

    Function Module or enhancement for splitting(field) in CO02 t-code Need function module for inserting a value in field(Max No of splits) in Transaction CO02
    Message was edited by:
            Mohan Kumar

    You can use this SAP enhancement PPCO0012 to display your own additional
    information on a separate tab page in the production order header. You
    can also make user fields avaialble for input, change them, and return
    the changes to the order header.

  • Accessing all the fields of a function module in EWM

    Hi All,
    I have a requirement to prepare a report that pulls some fields of the Function module /SCWM/STOCK_INC_OUT_MON.
    This Fuction module is in EWM.
    I need result rows for multiple values(user inputs) of warehouse.
    Cant we access individual fields from this FM without using the structure?
    i need to pull the fields MATNR, NLPA PROC and GRDATE
    for all the user entries in Wahrehouse code
    Thanks, Arka

    Hi,
    You can use the work area to capture the output of the function module and then use the data (fields) which ever you require.
    The structure of the Work area (Data Types of the field) should be same as data types of output parameters of that Function Module.
    Hope this helps.
    Regards,
    Shweta Soragavi

  • How to make this function module as RFC to get data from different system?

    Hi
    I am trying to use following function module . This function module is used to copy data from one cube to another cube within same system however I need a this should happen across two different system. How can I use this function module to make it remote call to different system and do the same function what it is doing ?
    Name of function module -
    RSDRT_INFOCUBE_DATA_COPY
    Any help would be really helpful
    AG

    HI,
      let us say you want to copy the data of a cube in system A to a cube in system B .
      1) create a RFC function module in system B (in this function module  call the function module RSDRI_CUBE_WRITE_PACKAGE to update the data), this RFC function module should have same parametersa as RSDRI_CUBE_WRITE_PACKAGE .
    2) write a program in system A .. read the data from the infocube using the function module RSDRI_INFOPROV_READ and call the RFC function module in system B that you have created..
    for the details of the parameters to pass to these two function modules use the RSDRT_INFOCUBE_DATA_COPY and get the required code
    Thanks
    mahesh

Maybe you are looking for

  • ITunes has slowed...every function and feature...

    I am having a real problem with iTunes that seems to have started when I installed the iLife 08 package and following the most recent iTunes update. I have searched the forums and support and can't find a clue. All functions appear to be slowed to a

  • "Number of Plays" Incorrect

    Hi, Query about IPod Touch. Thw number of plays on my iTunes library is being shown incorrectly. For instanct if I play a song on my IPod once, the number of plays for that song will be shonw as 160 or 180 times. Is there a  fix for this. Regards, Su

  • Need Help on Sqlplus -s Mode!

    Hi, I am Using Oracle 11g Database Release 1 on Windows 2003 Server R2 SP2 ... I have Created a Batch file which call Sqlplus in Silent mode and Run a sql file, inside the Sql file, i am passing this Command ACCEPT System_Password default 'oracle' PR

  • Quicktime loss of quality in web browsers?

    Hello. I'm trying to upload a 30M MOV file to my website. I noticed that there's a loss of quality when the movie plays in a web browser as opposed to just playing it in the Quicktime player outside of the website. Is there something I need to add to

  • Creating Photo Album

    I've tried creating a photoalbum through Dreamweaver 8 and Fireworks 6. When I click to create album, Photoshop automatically opens and I get message saying unable to create -- Photoshop doesn't recognize file type (I've tried using .jpg and .png). I