CFL Event for user fields

Hi Experts,
I have a quick question!
In the Purchase order form, row level, I have one column which is a User Defined Field.  All I need is, when I select a particular Item from the ITEM CFL (from Item Code column), I also need to populate my field (UDF) there corresponding to the item selected. 
Kindly advice me on the event which I need to use there for the population of values.  I want that field to be populated, the way it works in default functionality.  Eg: The way Qty, Whse, etc gets populated w.r.t the item selected in the Item CFL automatically.  Sample code will be appreciated.
Thanks in advance.
Regards,
Satish. B.

Satish
Why dont you write code in the Item Code column ChooseFromList event. In purchase order, the item selection will be automatically done by the sbo. But I think we can find the CFL event in purchase order.
you can initialize an integer variable which is equal to pval.ROw => Current row which user initiates the CFL.
since multi selection is true you will get how much items selected in the CFL by checking dataTable.Rows count in CFL event.
Then after all the CFL event over, just start from initial row to the end row and populate all the UDF columns as well.
Anoop

Similar Messages

  • How to make field key for user fields cant be changed after project release

    Dear Expert,
    How can we make field key for user fields cannot be changed once we release the project/wbs?
    Cheers,
    Nies

    Do you mean 'field key' in the project profile in SPRo?
    I think after a project is created a change in the field key wont affect the fields in CJ20N..
    Can you verify?
    Regards
    Ramesh

  • Field key for User fields

    For some reason it seems that the Field key for User fields is shared between WBS and Network Activity.  We use it for WBS-elements, but I want to close the User Fields tab for network activity.
    When I try to remove it for ntw activity I get the tab back with a red triangle, saying that fields are necessary...
    Any help is greatly apreciated.

    Anjali,  If We  Remove the field key from the network profile. This will still display  the user filed tab, but the same will be in display mode and having drop down for the user field selection.  The movement we select this drop down the filed will become input as per settings.
    And I peruse  that PS user wanted to delete the tab. Please verify my observation.
    With Regards
    Nitin P.

  • How to handle form close event or escape key press event for user defined f

    Experts,
    Please let me know how to handle form close event or escape key press event for user defined form...
    Thanks & Regards,
    Pravin.

    Hi
    You can catch the form close event like this
    If ((pVal.FormType = 139 And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_CLOSE)) And (pVal.Before_Action = True)) Then
          Try
                   SBO_Application.SetStatusBarMessage(pVal.EventType.ToString())
          Catch ex As Exception
                    SBO_Application.SetStatusBarMessage(ex.Message)
            End Try
          End If
    Hope this helps
    Regards
    Arun

  • User-Exit or BADI for USER FIELD in C201 or C202

    Dear Experts,
    SAP has made provision of USER FIELDs in C201 / C202 (Create/Change Master Recipe: Operation), which is saved in PLPO table.
    By applying logic, for each operation I want to create a Phantom part and update values in this user fields at the time of SAVE.
    Is there any BADIs, User-Exit or any standard way available which is called at the time of Recipe Create / Change?
    Or Should i go through Implicit Enhancement for the same?
    With Regards,
    Kaushik Savaliya

    Hi Kaushik,
    Please check these Function exits.
    EXIT_SAPLCPDO_001 -PS: User fields
    EXIT_SAPLCPDO_002 -PS: Customer specific fields in process (standard net)
    EXIT_SAPLCPDO_003 -PS: Customer specific fields in process (standard net)
    Hope it helps.

  • Search help for user field for WBS element

    Hi,
    how can I add a search help to one of the user fields for WBS elements without modification? Is there an exit which I can use? I want to have a search help for field PRPS-USR02.
    Thanks for your help.

    Hi
    Create an elementary serach help using the Table USR01 or USR03
    see the steps
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    Regards
    Anji

  • SBL-DAT-00398 error msg for User Field Validation

    Hi All,
    I have created the following field validation on the User field "Division": Len([<Division>])>0 AND InStr([<ltValidation_OU_ITAG>],[<Division>])>0, As the "Division" field is free text, the porpuse of the validation is to prevent the user from entering in this field any value that is diffrent from the ones available in the custom field "Validation OU" via the User Owner Page Layout. The validation works OK for Admin Role via the User Admin Page Layout but a SBL-DAT-00398 error msg stating " Field '<Division>' does not exist in definition for business component 'Occam Current Employee' " appears when users with other roles are trying to update this field via the User Owner Page Layout.
    I have contacted OD Customer support and they validated this in several POD saying this "is most likely a defect in the application" and a CR will be submitted to dev team to fix it sometime in the future.
    I am wondering though if support isn't making life easy here stating the above...:
    1. Anyone encountered this error before? (couldn't find any trace for this on My Oracle Support)
    2. Anyone aware of field validation limitations for the 'User' entity?
    3. Workaround suggestions are welcomed
    10X for you help!
    Alex.

    Error(), fatal(), info() and warn() issue FacesMessages that get picked up by the MessageGroup component.
    By adding in the uicomponent you can target the facesMessage so that it gets picked up by the Message component associated with the field causing the error.
    But, to get the label to show the error as well, you need to throw a validationError. See this tutorial for more informaiton:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/customvalidator.html
    Lark

  • ERROR for User fields

    ERROR: No Records Found
    This is the error which i am getting when entering user fields (location) while creating WBS.
    Where do I enter the values.

    Hi ,
    Are you entering values in the 5th tab (User Fields) ?
    Check if you are entering values in the "geenral fields"
    and let us know what is the field key value you are entering !!!
    Best Regards,
    M.Amarendra

  • DisplayName And ShowField Not Working In ViewFields FieldRef Element For User Field

    Hello,
    I have the following field defined in my list definition.
    <Field Name="Member" ID="{542e3c23-0cd0-4362-a699-9209deef278e}" DisplayName="Member" Type="User" List="UserInfo" />
    And in the default View I have added the following in ViewFields element:
    <ViewFields>
    <FieldRef Name="Member" DisplayName="Picture" ShowField="PictureOnly_Size_72px" />
    <FieldRef Name="Member" DisplayName="Surname" ShowField="LastName" />
    </ViewFields>
    When I go to the list I see the two columns displaying the name of the user. If I change the field properties to show the picture then both fields show the picture.
    The DisplayName is also not considered in FieldRef element.
    Any ideas?

    Hi,
    It will be better if you can provied more information about how you change the field properties.
    And other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • ALV Grid: event for user return in ALV Grid Control

    Hi developers,
    i'm wanna do something after a user has pressed the return button in a alv grid control. For that i need probably a event. But i can not find a proper event in the documentation. Could one of you guys help me?
    Best regards christian

    Hi Christian
    ALV grid is an encapsulated object, so it seems there is no way, you ought to implement the data_changed event. So if you want to make bulk data input and after trigger the event by pressing the return key, you should make the ALV Grid get your changes after pressing the key but not after a cell change of a modified cell.
    To set this attribute:
    CALL METHOD gr_alvgrid->register_edit_event
         EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_enter .
    This way "data_changed" event will be triggered whenever you press the return key while editing.
    For some more information you can also refer to the tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf">"An Easy Reference for ALV Grid Control"</a>.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Event for edit fields in Object ALV grid

    Hi community,
    I've building an ALV Grid in a SubDynpro of Tabstrip...
    Any fields are edit.
    I would like refresh my internal table at data changed of ALV object but if not assign a field at F4 event this result 
    not refresh.
    Thanks everybody,
    Antonello

    Hi Antonello Didonna,
    Use this code, its working:-
    After the user edits any records and performs an action then place this code.
    Say when user presses a button with function code 'EXECUTE', and all the changes from the output screen in ALV reflects back to internal table.
    * handle the code execution based on the function code encountered
    CASE sy-ucomm.
    * when the function code is EXECUTE then process the selected records
      WHEN 'EXECUTE'.
    * to reflect the data changed into internal table
        DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
        IF ref_grid IS INITIAL.
          CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
            IMPORTING
              e_grid = ref_grid.
        ENDIF.
        IF NOT ref_grid IS INITIAL.
          CALL METHOD ref_grid->check_changed_data.
        ENDIF.
        " now your internal table data is changed as in ALV output
        " append your code
      WHEN OTHERS.
        " your code
    ENDCASE.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • IW31- How to add Search help for User specific fields in IW31 transaction.

    Hi Experts,
    I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
    Is there any user exit for this requirement.
    Please reply, it will be very helpful for me.
    Regards,
    B. V. Rao

    Bala,
    See the following user-exits:
    IWO10015: F4 Help for user fields on operation
    IWO10016: Customer enhancement to check operation user fields
    PeteA
    [www.pjas.com]

  • Webdynpro abap onChange event for input

    Hello,
    I wanted to know if "onChange" event for input field is somehow possible in wd abap or if it is planned for next ehp releases
    of ECC6.
    (Like in Developer studio 7.11)
    thanks.

    Hi Thomas,
    Opening in on a Very old post, but i kind of need an onChange event functionality in one of my Web App. Basically we are dealing with a input field which is populated using a barcode scanner and the user wishes to be able to pull all the information related to the material number read by the scanner in an Input Field Element and display the related info in other fields "Without having to hit ENTER". Sounds a bit lazy but thts wht they need.
    I was wondering if its possible to modify the SuggestValue functionality to implement such an event. Any pointers to documents which explain how the SuggestValue works? I am just looking for code blocks (even if they are AJAX/Javascripts) tht i can somehow modify to make this thing work.
    P.S. Also if there is any other functionality already introduced by SAP since the last comment on this thread to help solve this will be helpful too
    Thanks,
    Parth

  • Double click event on subscreen field

    Hello,
    I have created a customer subscreen to be included in a Quality notification. The field that I have added is a Purchase Order number.
    I want to code the double click event for this field, such that when I double click the PO number it navigates to the Display PO transaction.
    As it is a subsreen, I cannot use the user command 'PICK'.
    I tried capturing the sy-ucomm and entering the following commands:
      IF sy-ucomm = 'AZOB'.
        SET PARAMETER ID 'BES' FIELD viqmel-zzponumber.
        CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
      ENDIF.
    However, this gives a problem because there is already a Purchasing Doc field in the notification and it navigates to the wrong PO.
    Can anyone give me alternate suggestions to navigate to the customer PO field?
    Thanks,
    Rugmani

    I tried your code and it worked fine for me. However I debugged ME23N a bit and found this:
    CASE l_t160-vorga.
        WHEN 'XP'.
          GET PARAMETER ID 'BES' FIELD l_ebeln.
          GET PARAMETER ID 'BSP' FIELD l_ebelp.
    and later on
    IF NOT sy-subrc IS INITIAL AND        
       ( ch_document-trtyp EQ 'A' OR      
         ch_document-trtyp EQ 'V' ).      
    Parameter bei Calls                   
      CHECK sy-binpt EQ space.            
      GET PARAMETER ID 'BES' FIELD l_ebeln.
      GET PARAMETER ID 'BSP' FIELD l_ebelp.
    When I ran this in my sandbox system, the document trtyp field was 'A' so the program did the second GET PARAMETER call and the document displayed correctly.
    my point is that the GET PARAMETER is conditional - so maybe the program (subroutine INIT_TRANSACTION in program RM_MEPO_GUI) is not actually doing it? There is also some code that IMPORTs values from shared ABAP memory, so the wrong document number could be coming from that as well... try debugging from your code inro the next program and see where it is going wrong.

  • Search help for input field

    Hi abapers i have one field crhd-arbpl(work center). its d't have serch help.
    i wrote a program for it in that i used  'F4IF_INT_TABLE_VALUE_REQUEST'  function module.
    but it is displaying output directly.
    when i press f4 it should be display first selection screen in popup window
    Note:s run transaction CR06 and press f4 in WORK CENTER
    I want same result in my program.

    Hello Keshava,
    The possible error cause ie, report being displayed directly is because you wouldn't have written the start-of-selection event. write the F4... function module on at selection-screen on value request event for the field and write a start-of-selection event for the remaining processing logic.
    Regards
    Farzan

Maybe you are looking for

  • Can't boot Lion on my new WD7500BPVT HDD

    Hello everybody, I've recently purchased a new Western Digital WD7500BPVT HDD for my MacBook Pro 15" Mid 2009 with 8GB RAM to do a clean install of Lion. I've created a bootable USB drive with Lion and it installs perfectly in around 15 minutes. But

  • Infotype 82 linked to infotype 2001

    Hi everibody,  can someone tell me whether it is possible to customize infotype 2001, linked to infotype 82? In fact in the infotype only fields AWART, BEGDA and ENDDA are displaied, and in this context we can only manage the "full day" vacation. We'

  • Claimed up to date mountain lion

    I applied for an uprgrade to Mountain Lion and was given a reference number and told I would receive an email. I've heard nothing. Any news about how I go about upgrading? I only bought my macair last week.

  • My CD/DVD drives quit working and I had to change Registry settings to get them to work again. Now Itunes gives me a message at startup that I need to reload iTunes.

    Both of the CD/DVD drives on my desktop computer quit working. I had to change registry settings to get them to work again and after that iTunes gives me a message on startup that I need to reload iTunes because of the change in registry settings. I'

  • Lsapiw32.dll not found?

    I continue to receive an error message (no # provided, but listed as Acrord32.exe - Unable To Locate Component) that "The application has failed to start because laspiw32.dll was not found.  Re-installing the application may fix this problem."  This