UDF fields, display order

Hi to all,
when one adds UDF to a form, in the "companion window", he can set in which order they will be displayed by doing Customization tools > Settings while displaying the form and changing the value in the Order column.
I am wondering in which table are these parameters stored.
Thanks
Gilles Plante

Mauricio,
UFD1 seems to be used to set values for UFD.
GordonDu,
CUFD table has a column named Field, but it tells in which order the UFS were created.
I am looking for the table that defines the order in which the UDF are displayed in the window next to the document to which they are attached. It's unfortunate we can't add images to posts.
Thanks
Gilles Plante

Similar Messages

  • Changing the Event View Field Display Order on a Calendar

    We'd like to change the display of a calendar event to show the Title on top and the time below. This is how it currently looks below. Is there a way to change it?
    Orange County District Attorney

    Hi,
    According to your post, my understanding is that you wanted to change the Event View Field display order on a Calendar.
    You need to insert the code below into a Content Editor Web Part.
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    function changeCalendarOrder() {
    $(".ms-acal-sdiv").each(function () {
    var arr = $(this).find('div').toArray();
    var temp;
    temp = arr[0];
    arr[0] = arr[2];
    arr[2] = temp;
    $(this).html(arr);
    //alert($(this).html());
    _spBodyOnLoadFunctionNames.push('calendarEventLinkIntercept');
    // hook into the existing SharePoint calendar load function
    function calendarEventLinkIntercept() {
    var OldCalendarNotify4a = SP.UI.ApplicationPages.CalendarNotify.$4b;
    SP.UI.ApplicationPages.CalendarNotify.$4b = function () {
    OldCalendarNotify4a();
    changeCalendarOrder();
    </script>
    The result is as below:
    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

  • UDF field in Crystal in Sales Order Layout

    Hi,
    I want to Include UDF field in sales order layout, when i open default layout it shows only standard in RDR1(UDF for rowlevel ) it doesn't shows UDF fields. Now i connected database and re-established OLE DB connection and pulled the RDR1 table, here i can get those UDF created by me. but if i use this UDF field in report details area and this results no values in the layout while preview the report in SAP B1.
    Anyone guide me on this....
    Regards
    sree

    Hi Ivan,
    If you want to populate UDF fields into crystal reports layout then you have to do wat i mentioned earlier.
    1. Go to Menu
    2. choose Database
    3. choose verify database
    4.enter Object Id and Document Number as a input
    5.system will retrieve the values from database and pull all the fields including UDF
    but this doesn't change field length of UDF you have to change it on UDF fields management in SAP by updating the field properties.
    Note: later you can't reduce the length
    Regards
    Sree

  • Lookup selected batch in Sales Order on UDF field

    Hi,
    I have made an udf on sales order row level.
    Now i want to see in that udf u_batch the selected batchnumber in de row in the sales order.
    I use this query FMS but this is giving me a list , i want to see just the selected batch , after selecting it with CTRL-TAB in quantity field of SO.
    this is my query:
    SELECT T0.[DistNumber] FROM [dbo].[OBTN]  T0 INNER JOIN OITM T1 ON T0.ItemCode = $[$38.1.0]
    THX
    Mark
    Edited by: M. Hageman on Jun 15, 2010 11:16 AM

    You  can use this FS to get the batch(es) allocated to an order line:
    Select  bb.DistNumber
    FROM [dbo].[OITL]  l
    INNER JOIN [dbo].[ITL1]  b ON b.LogEntry = l.LogEntry
    inner join OBTN bb on b.MdAbsEntry=bb.AbsEntry
    Where l.DocType=17 and l.DocEntry=$[ORDR.DocEntry] and l.DocLine=$[RDR1.LineNum]
    BUT this works only after adding the order, because the allocation data is stored only then!

  • Update a UDF field at runtime

    I designed the Sales Order and Sales BOL form in Crystal Reports. I am looking to capture and update an UDF field every time I'm printing the one of those reports in SAP B1 2005 A. The reason for doing this is to display on the report "Original" when printed for the first time, "Duplicate" when printed for the second time and so forth. Is this possible? Thank you.

    You could do a Formatted search on the UDF to change to a value when the Field "Printed" is changed.
    You might want to do "Refresh Regularly" option in Formatted Search.
    Krishnan

  • Total calculation based on unit price and UDF field values

    Hi All,
    This is for a construction related company. Please find attached screen shot for details.
    My scenario is when we are creating sales order my client wants to calculate the total amount based on unit price towards the UDF fields defined. For example user will give the unit price  per sqft in Unit price ie 2800 as per screen shot column and constructed area in Sqft in he will enter the area like cons area in sqft =1500. So this 1500 need to calculate with unit price and will display in total. So in Total field it should show like 2800*1500= result. Like wise other amount values in udf needs to be calculated and displayed in total field  .
    Is this possible in SAP B1. Please help me with your valuable suggestions.

    Hi,
    Try this:
    SELECT ($[$38.U_Price.number]* $[ORDR.U_CArea.number)+ $[ORDR.U_EBexp.number]+ $[ORDR.U_RO.number]+ $[ORDR.U_Maintenance.number]+ $[ORDR.U_CorpFund.number]
    Thanks & Regards,
    Nagarajan

  • Issue with length of delivery field displayed in LM06 on RF device

    Hello everyone,
    I have a challenging issue which I have posted on another forum as well, and was hoping that somebody on SDN may be familiar with this.  This issue is being reported by one of our warehouses.  SAP RF transaction LM06 is used extensively in this warehouse, and we use a 10 digit delivery number. The delivery field itself in SAP is 20 characters, and we have always displayed 10 on RF. The warehouse is telling me that about a week ago, the number of characters displayed on the RF device for the delivery field in LM06 changed from 10 to 9, and that a leading zero was being inserted when the barcoded delivery number was scanned. There have been no changes to the barcode on the picklist, and I am told there have been no changes to the printer that prints the pick list. A change was deployed a week ago that contained some unrelated configuration and a small code change in a user exit for transfer order creation. Neither of these is in any way related to LM06. Our basis team tells me that there have been no changes to the SAP console server, but I have no way to verify that myself as I am a WM functional consultant. Can anybody tell me if they have seen a problem like this before, or if the field display for a transaction like this is configurable in the SAP console server? The RF hardware being used is the Symbol PDT-8146. Unfortunately, I am 10,000 miles from the warehouse, which puts me at a bit of a disadvantage in trying to diagnose this.

    Thank you both for the good feedback.  I have also gotten some useful feedback from my posting on ittoolbox, and have forwarded all of the responses to a colleague who is located at the site where the warehouse is located.  I will provide feedback once my colleague has had a chance to investigate further based upon the suggestions that I have received.

  • Choosfromlist in UDF fields

    Hi All,
    I have added some User Defined Fields to Sales Order window. Can I place a choose fromlist in  one of these UDF fields. If can, please give the code.

    Hi Jisha,
    Vasu is right, but you can update the Sales Orders form with a new tab that contains your user fields. And in these fields you can add the CFL has you would do in a standard user form (you can even add the CFL in the XML form).
    Example of the user form:
    <?xml version="1.0" encoding="UTF-16" ?>
    <Application>
         <forms>
              <action type="update">
                   <form FormType="139" uid="">
                        <items>
                             <action type="add">
                                  <item uid="_Family01" type="8" left="25" tab_order="0" width="80" top="160" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="Family01" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                       <AutoManagedAttribute></AutoManagedAttribute>
                                       <specific caption="Familia 1"></specific>
                                  </item>
                                  <item uid="Family01" type="16" left="110" tab_order="0" width="150" top="160" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                       <AutoManagedAttribute></AutoManagedAttribute>
                                       <specific TabOrder="0">
                                            <databind databound="1" table="OITM" alias="U_Family01"></databind>
                                       </specific>
                                  </item>
                                  <item uid="_Family02" type="8" left="25" tab_order="0" width="80" top="175" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="Family02" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                       <AutoManagedAttribute></AutoManagedAttribute>
                                       <specific caption="Familia 2"></specific>
                                  </item>
                                  <item uid="Family02" type="16" left="110" tab_order="0" width="150" top="175" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                       <AutoManagedAttribute></AutoManagedAttribute>
                                       <specific TabOrder="0">
                                            <databind databound="1" table="OITM" alias="U_Family02"></databind>
                                       </specific>
                                  </item>
                                  <item uid="_Family12" type="8" left="25" tab_order="0" width="80" top="325" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="Family12" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                       <AutoManagedAttribute></AutoManagedAttribute>
                                       <specific caption="Familia 12"></specific>
                                  </item>
                                  <item uid="Family12" type="16" left="110" tab_order="0" width="150" top="325" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                       <AutoManagedAttribute></AutoManagedAttribute>
                                       <specific TabOrder="0">
                                            <databind databound="1" table="OITM" alias="U_Family12"></databind>
                                       </specific>
                                  </item>
                             </action>
                        </items>
                   </form>
              </action>
         </forms>
    </Application>
    Than you catch the Sales Order form Load and you load the above form:
    1. Catch the Sales Order form load
    2. Add the new folder by code and update the Sales Order form
    Try
                oForm.Freeze(True)
                oForm.Resize(740, 480)
                Dim PaneLevel As Integer = oForm.PaneLevel
                Dim oNewItem As SAPbouiCOM.Item = oForm.Items.Add("FldFam", BoFormItemTypes.it_FOLDER)
                Dim oItem As SAPbouiCOM.Item = oForm.Items.Item("3") '// 3 = Id of an existing folder in the form
                oNewItem.Top = oItem.Top
                oNewItem.Height = oItem.Height
                oNewItem.Width = oItem.Width
                oNewItem.Left = oItem.Left + oItem.Width
                oNewItem.AffectsFormMode = False
                Dim oFolderItem As SAPbouiCOM.Folder = oNewItem.Specific
                oFolderItem.Caption = "NEW FOLDER"
                oFolderItem.GroupWith("3")
                '// Carregar o ficheiro XML com as modificações ao formulário normal.
                UpdateFormByXML(oCompany, oApplication, pFILES & " rm150_" & GetLanguageCode(oApplication) & ".srf", oForm.UniqueID)
                oForm.Items.Item("FldFam").Visible = True
                oForm.PaneLevel = PaneLevel
                AddFamilyFolder = True
            Catch ex As Exception
                oApplication.MessageBox("AddFamilyFolder(): " & oCompany.GetLastErrorCode.ToString & ", " & ex.Message)
            End Try
        End Function
    Function to update a form
        Public Sub UpdateFormByXML(ByRef oCompany As SAPbobsCOM.Company, ByRef oApplication As SAPbouiCOM.Application, _
                ByRef FileName As String, ByRef FormUID As String)
            Try
                Dim xDoc As Xml.XmlDocument = New Xml.XmlDocument
                xDoc.Load(sPath & FileName)
                xDoc.SelectSingleNode("Application/forms/action/form/@uid").Value = FormUID
                oApplication.LoadBatchActions(xDoc.InnerXml)
            Catch ex As Exception
                oApplication.MessageBox("UpdateFormByXML(): ", oCompany.GetLastErrorCode.ToString & ", " & ex.Message)
            End Try
        End Sub
    Regards,
    Vítor Vieira

  • How to update UDF of sales order line of closed sales order header

    Hello experts,
    We are using SAP 8.81.313  PL 05  and we noticed that through SDK using businessobject SAPbobsCOM.BoObjectTypes.oOrders,  we can't update an user defined field on sales order line for a sales order with header closed.
    calling the method  Update()   it returns 0  but actually the table field  was not changed !
    Also we noticed that It's possible to make an update of UDF of delivery line for a delivery with header closed.
    I don't understand why.
    Is it a bug or the expected behavior ?
    Our customer needs to change some UDF of sales order line even when the order header is CLOSED.
    Please help me.
    Many thanks for your time.
    Best regards
    Andrea

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • Other apps don't respect Contact Sort and Display order

    I just noticed this on my iPhone 4 and am wondering if anyone else has seen that the Map and Mail apps do not respect the 'Sort Order' and Display Order' settings that are chosen in 'Settings'.
    I'm referring to when you get access to your contacts list when inside these apps (when you are composing a new email in Mail and use the '+' icon in the 'To:' & also when in Maps when using the 'contacts icon' to load an address in the 'Search' or 'Direction' fields.
    On my iPhone 4 these two apps have the Sort and Display order apparently hardwired in that they don't change the ordering when it is changed in 'Settings'. It used to be that the contact list would always update everywhere to respect the odering chosen in 'Settings'. I thought that this must be an OS issue but for some strange reason on my old iPhone 3G that also has iOS 4 on it, I don't see this seemingly incorrect behavior....so at least in my case it is hardware specific.

    1. I have a simlar problem with my new iPhone.
    2. Settings configured to be "Last, First" (both sort&display).
    2a. The Contacts app does not following this setting, but...
    2b. The Phone app contact list correctly follows the setting.
    3. In Settings app, configured to be "First, Last" (both sort& display).
    3a. The Contacts app follows this setting
    3b. The Phone app contact list follows this setting.
    4. Could be that the Contacts app does not depend on the Settings (hard-coded?).

  • ML81N Make FM fields display only in account assignment

    Requirement is to make FM fields already derived from PO (derivation working correctly) display only or add an error message. Easy I thought just go to config for SES and click on Additional Fields display only (Cost Center?, WBS element? there was no funds management fields available)...then after some time investigating
    Have debugged the transaction and found some possibilities.
    (1) BADI TR_GET_ACCNT_ASSIGN called in function FM_ACCOUNT_GET_COBL from MS_ACCOUNT_ASSIGNMENT.
    (2) User Exit EXIT_SAPLFMCH_001 called in function FM_CHANGE_AA_SUBST
    (3) Use FMDERIVE to somehow check the PO derivation
    Just wondered if anyone had taken this further before I spend a lot more time understanding the whole process in order to achieve a small bit. Please I am a technical resource not FM specialist.
    If I could understand the process flow, at least it might help me make quickest simplest solution.
    thanks,

    Hi,
    You can customize the field status in tx OME9 for the relevant account assignment category.
    But be aware that this customizing will be valid for all purchasing documents and transactions - not only for ML81N and the services area.         
    During SES postings, inheriting the FM account assignment from the reference PO is the standard and expected behaviour, so you may see that FMDERIVE is not called when the PO reduction is to be posted during ML81N. Instead, the FMAA is read from table FMIOI and fmderive is skipped in those lines (fi transaction keys KBS/WRX, for instance).
    I hope this will help you
    Kind regards
    Mar

  • Limit UDF field to returns window

    I created a udf field for use in the sales returns rows window.  However, in the User-defined fields - Management window there doesn't appear to be a way to link the udf to only the returns window.  Obviously I don't want a field called "Returns Reason" showing in my sales order or invoice window rows.

    what we have done is added a udf title.  by default this added the udf to all sales and purchasing documents.  i then went to each sales and purchasing document and changed the udf settings -> unchecked visible and active for this specific udf.
    i did not like the behavior of the mandatory field since i wanted the user to pick the value (not a default value).  edit the sbo_sp_transactionnotification to trigger an error if the field is null.  applicable to returns document only (object type 16 for 2007a).

  • Orgchart org unit display order

    Hello,
    We are implementing Orgchart Accelerated.  Our customer would like to arrange the display order of organizational units based on a criteria and not alphabetically by org unit name, like it is done in the standard version of the product.
    Is there a way to do this?
    Thanks,
    Laurent

    Yes.  Are you doing this in live or staged?
    If you want to sort by a field already available in the field set then you can do this via the Administrator console (note this only allows for sorting by asc order).  To sort descending you will need to make a small change in the AppResources.xml  ... look for attribute "defaultsort=" and change from default value of asc to desc in relevant hierarchy configuration.
    If the field isn't available then doing it in live will be tricky ... doing it staged will involve extract the field you want to sort on and sorting based on this. If it is an order based on a combination of fields then previously I've added a "sort order" column and populated using SQL statements then used this in the application to sort on.
    Regards,
    Stephen

  • UDF fields from Active to not Active suddenly

    Hi everyone,
    a customer has submitted a problem which is quite strange. For one of the users, about once a month UDF fields in Item Master Data that are set to Visible and Active suddenly are not Active anymore. The user has no permission to change these settings. But there is something even more strange than that: at the same time, the master data for two items are displayed. For one item, the UDF are active, and for the second one they are not ! I have not yet created a message with the support because I don't have enough clues at what is taking place.
    Has someone already seen that ? Does anyone as a clue at what I should look at ?
    Thanks
    Gilles Plante

    Hi
    Since there is a duplication of data , I would suggest you to log support to SAP.
    Please check also if change log is activated on Item master which you can see from Menubar - Tools --change log
    If regarding UDF concern ,
    You could check --go to tools --customisation tools --setting  (or CtrlShiftB) 
    Check what it up there .
    I guess it is too hard for troubleshooting because we don't know what exactly trigger your problem.
    If you can get more details  like user 1 was doing ...,then...  we can probably look more in detail .
    So far i will first, I would suggest you to log support to SAP because your data is duplicated and also check how many data are duplicated also ..
    Thank you
    Bishal

  • Stored Procedure to Block Changing of a particular UDF Field by a particular USER ID

    Hi,
    I have a case where a particular UDF Field in Sales Order  must not be changed by a particular USER ID.
    My SP is,
    IF @object_type='17' AND ( @transaction_type='U')
    BEGIN
      if(Select T0.XXX  from ORDR T0
      where T0.UserSign='1' and T0.DocEntry=@list_of_cols_val_tab_del)>0
      begin
      SET @error = 1
         SET @error_message= 'You Cannot Change this Field'
      GOTO EXITLINE
      end
    end
    It throws me with the Error : -
    [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 'ABC' to data type int. (CINF)
    The UDF Field is Alphanumeric in type.
    Can any one please suggest me what could be the error.
    Thanks

    Hi Gopi Krishnan,
    Please check below SP Transaction Notification.
    if @object_type = '17' and @transaction_type in ('U')
    begin
    If Exists (SELECT T0.[DocEntry] FROM ORDR T0 
    INNER JOIN RDR1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN OUSR T2 ON T0.[UserSign] = T2.[USERID]
    WHERE T0.[UserSign] = '1'  AND T0.DocEntry = @list_of_cols_val_tab_del)
        Begin
            SET @error = 1002
            SET @error_message = N'You are not Authorized to Update Sales Order'
        End
    End
    Hope this help
    Regards::::
    Atul Chakraborty

Maybe you are looking for

  • Authorisierung des Digital Editions auf einem zweiten Computer!!

    Hallo, ich möchte das Digital Editions auf meinem neuen Rechner authorisieren, da ich keinen zugriff mehr auf meinem alten Computer haben. Das System sagt immer, dass das nicht geht, da diese Authorisierung bereits auf einem anderen Gerät vorhanden i

  • Mapping a credit memo with an invoice

    Dear sir. Im creat a credit memo (Tcode F-28) it is ok, But I dont know how this credit memo matched to the invoice. Eg. I have created an invoice for Customer A (5000USD of goods), then I have a credit memo for this invoice. Creating a credit memo i

  • V$session and v$sqlarea is interpreting in different way

    I am using redhad linux 5 version. The db version is oracle11g. I am trying to run the below shell script on the linux box export ORACLE_SID=chf01 export ORACLE_HOME=/ora/app/oracle/product/11.1.0/db_1 export WORKDIR=/ora/app/oracle/admin/chf01/scrip

  • Selecting data for analysis

    I have a column of conductivity measurements overtime at 1/10 s intervals. In preparation for data analysis I isolate each individual event which begins when at the point dye is introduced to the system, the pulse then travels to the measuring device

  • An exception of class NilObjectException was not handled. The application must shutdown.

    I just upgraded to Lion last night.  Today I purchased ScholarWord OSX, downloaded it now and I can't open it.  It was previously working with the demo.  I continue to receive the Nil error above.  How do I resolve this?