How to populate the calculated value into screen field.

I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
The Calling screen: SAPLIQS0
Screen Number: 7790
Screen Area :USER0001
Called Screen: SAPLXQQM
Screen Number: 0101
I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
How to populate the calculated values in Custom screen?
Where we wrote the code to populate the calculated values in custom screen?
You have any idea please guide me
Thanks & Regards,
Samantula

As your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)

Similar Messages

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • How to replace the char values into numeric in my string?

    Hi Friends,
    I would like to Replace the Charecter values with numeric value in my string.
    Exp : first in my string I am having the value like this : 'ABCD1234' ( may be any char and num values ), and I want too get it by '99991234'.
    I mean How to replace the char values into numeric in my string?
    Thanks,
    Sridhar

    Hi Sridhar,
    I would like to Replace the Charecter values with numeric value in my string.
    Exp : first in my string I am having the value like this : 'ABCD1234' ( may be any char and num values ), and I want too get it by '99991234'.
    So, if i understand you correctly, you want to replace all characters in a string with 9 as in the above example, irrespective of position of the character, if so try with the below code.
    DATA: l_str TYPE string.
    l_str = 'ASKHSIUDNSBDKJSDH124312431243124saasdfsf'.
    REPLACE ALL OCCURRENCES OF REGEX '\D' IN l_str WITH '9'.
    IF sy-subrc EQ 0.
      WRITE: l_str. "Result will be 9999999999999999912431243124312499999999
    ENDIF.
    Regards,
    Chen
    Edited by: Chen K V on Jun 13, 2011 12:36 PM

  • How to get the section value into configurator developer page

    Hi,
    I am working on configurator developer, Can I get the section value into the configurator developer page by any setup. If possible means please help me on that.
    Thanks advance,
    Gopi

    I thought the same.Thanks for confirming...I tried with loop approach.but i am unable to get decimal part...
    eg if my values are 12.25 and 123.12....my below code ignores decimal points..i know since i am using Number, it is happening..but could you please let me know how can i get decimal values also..
    OAViewObject vo = (OAViewObject) am.findViewObject("XXXXInvDistributionsVO1");
    vo.first();
    Number grossamount = 0;
    for (int i=0;i< vo.getRowCount();i++) {
    // BigDecimal grossamount1 = new BigDecimal((vo.getRowAtRangeIndex(i).getAttribute("Amount")));
    grossamount = ((oracle.jbo.domain.Number)vo.getRowAtRangeIndex(i).getAttribute("Amount")).intValue();
    System.out.println("grossamount "+grossamount); // it ignores and prints decimal points
    BigDecimal grossamount1 = new BigDecimal(grossamount.intValue());
    System.out.println("grossamount1 "+grossamount1); // it ignores and prints decimal points
    vo.next();
    Thanks
    Raj

  • How to Check the total value of a field

    Hi,
    I want to check the total value of a field (this total is obtain by using property of that field thru personalization).
    that means , in a table 3 columns are there (col 1, col2 & col3). I personalized the total property as true for col3.
    now i'm getting the total for that field.
    I want to check that total whether it crossed 100 or not.
    How to do this?
    Thanks in advance,
    SAN

    Hi San,
    You can achieve by using OATotalRowBean, search for OATotalRowBean in this forum you should be able to get some sample code.
    public class OATotalRowBean
    extends TotalRowBean
    implements OAWebBean, OAWebBeanConstants
    A special row rendered at the bottom of a table which lets users see totals for columns which are designated for summing.
    Note The total is calculated and displayed only for visible rows.
    When you indicate that you want to total one or more columns, the OA Framework creates an OATotalRowBean and designates it as the columnFooter named child of the OATableBean. If the OATableBean is also configured to insert rows (so it has an "Add Another Row" button), then the total bean becomes an indexed child of the add table row bean (see OAAddTableRowBean), which the OA Framework in turn designates as the table's columnFooter object.
    If you need to access the table's column footer object for any reason, call the OATableBean's getColumnFooter() method. If row insertions are enabled, this method returns an OAAddTableRowBean; otherwise it returns an OATableRowBean.
    For detailed information about creating and working with tables, see OA Framework Developer Guide: Tables.
    With regards,
    Kali.
    OSSi.

  • How to change the name of a screen-field

    Hi gurus,
    I need to know if there is a possibility to change the name that appears in the infotype of any screen-field standard?
    If so, please, let me know
    Answer will be rewarder!!

    Hi,
    Transaction --- CMOD --- Goto -- Text Enhancement -- Keyword ---Change -- Enter the data element and change the field name.
    Hope it will help..
    Regards,
    Vikash

  • How to populate list of values on screen load

    Hi all,
    I have a list of values based on another field (ANOTHER_FIELD).
    e.g.
    select value d, value r
    from table_name
    where id = :ANOTHER_FIELD;
    ANOTHER_FIELD has default value.
    But when the screen is opened the list of values doesn't get the default value and the list of values is empty.
    Just when submmiting the form, the list of values is populated.
    Please tell me how can I populate the list of values on screen load.
    Thanks!

    Hi,
    So, you have created a computation for ANOTHER_FIELD but the related list still does not get any values? And, the default value for ANOTHER_FIELD is a valid value that can be used to populate the related list?
    Have you set anything for the "Display Null" settings for the related list? Or, is the default value a value will always be in the list?
    Andy

  • How to Capture the Variables Value into the

    Using JSLT part of the Jdeveloper/Jheadstart, ADF/Struts Framework.
    I'm capturing the value fine using the following,
    <c:set var="CvInformationFirstName" scope="request" value="${bindings.CvInformationFirstName.attributeValue}"/>I can even show the value without any problem,
    <%-- Show the saved values --%>
    <c:out value='${requestScope.CvInformationFirstName}' />Right here, we I try assigning the value of the firstname to a field, I can't accomplish this since I just don't know how to do it,
    <html:text name="CvInformationBean" property="CvInformationFirstName" size="10" maxlength="10"/>
    Any help will be greatly appreciate it.
    Oracle Group

    I am not sure what it is you are trying to accomplish. What do you mean with "assigning"? It is a business rule where the FirstName and LastName fields of the master need to be equal to the FirstName and LastName of the details, or is it the other way around? Anyway, it seems you are trying to get this business rule implemented by playing around with <html:text> elements in the JSP. You can't do it that way. Those <html:text> elemens are "two way". When the page is shown they determine which values get shown. Then, when the user enters new values and submits, they determine where those values are stored. If I understand what you are trying to accomplish correctly, you are trying to show values from one place, but submit them to another place. That can't be done strictly at the JSP level (not unless you use JavaScript anyway).
    But then again, I may be misinterpreting what you are trying to do. Could you provide some more details about what the desired functionality is?
    Finally, may I remark that this is the JHeadstart Forum, where you can communicate with other JHeadstart users all over the world. Also you may have noticed that the JHeadstart Team monitors this forum, and as such it is used as a means of providing some support for JHeadstart users that run into bugs or problems with the JHeadstart Tool (JHeadstart is a Consulting product that does not come with official "Metalink" support). But your problem is obviously not a bug in JHeadstart, you are just wondering how to implement some additional functionality that our Generator does not generate. So I hope you understand that if you get any assistance on this forum with your problem, either from the JHeadstart Team or from other JHeadstart users, it is not because you have a right to it, but because we're a bunch of friendly people out here that like to help out where we can. Demanding a reply like you did with your last two posts (an hour apart!) is really not done.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • How to pupup the calendar value into text box ?

    Hi
    I want to use the calendar for my text field .
    The calendar will popup when I click a button /image. This image will appear next to text box . when click the calendar. The values should come to into text box.
    Please give me any idea how to write a code in jsp for handling the value from calendar.
    Thanks
    Merlin Roshina

    I am assuming u have popupcalendar.js and stylesheets.
    Include the javascript in your jsp.
    <script type="text/javascript" src="scripts/popcalendar.js"/>
    and call the method popUpCalendar on some event like onclick as shown below.
    <img border="1" src="images/calendaricon.jpg" title="Open calendar" onClick="popUpCalendar(this,<object to be populated>,'mm/dd/yyyy')" alt="Calendar"/>
    <object to be populated> u can give it like this for your text box. U can define an id attribute for your text box and call document.getElementById("<id name>")
    and rest the javascript will take care.

  • How do I insert multiple values into different fields in a stored procedure

    I am writing a Stored Procedure where I select data from various queries, insert the results into a variable and then I insert the variables into final target table. This works fine when the queries return only one row. However I have some queries that return multiple rows and I am trying to insert them into different fields in the target table. My query is like
    SELECT DESCRIPTION, SUM(AMOUNT)
    INTO v_description, v_amount
    FROM SOURCE_TABLE
    GROUP BY DESCRIPTION;
    This returns values like
    Value A , 100
    Value B, 200
    Value C, 300
    The Target Table has fields for each of the above types e.g.
    VALUE_A, VALUE_B, VALUE_C
    I am inserting the data from a query like
    INSERT INTO TARGET_TABLE (VALUE_A, VALUE_B, VALUE_C)
    VALUES (...)
    How do I split out the values returned by the first query to insert into the Insert Statement? Or do I need to split the data in the statement that inserts into the variables?
    Thanks
    GB

    "Some of the amounts returned are negative so the MAX in the select statement returns 0 instead of the negative value. If I use MIN instead of MAX it returns the correct negative value. However I might not know when the amount is going to be positive or negative. Do you have any suggestions on how I can resolve this?"
    Perhaps something like this could be done in combination with the pivot queries above, although it seems cumbersome.
    SQL> with data as (
      2        select  0 a, 0 b,  0 c from dual   -- So column a has values {0, 1, 4},
      3  union select  1 a, 2 b, -3 c from dual   --    column b has values {0, 2, 5},
      4  union select  4 a, 5 b, -6 c from dual ) --    column c has values {0, -3, -6}.
      5  --
      6  select  ( case when max.a > 0 then max.a else min.a end) abs_max_a
      7  ,       ( case when max.b > 0 then max.b else min.b end) abs_max_b
      8  ,       ( case when max.c > 0 then max.c else min.c end) abs_max_c
      9  from    ( select  ( select max(a) from data ) a
    10            ,       ( select max(b) from data ) b
    11            ,       ( select max(c) from data ) c
    12            from      dual ) max
    13  ,       ( select  ( select min(a) from data ) a
    14            ,       ( select min(b) from data ) b
    15            ,       ( select min(c) from data ) c
    16            from      dual ) min
    17  /
    ABS_MAX_A  ABS_MAX_B  ABS_MAX_C
             4          5         -6
    SQL>

  • How to display the last value of a field in a group in the group header

    I need to display the last quiz score from a group of quiz scores as part of the header of a group of units (the quiz score values are in the detail record).  I can not use the group footer, which would be the natural place to find the last value.  It must be in the group header because there will be a subsequent group within the unit group.  In other words, the grouping is as follows:
    Unit Group Header (Display last quiz score in unit)
    SubUnit Group Header (Display other detail summaries)
    Detail Record (including quiz score)
    SubUnit Group Footer
    Unit Group Footer
    While there is a minimum/maximum summary function, there is not a first/last function.
    Fuskie
    Who is constantly amazed at the ability of users to request report features that are not easily implented through Crystal Reports...

    Hi Fuskie,
    One suggestion to display the last quiz score in the Group Header, other than what had already been suggested, will be to use a linked subreport in the Group Header. It is not an efficient way to display the information, but it could do the trick.
    Another suggestion will be to insert a subreport in the report header, then store the last quiz score in an array for each group, then share it with the main report and display the  values in the appropriate group. In this way it will only connect twice to the data source, one for the main report and once for the subreport, instead of multiple connection for each group.
    Finally, the most efficient way will be to have this value calculated on the database side using a command object or a stored procedure.
    Patrick

  • How to get the previous value of a field before saving the record

    Hi All,
    I have a requirement like, listing out the modified field values with their previous value and new value using integration events or any method.
    For Ex: If i modify the customer name from "Jack" to "Amith" in the record.
    Then i have a requirement to display the message like : CustomerName has changed from "Jack" to "Amith"
    Please post your help notes on this.It's Urgent.
    Thanks & Regards
    Amith

    Hello Amith,
    How does a user perform the modification? Do you already have access to the existing value when the user makes the update? How are you identifying the record to be updated within CRMOD and what method are you using to perform the update?
    Thanks,
    Sean

  • How to show the subtotal value of a field without showing the rows in ALV?

    Dear All,
    In my ALV I am showing the sub total value of a calculated field. But the requirement is, only the category and sub total value will be shown in the ALV not the all rows, i,e
    CATEGORY     VALUE
      Z01       186,000 (the subtotal value)
    Here, the rows whose values are calculated to 186,000 will not appear. Plz give some idea.
    With regards,
    Rosaline.

    Hi
    Using the fieldcatalog, you can achieve this.
             no_out(1)      type c,        " (O)blig.(X)no out
    use this in fieldcatelog. u can achieve this.
    All the best
    Edited by: Sudeesh Ravindran on Mar 23, 2011 9:22 AM

  • How to find the maximum value among four fields in a single record

    Hi Gems...
    I have a record in which there are 4 currency fields.
    Now i would like to know the maximum of these 4 fields.
    I tried with Max functions in which i put all the 4 values...but it is showing error like ") is missing" though it is there.
    Can we insert more than 2 values in Max function?
    Or else is there any other option to find the max value among the 4 values which lies in a single record
    Thanks
    Jiten

    Hi Anil,
    Say suppose i have a single record in which 4 premiums of a particular bond exists.
    for eg:
    Prem1      Prem2        Prem3          Prem4
    129000.00      388000.00   228000.00   14800.00
    Now this is a single record for a particular bond ... now i need to calculate the max value among these 4 premiums.
    How would we proceed to achieve this?
    Regards
    Jiten
    Edited by: Jitendra Yuddandi on Feb 3, 2009 1:04 PM

  • How to write the quires using into corresponding fields?

    Hi,
      How can i write the below quires using into corresponding fields statement.
    DATA :ws_d_budat TYPE bkpf-budat,
               ws_c_artnr TYPE ce10001-artnr,
    1) SELECT SINGLE budat
                        INTO ws_d_budat
                        FROM bkpf
                        WHERE awtyp = 'VBRK'
                        AND   awkey = wa_vbeln-vbeln.
    2)SELECT vbeln posnr matnr
                   FROM vbrp
                   INTO TABLE i_matnr
                   FOR ALL ENTRIES IN i_vbeln
                   WHERE vbeln = i_vbeln-vbeln
                   AND   matnr = ws_c_artnr
                   AND   posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
                   INTO TABLE i_budat
                     FROM bkpf
                     FOR ALL ENTRIES IN i_awkey
                       WHERE awtyp = 'VBRK'
                       AND   awkey = i_awkey-awkey.
    Sudhakar

    1) SELECT SINGLE budat
    INTO ws_d_budat
    FROM bkpf
    WHERE awtyp = 'VBRK'
    AND awkey = wa_vbeln-vbeln.  -
    > <b>Not possible</b>
    2)SELECT vbeln posnr matnr
    FROM vbrp
    INTO corresponding fields of TABLE i_matnr
    FOR ALL ENTRIES IN i_vbeln
    WHERE vbeln = i_vbeln-vbeln
    AND matnr = ws_c_artnr
    AND posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
    INTO corresponding fields of TABLE i_budat
    FROM bkpf
    FOR ALL ENTRIES IN i_awkey
    WHERE awtyp = 'VBRK'
    AND awkey = i_awkey-awkey.
    Reward points if helpful.
    Regards.
    Srikanta Gope

