On a UDF (on a system table) add a CFL (linked to a system table)

Hello,
I added a UDF to OITM, named say "XXX_RootOfPrj". It appears on the standard UDFs panel:
Users should type a project code (OPRJ.PrjCode) here.
For helping them I need to add a ChooseFromList on this UDF, linked to OPRJ.
So I added this line in the UDF definition:
oUserFieldsMD.LinkedTable = "OPRJ";
But when I Add() the UDF I get:
Errore -5002: Il campo 'Tabella collegata' dovrebbe essere formato da 8 car. alfanumerici senza val. standard validi
Which means more or less:
Error -5002: 'Linked table' field should be formed by 8 alphanumeric characters without standard valid values
Maybe is it impossible what I want to do? It's odd that I can link a UDT but not a system table...
Maybe should I use a workaround, like manually attaching a CFL on the form using UI API?

Thanks Edy,
now I got it!
Create a query for the formatted search, like this:
select PrjCode, PrjName
from OPRJ
Add this user query to B1 as a saved query
Open Item Master Data, select your UDF, press Alt + Shift + F2
In the dialog select "Search in Existing User-Defined Values according to Saved Query", click on "Open Saved Query", select the saved query above and you are done.
Now the user can pick a valid project code from a CFL.
Kind regards

Similar Messages

  • Linking UDF to User Defined Table

    Dear Experts,
      I have a UDF on the batch tables that I would like to link to a User defined table. After creating the link, the UDF drop down cannot open up to display anything. The drop down box is there on the UDF but cannot open or drop to display anything from the user defined table.
    Has anyone came across this problem before ?
    Regards,
    Edited by: MARTIN KAMAU on Jan 4, 2011 10:12 AM

    Hi Martin,
    When you click on the UDF for the drop-down, do you see an option for "Define New"?
    What version of SAP are you using?
    Regards
    Sudatt

  • Add 'Send Message' link to table of connections taskflow

    I need to add "Send message" link to table of connections taskflow (tableOfConnections-ListView.jsff).
    Please suggest how can I access ProfileActions.addmessage action in tableOfConnections-ListView.jsff in order to add this link.

    I tried a lot things and even consulted an oracle consultant but could not get this working. The message service was always sending the message to same user(first user you sent a message).
    Finally We changed the user journey and removed the link from user list page.

  • To make UDF active in Batch Table

    Hi All
    I had created one udf in the batch table . While doing a transaction GRPO input in that udf is suppose "A". I want to edit that udf while doing delivery. is it possible to edit the UDF in selected batches? If yes how?  i know it is thru SDK
    Ashish Gupte

    Hi Ashish,
    Unfortunately, although the DI API allows you to create a UDF on the batch table, there is no UserFields collection on the Document_Lines.BatchNumbers object so you cannot use the DI API to read or write to any UDF field you create. The only way to populate these UDFs is to use the user interface.
    I'm not sure if this has been improved in 8.8 or 8.81 (which will go in to Ramp-Up before too long).
    Kind Regards,
    Owen

  • Edit Add New Item link in certain view of list in SharePoint Programmtically

    this is my requirements
    i have one list called List 1 and two content types on it
    CT 1 and
    CT 2 and create two views on the list
    View 1 to display items of CT 1 
    View 2 to display items of CT 2 
    the creation of list and views is done via XML 
    now i need to change the URL of add new item link in every view to open its content type, i.e. when i was on view 1 i click on add new item, it will open new item form of CT 1 and hen i was on view 2 and click on add new item, it will open new item form
    of CT 2 
    i do a lot of search on the internet but get the following code but it doesn't work for me, i already wrote it in event receiver
    SPSecurity.RunWithElevatedPrivileges(delegate()
    SPWeb web = properties.Feature.Parent as SPWeb;
    web.AllowUnsafeUpdates = true;
    SPList contractList = web.Lists.TryGetList("Contract");
    SPLimitedWebPartManager webpartManager = web.GetLimitedWebPartManager("Lists/ContractList/SICET%202A%20Contract.aspx", PersonalizationScope.Shared);
    foreach (System.Web.UI.WebControls.WebParts.WebPart item in webpartManager.WebParts)
    if (item.GetType().Name == "XsltListViewWebPart")
    XsltListViewWebPart listViewWebPart = (XsltListViewWebPart)item;
    Guid guid = new Guid(listViewWebPart.ViewGuid); // get the view details which is applied to web part
    SPView sicet2AView = contractList.Views[guid];
    sicet2AView.GetType().InvokeMember("EnsureFullBlownXmlDocument",
    System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.InvokeMethod,
    null,sicet2AView,null);
    PropertyInfo nodeProp = sicet2AView.GetType().GetProperty("Node", BindingFlags.NonPublic | BindingFlags.Instance);
    XmlNode node = nodeProp.GetValue(sicet2AView, null) as XmlNode;
    XmlNode toolbarNode = node.SelectSingleNode("Toolbar");
    //sicet2AView.ViewFields.DeleteAll();
    if (toolbarNode != null)
    string toolbarType = toolbarNode.Attributes["Type"].Value;
    string linkText = "abdeen";
    toolbarNode.Attributes["Type"].Value = "Freeform";
    XmlAttribute positionNode = toolbarNode.OwnerDocument.CreateAttribute("Position");
    positionNode.Value = "After";
    toolbarNode.Attributes.Append(positionNode);
    //toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><![CDATA[ <table width=100% cellpadding=0 cellspacing=0 border=0 > <tr> <td colspan=""2"" class=""ms-partline""><IMG src=""/_layouts/images/blank.gif"" width=1 height=1 alt=""""></td> </tr> <tr> <td class=""ms-addnew"" style=""padding-bottom: 3px""> <img src=""/_layouts/images/rect.gif"" alt="""">&nbsp;<a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com""]]></HTML><URL Cmd=""New"" /><HTML><![CDATA["" ONCLICK=""javascript:NewItem(']]></HTML><URL Cmd=""New"" /><HTML><![CDATA[', true);javascript:return false;"" target=""_self"">]]></HTML><HTML>" + linkText + @"</HTML><HTML><![CDATA[</a> </td> </tr> <tr><td><IMG src=""/_layouts/images/blank.gif"" width=1 height=5 alt=""""></td></tr> </table>]]></HTML></Then></IfHasRights>";
    toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com"">Test</a></HTML></Then></IfHasRights>";
    sicet2AView.Update();
    //listViewWebPart.ViewGuid = sicet2AView.ID.ToString("B").ToUpper();
    //listViewWebPart.Visible = true;
    webpartManager.SaveChanges(listViewWebPart);
    web.Update();
    but it doesn't work, my first trail is changing the text of the link then go to change the link any help plz
    Mohamed Abdeen

    Hi,
    The “Add new item” button will redirect users to add new item with the default Content Type of the current list.
    So a workaround can be like this: We can change the default Content Type of this list every time when users open this list view page, then the “Add new item” button will work
    as you expected.
    Here is a link with code demo about how to programmatically set a content type as default content type in a SharePoint 2013 List:
    http://www.ashokraja.me/tips/How-to-programmatically-set-a-content-type-as-default-content-type-in-a-SharePoint-2013-List
    We can put the code into a Visual Web Part and add it into your two views, then when users open a list view page, the code will be executed to change the default Content Type
    of the current list.
    To develop a custom web part, you can take a look at the links below with steps in detail for a start:
    Creating Web Parts for SharePoint
    http://msdn.microsoft.com/en-us/library/ee231579.aspx
    SharePoint 2013 Create a Visual Web Part
    http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • How to add an internal link on pages 5.0.1?

    Could anyone please tell me how to add an internal link on pages 5.0.1.
    I am making FAQ list, and I would like to make the first page of the document as a list of questions and when a user click on each question, it jumps to the answer (in the same document).
    I found "Add link" tool but it allows you to jump URL or email only.
    I was able to  set the list of questions as an index page of "Table of contents" tool and jump to a question page by clicking each page number, however, it fails when I put a question in a table (I would like to place each question and answer in tables for a visual purpose).
    It seems a jump by using "Table of contents" become invalid when the contents are placed in a chart.  WHy?
    Are there any way to solve this problem?
    any advise will be appreciated.

    Bookmarks have been removed from Pages 5 along with 90+ other features.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=bb95ac0944151 2bc797f0c2dbd918f4c&mforum=iworktipsntrick
    You may have Pages '09 still in your Applications/iWork folder.
    The T.O.C. does not index text inside objects which includes Tables.
    Peter

  • Can I add a text link to another place in a Pages v5 file?

    Simple question:
    Can I add a text link to another place in a Pages v5 file?
    My client would like to include a visible, inline Table of Contents in his ePub. Apple Pages v5 deletes the visible Table of Contents. Can I manually create a Table of Contents with clickable links to the appropriate chapters?

    Pages 5's greatest claim to fame is its general inability to do anything much, aka "simplification".
    So the answer is No! and because this is also Apple, You don't want to do that!
    Luckily however, should you still have Pages '09 in your Applications/iWork folder, you can use that instead.
    Peter

  • Changing Text for Add to Favorites Link

    Does anyone know how we can change the label for the Add to Favorites link that is displayed on the page details icon?
    We've searched all over assuming it is in a properties file somewhere but we have not been able to find it.
    Thanks.
    EP6 SP2

    Hi Robert,
    Thanx for this. I was also looking for the same. I will check this out and see if it is working for me.
    I have few queries:
    1) Changing this will update all the iView/page toolbars of portal..right?
    2) Can we include some more property in the Options of the iView toolbar such as a "mailto" link or something as "Feedback" which wil open up the Mail Client.
    Or something else, basically any new link with some functionality associated?
    3)I did the same kind of modification of changing the properties files on the appintegrator PAR file where it shows the message of "No Usermapping done.." if you havent done the UserMapping for a System and then trying to access the iView based on appintegrator...uptill here.its OK..i can modify the text to display my custom Text. But my req. is that can i display formatted Text here?
    Such as a messge in 2 lines or some bold word etc. If i press enter in the message,it still appears in a single line and with \n\t...\n\t also gets displayed
    Regards
    Gaurav Gandhi

  • Want to add one more link in the first screen when user gets into EBP

    Hi All,
    I want to add one more link to the template <b>WELCOME</b> in Internet Service <b>BBPGLOBAL</b>. This is the first screen that the user gets when he logs into EBP.
    The issue is the same screen is different in DEV and TEST environment.
    I verified the code in the template in both systems but they are exactly the same.
    Also, checked the Parameters in the Templates and they too match.
    While going through the code, I found out that MENU_NODE_TAB is used in a repeat loop to verify user has access to the further links.
    But the surprising thing is the code is same in both the systems, but Test evnironment is reflecting the link I want to add in DEV environment.
    Am I missing something??
    Pls let me know.
    Thanks in advance.
    <b>I will reward full points for helpful answers!!</b>
    Regards,
    Sanaa

    Hi,
    In welcome.html there is a ITS code to initialize array with information about transaction (line 87).
    This code is in the loop:
    repeat with idx from 1 to MENU_NODE_TAB-TEXT.dim;
      if( (MENU_NODE_TAB-S_IDENT[idx] == "BBPSC01" && A_GEN_URL<i> == "") ||
          (MENU_NODE_TAB-S_IDENT[idx] == "BBPSC03" && A_GEN_URL<i> == "") || 
          (MENU_NODE_TAB-S_IDENT[idx] == "BBPSC02")                       );
        A_S_IDENT<i>      = MENU_NODE_TAB-S_IDENT[idx];
        A_GEN_URL<i>      = MENU_NODE_TAB-GEN_URL[idx];
        A_OBJECT_ID<i>    = "parent.launchpad.menu.M" & MENU_NODE_TAB-OBJECT_ID[idx] & ".root.name + parent.launchpad.menu.M" & MENU_NODE_TAB-OBJECT_ID[idx] & ".path";
        A_TEXT<i>         = quotFilter(MENU_NODE_TAB-TEXT[idx]);
        A_INTRODUCTION<i> = #WELCOME_SENTENCE6;
        found = 1;
      end;
    end;
    If You want to add this 4 links on begining - extend this array (in line 87):
    <!-- initialize array with information about transaction on startpage -->
    A_S_IDENT[1] = "custom_link1"; A_GEN_URL[1] = "www.google.com"; A_OBJECT_ID[1] = ""; A_TEXT[1] = "google"; A_INTRODUCTION[1] = "google link";
    A_S_IDENT[2] = "custom_link2"; A_GEN_URL[2] = "www.rediffmail.com"; A_OBJECT_ID[2] = ""; A_TEXT[2] = "rediffmail"; A_INTRODUCTION[2] = "redi link";
    A_S_IDENT[3] = "custom_link3"; A_GEN_URL[3] = "www.yahoo.com"; A_OBJECT_ID[3] = ""; A_TEXT[3] = "yahoo"; A_INTRODUCTION[3] = "yahoo link";
    A_S_IDENT[4] = "custom_link4"; A_GEN_URL[4] = "www.greetings.com"; A_OBJECT_ID[4] = ""; A_TEXT[4] = "greets"; A_INTRODUCTION[4] = "greeting link";
    A_S_IDENT[5] = ""; A_GEN_URL[5] = ""; A_OBJECT_ID[5] = ""; A_TEXT[5] = ""; A_INTRODUCTION[5] = "";
    A_S_IDENT[6] = ""; A_GEN_URL[6] = ""; A_OBJECT_ID[6] = ""; A_TEXT[6] = ""; A_INTRODUCTION[6] = "";
    etc.
    <!-- Search for shopping transaction in launchpad -->
    repeat with idx from 5 to MENU_NODE_TAB-TEXT.dim;
    Regards,
    Marcin

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my face book button on my muse site?

    I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my facebook button on my muse site?

    Hello,
    Please select the button that you have created and go to hyperlink tab and add the facebook page URL there.
    Please take a look at the screenshot below.
    Regards
    Vivek

  • Add new document link not working in upgraded sharepoint 2013?

    Hello there,
    Upgraded SharePoint team sites from 2010 to 2013. add new document link not working for shared document in upgraded sharepoint 2013?. it is specially not working on machine where Office web apps set up with this sharePoint server and it
    is working fine with environment  Office web apps not configured with Sharepoint.
    Looking resoluion /suggestion, thanks in advance.
    Regards,
    Sushil

    Hi  Sushil,
    According to your description, my understanding is that the add new document link was not working on machine where Office web apps set up with this SharePoint server after you upgraded SharePoint team sites
    from 2010 to 2013.
    For your issue, it can be caused by integrating Office Web Apps with upgraded SharePoint Site.
    Firstly please make sure claims-based authentication is used by the SharePoint web application that is used to create the new document. Only web applications that use claims-based authentication can open
    files in Office Web Apps. To determine the authentication provider for a web application, follow these steps:
    1.In SharePoint 2013 Central Administration, click Manage web applications.
    2.Select the web application that you want to check, and click Authentication Providers on the ribbon.
    The authentication provider must be displayed as Claims Based Authentication for Office Web Apps to work correctly with the web application. To resolve this issue, you can delete the web application and recreate
    it using claims-based authentication, or you can change the authentication method of the web application.
    Secondly, make sure the WOPI zones match on the SharePoint 2013 and the Office Web Apps Server farm.
    To do this, run the following command on the SharePoint Server:
    Get-SPWopiZone
    The result will be one of the following:.
    internal-https
    internal-http
    external-https
    external-http
    Next, run the following command on the SharePoint Server.
    Get-SPWOPIBinding
    In the output, look for WopiZone: zone. If the results from Get-SPWopiZone don’t match the zone that is returned by Get-SPWOPIBinding, run the Set-SPWOPIZone -Zone cmdlet on the SharePoint Server to change
    the WOPI zone to match the result from Get-SPWOPIBinding.
    If not work, you can try to disconnect SharePoint 2013 from Office Web Apps Server and re-configure Office Web Apps for SharePoint 2013.
    For more information, please refer to the article:
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How do I add a desktop link to gmail?  I have one email account as my safari home page because it has trouble with apple mail, but I want a one-click link to two other email accounts.

    How do I add a desktop link to additional email accounts?  I have one email account as my safari home page because it has trouble with apple mail, but I want a one-click link on my desktop that takes me to two other email accounts.

    Can you set up a rule in your old account to forward mail to your new account and then delete it from the old account?
    (1012)

  • How do you add and remove links to websites in folders on Safari?

    How do you add and remove links to websites in folders on Safari?

    For clarification, works like a bookmark of website only it is listed in toolbar with "Most Visited", "Latest Headlines", "News", and "Popular".  I have done it before but can't find it for the life of me.
    Thanks!

  • How can i add a new link to Portal favorites?

    Hi,
    I have created a portal application and configured it to a porta frame work page byy adding iViews and portal pages.
    I would like to display an iView as a link in the  portal favorites. I have added it to portal favorites as related link. But nothing is displayed in the portal favorites when i logged in as application user.
    How can i add a link to the created iView just like  the "DeveloperContent" link shown in portal favorites when we login as portal administrator?
    Your help and suggestions solicited...
    Best regards,
    Sudheesh

    Hi Sudheesh,
    The Related Links option is for Content Administrators to add links that they think will be useful for a certain page or iView...an end user can't add their own links to the Related Links iView. Also, you don't need Knowledge Management installed in the Portal for the Related Links iView to work. Also, Related Links will be available only on the pages/iViews that the Content Administrator has created them.
    Read more about Related Links here:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/1d37600aa111d7b84700047582c9f7/frameset.htm
    Portal Favorites is a nice option for end users to decide which iViews or pages they would like to be available from every Portal page.
    To open new iViews/pages in a new window, rather than in the current Content Area, adjust the Workprotect mode of the portal (either the user can do it for their preference or the Administrator can do it for everyone):
    http://help.sap.com/saphelp_nw04/helpdata/en/15/4b673e214ad112e10000000a11405a/frameset.htm

