Display Row Level Data in Title UDF

Hi,
The requirement is in SAP 8.8 PL 15. I have created an UDF in Marketing Documents - Title and would like to display the Location Code from the Rows (1st row) in that UDF using FMS.
I have a query that is: select $[$38.2000002049.1]
But it gives the error: Internal Error (3006) occurred. [Message 131-183]
This query worked in SAP 2005B PL 27. Can any one please help?
Regards
Sudatt

Hi both the codes to fetch the line item's data -
select $[$38.1.0]
or
select $[$38.1.1]
will work in any built-in fields on header part alike, but not in in any UDF.
If needed you can fetch any header level built-in fields value to the UDF by the following type code -
SELECT $[ORDR.CardName]
For your info - a few changes are there in 8.8 on this context.

Similar Messages

  • Display row level value in a UDF at header level

    Hi,
    I would like to display the sum of price of a sales document which is in line level to a added UDF at header level using FMS.
    Is there any solution.. let me know.
    Thanks.

    Hi,
    To achive what you want with a FMS, like Gordon said, only on the 2nd visit to the document you can fire a FMS to get the values from the database data.
    You can have what you want if you use SDK to create a small Add-on for this.
    Regards,
    Augusto

  • Any way to display row-level errors in AdvancedTable from ProcessRequest?

    I have a page which displays data in an Advanced Table. Users are also able to edit the data on each row, and then save. Upon saving, it will validate the data, and display row-level errors (via either OARowValException or OAAttrValException). That's all working fine.
    The issue I have, is that sometimes data can become invalid from outside of this particular screen. So when a user opens the screen, some of the data displayed is already invalid. If the user saves, without changing anything, they'll see the errors. I want to show the errors immediately, without them having to save on every range of records. So I basically want to re-validate everything when it is first displayed, so from ProcessRequest. Is there any way to actually do that? I've tried several ways, but nothing seems to work.

    Hi,
    I havent used it but u can try with the below logic
    Write ur logic in AM...
    Import oracle.apps.fnd.framework.OAAttrValException
    Import oracle.apps.fnd.framework.OARowValException
    //Iterate through all the rows.
    if(attr1!=attr2)
       throw new OARowValException (
            getEntityDef().getFullName(), // entity full definition name
            getPrimaryKey(),              // entity object primary key
            "FND",                        // message application short name
            "ATTR_EXCEPTION");            // message name Regards,
    Gyan

  • Relationship between header and row level data.

    Hi all
    I need to know how to relate a field in the header level and the row level...
    On my row level i want the route id to be related to the route name field at the header level...instead of showing this route id  it must show only the header so...based on the row level data the header must change...
    I tried insertin the field but when i do a relate to on either fields its showing me only fields on that catagory ( Header only or Row Level only)
    Thanks

    The Header is evaluated and printed first and then only Repetitive area is computed and printed. You cannot try to arrive header based on the Repetitive area.
    Please explain in detail which screen etc.. so that we can suggest some work arounds

  • How to display rows of data in JSP?

    Hi,
    I am learning Servlet and JSP. There is an exercise which requires us to access a database from a Servlet and display the retrieved data in a JSP.
    Now I am ok with the database connection. So how to display the data using some kind of loop?
    Regards

    They're called ResultSets and they are returned when you execute a query from a Statement. The next() method will tell you whether or not you have another row of data to read.

  • How to set up row-level data security in BO XI r2

    I need to get Data/Row level security into my BO XI r2 report.
    A logged in user should be able to view info on pertaining to him without refreshing it.
    how do i incorporate this feature into my report?
    its possible to do this by setting a filter using the currentuser() function.
    however it requires a refresh of the report.
    hence the new user shall be able to view the data of the previous user. i need to enforce more security on the data. How do i do this???

    Hi Anamika, here is a sample of what the cv_security view might look like:
    create or replace view cv_security
    as
    select distinct sec."gid", sec."uid", sec."from", sec."to"
    from
    -- All users where NO LIMITS APPLY (sg.group = 1)
    (select distinct
    sg.group_id as "gid",
    sg.user as "uid",
    '----' as "from",
    'ZZZZ' as "to"
    from dual sr, sec_groups sg, sec_users su
    where su.user(+) = sg.user
    and su.status = 1
    and sg.coding = 'GL'
    and sg.group = 1
    union all
    --All users with specified sec_ranges
    select distinct
    sg.group_id as "gid",
    sg.user as "uid",
    case when sr.from is NULL
    then ' '
    else sr.from
    end as "from",
    case when sr.to is NULL
    then ' '
    else sr.to
    end as "to"
    from sec_ranges sr, sec_groups sg. sec_users su
    where su.user(+) = sg.user
    and su.status = 1
    and sg.coding = 'GL'
    and sg.group_id(+) = sr.group_id) sec
    grant select on cv_security to ROLENAME
    Notes about cv_security:
    1) For those users with NO LIMITS APPLY (i.e. Admin staff) hard code an absolute range of RC codes from '----' to 'ZZZZ' to ensure you trap all possible alpha-numeric values.
    2) For those users with NO LIMITS APPLY (i.e. Admin staff) substitute the sec_ranges table with dual
    3) su.status = 1 to a filter to report on only active users
    4) sg.coding = 'GL' is assessing the General Ledger coding dimension of the multi-dimensioned security matrix of our Financial system (this may not apply to you)
    Responses to your questions:
    Q- Does it involve self join between view cv_secured_detail? A- Yes, the 1:N cardinality is a self join between view cv_secured_detail and itself.
    Q- What is the difference between steps 3) and a) below it. A- Step 3a) is simply the act of importing the cv_secured_detail Oracle View as a BO Universe Class, with it's columns known to the BO Universe as Objects
    Q- Can the tables from which report data is fetched be included in the Universe? or should they be part of cv_secured_detail view.
    A- I'm not sure if I understand your question, but I might phrase it another way - Once you create the cv_secured_detail view, and the Universe from this view, with the user = 'BOUSER' limiter. The universe is then used to design the CR, by virtue of it belonging to the CMS Repository, you as the report designer have to log into the CMS repository using your LDAP credentials, if a match is found against the cv_security view your data is automatically row-level secured. In outher words, whatever is declared in the view, is in the universe, and is ultimately available to the report.
    Does this help?
    Bill.

  • How to display rows of data into different columns?

    I'm new to SQL and currently this is what I'm trying to do: 
    Display multiple rows of data into different columns within the same row
    I have a table like this:
        CREATE TABLE TRIPLEG(
            T#              NUMBER(10)      NOT NULL,
            LEG#            NUMBER(2)       NOT NULL,
            DEPARTURE       VARCHAR(30)     NOT NULL,
            DESTINATION     VARCHAR(30)     NOT NULL,
            CONSTRAINT TRIPLEG_PKEY PRIMARY KEY (T#, LEG#),
            CONSTRAINT TRIPLEG_UNIQUE UNIQUE(T#, DEPARTURE, DESTINATION),
            CONSTRAINT TRIPLEG_FKEY1 FOREIGN KEY (T#) REFERENCES TRIP(T#) );
        INSERT INTO TRIPLEG VALUES( 1, 1, 'Sydney', 'Melbourne');
        INSERT INTO TRIPLEG VALUES( 1, 2, 'Melbourne', 'Adelaide');
    The result should be something like this:
    > T#  | ORIGIN  | DESTINATION1  |  DESTINATION2 
    > 1   | SYDNEY  | MELBORUNE     | ADELAIDE
    The query should include the `COUNT(T#) < 3` since I only need to display the records less than 3. How can I achieve the results that I want using relational views???
    Thanks!!!

    T#
    LEG#
    DEPARTURE
    DESTINATION
    1
    1
    Sydney
    Melbourne
    1
    2
    Melbourne
    Adelaide
    1
    3
    Adelaide
    India
    1
    4
    India
    Dubai
    2
    1
    India
    UAE
    2
    2
    UAE
    Germany
    2
    3
    Germany
    USA
    On 11gr2, you may use this :
      SELECT t#,
             REGEXP_REPLACE (
                LISTAGG (departure || '->' || destination, ' ')
                   WITHIN GROUP (ORDER BY t#, leg#),
                '([^ ]+) \1+',
                '\1')
        FROM tripleg
        where leg#<=3
    GROUP BY t#;
    Output:
    1 Sydney->Melbourne->Adelaide->India
    2 India->UAE->Germany->USA
    Cheers,
    Manik.

  • Display row with date search ADF 11g 11.1.1.2.0

    Hi
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I'm want to display the table rows according to the date between search.
    My screen
    From ______ To ______ Seachbutton
    EMPNO EMPNAME JOINDATE
    001 JACK 04/05/2010
    002 JILL 02/05/2010
    003 PALIN 06/05/2010
    when i select date with adf input date in both text box and fire search . i want display the searched records/rows
    sorry ......
    thanks in advance
    Edited by: user9010551 on May 6, 2010 3:43 AM

    Hi
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I'm want to display the table rows according to the date between search.
    My screen
    From ______ To ______ Seachbutton
    EMPNO EMPNAME JOINDATE
    001 JACK 04/05/2010
    002 JILL 02/05/2010
    003 PALIN 06/05/2010
    when i select date with adf input date in both text box and fire search . i want display the searched records/rows
    sorry ......
    thanks in advance
    Edited by: user9010551 on May 6, 2010 3:43 AM

  • Display rows affected data from MySQL statement??

    Hi,
    Im trying to get the return data from a MySQL database, such as the ROWS AFFECTED into after an INSERT sql command.
    Could anyone help me? I mean I know its easy in PHP to use the "mysql_affected_rows" command, but how do you do this in Java?
    Many thanks!
    Seb

    executeUpdate will return the affected row count for insert, update, and delete statements. Is that what you're after?

  • How to find out the difference between the row level data in 2 dump files.

    Hi,
    I have got the export dump files from 2 different databases(for which I dont have access).
    They have got the same tables and same number of rows.
    how to compare the data within the tables(in the dump files).
    Cheers,
    Kunwar

    user9131570 wrote:
    Hi,
    I have got the export dump files from 2 different databases(for which I dont have access).
    They have got the same tables and same number of rows.
    how to compare the data within the tables(in the dump files).
    Cheers,
    KunwarWhy you want to do it? What's the business need? Without importing, its not possible to read the dump file * .
    Aman....
    * If you are using Data pump, you can make a sql file and can see the components of the dump file.

  • How to process double click on rows of data displayed on html page?

    I need to display rows of data so that user could double click on a particular row to get more details.
    What I could think of doing is to embed an applet with a JTable that could easily process double click event. But the issues I have are:-
    1. I am not able to pass the data (the jsp got from processing some javabeans) to be displayed on the applet's table. It seems the applet needs to get loaded on the user's browser first and then the applet could ask the server (servlet / jsp) to send the data.
    Is there any way to provide data to applet other than html's parameter/value pairs?
    2. As per design, this applet should be used only to display the content. Double click on a row would only open a browser window to display the entire details of the data; there should not be any interaction with the server.
    Is there a better, more elegant way of doing this?
    Thanks.

    I posted a thread on Applet servlet communication here:
    http://forum.java.sun.com/thread.jsp?forum=33&thread=205887
    It uses the ObjectOutput/InputStream so you can send serializable objects rather than just text.
    Cheers,
    Anthony

  • Approval in Row level

    Dear Frnds,
    I want to create one approval process in sales order.
    In sales order row level i have one dimension named as SBUHead,For multiple items there should be only one SBU Head for ex :- "KA" and i enter their as "KA", so approval should gone to SAP userid "KA". When we login through KA in SAP then i should get that approval alert.
    Is it possible or not? if yes then how to write the query for it?
    Please guide me.
    Regards,

    Hi
    Approval Procedure does not work on row level data. It might work when there is only one row but not when there is more than one.
    To block the transaction using the SBO_SP_TransactionNotification Stored Procedure.
    For Ex:
    Approval for Discount in Sales Doc.:
    Select Distinct True Where ($[$38.15.0] > 0)

  • Auto fill Row level UDF from Header Level UDF

    Hi,
    I have a header UDF (U_BU) and Row UDF (U_BU).
    Each time I add a row (item or service type) I want the row UDF to be loaded with  the header UDF data, using a formatted search on the row UDF.
    I also want the user to be able to change the ROW UDF if it is not meant to be the same as the header.
    Could someone help on this?
    Kind Regards,
    Eric

    Hi Eric,
    Try this,
    ->> Assign this FMS in UDF(row level) on A/R Invoice.
    ->> Auto Refresh of Item Description.
    SELECT $[OINV.U_BU]
    or
    for example, use variable
    (because this method of FMS will work all marketing doc.)
    SELECT $[$33.0.U_BU]
    ->> Assign the FMS in UDF on item rows.
    1. Goto the UDF and Click ShiftAltF2.
    2. Select the SEARCH BY SAVED QUERY.
    3. Assign the FMS Query.
    4. Select the AUTO REFRESH WHEN FIELD CHENGES.
    5. Select Item Description.
    6. Check the Display Saved Values.
    Regards,
    Madhan.

  • How to avoid seeing data for a particular member in the row level

    Hello,<BR>I am using Essbase. In that i am having members like taks n/a, demand n/a. Purpose of these members are, if i load data for demand, task wont have data so i am mapping to task n/a.And same for the task loading.I am using alphablox for reporting and report script for retriving the data.So, if i select the task n/a and demand n/a then some value will be existing for this. Is there any possibility to remove this from report.I mean while seeing in the report, it should not get this member and respective value for display and also avoid taking this data for any manipulation.I know RESTRICT for column level data. Is there anything for row level restrictions.<BR>Please help me on this.<BR>Regards<BR>R.Prasanna

    Hi,
    Into the rule containing the Color metadata, you can restrict the values of the list.
    In "Has restricted list and pane", list the values 1, 2 and 3 (new line for each value) :
    1
    2
    3
    Romain.

  • How to update UDF based upon the row level dimensions.

    Hello Experts,
    I have made 4 new udf at Sales Order.  Its displaying at Righthand side under General Category.
    Now at row level im entering item detail, and other things with 4 profit center vaues.
    So i want that if i enter value in those 4 proft center in row level then it should automatically update those 4 udf with that value.
    It always happen in Add mode of SO, if SO open in update mode then i can update those udf with other values also, which can be differ then row level profit center values.
    If we need to create any trigger or any query for that, then guide me for that.
    Regards,

    Hi Chintesh,
    You can use the option of changing value when the exising column value changes. (also check the option refersh only option)
    pls revert in case more help.
    Regards,
    Datta Kharat

Maybe you are looking for

  • "Error establishing a database connection" after scale database

    Hello, i have a wordpress website hosted at my azure account (www.timothy-k.com). I was trying to scale my sql database and i have changed it from standard to basic. Then, I cant connect to my site, because i have this error. I scale the database aga

  • HP Officejet Pro 8500 A909g connected, but won't print

    Windows XP Pro, new OJ 8500, connected by wired network. firmware updated from web printing function is unreliable - works then not Do test print (or any other print job) from Windows, you can see the print job briefly flash in the print queue, and t

  • A mask in front of a YouTube video?

    Hi, Does anybody know how I can make an oval mask in front of a YouTube video? Mayanda

  • How can I find what Event a photo is in when that photo is found via Faces?

    I've stumbled upon a photo via the Faces category. I do not know what Event this photo exists in, but I'd like to know (this same issue can occur with a photo found via Places of course too). How do I find out what Event this photo exists in? Of cour

  • WHY  ODI IS AN ELT TOOL???

    Hi, I have done some labs in odi. I am in deep dark for some cases in odi labs like- Q1)For Relational Table To File (.xls) data exportation, transformation occurs in sunopsis memory engine.For this case how is is ELT?? Q2)As transformation occurs in