Custom Function for Descriptive Flexfield

Hi Friends,
How do I
Create Custom Function for Descriptive Flexfield Setups &
Create Custom Function for Key Flexfield Setups
Thanks a lot

Please refer to:
- Oracle Applications Developer's Guide
- Oracle Applications Flexfields Guide
[Release12 Documentation Library|http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html]

Similar Messages

  • FNDLOAD for Descriptive Flexfield update

    Hey everyone,
    Just wanted to consult you on a matter,
    I've updated a descriptive flexfield definition (moved some of the segments from GLOBAL to a new context I created = I deleted from global, that freed the attributes again, and then I defined them under a new context field for that DFF).
    Now - to move that setup to another instance, I download and uploaded DFF via FNDLOAD.
    At first - update was not successful due to the fact that attributes used in new context were occupied by global.
    So -
    my idea was to just delete ALL DFF definitions in new instance, and then use FNDLOAD to upload.
    Turned out ok, and update seems successful.
    I just fear deleting DFF definitions completely might harm something and I feel I might be missing something here.
    (After all, if it should be OK, why doesn't FNDLOAD delete old definition during update process and then create the new definition , like it does with personalizations??)
    Would love to hear your ideas before I do the same on production instances...
    Thanks,
    Aaron

    Aaron,
    I believe you should not delete a DFF, instead you will have to disable it.
    Note: 176867.1 - Oracle Applications Flexfields Frequently Asked Questions (FAQ) -- 5. Can I delete a descriptive flexfield?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=176867.1
    Did you try to use UPLOAD_MODE=REPLACE? This option will replace your current values with the values you have in the file.
    If you want to upload any new items in the file that do not currently exist in your database, use "CUSTOM_MODE=FORCE" option.
    Regards,
    Hussein

  • Disco 10G Custom Function for HTML Call to pass specific sheetid

    After learning that I cannot specify Disco 10G to open a particular worksheet in a workbook from a form menu launch (currently all I get is a listing of worksheets available in the workbook), I am told to create a custom function to handle this - instead of using OracleOASIS.RunDiscoverer.
    I have tried creating a custom function in our custom schema, but I only end up with an error page (Invalid Function) when I try to launch the report from the menu function. I even tried duplicating the Oracle OracleOASIS package and renaming it in APPS, only to receive the same results.
    Does anyone know the correct steps involved to create a new package for the HTML Call of a function in order to launch a Discoverer report?
    Thank you,
    Suzanne

    Hi Suzanne
    Here's a simple form that can be used to call Discoverer Plus:
    <br><br>
    <html><br>
    <form method="post" name="Login" action="http://myserver.com/discoverer/plus"> <br>
    Username: <input type="input" name="us" value="username"> <br>
    Password: <input type="input" name="pw" value="password"> <br>
    Database: <input type="input" name="db" value="database"> <br>
    EUL: <input type="input" name="eul" value="EUL"> <br>
    Workbook: <input type="input" name="opendbid" value="MY_AIRLINE"> <br>
    Worksheet: <input type="input" name="sheetid" value="222"> <br>
    <input type="submit" name="connect" value="Connect"><br>
    </form> <br>
    </html>
    <br><br>
    You will need to make sure you pass the correct username, password, database, eul, workbooks id (opendbid), and worksheet id (sheetid). Note that the EUL needs to be passed in uppercase and that the workbook id is case sensitive. You should also notice that this form displays the values in the form and allows the user to change them. After the user has entered their own values, they click the button called Connect.
    <br><br>
    A similar form for Viewer is as follows:
    <br><br>
    <html><br>
    <form method="post" name="Login" action="http://myserver.com/discoverer/viewer"> <br>
    <input type="hidden" name="us" value="username"> <br>
    <input type="hidden" name="pw" value="password"> <br>
    <input type="hidden" name="db" value="database"> <br>
    <input type="hidden" name="eul" value="EUL"> <br>
    <input type="hidden" name="wbk" value="MY_AIRLINE"> <br>
    <input type="hidden" name="wsk" value="222"> <br>
    <input type="submit" name="connect" value="Connect"><br>
    </form> <br>
    </html>
    <br><br>
    You will notice that for Viewer not only is there a different URL but the commands to pass the workbook and worksheet ids are different too. You should also notice that Viewer will execute the call without showing the values on the screen. All you will see is a button called Connect.
    <br><br>
    Does this help?<br><br>
    Regards<br><br>
    Michael

  • Custom functionality for home and end keys?

    I don't know anything about automate, but I was wondering if it's possible to do this:
    I'm a former PC user and on PCs you could use the 'home' and 'end' keys to go to the beginning and end of one line (subsequently, you could hold shift + home/end to highlight from your current cursor position to the beginning or end of a line). This functionality is extremely helpful for text editing and programming. Luckily the versions of Word and Dreamweaver I have on mac do use this, but TextEdit, Flash, and others do not. Is there anyway to program this kind of functionality? And if so how? And why is basic functionality like this different program to program on macs? PC's were at least consistent. Thanks!

    The Command and Option shortcuts will take some getting used to, but that will work. Thanks! an external text editor would be okay for some things, but not Flash ActionScripting within a flash file.
    I just wish some of the more basic functions between mac and pc were the same. I think both platforms would have an easier time getting users to switch if they were a little more consistent and took some of the good features of each into consideration.

  • Custom functions for sqlldr

    Hi,
    Is there a way to get OWB to generate
    expression statements or SQL Operators in sqlldr such as shown below
    field1 POSITION(1:6) CHAR "LOWER(:field1)"
    field2 CHAR TERMINATED BY ’,’
    NULLIF ((1) = ’a’) DEFAULTIF ((1)= ’b’)
    "RTRIM(:field2)"
    field3 CHAR(7) "TRANSLATE(:field3, ’:field1’, ’:1’)",
    field4 COLUMN OBJECT
    attr1 CHAR(3) "UPPER(":\"FIELD4.ATTR3\")",
    attr2 CHAR(2),
    attr3 CHAR(3) ":\"FIELD4.ATTR1\" + 1"
    field5 EXPRESSION "MYFUNC(:FIELD4, SYSDATE)"
    Many thanks.

    Hi,
    Yes, just place an expression operator between the file and the table and link the input attribute into the expression. From there create an output and place the expression in there.
    OWB "translates" this for Loader and generates the below syntax.
    Jean-Pierre

  • How to use custom function for formatting the Line Chart Axes?

    Hi...
    I'm using a Line chart who's y axis value range from 0 to 50000. This is a number which it gets from it's dataProvider. I want to format this and show it as
    $50,000
    $40,000
    $30,000
    $20,000
    $10,000
    $0
    instead of
    50000
    40000
    30000
    20000
    10000
    0
    Here's my linechart code:
    <mx:LineChart id="revTimeLineChart"
                width="100%" height="100%"
                showDataTips="true" >
                <mx:horizontalAxis>
                   <mx:CategoryAxis id="lcCatAxis" categoryField="name"/>
                </mx:horizontalAxis>
                <mx:series>
                   <mx:LineSeries id="ls" yField="revenue" displayName="Revenue" showDataEffect="{slideIn}"/>      (yField is what I want to format....)
                </mx:series>
    </mx:LineChart>
    Can you please let me know how can this be achieved?
    Cheers!
    Deepak

    Hi,
    You could do something like this,
    http://www.codersrevolution.com/index.cfm/2008/10/14/Flex-Charting-Format-your-X-and-Y-Axi s
    hope it helps!
    Regards ,
    Bhavika

  • Customer exits for VA01

    hai can any one give the user exit name while creating a purchase order and savign it , so that before saving i could validate
    regards
    afzal

    Hi
    Exit Name           Description
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    Badi Name            Description
    BADI_SD_V46H0001     Transfor FM account assignments to VBAP

  • Time Stamp via Custom Function

    This is such a basic concept for a custom function that I am assuming someone out there has done it already. I have never created a custom function for Essbase, though I have programmed in a variety of languages and I'm assuming getting the current date/time in Java is not exactly rocket science. I have reviewed the docs for creating and registering custom functions and that also appears relatively simple, especially with the examples available.<BR><BR>What I want is a function that returns a Double in the form of a Date/Time that I can retrieve into Excel and display as a Date/Time. We want a simpler, more effective way of time stamping the running of calculations, more effective than combing through the app logs when we need to know if/when a calc ran a week or a month or two ago.<BR><BR>Does anyone have some sample code and/or insights to share on this topic? I would greatly appreciate it if you do.<BR><BR>Thanks,<BR><BR>James

    fyi - I ended up implementing a solution in Perl/Maxl that gives a timestamp to the second in a format that can be retrieved intelligently into Excel. I use the Perl time() function (Unix server) to get the GMT epoch time as a long int. Then I convert it into the floating point DATE format for Windows, with the hard-coded assumption of what time zone my server is in. Then I run a calc from MaxL that sets this value. I build the calc string in Perl and pass it into MaxL. Pretty cool. The calc uses two sub vars, one for the members to fix on and the other for the Scenario to timestamp. This way the perl/maxl is database independent.<BR><BR>Just thought someone might want to know...

  • Custom Function in SAP MDM Data Manager Validation

    Hi SDN,
    Can we write our own custom function for Validation of the records.
    Actually my requirment is
      For a particular Account Group The value of the G/L Account must be in particular range and it must have a specific Length.
    For Example:
    IF( Chart of Account = CCA AND Account Group = ACG, G/L Account No >=100 AND G/L Account No <= 1000 AND LEN(G/L Account No) = 6, False)
    Pls provide some valuable suggestion .

    Hi Rajni thanx for ur prompt reply
    The actual problem is that :
    we have approx near about 100 Account Group, so it would become very complex to replicate same condition 100 times
    AND
    these account group may keep on increasing so even maintenance point of view it would be hard to maintain.
    can u tell me some other way to do it, i mean is there any other feature by which we can perform validation in MDM.
    Regards
    Kuldeep

  • Batch Processor and Custom Functions

    Hi,
    We're using the 10.4.2 Batch Processor, connected to an Oracle 11g database to handle large amounts of data.
    Recently, four custom functions have been added to the rulebase. Nothing complicated, just some string manipulation stuff (trim whitespace etc.). Each function is just a few lines of fairly simple code. No database calls, no web service calls or anything like that. It stays within the Java jar file.
    Suddenly the processing time of the BP has gone up from a couple of minutes to well over an hour. The only change to the rulebase has been the addition of the functions, nothing else.
    It almost looks like the BP is initialising the custom functions with every case that's processed. If this is the case then this would be massively inefficient and as a result we would not be able to implement our new functions.
    Has anybody else come across this before?
    Regards,
    Evert

    943413 wrote:
    Hi,
    We're using the 10.4.2 Batch Processor, connected to an Oracle 11g database to handle large amounts of data.
    Recently, four custom functions have been added to the rulebase. Nothing complicated, just some string manipulation stuff (trim whitespace etc.). Each function is just a few lines of fairly simple code. No database calls, no web service calls or anything like that. It stays within the Java jar file.
    Suddenly the processing time of the BP has gone up from a couple of minutes to well over an hour. The only change to the rulebase has been the addition of the functions, nothing else.
    It almost looks like the BP is initialising the custom functions with every case that's processed. If this is the case then this would be massively inefficient and as a result we would not be able to implement our new functions.
    Has anybody else come across this before?
    Regards,
    EvertEvert,
    You are correct, it does initialise the custom function for every case that is processed. This is necessary as every case is a determinations engine session.
    However, you have control over how long the initialization process. If you make the time consuming parts of your custom function static, and then make the initialization fast, then you will get a much faster custom function call. The custom function code is entirely within your control and you can make it as fast as you like.
    Cheers
    Frank

  • The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assi

    Hi ,
    We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and  as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
    We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
    "The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
    this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
    Please let us know reason behind this error message.
    Thanks,
    Mruduala

    You are kidding?  It took me about 3 minutes to scroll down on my tab to get to the triplex button!
    Habe you read the error message? 
    Quote:
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    Check the trigger and it should work again.
    Timo

  • Partner functions for a specific customer not seen in XD03 but appears in XD02

    Hello SAP Gurus,
    I have a situation where a partner functions for a specific customer not seen in XD03 but appears in XD02, In XD03 only one partner function (Ship to) appears but in XD02 (Sold to, Ship to, Bill to and payer appears), from the customer master I can see that account group for this customer has been changes to Sold to (Z001) from Ship to (Z002).
    I checked in settings for OB20 transaction for display customer centrally, it is in Display mode as required and not suprresed would like your inputs as to why this is happening and what can be done to fix this.
    Thanks and Regards
    Mohammed Roshan

    Hi ROshan,
      Open customer master in XD02  sales view and save it then check in XD03 it should display the partner functions.
    As you said the account group has been changed I think the records needs to be saved again.

  • Function module to give all partner functions for given customer

    Can anyone tell me function module name which gives all partner functions for a customer. For ex if we give customer number and sales area then it should give the list of all partner functions of this customer.
    I know 'CUSTOMER_PARTNERFS_GET' function module. But I want other than this.

    Hi,
    U can join VBAK and VBPA table and get the parrtners of the customer..
    Regards,
    Nagaraj

  • Is there a custom function available which can be used for logging errors captured in a sp in a sql table

    Is there a custom function  available which can be used for logging errors captured in a sp during and after execution in a sql table?
    Basically we  would like to utilize such function  in every sp and log errors of each sp in a error log table
    Mudassar

    Thanks .
    I was able to write this however I am thinking I am missing something
    CREATE FUNCTION testfunction1()
    RETURNS @temp_error TABLE (
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    AS
    BEGIN
    insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
    select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
    RETURN;
    END;
    CREATE TYPE test_type AS TABLE(
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    GO
    create proc usp_error_test
    @test_type AS test_type READONLY
    as
    begin
    begin try
    select 1/0
    end try
    begin catch
    select * from testfunction1(@test_type)
    end catch
    end
    Mudassar

  • Descriptive flexfield for different purchase order types

    Hi,
    Can i have a descriptive flexfield for different purchase order types?
    Scenario : I have two purchase order types
    1. Blanket : done from req--> auto create --> standard PO
    2. Standard --> Direct PO
    Regards
    846691

    You can use darpan77's suggestion for context sensitive DFF. See http://oracle.anilpassi.com/context-sensitive-descriptive-flexfields.html for an example.
    However, both options you mentioned talk about standard po. Is the difference in how they are generated? (One is manual and the other is autocreated?)

Maybe you are looking for

  • Short dump while executing report group.

    Hi, We are upgrading to ECC6.0 from 4.6C Now while testing the report group i got short dump. This is due to to the 'Exception condition "LOAD_PROBLEMS" raised.' Error analysis     A RAISE statement in the program "SAPLSLDB" raised the exception    

  • Ram Issues - First Gen iMac G5

    So here's the situation: I bought 2 matched 1gb sticks of ram. I installed and my computer crashed, so: 1. i ran the apple hardware test - result: bad memory 2. I replaced the old memory - result: A-OK 3. Re-installed new ram 1 stick at a time, ran h

  • Imagent is eating up all my ram within a minute

    This morning on both my air and imac running 10.7.3 imagent process is devouring my ram within a minute briniging bioth computers to a crawl and then message out of applicaiotn memory. Force quitting the imagent process restarts ichat and the memory

  • I was wondering if there is a tutorial on how to make a blog page in muse?

    I was wondering if there is a tutorial on how to make a blog page in muse? Any help will be appreciated.

  • ISight camera with msn??

    I downloaded Mercury, so that I can use my webcam on msn, but it didn't work. So I got aMSN, and with that I can see the other person, but they can't see me :/ Is there any way to fix this?