Maybe you are looking for

  • Account 'Acc.dep. accnt.for ordinary depreciation' could not be found

    Dear Team I am carrying out asset configuration for a company code ( Chart of depreciation  ABJP - Japan  ) For dep area 01 - GL posting set as 1  Area Posts in Realtime other dep area GL posint indicator set as 3 - Area Posts Depreciation Only in Tc

  • Enable firewall with GP but allow users to disable....

    I'm wondering how I can enable the firewall in group policy but allow a user to disable it if they have to.  I see that it says "settings are controlled by group policy" when I go to try to turn it off on a vista machine.  Thanks.

  • Captivate 6 publish to mp4 has lines & choppy screens on some slides?

    Choppy/garbled lines show up in some slides... cant' figure out how to get rid of them.  Happens on multiple files. Details: Captivate 6 Output: mp4 type: demo Things I've tried: I have removed any video slides (that seems to be some of when it occur

  • Memory leak when using JMS Cache Coordination

    We have two Weblogic Server 8.1 processes running Java 1.4.2 on Solaris using TOPLink 10.1.3 with JMS Cache Coordination. We observe that heap is filled with uncollectable instances of TOPLink-mapped classes. In our production system, under full load

  • Wireless driver for pavilion 14-n033tx

    Hi,    I am in need of wireless driver for my pavilion 14-n033tx.I have installed windows 8 pro 64x but there isnt any driver for that.So would you please be kind enough to provide me some link for that. Thank you.