Maybe you are looking for

  • Error while opening supplier/customer forms and payment manager templates

    we are having 11.1.0.7 database and 12.1.1 E-business suite with 10.1.2.3 forms user is getting Error Page You have encountered an unexpected error. Please contact the System Administrator for assistance. while accessing supplier/customer forms and p

  • Tree Control  and context menu

    Hello, I created a tree with a menu. But the menu is not displayed on right click of a node .... Well I can miss something... Anybody have an idea for help me ? Best regards

  • HP Officejet Pro 8600 N911g Scan to gmail with 2-step verification

    I have an HP Office Jet Pro 8600 N911g printer which is a replacement for another one. I am using gmail. I am seting up the Scan to E-mail. I put in all the required information asked by the wizard and when I test it, it comes back with "Incorrect cr

  • What files are affected by a bad block?

    I have a hard drive that appears to be failing.  A sequential block by block read (dd if=/dev/disk0s2 of=/dev/null bs=512) is returning an I/O error on a given block.  I'm going to retire this drive and restore from an earlier backup but I'd like to

  • Integrated web camera not found - problem solving ...

    Hi guys,  Skype cannot find my integrated webcamera. When i click 'options', and 'video settings' nothing is showed, and is does not work in conversations as well. I have gone through all the steps in the guide 'How can I solve problems with Video Ca