Creating a user-defined field in VL06

Dear all ,
Please guide me how to add few user defined fields in the output list of standard VL06 transaction code - (Delivery Monitor Report - WS_DELIVERY_MONITOR) - I have to add in the option of 'List Outbound deliveries' -
Pls revert.
Thanks in Advance.
P.G.R

Hai
Follow the bellow steps for creating User Defined Field Exit
Step by step procedure for creating Field Exits
There are eight steps to creating a field exit:
Step 1: Determine Data Element
Step 2: Go To Field Exit Transaction
Step 3: Create Field Exit
Step 4: Create Function Module
Step 5: Code Function Module
Step 6: Activate Function Module
Step 7: Assign Program/Screen
Step 8: Activate Field Exit
Step 1: Determine Data Element
- Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
- An easy way to determine the data element associated to a particular screen field is to:
Go the appropriate screen.
Position the cursor in the appropriate field.
Press ‘F1’ for field-level help.
Click on the ‘Technical info’ pushbutton (or press ‘F9’) on the help dialog box.
On this Technical Information dialog box, the data element will be specified if the field is 'painted' from the ABAP/4 Dictionary.
Step 2: Go To Field Exit Transaction
- The transaction to create field exits is CMOD.
- You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
- From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
- After choosing this menu path, you will be taken to the field exits screen. From here, you can create a field exit.
NOTE : Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
Step 3: Create Field Exit
- From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
- After choosing this menu path, a dialog box will prompt you for the appropriate data element .
- Enter the data element name and click the ‘Continue’ pushbutton.
- Now, you will be able to create the function module associated to the data element’s field exit.
Step 4: Create Function Module
- You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the ‘Continue’ pushbutton.
- In the ‘Function module’ field, a function module name will be defaulted by the system based on the data element specified. This name will have the following convention:
FIELD_EXIT_<data element>
- You can add an identifier (an underscore followed by a single character ).
- The first function module for a data element’s field exit must be created without an identifier.
- To create the function module, click on the ‘Create’ pushbutton, choose menu path Function module -> Create, or press ‘F5’.
- After choosing to create the function module, you will get the warning: "Function module name is reserved for SAP". This message is just a warning so a developer does not accidentally create a function module in the field exit name range. By pressing ‘Enter’, you will be able to go ahead and create the function module.
- Before coding the function module, you will have to specify the function modules attributes -- function group, application, and short text.
Step 5: Code Function Module
- From the function module’s attributes screen, click on the ‘Source code’ pushbutton or choose the Goto -> Function module menu path to the code of the function module.
- Here you will add your desired functionality for the field exit.
- Remember that field exit’s function module will have two parameters -- one importing parameter called "INPUT" and one exporting parameter called "OUTPUT". These parameters will be set up automatically by the system.
- You must remember to assign a value to the OUTPUT field. Even if the value does not change, it must be moved from the INPUT field to the OUTPUT field.
Step 6: Activate Function Module
- After coding the function module, you must remember to activate it.
- Use the Function module -> Activate menu path to activate the function module.
- At this point, you can return to the field exit transaction.
- You should be able to 'green arrow' back to this transaction.
- When you return to the field exit transaction, you will see an entry for the newly created field exit.
- At this point, the field exit is global. That is, it applies to all screens that use a particular data element. On any screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
- Also, the field exit will not be triggered yet because it is inactive.
Step 7: Assign Program/Screen
- This step is only needed if you want to make a field exit local.
- To make a field exit local, select the field exit and click on the ‘Assign prog./screen’ pushbutton.
- In the dialog box , indicate the appropriate program name and screen number.
This information indicates that the field exit is local to the specified screen in the specified program.
- In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the ‘Fld. Exit’ field.
- If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
- If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data element>_<identifier>'.
Step 8: Activate Field Exit
- The field exit must be active for it to be triggered by the system.
- Activate the field exit by choosing the Field exit -> Activate menu path.
- After assigning the field exit to a change request, its status will change to ‘Active’ and it will be triggered automatically on the appropriate screen(s).
NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
Regards
Sreeni

