F4 HELP ON TWO DIFFERENT FIELDS OF A SCREEN .

Hi Experts ,
I have a screen  in which i have to aply f4 help on two different fields .
1. Bussiness unit
2. SAP GL Account .
I  have applied for  Bussiness unit. by :
PROCESS BEFORE OUTPUT.
MODULE STATUS_1013.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1013.
   PROCESS ON VALUE-REQUEST.
field B_UNIT MODULE SEARCHHELP_F4.
But how i can apply on SAP GL Account  ,i have to use one more POV module or i can do it by using the same pov which i used for Bussiness unit.
Please tell me how i can do with little bit code example.
Regards,
Premraj

Hi,
use one more FIELD statement and create one more module for GL a/c in same POV event.
ex
FIELD <GL a/c fld name> MODULE <Module name>.

Similar Messages

  • Input in one formfield go to two different fields in a MySQL tablerow?

    Hi, I hope you can help me with this.
    How can I have input in one formfield go to two different fields in a MySQL tablerow without having the visitor to type out his input out twice?
    With the second one I would like to use md5.
    Any help is greatly appreciated.

    How can I have input in one formfield go to two different fields in a
    MySQL tablerow without having the visitor to type out his input out
    twice?
    You would need to write your query with the WHERE clause when you update to say "WHERE user=$userid".  That's the most basic way.  The $userid variable would need to come from either a session or a cookie if the user is logged in and you don't want them to enter the information again.  Or if this is from a previous page, the $userid could just be equal to the $_POST variable after sanitization.
    With the second one I would like to use md5.
    That's even simpler.  Before submitting the form, just do $md5_pass = md5($pass);
    http://us.php.net/manual/en/function.md5.php

  • Dataload - Evaluate two different fields

    Hi, I need to evaluate two different fields in a dataload rule and apply condition if true. for instance if field 1 is 600 and field 2 is 30 the change field 1 to 650.

    Hi ,
    I don't want to concatenate two fields nor display it in a single field, but I want to diplay two fields 1 below the other...
    ie..If I am using write statement I would prefer,
    loop at itab.
    wirte: /2 itab-abcd,
            /2 itab-1234.
    endloop.
    my output will be:
    abcd
    1234.
    If need to use da same logic in ALV how would I use ?? hope I am little more clear now..
    Please advice
    Karthik.

  • How to attach search help in a particular field in se80 screen

    Hi All,
    Can any one tell me how to attach a search help in a particular field in a screen.
    Wat search help is used to display material no and description
    Thanks in Advance
    Regards,
    Priya

    Hi Priya,
    In the Screen Layout, Double click on the field on which you wish to attach the search help.
    In the properties window you can specify the search help for that field.
    Search help for Material No. is MAT1.
    You can find it in the Table structure (SE11) , "Entry help/check" tab.
    Regards,
    Himanshu

  • Formula that looks at two different fields

    Hi,
    I posted this request for help not too long ago but didn't clearly explain what is needed. 
    When text is entered into a field (currentgoal1, currentgoal2 - each equaling 1), the formula needs to look at a different field (point1, point 2 - each holds a list box of with points 1, 3, 5, or NA) to see if "NA" was chosen.  If NA was chosen (rather than a point, 1, 3, 5) then the goalcount (total number of populated currentgoal fields) needs to subtract 1 from goalcount.  
    currentgoal 1 = 1 point
    currentgoal 2 = 1 point
    currentgoal 3 = NA
    3 goals, 2 points, 1 point field with NA
    Since one of the current goals is has a point of NA, the overall count of currentgoals in the goalcount field (total number of populated currentgoal fields) should state 2 with the totalpoints field (all points fields added together) stating 2. 
    How can the formula be adjusted to subtract a currentgoal with a chosen point of NA? 
    Formula used now for counting current goals:
    goalcount = 0
    != null){
    = goalcount + 1;
    != null){
    = goalcount + 1;
    (Table3.Row3.currentgoal3.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row4.currentgoal4.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row5.currentgoal5.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row6.currentgoal6.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row7.currentgoal7.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row8.currentgoal8.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row9.currentgoal9.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row10.currentgoal10.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row11.currentgoal11.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row12.currentgoal12.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row13.currentgoal13.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row14.currentgoal14.rawValue!= null){
    = goalcount + 1;
    if(Table3.Row15.currentgoal15.rawValue!= null){
    = goalcount + 1;
    = goalcount;
    this.rawValuegoalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    goalcount
    if
    goalcount
    (Table3.Row2.currentgoal2.rawValue
    if
    goalcount
    (Table3.Row1.currentgoal1.rawValue
    if
    var

    Sorry, I was trying to edit. Is this better?
    var 
    goalcount = 0
    if
    (Table3.Row1.currentgoal1.rawValue
    != null){goalcount
    = goalcount + 1;}
     if(Table3.Row2.currentgoal2.rawValue!= null){goalcount
    = goalcount + 1;}
     if(Table3.Row3.currentgoal3.rawValue!= null){goalcount
    = goalcount + 1;}
    this.rawValue= goalcount;

  • To add two new fields in CO09 SCREEN

    Hi All,
    I have a requirement of adding two new fields  Customer Name and Number (Sold to party) for the MRP Elements IN CO09 Screen which is already there in MD04.
    Please let me know as soon as possible if any one has any idea regarding this.

    Hi All,
    I have the same issue. Any solution already in sight?
    KR,
    Martin

  • Providing F4 help for the same field on selection screen

    Hello Experts,
    My requirement is :
    There are 2 radio buttons and a parameter "p_file" on my selection scree.
    1. rb_appl
    2. rb_pres
    If the radio button rb_appl = 'X', I need to place the logic of F4 help of application server for the field p_file. Else if the rb_pres = 'X', then I need to place the logic of F4 help of presentation server for the same field p_file.
    I have written the code in the below manner
    PARAMETERS: rb_appl RADIOBUTTON GROUP rad DEFAULT 'X',
                             rb_pres RADIOBUTTON GROUP rad ,
                             p_file   TYPE ibipparms-path.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      IF rb_appl = 'X'.
          PERFORM f_applictn_server_filenm.
      ELSEIF rb_pres = 'X'.
        PERFORM f_presentation_filenm.
      ENDIF.
    But I am getting the F4 help for only the radio button for which i have placed the default value in the parameters.
    So please let me know how to define the F4 help for the same field based on the radio buttons.

    Hi,
    You can acheive the same by the addition of [USER-COMMAND fcode].
    RADIOBUTTON GROUP group [USER-COMMAND fcode] - The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
    So you code should be altered as
    PARAMETERS: rb_appl  RADIOBUTTON GROUP rad
                         USER-COMMAND radclick    "Addition which you have to make.
                         DEFAULT 'X',
                rb_pres  RADIOBUTTON GROUP rad ,
                p_file   TYPE ibipparms-path.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      IF rb_appl = 'X'.
        PERFORM f_applictn_server_filenm.
      ELSEIF rb_pres = 'X'.
        PERFORM f_presentation_filenm.
      ENDIF.
    Thanks & Regards,
    Harish

  • Can a single LOV return values to two different fields?

    Hi,
    I have a scenario where I already have a LOV in the form which is assigned to a Field A. This LOV returns the value to field A. I have another field B which needs the same list of values. I can assign the same LOV to the field B as well, but can the value selected be returned to B?
    I can create another LOV with the same record group, but just wanted to know if its possible to use the same LOV again.
    Thanks

    Hi Karuna,
    You can achieve this by providing a third column in LOV (whose column width can be set to 0 to prevent it from being visible in lov) which can be comma-separated of two fields. This third field can then be assigned to the form field. And a substr() function call can get you both values.
    Hope this helps,
    Anantha
    [http://askanantha.blogspot.com]

  • 'Join' two different field types together into a String - possible in Java?

    Not entirely certain whether this is a straightforward Java or more of a JDBC question:
    I have two fields, one is a String and one an integer. I need to concatenate these fields together to form one String, prior to performing an insert on a table. ie:
    String s = dbRS.getString("partition_name");    //get full string
    String partstr = s.substring(0, 14);      // get first 14 (alpha) characters
    int new_partition_number = max_partition_number + 1;      //create new unique partition number, incremented by 1Now I have
    - a String (partstr - i.e. "TN1234567890_")
    - an integer (i.e. 50)
    (NB. The number has to be an integer because it is subject to calculation elsewhere.)
    I wish to join these together into a String ("TN1234567890_50") and use the field in an inserted row. I've tried using
    String partition_string = new StringBuffer(partstr).append(new_partition_number ).toString();... but this doesn't work.
    I read on a forum that it's impossible to cast an integer to a String in this way in Java, which sounds pretty incredulous from where I am! However my Osborne Java 2 Complete Reference doesn't mention it at all.
    Any assistance will be very gratefully received!
    Thanks.

    wonder why he thinks you can't append an int to a StringBuilder.
    Works fine. Might of course not yield the expected result depending on expectations, but it works just fine.
    But then, the coding conventions reminiscent of C don't bode well.

  • Same text two different fields on one form

    HI.  I am trying to create button that allows me to copy text from one field to another on the same form.  In other words, at the top of my form i have a field for a "last name".  Under certain conditions i want to copy that "last name" into another field.  the button next to the latter field would ask "is the last name the same?"  if i hit that button then i want the text in the first field to import to the second field.  i think i need to use javascript but i can't write the asp.  help?

    George,
    These are the fields i want to copy.  Does the script look correct?
    // Get the value of the fields
    var v1 = getField("LENDER").valueAsString;
    var v2 = getField("TRUSTEE").valueAsString;
    var v3= getField("BORROWER").valueAsString;
    var v4 = getField("DATED_3").valueAsString;
    var v5 = getField("RECORDED_ 3").valueAsString;
    // Set the values of the other corresponding fields
    getField("LENDER_2").value = v1;
    getField("TRUSTEE_2").value = v2;
    getField("BORROWER_2").value = v3;
    getField("DATED_4").value = v4;
    getField("RECORDED_8").value = v5;

  • Order By Two Different Fields

    Dear All,
    I have a Table Like this,
    CREATE TABLE test_d (c_id VARCHAR2(10),i_no NUMBER,i_date DATE)
    which contains the data as,
    C_ID     I_NO     I_DATE
    1     2     19-Jan-2007
    1     3     19-Dec-2006
    1     4     19-Nov-2006
    1     5     19-Oct-2006
    1     6     19-Sep-2006
    1     1     19-Feb-2007
    2     6     19-Feb-2007
    2     5     19-Jan-2007
    2     4     19-Dec-2006
    2     3     19-Nov-2006
    2     2     19-Oct-2006
    2     1     19-Sep-2006
    Now, I want to write a Sql to find the records,for which i_no "1" i_date is greater than i_no "2" i_Date and respectively.

    SQL> select * from test_d
      2  /
    C_ID             I_NO I_DATE
    1                   2 19-01-2007 00:00:00
    1                   3 19-12-2006 00:00:00
    1                   4 19-11-2006 00:00:00
    1                   5 19-10-2006 00:00:00
    1                   6 19-09-2006 00:00:00
    1                   1 19-02-2007 00:00:00
    2                   6 19-02-2007 00:00:00
    2                   5 19-01-2007 00:00:00
    2                   4 19-12-2006 00:00:00
    2                   3 19-11-2006 00:00:00
    2                   2 19-10-2006 00:00:00
    2                   1 19-09-2006 00:00:00
    12 rijen zijn geselecteerd.
    SQL> select c_id
      2       , i_no
      3       , i_date
      4    from ( select test_d.*
      5                , max(i_date) over (partition by i_no) max_i_date
      6                , min(i_date) over (partition by i_no) min_i_date
      7             from test_d
      8         )
      9   where max_i_date > min_i_date
    10     and (  (   c_id = 1
    11            and i_date = max_i_date
    12            )
    13         or (   c_id = 2
    14            and i_date = min_i_date
    15            )
    16         )
    17   order by i_no
    18       , c_id
    19  /
    C_ID             I_NO I_DATE
    1                   1 19-02-2007 00:00:00
    2                   1 19-09-2006 00:00:00
    1                   2 19-01-2007 00:00:00
    2                   2 19-10-2006 00:00:00
    1                   3 19-12-2006 00:00:00
    2                   3 19-11-2006 00:00:00
    6 rijen zijn geselecteerd.Regards,
    Rob.

  • HELP! Two new HTC Thunderbolts & one screen has a purple tint!

    So I just bought two HTC Thunderbolts, got them all set up and then realized that one has a purple tint!  I compared all the settings to the other phone and everything matched.
    The color was like this before any 3rd party applications were downloaded & the phone is not rooted or altered in any way.
    I've googled to try to find any calibration apps or if anyone else has this problem and have come out unsuccessful.  I know I can always perform a hard reset but wanted to see if there is any other alternate way to fix this issue.
    Thanks in advance for any help!

    Thanks for all the feed back!  Certainly is a strange issue for a brand new, out of the box phone.  I did in fact perform the master reset, went through the setup process, personalized the phone & long behold, the same issue. 
    Again, I compared the settings to the other Thunderbolt; Identical.  Tried different wallpapers, skins, themes and nothing has changed.
    Went through and checked for SW update, there was a firmware update that I did start.  After it was completed, same issue.
    I'm at a loss for what may be causing this.  I mean, it is bothersome that EVERYTHING on the screen has a purple tint... 
    I'm not 100% sure that this is a "warranty" issue?  Maybe it's something AraceliT_VZW can answer for me? 
    Thanks for all the help!

  • Can I use two different greens for green screening and keep one without it being keyed out?

    I am using a green screen which is your standard light green fabric.
    I am also wearing a bottle green cape.
    I want to key out the standard green which is no problem. However it also takes out the bottle green on my cape.
    Is there a way on either Premiere Pro or After Effects to ensure the bottle green stays as it is without being automatically keyed out?
    Many thanks.

    shooternz wrote:
    rotoscope
    There's your answer, most likely.  I can think of a few methods you might try, but they're going to be labor intensive, and likely involve some roto.
    Most keyers have a threshold setting that determines what colors stay and which ones go.  You could keep tweaking that setting in very small increments, and if you get lucky, it might discriminate between two green values.
    You might be able to precomp in Ae and use the Change Color plug to shift one of them to a more contrasty green or different hue altogether and create a luma matte.
    But, you failed green screen 101, and you gotta' go to detention.
    robodog, you're being a bit harsh on Jimmy Simon.  He said "Might be worth a reshoot...."  I can't disagree.  Depending on arahman's situation, a reshoot might be easier and quicker.  You never know.

  • Advanced Search Help in PCUI & adding fields to SRES screen structures

    I have linked the application COMM_IBASE to the POST_CODE1 field in CRMM_ACCOUNT (SRES area - field group ACC_SRES_CITY). When the user clicks the drop-down icon next to the post code field, a new window opens which shows COMM_IBASE.
    We use our IBase to hold locations/addresses.
    Is it possible to set up the system such that on selection of an IBase component, relevant address fields of that component are sent back to corresponding fields in the calling application, CRMM_ACCOUNT? Namely, Post code, street, city, country, region? I think my problem might be that these fields are not available in the screen structure of the COMM_IBASE Search Results area (CRMT_BSP_IBASE_RESLIST). How should you go about extending this structure? I can't see how it can be done using the EEW in the way you would extend, say, a service order.
    I have the cookbook in front of me, but am finding sections 6.1.3.2/3 a little reticent here.
    Thanks,
    Alex.

    I solved it.
    It wasn't too complicated, either, so I suspect my difficulty was down to me being totally unfamiliar with the PCUI (I usually do ICWC development) and this being the first PCUI requirement I have ever been given to work on.
    Anyhow, if any other newbies are interested in how I implemented advanced F4 help to integrate searching of an IBase of addresses with postcode field of BP creation, then please reply to this post and I will give details.
    Alex.

  • Sapscript - displaying two text fields after truncating the spaces.

    Hi Friends,
    In a sapscript, I have to display the name of the vendor which is in two different fields each of length 40 chars. The first one may be filled to the maximum and the remaining goes into the second field and may occupy only 30 or 35 chars. I need to display the two side by side and the space available is 70 chars. I am using an existing script and I am not able to print the two side by side. It is going to the next line. How do I truncate the trailing spaces of either field. Please help. It is quite urgent.
    Thanks,
    BP.

    Hi Bindu,
    use the perform to concatenate name1 and name2 to NAME and use this field in address command.
    Check with the following code:
    /:   DEFINE &ZNAME& = ''
    PERFORM ADDRESS IN PROGRAM 'PROGRAM'
    USING    &REGUH-ZNME1& 
    USING    &REGUH-ZNME2&                             
    CHANGING &ZNAME&                       
    ENDPERFORM                                      
    FORM address
              TABLES itab STRUCTURE itcsy
                     otab STRUCTURE itcsy.
    LOOP AT itab.
        CASE itab-name.
          WHEN 'REGUH-ZNME1'.
            l_name1 = itab-value.
          WHEN 'REGUH-ZNME2'.
            l_name2 = itab-value.
        ENDCASE.
      ENDLOOP.
    use the logic.
    Endform.

Maybe you are looking for