SQ01 How to colour Code an Infoset based on criteria?

Hi,
Just a quick question I have a query created using SQ01. I want to color code a field based on the number.
Basically if
MEINS = 0 I want it to be yellow
MEINS is a minus field then i want it to be Red
MEINS is more than 0 then I want it to be Green.
Can some one please help me the code for this so I can enter it into the infoset as a code?
Thanks
Adeel Sarwar

Not answered Thread closed

Similar Messages

  • Colour code a column in an interactive report

    Hi
    Could anybody tell me how to colour code a column in an interactive report please.
    I am using apex version 3.1.
    Thanks in advance

    When your IR is displayed, go to the Actions Menu, choose "Highlight" and enter the condition when which row or field should be highlighted.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • My ical wiped out a whole calendar category (i have four each with a different colour code)  what happened? and how do i get my info back

    My ical wiped out a whole calendar category (i have four each with a different colour code)  what happened? and how do i get my info back

    Read this:
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    If you want your grandchild to play with the iPad use Guided Access:
    iOS: About Guided Access - Apple Support

  • How to attribute a colour code to a incoming message in Mail?

    I'd like to attribute colour codes to Inbox messages.
    In Outlook, you can select a message and give hem a colour refering to a group or a map (categorize).
    I use already smart maps for ordening my messages, but I still miss a visual code in my Inbox.
    I also use the rules to attribute colour to incomming messages, but I need to be able to add a colour to a message out of the rule.
    Please help!

    Here's another way:
    1. Convert the picture to grayscale. As usual there are many ways to do this but here are two:
    Enhance > Adjust Color > Remove Color
    or
    Enhance > Adjust Color > Hue/Saturation,
    and move the Saturation slider all the way left.
    2. Add a blank layer above the picture layer.
    3. Set the Foreground color to your new color.
    4. Alt-Backspace to fill the new layer with the Foreground color.
    5. Change the layer's blending mode to Color.
    6. Lower the layer's opacity to get result you want.
    In this example I set the Foreground to blue and Opacity to 30%.
    http://www.pixentral.com/show.php?picture=11k0iWXbZQtl3ycjGtFKYwBuFUwlp1
    You might also experiment with other blend modes, such as Overlay, Soft Light, Hard Light, and others. Each will require a different Opacity to get your result.

  • How to creat a Data provider  based on different fields in SAP BW ?

    Hi,
    Experts,
    There are  20 fields  of  Plant Maintainace  like : 
    SWERK
    BEBER
    STORT
    TPLNR
    EQUNR
    INGRP
    QMDAT   ---peroid
    STTXT
    QMDAT  - Date of Notification
    QMNUM
    QMTXT
    QMART
    AUSVN
    AUZTV
    AUSBS
    AUZTB
    AUSZT
    ERNAM
    QMDAB
    AUFNR
    I  want to creat a  Report based upon these fields  ?
    For that I h'v  checked the relevant Fields to the   existing standard  Datasource  in Bw side   &
    Checked  cubes   created  based upon these Datasource  in Bw side !
    i h'v found  some fields are  existing different cubes & some are  missing .
    How to creat a Data provider  based on different fields in SAP BW ?
    plz suggest      !!!!!!!
    Thanx,
    Asit
    Edited by: ASIT_SAP on Jul 15, 2011 6:25 AM
    Edited by: ASIT_SAP on Jul 15, 2011 6:27 AM
    Edited by: ASIT_SAP on Jul 15, 2011 12:37 PM

    Hi Lee, Please see below..
    DECLARE @Machine2 TABLE
    DispatchDate DATE
    INSERT INTO @Machine2 VALUES ('2014/02/01'), ('2014/02/02'), ('2014/02/03')
    DECLARE @DateFrom DATE
    SELECT @DateFrom = DATEADD(D,1,MAX(DispatchDate)) FROM @Machine2
    SELECT @DateFrom AS DateFrom
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • How Do Mobile Codes Work? FAQ

    You may have seen them in our weekly ads, on BestBuy.com, or on signs in our retail stores: two-dimensional images that look similar to traditional bar codes, but are irregular and often square. Ever wonder what they are? They’re Mobile Codes!
    What is a Mobile Code?
    A Mobile Code is any two-dimensional (DataMatrix or QR code) or linear bar code (UPC) which can be read by a smart phone, linking the physical world with the on-line world. Some bar code symbologies are in the public domain, such as UPC and DataMatrix and some symbologies are proprietary (e.g. Microsoft’s Tag and EZ codes).  Bar Code scanners today are “image scanners,” and since most smart phones have cameras built into them, we can now use them as personal bar code scanners!
    Do I need software to read a Mobile Code?
    Yes. The Best Buy Mobile App is free software you can download to your phone that contains a bar code reader. The reader will scan UPC and QR codes for products carried by Best Buy. To download the reader, simply follow these instructions:
    1)      Text “APP” to 332211.
    2)      Click on the link that is returned
    3)      Download and install the Best Buy Mobile App on your phone
    4)      Launch the app, push the Product Scan button, and hover the phone over the code.
    Try this one: 
    You can also download the app through several platform-specific app stores:
             iPhone via Apple App Store
             Android Phone via Google Play
             Windows Phone and Touch Screen PC via Windows Phone Store
    Additional app features can be found on http://www.BestBuy.com/App.
    What phones are supported?
    The Best Buy Mobile App is available on most iPhone, Android, and Windows Mobile devices. It is also available for Touch Screen PCs. iPad version coming soon!
    What service plans will I need?
    The service relies on a data plan from your provider or the free Wi-Fi network available in each of our retail stores. The amount of bandwidth consumed varies based on the product experience rendered. If you do not have an unlimited data plan, please plan accordingly. Remember, watching videos can use more bandwidth than viewing mobile web pages.
    What type of bar codes can I scan with the Best Buy Mobile App?
    The Best Buy Mobile App reads QR (Quick Response) Codes, which are the square two-dimensional bar codes with the three smaller squares in the upper right and left of the bar code and in the lower left.   The Best Buy Mobile App can also read UPC codes (the codes used at cash registers in stores). The app does not currently read Data Matrix codes which are square two-dimensional codes, but they don’t have the three smaller squares in them.
    What will happen when I scan the Mobile Code?
    After reading a Best Buy Mobile Code, you will be taken to a mobile web page that contains item specific information. You can use the Best Buy Mobile App to compare a number of products or narrow your selection of items based on parameters you select while in the store.
    Is there any personal information involved?
    No personal information is obtained from your phone. If you have the Best Buy Mobile App and have logged in, your My Best Buy membership information may be used to create a personalized experience.
    How do mobile codes work?
    The Best Buy Mobile App includes the software required to turn your phone into a scanner. All you need to do is initiate the scanner and hover the phone over the code. The app scans the code and launches the corresponding experience. It’s the best of both worlds: you can be online and in the store at the same time!
    How do I save the data for use later?
    On the iPhone and Android, add the product to your cart. Products added to your cart are available until removed. A list of recently viewed products can also be accessed through the main app menu.
    What prices will I see on my mobile device?
    You will see our regular BestBuy.com prices.  In some cases they may vary from the in-store price.

    If you touch the left side of the telephone number field, you get a drop down Label from which you can select the type of number it is to be.

  • Tax code in IDoc based on Customer country

    as a part of EID settings for automatic intercompany invoice posting, we are maintaining Tax code in OBCD based on the partner type / parnter no. / Delivered country (Destination country). is it possible to maintain the Tax code based on the Payer's or Sold to party's country and not based on the Ship to country in sales order? how it could be done?

    Go through Note 21734 - Determining sales tax (VAT) from any partner
    thanks
    G. Lakshmipathi

  • How to do an incoming payment based on journal entry whit SDK ?

    Hello
    Somebody have the code for SDK of Business One,  how  to do an  incoming payment based on journal entry?
    Tks

    Hello Julio,
    Here some example code from the SDK helpfile.
    Private Sub cmdTest_Click()
       On Error GoTo ErrorHandler
       Dim vCompany As SAPbobsCOM.Company
       'create company object
       Set vCompany = New SAPbobsCOM.Company
       'set paras for connection
       vCompany.CompanyDB = "SBODemo_US"
       vCompany.Password = "manager"
       vCompany.UserName = "manager"
       vCompany.Server = "(local)"
       'connect to database server
       If (0 <> vCompany.Connect()) Then
          MsgBox "Failed to connect"
          Exit Sub
       End If
       Dim nErr As Long
       Dim errMsg As String
       'Set the object's properties
       Dim vPay As SAPbobsCOM.Payments
       Set vPay = vCompany.GetBusinessObject(oIncomingPayments)
       vPay.Address = "622-7"
       vPay.ApplyVAT = 1
       vPay.CardCode = "D10006"
       vPay.CardName = "Card D10004"
       vPay.CashAccount = "288000"
       vPay.CashSum = 0
       'vPay.CheckAccount = "280001"
       vPay.ContactPersonCode = 1
       vPay.DocCurrency = "Eur"
       vPay.DocDate = Now
       vPay.DocRate = 0
       vPay.DocTypte = 0
       vPay.HandWritten = 0
       vPay.JournalRemarks = "Incoming - D10004"
       vPay.LocalCurrency = tYES
       vPay.Printed = 0
       vPay.Reference1 = 8
       vPay.Series = 0
       vPay.SplitTransaction = 0
       vPay.TaxDate = Now
       vPay.TransferAccount = "10100"
       vPay.TransferDate = Now
       vPay.TransferSum = 0
       vPay.Invoices.AppliedFC = 0
       vPay.Invoices.AppliedSys = 0
       vPay.Invoices.DocEntry = 8
       vPay.Invoices.DocLine = 0
       vPay.Invoices.DocRate = 0
       vPay.Invoices.InvoiceType = 13
       vPay.Invoices.LineNum = 0
       vPay.Invoices.SumApplied = 5031.2
       Call vPay.Invoices.Add
       Call vPay.Invoices.SetCurentLine(1)
       vPay.Invoices.AppliedFC = 0
       vPay.Invoices.AppliedSys = 1089.65
       vPay.Invoices.DocEntry = 11
       vPay.Invoices.DocLine = 1
       vPay.Invoices.DocRate = 0
       vPay.Invoices.InvoiceType = it_Invoice
       vPay.Invoices.LineNum = 1
       vPay.Invoices.SumApplied = 1000
       vPay.CreditCards.AdditionalPaymentSum = 0
       vPay.CreditCards.CardValidUntil = CDate("10/31/2004")
       vPay.CreditCards.CreditAcct = "295000"
       vPay.CreditCards.CreditCard = 3
       vPay.CreditCards.CreditCardNumber = "884848448"
       vPay.CreditCards.CreditCur = "EUR"
       vPay.CreditCards.CreditRate = 0
       vPay.CreditCards.CreditSum = 5031.2
       vPay.CreditCards.CreditType = 1
       vPay.CreditCards.FirstPaymentDue = CDate("11/29/2002")
       vPay.CreditCards.FirstPaymentSum = 5031.2
       vPay.CreditCards.LineNum = 0
       vPay.CreditCards.NumOfCreditPayments = 1
       vPay.CreditCards.NumOfPayments = 1
       vPay.CreditCards.OwnerIdNum = "3993939"
       vPay.CreditCards.OwnerPhone = "383838888"
       vPay.CreditCards.PaymentMethodCode = 1
       Call vPay.CreditCards.Add
       Call vPay.CreditCards.SetCurentLine(1)
       vPay.CreditCards.AdditionalPaymentSum = 0
       vPay.CreditCards.CardValidUntil = CDate("10/31/2004")
       vPay.CreditCards.CreditAcct = "295000"
       vPay.CreditCards.CreditCard = 3
       vPay.CreditCards.CreditCardNumber = "884848448"
       vPay.CreditCards.CreditCur = "EUR"
       vPay.CreditCards.CreditRate = 0
       vPay.CreditCards.CreditSum = 1000
       vPay.CreditCards.CreditType = 1
       vPay.CreditCards.FirstPaymentDue = CDate("11/29/2002")
       vPay.CreditCards.FirstPaymentSum = 1000
       vPay.CreditCards.LineNum = 1
       vPay.CreditCards.NumOfCreditPayments = 1
       vPay.CreditCards.NumOfPayments = 1
       vPay.CreditCards.OwnerIdNum = "3993939"
       vPay.CreditCards.OwnerPhone = "383838888"
       vPay.CreditCards.PaymentMethodCode = 1
       If (vPay.Add() <> 0) Then
           MsgBox ("Failed to add a payment")
       End If
       'Check Error
       Call vCompany.GetLastError(nErr, errMsg)
       If (0 <> nErr) Then
           MsgBox ("Found error:" + Str(nErr) + "," + errMsg)
       Else
           MsgBox ("Succeed in payment.add")
       End If
       'disconnect the company object, and release resource
       Call vCompany.Disconnect
       Set vCompany = Nothing
       Exit Sub
    ErrorHandler:
       MsgBox ("Exception:" + Err.Description)
    End Sub
    HTH Regards Teun
    Edited by: Teun Aben on Aug 4, 2010 9:00 PM

  • Infoset based on logical db PNPCE

    A collegue already created an infoset based on logial daabase PNPCE.  When the user runs a query based on this infoset and asks for all education data for a specific PERNR, The result is only 1 line, the one with the highest enddate, not all education lines.  I allready tried to choose "All" in the reporting period.  How can I get all education lines of the pernr ?
    I also need to add 2 extra fields to the infoset.  For the "Job" (IT0001-STELL) the linked field of IT1005-SLGRP and for the "Position" (IT0001-PLANS) the linked field IT1005-SLGRP.  How can I do this ?

    capacity header data is linked to table KAZY (interval) - if there is no relevant record there, your field1 gets nothing

  • Additional Field and writing code in Infoset

    Hello experts
    I need to use infoset as a data source in segmentation. We created our own infoset by joining 2 table (sales table and pricing table). We need to use total gross value per customer, so we need addtional field in ınfoset for storing it. (first we calculate the total gross value and store it in additonal field in infoset.)
    We create additonal field and write a code (create internal table and try to fill it etc.) However it doesn't work, we checked the same code from se38, ABAP editor and it works.
    So we'd like to learn that whether the syntax in infoset different, or how can we write our own code and store value in additonal value in infoset.
    Thanks in advance
    M.

    Hi Saipriya
    the code :
    data : begin of itab occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of itab .
    data : begin of wa occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of wa .
    data : begin of itab2 occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of itab2 .
    data : begin of wa2,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of wa2 .
    START-OF-SELECTION.
    select partner_no
           gross_value
    into CORRESPONDING FIELDS OF TABLE itab
    from crmd_order_index join crmd_pricing_i on crmd_order_index~item eq
    crmd_pricing_i~guid
    where crmd_order_index~process_type_ix = 'ZTA'
      and crmd_order_index~pft_1 = 'X'  .
    LOOP AT itab INTO wa .
          MOVE-CORRESPONDING wa TO itab2.
      COLLECT itab2.
    ENDLOOP.
    LOOP AT itab2 INTO wa2 .
    APPEND BP_GROSS.
    actually we don't know how can we benefit from this code in infoset.
    table1 :CRMD_ORDER_INDEX (the table we take customer number (CRMD_ORDER_INDEX-PARTNER_NO))
    table2 : CRMD_PRICING_I (We take gross value form this table)
    We added BP_GROSS field (adtiona filed to infoset) and would like to append the value we have from the code (Total gross per Customer) but it doesn't work in infoset.
    Thanks in advance.
    M.

  • How to colour a cell in alv's

    hi experts ,
    any one tell me how to colour a cell in alve. give me some sample code.
    reward points.......

    Hi
    Fareeda
    this is w2ht the code example u asked
    if u found it helpfull plzz reward
    TABLES:LFA1.
    SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    REGIO LIKE LFA1-REGIO,
    SORTL LIKE LFA1-SORTL,
    CFIELD(4) TYPE C,
    END OF ITAB.
    data:col(4).
    data:num value '1'.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE LIFNR
    IN LIFNR.
    LOOP AT ITAB.
    concatenate 'C' num '10' into col .
    ITAB-CFIELD = col.
    num = num + 1.
    if num = '8'.
    num = '1'.
    endif.
    MODIFY ITAB.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    DATA:EVE TYPE SLIS_T_EVENT WITH HEADER LINE.
    LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    LAYOUT-WINDOW_TITLEBAR = 'VENDORS DETAILS SCREEN'.
    LAYOUT-EDIT = 'X'.
    LAYOUT-info_fieldname = 'CFIELD'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    this is for coloring cols
    REPORT ZBHCOLOR_COLS.
    TABLES:LFA1.
    SELECT-OPTIONS:C_LIFNR FOR LFA1-LIFNR. " FOR GRID ONLY
    PARAMETERS:LIST RADIOBUTTON GROUP ALV DEFAULT 'X',
    GRID RADIOBUTTON GROUP ALV.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    SORTL LIKE LFA1-SORTL,
    REGIO LIKE LFA1-REGIO,
    COL TYPE LVC_T_SCOL,
    END OF ITAB.
    DATA:COLR TYPE LVC_S_SCOL.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB.
    LOOP AT ITAB.
    IF ITAB-LIFNR IN C_LIFNR.
    COLR-FNAME = 'NAME1'.
    COLR-COLOR-COL = '5'.
    COLR-COLOR-INT = '1'.
    COLR-COLOR-INV = '0'.
    COLR-NOKEYCOL = 'X'.
    APPEND COLR TO ITAB-COL.
    COLR-FNAME = 'LIFNR'.
    APPEND COLR TO ITAB-COL.
    MODIFY ITAB.
    ENDIF.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    LAYOUT-ZEBRA = 'X'.
    layout-coltab_fieldname = 'COL'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    IF LIST = 'X'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    ELSEIF GRID = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    ENDIF.
    Plzzz dont forget to reward

  • What happens to ratings and colour codes when Aperture is reinstalled?

    My iMac has developed all sorts of faults and I think it's time to clean up, wipe the hard drive and reinstall the operating system and apps. My Aperture library is quite large and the photos have all been painstakingly categorised using the colour codes within aperture. I copy the Aperture library to an external hard drive but will I lose all my colour codes, metadata and stuff? I'm sort-of hoping that the newly reinstalled Aperture will import all my photos with all the ratings, album structure and stuff.
    Any ideas or advice?

    Thatblokeoverthere wrote:
    Thanks. This is a great start. So, if I move my entire Aperture library to an external drive and then move it back to the iMac hard drive, the new installation should set it all up exactly as before?
    As long as the originals in the library are managed, that is located in the library, and not referenced then yes that is all you will need to do. When you have everything set to go the easiest way to have Aperture open this library is to double click on the library, this will cause Aperture to open it and make it the default library.
    However as Léonie has alluded to this may not clear up the problems you are having. What is the model of the Mac you are using, how much memory is installed and how big is and how much free space is there on your system drive and what OS version are you running?
    Perhaps there are less drastic measures you can take to clear up the problems.
    regards

  • How to get Code Combination Range (Account Range From - Account Range To)

    Hi,
    I have a requirement that I need to get the range of code of combinations based on the parameter (Account Range From & Account Range To) in the query. Please could anyone help how to fetch this value based on the parameter.
    Account Range From (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    Account Range To (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    These is the example of value which I will be getting on the Accounting Range From and Accounting Range. Based on this account range, I need to pull records from the GL_CODE_COMBINATIONS table. Any help on this plz?
    Thanks,
    Geno

    I would not use the code_combination_id. That code_combinaition_id is incremented by one for each new account, so unless you happened to create all your accounts in the right sequential order (not likely), then you cannot do a range of FROM code id a TO code id b. Do an SQL against the code combinations table and sort on the segments columns and take a look at the code combination id on each row, and I think you will see that they jump around quite a bit. I think you can only rely on using the segment columns values for doing an account range.
    John Dickey

  • How to find name of partner based on partner number

    Hello All,
    Can any one help me how to find name of partner based on partner number.
    Regards,
    Lisa

    SELECT kunnr name1 erdat
              FROM kna1
              INTO TABLE i_kna1
              WHERE erdat IN s_date.
      SELECT kunnr kunn2 knref vkorg vtweg spart
                    FROM knvp
                    INTO TABLE i_knvp
                    FOR ALL ENTRIES IN i_kna1
                    WHERE kunnr = i_kna1-kunnr AND
                    vkorg IN s_vkorg AND
                    vtweg IN s_vtweg AND
                    spart IN s_spart AND
                    parvw = 'ZR'.
      LOOP AT i_kna1.
        READ TABLE i_knvp WITH KEY kunnr = i_kna1-kunnr.
        IF sy-subrc = 0.
          MOVE-CORRESPONDING i_kna1 TO i_cust2.
          MOVE-CORRESPONDING i_knvp TO i_cust2.
          APPENd i_cust2.
       endif.
      ENDLOOP.
    *SELECT kunnr name1
              FROM kna1
              INTO TABLE i_kna1.
      loop at i_cust2.
        read table i_kna1 with key kunnr = i_cust2-kunn2.
         IF sy-subrc = 0.
           i_cust2-name2 = i_kna1-name1.
        modify i_cust2.
      endif.
    endloop.*
    icust2 will have partner number ,....partner name is in KNA1,..
    so look in tat ..by above code.._ if this is wat u r luking for

  • How can we restrict EQL result based on session value

    How can we restrict EQL result based on session value or by checking with EBS secured function?
    Example: I create a Item Search Dashboard but I have more than one inventory organizations and I want to restrict dashboard to bring inventory org respective data by validating responsibility/profile option.
    Can anyone help me on this or if my concept is wrong so can anyone please guide me?

    Hi Bob,
    Thank you. Sorry for the late reply but I was busy in other stuff. I did the jar file and copied that Jar file into .ear/APP-INF/lib and copied on server and updated the df.securitymanager property under framework settings on Endeca Studio and restarted Endeca Server and Studio but seems like my class didn't get read. Kindly suggest and find below snippet of code;
        public void applySecurity(PortletRequest request, MDEXState mdexState, Query query)
                throws MDEXSecurityException
      init(request);
      String remoteUser = request.getRemoteUser();
      String recordFilterExpression = "XX";
      if(recordFilterExpression != null) {
      DataSource ds;
      try {
      ds = new DataSource(request, mdexState.getId());
      try {
      ExpressionBase expression = ds.parseLQLExpression("FND_USER_NAME='" + remoteUser + "'");
      DataSourceFilter dataSourceFilter = new DataSourceFilter(expression); 
      } catch (Exception f) {
      throw new MDEXSecurityException("Unable to apply Expression", f);
      } catch (DataSourceException e) {
      throw new MDEXSecurityException("Unable to create DataSource", e);

Maybe you are looking for