Similar Messages

  • Not able to create user defined field

    hi experts
    i am not able to create a user defined field through, 'user defined field management ' window,
    when i am selecting this window SAP B1 is hanging ,later i need to close the application .what should be the problem ,
    please help me to solve this issue
    thanks in advance
    ajith

    hi
    thanks for reply
    following is the my sap b1 version and PL
    SAP Business One 2007 B (8.60.035)  SP: 00  PL: 08  2007B_CORE_080709_0214
    yes i created user defined fields in employee  master records
    kind regards
    ajith

  • Create User-defined field for Marketing Documents

    I need to create a User-Defined field for Marketing Documents under Title and Rows.
    I need to do it via .NET instead of manually go into SAP to create it.
    Does anyone can give me idea on how to do this?

    Hi David,
    There are examples of how to do this in the SDK samples (look for MetaDataOperations project in the DI samples).
    There are also examples in the SDK help. Here's one:
    Private Sub AddUserField()
    '// The UserFieldsMD represents a meta-data object that allows you
    '// to addremove fields from tables or change the fields' characteristics
        Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
    '// In any meta-data operation there should be no other object "alive"
    '// but the meta-data object, otherwise the operation will fail.
    '// This restriction is intended to prevent a collisions.
        '// The meta-data object needs to be initialized with a
        '// regular UserFields object
        Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
        '// When adding user tables or fields to the SAP Business One database
        '// use a prefix identifying your partner name space
        '// this will prevent collisions between the various partners add-ons
        '// SAP's name space prefix is "BE_"
        '// Set the Fields' mandatory properties
        oUserFieldsMD.TableName = "OCRD" '// BP table
        oUserFieldsMD.Name = "BE_UserField1"
        oUserFieldsMD.Description = "A user field"
        oUserFieldsMD.Type = db_Alpha '// am alphanumeric type
        oUserFieldsMD.EditSize = 20
        '// Add the field to the table
        oUserFieldsMD.Add
    End Sub
    Kind Regards,
    Owen

  • SALES ORDER: Total of a Field from the Grid in a User-Defined Field in ORDR

    Hello!
    I created a User-Defined Field called "U_Soma" in table ORDR (Marketing Documents / Title).
    I need this U_Soma field Totalize the content of another User-Difined Field called "U_TotalPorUM" created in table RDR1 (Marketing Documents / Rows). It must get the Sum the value of all rows in the current record being edited.
    Using the Query below, it works fine with already saved records:
    SELECT SUM(T1.[U_TotalPorUM]) FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.DocEntry = $[ORDR.DocEntry]
    However, I need that it work with non saved (yet) records.
    Thank you!
    VALERIO OLIVEIRA
    Edited by: ValerioOliveira on Apr 22, 2010 10:14 PM

    Gordon, thank you for your fast answers!
    In other circumstances I would agree with you.
    But the U_Soma field must be used to control the maximum weight of a charge.
    It becames very usefull if user can see that the charge limit is reached, still when the Sales Order is being edited.
    (The U_TotalPorUM field shows the weight of each item).
    I would appreciate any help!
    Thanks a lot!
    VALERIO OLIVEIRA
    Edited by: ValerioOliveira on Apr 23, 2010 7:28 PM

  • OIM user defined field in process form

    I am trying to create a user defined field (UDF) in a process form. The UDF would be a drop down list of values for the status field.
    I've tried to do this by going to the Administration list, and double clicking on User Defined Field Definition. Then selecting the Form Designer. I can add a column but I cannot add values to the drop down. I know I'm probably doing this wrong.
    How do I add a UDF drop down and its values to a process form?
    Thanks!

    1. Create lookup table for the drop down contents.
    2.In the process form--->go to the properties tab-->select the User defined filed name-->add property--->property Name drop down list -->select lookup code-->in the property value-->provide the lookup table name-->save
    Edited by: user13513300 on Feb 24, 2011 1:45 AM

  • Binding a Check Box with a User Defined Field

    Hi everyone,
    i v created a user defined field (U_CheckPro)in the system table "OITM" with two values: Y for Yes and N for No. In relation to that i v also created a check box on the form "150" and would like to know how can i bind my checkbox with  my user defined field properly.
    The user would be than able to enable or disable the check box for each item (article). The user setting schould be than be active and valid in sbo-business logic, each time an item is selected. (for example in case of sales order ID 133, "OINV").
    Any helfpul hints? Samples would be welcome as well.
    Thanks and regards
    Alban

    > First of all you should remove the valid values
    > because checkboxes does not work with valid values...
    > Just give a default value.
    Hi Rasmus,
    thank you very much for your helpful hint. I guess my problem is solved by that - nevertheless here is my complete code sequence once again in case of possible errors.
    I would appreciate any additional suggestion for improvement of the same.
    Thanks and regards
    Alban
    >>>
    Private Sub AddItem()
            ' Test UserSource
            oForm.DataSources.UserDataSources.Add("U_CheckPro", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
            oItem = oForm.Items.Item("122")
            ' Adding a Static Text item
            oNewItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oNewItem.Left = oItem.Left + 20
            oNewItem.Width = 100
            oNewItem.Top = oItem.Top + 12
            oNewItem.Height = 25
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.LinkTo = "CheckBox1"
            oStaticText = oNewItem.Specific
            oStaticText.Caption = "Test_Caption"
            ' Adding a Check Box item
            oNewItem = oForm.Items.Add("CheckBox1", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            oNewItem.Left = oItem.Left
            oNewItem.Width = 20
            oNewItem.Top = oItem.Top + 15
            oNewItem.Height = 19
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.DisplayDesc = False
            oCheckBox = oNewItem.Specific
            'binding check box to source
            oCheckBox.DataBind.SetBound(True, "OITM", "U_CheckPro")
        End Sub
    >>>

  • User defined field in CO01,CO02 ?

    Dear Gurus,
    My client want a User define Field in Production order , just for information purpose
    How can I Create a user define field in this transaction ( CO01 / CO02 )
    Pl. Guide
    Regards,
    Ishwar

    Hi,
    Go to operation view in the SFO. Select the operation, then follow menu path Operation - Operation details (key board shortcut - F7). Now you will find some tabs, the tab user field is somewhere near the end so you would need to proceed to the right.
    Once you're in that tab, select the field you defined & hit enter. The fields will be displayed.
    Also the user-ext PPCO0006 is used to default values to order header fields, i am not sure how this can be used to add tabs in order header.
    Regards,
    Vivek

  • User defined fields in Resource object; Resource object form

    Hi,
    Can anyone tell me what is the purpose of having user defined fields for resource object and resource object form and how can we use those fields while requesting for target resource.
    Regards,
    Alabhya Goel

    Thanks for your reply!!!!!!!!!!
    I know about resource object form i am just asking what is the use of user define field in resource object form. How can we use it. Like when we create any user defined field in under User form those fields display on create user form but when we create any user defined field in resource object from those are not displayed in form.
    If anyone has used or worked on user defined fields in Resource Object or resource object form; please give me an overview over the same.
    Regards
    Alabhya Goel

  • User defined fields for the Trading partner agreements

    Hi,
    Do we have any provision to create custom/user defined fields for the Trading partner agreements ?

    Hello,
    It would be great if you can provide complete details of your use case. I can suggest the possible way of implementation only after understanding your requirement.
    Regards,
    Anuj

  • User-defined fields in Enjoy transactions

    Hi,
    we have created two user-defined fields and added these in the entry variant for Enjoy transactions. However, we would like the fields to show with fewer characters. We have tried to reduce the length in the entry variant, but it seems that you cannot do this. We do not want to reduce the length of the field in the database.
    Is there any way around this?
    Thanks,
    Moly

    Hi,
    You should be able to do it via screen painter.
    Please check this help:-
    [http://help.sap.com/saphelp_nw04/helpdata/en/d1/801c3a454211d189710000e8322d00/content.htm]
    Also you should put this query in SAP ABAP forum, where you will get more appropriate answers.
    Regards,
    Gaurav

  • Display of document line items with user defined fields

    Hi all,
    I have created two user defined fields in CI_COBL structure and they are available on OBC4 screen. I maintained  optinal for entry in the screen layout. I posted one document with user defined fields and saved.
    Now the document is updated in BSEG table. I then display the document, and it display the doucment
    But when i double click on the one of the line items system gives an error that there is some problem in customising and entries missing in Table COBM.
    I checked OXK3 and see that in field information for user fields, it says entries maintained in table COBM.
    But still i couldnt display my line items in detail.
    Any solutions
    Thanks in advance
    Ram

    Yes your are looking at the correct sap note.
    Things look pretty straight forward in the notes documentation.
    1)Extend the VBKRED structure with the fields you want.
    2)Populate thse values in the user exit in program DBKMVF02 in FORM routine USER_EXIT_FUELLEN_XVBKRED.
    For extending a standard structure you need to create a zstructuree in se11 first and then append it to the standard structure.
    In your case you need to  extend VBKRED_EX1 structure rather than VBKRED.
    Regards,
    ravi

  • SRM User defined fields -- can not input values

    Hi,
    We are using SRM 4.0. I have created a user defined field at the PO header according to note 672960. But I can not input anything to this field.
    This is what I did:
    1. in both structures INCL_EEW_PD_HEADER_CSF and INCL_EEW_PD_HEADER_CSF_PO add the append structure with the new field ZZCONTRACT.
    2. in BADI BBP_CUF_BADI_2 created an implementation Z_BBP_CUF_BADI_2. In method MODIFY_SCREEN set: xdisplay = 'X' and xinput = 'X' for this new field.
    This new field showed up in SRM, but it is greyed out. I can not type in anything. Could anyone tell me what I did wrong or what I have missing? Thanks a lot!

    hi,
      If you can see the custom fields,the problem is with the BADi implementation.You can write something like this in the method for the PO cust fields:
    IF iv_doc_type = 'BUS2201'.
      *Hide all customer fields
    *Will change this coding if any other document type needs
    *customer fields
          LOOP AT et_fields INTO wa_et_fields.
            wa_et_fields-xdisplay = 'X'.
            MODIFY et_fields FROM wa_et_fields.
          ENDLOOP.
         ENDIF.
    Save and activate the implementation.
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Linking the UDO of type document to user defined field

    I created the user defined field and i need to link the UDO of type document to that user defined field. How to link the UDO to user defined field.

    Dear
    do you mean to add a user defined field to an document type UDO? if this  is the case,
    1. create the UDT
    2. go to Tools-> customization tools->User Defined Fields-Management, expand User Tables, add the udf to the UDT
    3. register the UDT as UDO.
    best regards,
    xiaodan an

  • User Defined Field as a Link

    Hi All.
    I have an issue I need clearing up with.
    We have created a user defined field in the Item Master data..
    This field is a link to an image.
    the location/path is different from the default image folder specified under the genreal settings window.
    The picture does not appear when you click on the link in the user defined field, we have discovered that the folder give a permission denied message when trying to access it over the network.
    Could this be the reason the picture does not show?
    Thanks
    Jerusha

    You should have Full Permissions to the 'B1_SHR' folder in your Server, so that this problem will not occur.

  • User defined field not visible "Conditions" tab

    I have created a user-defined field Z_E_PREIS that I want to use as a result-type of user field in condition table. When using a condition record that has this field, the field is not visible inthe "Conditions" tab of the transaction item. Why is that?
    Customizing activities done:
    - data element Z_E_PREIS (CHAR10) created with SE11
    - field catalog: field name "Z_E_PREIS" created in "Fields NotContained" tab, referring to data element Z_E_PREIS
    - BAdI /SAPCND/ROLLNAME activated for this field, for contexts CONTRACTand PRODUCT
    - condition table CUS9051 four fields:o search fields: sales org., distr.ch. and producto result field: Z_E_PREIS
    - access sequence Z951 with the fields from cond.tbl CUS9051- condition type ZZ51 using access sequence Z951, manual maintenanceallowed- pricing procedure ZZ901 with one condition type: ZZ51
    - determination of pricing procedure: sales org. 50004458 -distr.ch.01 - doc.pr.proc.Z
    - customer pr.proc. 1 => ZZ901
    - created transaction type ZF12 (doc.pr.proc Z) and item category ZV12and item category determination
    Master Data maintenance:
    - created condition maintenance group ZPRODCRM: added condition typeZZ51
    - condition maintenance group ZPRODCRM assigned to application CRM inMaster Data
    -> Products -> Special Settings for Sales Operations- created product ZTEST3, item category group U001, distributionchain "Rel Three - 01"
    - in ZTEST3, created three condition records for ZZ51 (sequential 2-week periods). User field Z_E_PREIS "Price Key" maintained for each of them.
    Best regards, Anders

    Hi Raja,
    Prior to trying Gordons option of unmarking and remarking them i would suggest you do a little more investigation as this can potentially change the field names in XL report and if you have any reports using them they may stop working (it can add a post fix of _1).
    Firstly, what are the fields set as in the User Defined Fields window in XL reporter?  Light Dimensions, Dimension Attribute or Measure?  If its a Dimension Attribute for example on the Business Partner UDF, it will not be visible in the tab section but should be shown if you drag and drop the Business Partner dimension in the report, then right click and choose display more attributes (dimension attribute UDFs will be in this list).  Light Dimensions and Measures should appear in the tabs.
    If they are set as a light dimension or measure and are not in the tab section, has this only just started happening or have they never been visible?  If its just started happening, having you recently upgraded to a new patch?  If so, in future you need to run a script on the Company and Common database prior to the patch upgrade.  If you did not run these scripts you will need to do Gordons solution but as I say, if any reports have UDFs in these may not work after and you will have to manually edit them.
    Regards,
    Adrian

Maybe you are looking for

  • Adding changes to existing PDFs?

    Hello all, I have been looking for a solution to my problem for quite some time now but haven't been able to find it. My company offers many online forms for our customers that are quite complex and include many (hundreds) different fields. Right now

  • Use Plug-ins in x64

    None of the plugins I'n downloading are showing up in x64 PS.  My guess is that they are just x32 version.  So is there any way for me to get them to work in x64 bit?

  • Pages "Ipad APP" no export via epub??

    Greetings Folks, I wanted to take a look at the ebook I'm working on. I went to "export as an epub" and found the option not avail. Is it me or is it not avail in the iPad App version? Many Thanks, twinetop

  • V240 Hangs at loading runtime image

    Hi everyone, I'm new to Sun systems and i'm trying to setup a Sun Fire v240 server. I'm trying to connect to the server using windows hyper terminal, and the connexion cable supplied by Sun (RJ45 + DB9 adapter). When i connect the server to the power

  • I purchased music but it doesn't appear in my library, only as purchased in the store. How do I get the songs to my library??

    I purchased music but it doesn't appear in my library, only as purchased in the store. How do I get the songs to my library so I can burn a CD??