PO form personalization at level to prompt user to pass the project

Hi guys,
I have a requirement to personalize the purchase order form 
Form Personalization at the “Form” level.
Trigger Event as “WHEN-VALIDATE-RECORD”
Set Trigger Object as “PO_DISTRIBUTIONS”
Set Condition as
:PO_DISTRIBUTIONS.PROJECT is null and xxgdc_project_validation_pkg.is_expense_type_account(:PO_DISTRIBUTIONS.CODE_COMBINATION_ID) = 'Y' and xxgdc_project_validation_pkg.is_cost_center_project_reqd (:PO_DISTRIBUTIONS.CODE_COMBINATION_ID) = 'Y'
Set Action as Message of Type “Error”
Set Message as
= SELECT fnd_message.get_string('XXGDC','XXGDC_PROJECT_REQUIRED') FROM dual.
The above personalization is working at distribution level.
But when moved the same logic to line level its is not working. Could any of the guys help me

You also try with following setting with same condition .
Event : WHEN-VALIDATE-RECORD
Object :  PO_LINES

Similar Messages

  • BAPI/FM for setting the user status for the Project definition and WBS elem

    Hi,
    I have to set the User Status for the Project Definition and the WBS elements in that project.
    The User status to be set is the same for the project and wbs elements.
    Please let me know if there is any BAPI/FM to set the user status..
    Thanks in advance.
    Regards
    Shiva

    Hi Shkithija,
    There is a dump encoutered in the form "PS_FLAG_GET_GLOBAL_FLAGS" for 'chk_precommit_ok' in the "BAPI_PS_PRECOMMIT".
    But it is showing SY-SUBRC = 0 when used along with BAPI_TRANSACTION_COMMIT.
    May i know what are input parameters we need to pass it to "BAPI_PS_PRECOMMIT".
    Do you have any idea.
    Please let me know
    Regards
    vishnu

  • How to restrict the user to change the project structure but not the documents?

    Hi,
    I have created one project assigning different users in Solution manger. I want to risitrict some of the users to change the project structure but simultaneously allwoing the project documents to be created, edited or deleted using solar01 under Project documentation tab. For that I have followed the steps provided in the follwoing link.
    http://wiki.scn.sap.com/wiki/display/SM/Howto+Restrict+Changes+to+Project+Nodes+to+Assigned+Team+Members
    I am able to restrict the users to change the project structure, but I am not able to allow access to the project documents. It gives me the message "You are not authorised to change the project". This fulfills my one of the requirements. But, Is there any way  to restrict the user to change the project structure but not the documents?. Any help will be apperitiated.
    Thanks,
    Rutvik Uapdhyay. 

    Hi Rutvik,
    Basically there are 2 different authorization role ...you should look for and customize as per requirement in Z* namespace.
    role  - SAP_SOLAR01_ALL
    this take care of objects in Solar01 like tab access etc
    role -SAP_SOL_KW_ALL
    this takes care of entire documentation within solman
    hope this helps
    Regards
    Prakhar

  • Prevent a user from changing the Project ID in P6 EPPM 8.3.7

    Does anyone know if there is a Global or Project Security Profile privilege that will prevent a user from changing the Project ID on an existing Project?  We are using Primavera P6 EPPM 8.3.7
    Thank you,
    Eric

    Hi,
    Below project security profile may help you,
    Edit Project Details Except Costs/Financials
    Determines whether the profile will enable users to edit fields in General, Dates, Defaults, Resources, and Settings tabs in Project Details. To assign a project baselines, users must also have the "Assign Project Baselines" project privilege assigned to their profile.
    Regards,
    Marcos

  • OBIEE Data Level Security - Prompt While logging into the OBI Portal

    All,
    Below is what we are trying to see if it’s possible
    We have a BM say 'Sales and Profits' . This is a simple model built around 1 fact and 5 dimensions. The underlying tables contain data from 5 different geographic segments US-NE, US-SW,US-NW,US-Midwest, US-All Segments.
    The dimension table 'Segments' has all the above said values which are used to build reports related to each segment and all segments etc..
    We have Groups/Users assigned in the repository (Using OBI Rpd security) based on the above segments.
    If we want a user from 'US-NE' group to see only data related to his segment , we can add a filter condition to the group privilege tab ( Using SQL expression segment = 'US-NE') . This is straight forward.
    Now the problem part , if we have a user who should be able to access data from two segments ,how do we handle it ? . We don't want to go and create multiple groups and assign users to them from the RPD groups.
    Other ideas we considered were
    Duplicate the BM and add a filter through the LTS ( based on segment value) . Assign group permissions to the corresponding presentation models. This idea though has a lot of disadvantages. Firstly , it would mean creating several duplicate BM and every time we update the master BM we will have to update all duplicate models
    Another idea was to specify the filter based on presentation model, while assigning the group privileges ( Using the expression from Group permissions). This approach is at least cleaner in the sense we will have to deal with only 1 BM and 1 Presentation model., but we will run into the same problem of having to create multiple groups or assign users to multiple groups ( Users who will have access to multiple segments)
    An ideal solution -
    When a user tries to log in or immediately after he logs , Is there a way we can throw a pop-up that will force the user to select segment(s)? This should enforce the data restriction. I did not find a way to do this especially while using RPD based security model. Any ideas how we can do this ?
    Since the 'Segment' dimension table is applicable to all BM in our systems (All fact tables in our warehouse have a link to the Segment table). We would ideally want this implemented across all dashboards and reports within in the OBI portal
    SK

    Now the problem part , if we have a user who should be able to access data from two segments ,how do we handle it ?
    You handle it on the same way as 'US-NE'. You will create another group called say US-SW then add the filter to it and make sure the user belongs to both groups. OBIEE will translate this into IN('US-NE', 'US-SW').We don't want to go and create multiple groups and assign users to them from the RPD groups.
    You will need to create the groups but you can avoid having to asign them to the group in the RPD by using an init block to populate the GROUPS variable when the user logins.The other options are hacks...

  • Where is the "Prevent Active Directory synchronization for this user" stored in the Project 2010 DB tables?

    I would like to create a report from the DB that gives me all users in Project/PWA 2010 where the "Prevent AD sync..." box has been checked in the user/resource configuration, but I cannot find where this is in the Project databases.  Our
    DB is SQL 2008 R2.
    Thanks,
    Marty Hadden
    MS Project Administrator

    Hi Marty,
    I might be wrong but the Prevent AD Sync details are not available in the Reporting db. Maybe you can check the published/draft databases (not supported) or you can configure a separate custom field and you can duplicate the information for each user
    into this field. The custom field can be used in the reports based on the reporting database.
    Hope this helps
    Paul

  • How can I prevent forms from being prematurely submitted when users click on the  "Enter" key?

    Is there any way that I can prevent Dreamweaver CF submission forms from being prematurely submitted by the user when he/she clicks on the "Enter" key before they have completed the form?  I need the users to finish form and click on the "Submit" key.  I have the "Submit" key action configured as "submit form"

    Thank you!
    Found a solution through Google.

  • Forms Personalizations - How to navigate to a specific tab

    I am trying to do a forms personalization in Oracle Financials.
    The business requirements is have a menu option in AR Account Details form which takes the user to the Customers - Standard (ARXCUDCI) form and then queries back the customer and displays a particular tab.
    I have everything working except the tab navigation. I do not know how to navigate to a particular tab using forms personalizations.
    I'm not even sure that the 'Tabs' I'm thinking of are the same as Forms 'Tabs' as, when I try to look at the 'Tabs' in Forms Personalization it doesn't appear there are any. It looks like each tab the user sees is a different Canvas.
    The canvas my 'tab' is on is called CUST_MKT.
    As you can prob tell, I'm a functional consultant with limited forms dev experience. I expect the answer is simple - so hoping someone can help me out???
    Thanks,
    - Matt

    Hi Matt,
    You can use the action 'GO_ITEM' (type BuiltIn). In the argumen, you should write MYBLOCK.MYITEM where MYITEM should be an navigable item in the tab to which you want to navigate. To check the actual name of MYBLOCK and MYITEM, go to that item in the screen and check the menu Help > Diagnostics > Examine...
    I hope it helps.
    Regards.

  • Form personalization - Sales Order Lines

    Hi All,
    My requirement is to make an unused column as barcode field, while entering sales order lines, so that user enters the barcode. The corresponding system item code, description has to be defaulted.
    The link between barcode and item is available & captured in DFF - attribute1 of Item master.
    I have used Customer Po Number columns as barcode and populated the Item value using form personalization. But In normal sales order line the while choosing the item UOM is populated automatically and while entering the Qty the price will be populated. This is not happening in my case.
    Property:
    Object Type : Item
    Target Object : LINE.ORDERED_ITEM_DSP
    Property Name: VALUE
    Value: =     select segment1
                        from mtl_system_items_b
                   where attribute1 =''||${item.LINE.CUSTOMER_LINE_NUMBER.value}||''
                        AND organization_id = ''||${item.LINE.SHIP_FROM_ORG_ID.value}||''
    Thanks & Regards,
    Max

    In an OM responsibility, go to Items-> Cross Reference, create a new Cross Reference Type of Barcode.
    Click the Assign button.  Add an item and in the value column, put your barcode.  For barcodes, leave the "Applicable to all orgs" checked.
    Now go to the order screen, and in the ordered item field, type the barcode value you set up.
    Using folder tools on the order line,  you can expose "Internal Item" and "Item Identifier Type" to see that the type is "Barcode" and it maps correctly to your internal inventory item.
    Most documents will show the ordered the item - so all your docs will also show the Barcode value for this order.
    Here's an article with some screenshots:  Johan Louwers Personal Blog "my view on the IT world".: Oracle EBS cross references

  • EditForm.aspx Save button prompts user to open/save document.

    Hi,
    Here is the senerion where i am working on.I am saving a document to a sharepoint 2010 document library from an windows user control and soon after saving i am redirecting that saved document to editform.aspx  so that metadata can be applied
    to that document.But when i am trying to save the document form editform.aspx it is prompting to open/save the document to the hard disk.
    so my question is how can i override the save functionality in editform.aspx of an sharepoint document library so that it should't prompt to  open/save document.
    Dillu

    I know this is very old and I had a similar issue with creating an upload button for a client.
    <div class="ms-uploadbtnlink">
    <button onclick="javascript:window.location='http://adventureworks.com/_layouts/Upload.aspx?List={05D72EF7-0026-48C2-BE40-464B7F30CA21}&RootFolder='" type="button">
    <nobr>
    <img alt="Upload a Document" src="/_layouts/Images/uploaddoc.png"/>
    <span>Upload a Document</span>
    </nobr>
    </button>
    </div>
    I tried everything listed here and nothing worked. Opening the upload form in a dialogue solved my issue.
    Here's the updated code:
    <div class="ms-uploadbtnlink">
    <button type="button" id='upload-vendor-doc'>
    <nobr>
    <img alt="Upload a Document" src="/_layouts/Images/uploaddoc.png"/>
    <span>Upload a Document</span>
    </nobr>
    </button>
    </div>
    <script type="text/javascript" language="javascript">
    function openModalDialog(modalUrl, width, height) {
    var options = SP.UI.$create_DialogOptions();
    options.height = parseInt(height);
    options.width = parseInt(width);
    options.url = modalUrl;
    SP.UI.ModalDialog.showModalDialog(options);
    var URL = "http://adventureworks.com/accounting/VI/_layouts/Upload.aspx?List={05D72EF7-0026-48C2-BE40-464B7F30CA21}&RootFolder=";
    document.getElementById("upload-vendor-doc").onclick = function() {
    openModalDialog(URL, 800, 1000);
    </script>
    Hope that helps someone.

  • Forms personalization and global variable

    Hi,
    I'm trying to call a procedure in forms personalization and using a defined global variable. The data in the global variable is number. In the procedure, some of the parameter has a number datatype and I'm converting the global variable using to_number eg (to_number(:global.XX_LINE_NUM). This fails with error message ora-01403 no data found. I've tried putting the above into a variable with datatype number in the declare statement, and it errors as well.
    Does anyone knows the syntax to convert the global variable to number datatype in personalization.
    Thanks

    Ask in this forum : OA Framework

  • Prompting Users to Refresh iViews in the Portal

    Hello SDN,
    How do I modify properties setting via Property Editor to prompt users to refresh the iViews PRIOR to execution?
    Please advice, thanks for any helps.
    Regards,
    NN

    Hi NN,
    This needs to be decided at the time of creating an iview only. However you can still edit that property by going to that ivew.
    Open that iview.
    Go to properties.
    Enable the Show 'Refresh' Option radio button.
    Secondly you can use the option of Cache Validity Period over there.
    If you are concerned about some webdynpro iview you can simply increase the connection timeout in the corresponding Jco connection.
    Hope this helps!
    Regards
    Atul Shrivastava

  • Oracle Forms Personalization - Menu Icon

    Hello, hopefully a quick question. Looking at forms personalization and want to add a new menu item. I can achieve this using Forms Personalization no problem. My question is regarding the 'Icon Name' field for the Action Type of Menu. I understand that this is asking for a .ico file to display in the toolbar, however I'm not sure where to place this .ico file on the file system for it to be picked up? Any thoughts?
    Thanks

    Thanks.
    Basically in the Forms Personalization Form for an Action Type of "Menu" there is a parameter called "Icon Name". According to the Forms Personalization documentation (279034.1) the definition for this field is:
    "Icon Name: Specify an optional icon name that you want added to the Toolbar to achieve the same functionality as in the special pulldown menu entry"
    I tried specifying one of the icons in the directory you mention below: afattach.gif (even tried just afattach) to see if that would render on the Toolbar, but no luck.
    Any thoughts on what is required for this field?
    Thanks

  • Does the "The Project Owner has the same RBS value as the User" dynamic category rule include Status Managers?

    I tested the following scenario in Project Server 2010 and 2013:
    Assume you have three users: User1, User2, and User3.
    User1 has RBS value Org.UnitA
    User2 and User3 both have RBS value Org.UnitB
    User3 belongs to a group that gets permissions to view projects from a category with "The Project Owner has the same RBS value as the User" setting enabled.
    User2 creates ProjectABC and by default becomes the project Owner. User2 creates a task in the project, and by default becomes the Status Manager of the task.
    User2 then changes the project owner to User1 and republishes the project. User2 remains the Status Manager in the project task.
    User3 can still see ProjectABC. Apparently this is because User2, who has the same RBS value as User3, is still a Status Manager of project tasks.
    If I change User2 RBS value to Org.UnitA, then User3 can no longer see ProjectABC. Note that User2 is not the project Owner at this stage, but the change in User2's RBS still affects the visibility of the project.
    It seems to me that in "The Project Owner has the same RBS value as the User" dynamic category rule, the "Owner" should be "Owner or Status Manager".
    Is this a bug or by design?

    Hi Barbara,
    Thanks for going through the trouble of reproducing the behaviour. It's interesting to know that Effective Rights in Project Online displays different results.
    The system in which I tested this scenario is updated with the December CU, so I'm guessing you'll still get the same result after updating your environment.
    In my usage scenario, a user needs to create projects on behalf of other users, and then change the Owner. Unfortunately this doesn't change the Status Manager of tasks, and consequently the visibility of the project is not what was expected.
    The user who creates the project can change the Owner, but can't change the Status Manager. The new owner would have to open the project for editing in Project Pro, change the Status Manager value of every task, and republish. Precisely the sort of extra
    work that the users want to avoid.
    Using delegation might be a workaround, but opens up a whole new can of worms in terms of information security. It's unfortunate that the "The Project Owner has the same RBS value as the User" setting doesn't do what it says, but potentially
    opens up visibility of projects to a wider audience than intended.

  • How to create individual user to access the proxy service in osb

    Hi all,
    i have created a osb project. i need only one user to access the project with particular user name and password. The project should result in error if any other credentials is being given.
    The challenging part is that it should return a error message even when the user name and password is left blank. can anybody help me to resolve this issue?

    I'm guessing you're getting a 401 error back in soapUI. If so, this is because soapUI needs to send some credentials which match that user exactly.
    How would that user invoke the service normally - with an embedded WSS user / password in the request, or with an x509 cert + Identity Assertion? SoapUI will have to do the same as the client application does.
    In our environment, we use client certificates as authentication. Soapui is very good at presenting a client certificate if you have a .jks keystore with an identity cert. Since the role will only accept a single particular user, you would either have to expand the role to allow some admin access or have a certificate which presents the same CN value ( to map with identity assertion).
    If the client app uses username / password, the 'request properties' window ( lower left in soapui ) has properties for Username and Password which can be configured. This may allow soapUI to submit that user, but I haven't tested that.
    There's also the "Aut" tab in the request window which also allows the same.

Maybe you are looking for

  • ITunes 9 - Using 'Home Sharing' between Windows and Mac libraries

    I have my main iTunes music library stored on my Windows 7 PC. It is currently around 200Gb in size, so pretty large. I want to be able to use 'Home Sharing' in iTunes 9 to access this library on my Macbook over my home wireless network. I don't, how

  • ERROR MESSAGE AMT : CANNOT DELETE TOKEN AFTER IT WAS ASSIGNED TO A ROLE

    We are working on the setup in our sandbox environment and we have noticed that we are unable to delete tokens and remove the protection on BO's. the following message appears : "CANNOT DELETE TOKEN AFTER IT WAS ASSIGNED TO A ROLE" There is no Token

  • Prob Installing oracle 10g on fedora core-1

    i'm getting this error message while installing : [root@localhost cdrom]# ./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-2.1, UnitedLinux-1.0 or redhat -3 Fai

  • Java 1.5 is a rip off of C#

    Any one notice that the new features in 1.5 (http://java.sun.com/features/2003/05/bloch_qa.html) appear to be borrowed from C#? Why can't we get the rest of the features that make C# easier to program in, such as delegates and switch-case statements

  • ITunes 9.0 no longer has 'Public' as a choice for Radio

    When I select 'Radio' in the library, I no longer see 'public' as a choice. Thanks, Paul