Dynamic data on  Screen -Display data Based On the First Field

hello Helping Minds..
I have Two Fields In MODULEPOOL SCREEN.
1--- BUKRS
2--- BELNR ..... Both From BKPF table.
My requirement is When i select a CompanyCode ( BUKRS ) In d first field,all the DocumentNO ( BELNR ) related to that CompCOde Shd be displayed in the 2nd field,
For Ex-
If i choose BUKRS = 1000,
and Then clicked the Belnr field, All d DocumentNO for BUKRS 1000 will be populated in d Dropdown list..
        BUKRS = 0001,
then BELNR = 0100000000 ,
                      0100000001 in d dopdown. 
source code will be Appreciated...
Thnks in advance To D helping Minds

Process on value-request.
filed Bukrs module f4_bukrs.
field belnr module f4_belnr.
*module f4bukrs input.*_
if belnr is not initial.
select belnr bukrs from bkpf whre belnr = belnr.   
else.
select belnr bukrs from bkpf whre belnr = belnr.
endif.               ""   Hey both these Condition lead to same thing...den Whts d use??
Firstly Belnr will be always Intial. cos it will be populated after we select the BUKRS.  , Here am confused?
if t_bkpf is not initial.
  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'        "  No idea Abt dis FUncn module, pls explain
endif.
end module.
module f4_belnr input.
if bukrs is not initial.
select belnr bukrs from bkpf where bukrs = bukrs.
else.
select belnr bukrs from bkpf whre belnr = belnr.
endif.
if t_bkpf is not initial.          ""   What is t_bkpf and y its used
call fm to CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
endif.
end module.

Similar Messages

  • DYnamic Screen -Display data Based On the First Field

    hello Helping Minds..
    I have Two Fields In  MODULEPOOL SCREEN.
    1--- BUKRS
    2--- BELNR     ..... Both From BKPF table.
    My requirement is When i select a CompanyCode ( BUKRS )  In d first field,all the DocumentNO ( BELNR ) related to that CompCOde Shd be displayed in the 2nd field,
    For Ex- If i choose BUKRS = 1000,
                and Then clicked the Belnr field, All d DocumentNO for BUKRS 1000 will be populated in d Dropdown list..
            BUKRS = 1000,
    then  BELNR = 0100000000 ,
                           0100000001   in d dopdown.
    <<don't cross post/Duplicate else thread will be locked or deleted>>
    Thnks in advance To D helping Minds
    Edited by: Vijay Babu Dudla on Apr 25, 2009 4:57 AM

    Process on value-request.
    filed Bukrs module f4_bukrs.
    field belnr module f4_belnr.
    *module f4bukrs input.*_
    if belnr is not initial.
    select belnr bukrs from bkpf whre belnr = belnr.   
    else.
    select belnr bukrs from bkpf whre belnr = belnr.
    endif.               ""   Hey both these Condition lead to same thing...den Whts d use??
    Firstly Belnr will be always Intial. cos it will be populated after we select the BUKRS.  , Here am confused?
    if t_bkpf is not initial.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'        "  No idea Abt dis FUncn module, pls explain
    endif.
    end module.
    module f4_belnr input.
    if bukrs is not initial.
    select belnr bukrs from bkpf where bukrs = bukrs.
    else.
    select belnr bukrs from bkpf whre belnr = belnr.
    endif.
    if t_bkpf is not initial.          ""   What is t_bkpf and y its used
    call fm to CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    endif.
    end module.

  • Where is the data stored for Formscentral subscribers based within the European Economic Area?

    We are already experimenting with Formscentral for some basic survey collection tasks, but I am interested in the potential to collect larger and more complex data sets.  However, being based within the European Economic Area it would be easier if the data collected from any of our online published forms remained within the EEA rather than being stored in the US.
    Does Adobe store EEA customers' data within the EEA or is it all stored within the US?

    Everything is stored within the US.
    Randy

  • How to display help based on the Jlabel description

    Hi all,
    I try to display help based on the Jlabel description. When a user click on the help button, I want to use the label description to match correct help topic and display on the screen. I have following code as Field-level help but it returns error. Looks like I cannot use jLabel1.gettext() dynamically. Please let me know if you have any idea!
                String st = jLabel1.getText();
                URL url = HelpSet.findHelpSet(null,"preferences.hs");
              hs = new HelpSet(null,url);
               hb = hs.createHelpBroker();                      
               hb.enableHelp( jLabel1, jLabel1.gettext(), hs );Thanks,
    NY

    You did notice that this is the Forms Forum right???
    If not then click [url http://forums.oracle.com/forums/forum.jspa?forumID=84]Here
    Tony

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • My iPod 5's screen displays strange letters (like the one's you'd find in a malfunctioning computer) and it has a bright rectangle in the center. I haven't dripped or damaged it.

    My iPod 5's screen displays strange letters (like the one's you'd find in a malfunctioning computer) and it has a bright rectangle in the center. I haven't dripped or damaged it.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • I have a ipod u2 the screen displays an icon for the current conetar but does not start

    I have a ipod u2 the screen displays an icon for the current conetar but does not start

    Shockwave and Flash are not the same. Try installing a Flash plug-in. Here's the latest: Adobe Flash Player 11.2.202.183

  • How to populate Second drop down based on the first drop down value

    Hi Experts,
    i have a HTML BSP page. with 2 drop down with SELECT and OPTION tags. i need to populate the second drop down based on the first drop down value.
    i tried HTMLB script they work good as stand alone when i try to embed the HTMLB with HTML it does not work.
    Please can you give me a solution only with ABAP script and HTML.
    please clearly let me know on what event i should implement it. sample code is really appreciated .
    With regards,
    Chella

    You can have event handler for first drop down . Then populate the data for 2nd field when the event triggers on first field.

  • User based block the pricing field in the sale order

    HI FRIEND
    We have requirement user based block the pricing field in the sale order
    pls suggest me the configuration steps
    with regards
    dinesh

    hi friend
    when create a sale orde,r price and exchange rate is triigger from the master record.
    head department want not require to End user to change the price in the sale order .
    so head department only have authorisation to change price.
    selected user is not allow the change the price.
    so i need the configuration
    with regards
    dinesh

  • Case: When trying t work in a second desktop, a program cannot be used if open in the first desktop. The screen just moves back to the first deskt

    When I try to work in a second desktop, a program cannot be used if already open in the first desktop. The screen just moves back to the first desktop. Anybody else have this issue?

    Whether or not this behavior occurs depends upon various preference settings and upon how you try to access the application in question.  Personally, I like to organize my desktops according to project, so I regularly have windows from the same application spread out over several desktops. No problem.
    For example, I have a Safari window in Desktop 1 and I want a Safari window in desktop 2. If, while in desktop 2, I bring Safari to the front by clicking on the Dock icon, I can open a new window in the usual ways. I could also just control-click on the Safari icon in the dock to get a new window in desktop 2. 
    (The only application that is a little weird in this regard is Finder. You have to do the control-click on it or it will always switch to a space with a window open.)
    To make all this occur, I have Safari assigned to no desktops (control-click on Safari icon, then on Options) and in Mission Control preferences (in System Preferences) I have "When switching to an application..." UNchecked.
    (Note that, with these settings, if an application is already in front and you click on its icon - or click twice on the icon if the applcation is not in front - the OS will assume you are looking for another open window and will switch spaces to give you one.)
    Hope this helps.
    charlie

  • Sending inbound payload toanother receiver based on the first receiver resp

    Hi all
    Sending inbound payload to another receiver based on the first receiver response.
    My Scenario is like
    File to WebService. Once it receive the response from the web service i want to send webservice inbound payload to another file system.
    can anyone plz provide me the steps to achieve this one
    Thanks in advance
    Regards
    Rams

    File to WebService. Once it receive the response from the web service i want to send webservice inbound payload to another file system
    once again,
    File systems A -> FileA -> WS.request message -> WS
    WS responds back with WS response message
    1. now do you want to send the WS response message to File System A?
    then follow the blog mentioned in above responses
    2. do you want to send the WS response message to File System B?
    follow the blog. only difference in the receiver determination from BPM to file sys use the File system B as the receiver and configure file receiver adapter with that file systems detail
    3. do you want to send the WS request message to File System A?
    same blog only difference is after sync send step you will have to have another transformation that will map the WS request message to the req. target
    4. do you want to send the WS request message to File System A?
    same as 3. only receiver sys and CC details will change

  • Screen display date format

    ADDT does not change the display date format when I set it in th ADDT Control panel.
    Control panel settings:
    Database date format: yyyy-mm-dd
    Screen date format: mm/dd/yyyy
    Display output: yyyy-mm-dd
    Is output does not change regardless of th esetting in control panel.
    Please advise.
    Simon

    hello
    ok here is another solution:
    Go to the binding panel and select the Dynamic Text that retrieved from the recordset to display the date in your page.
    - move your cruiser to the dead right end then you will found a bold down arrow beside the dynamic text click it you will found:
    - dropdown menu >> click Developer toolbox >>> Date Formate
    this will apply the settings you have made in the Control panel to this specified Dynamic data...
    i did it and works very fine now...

  • How to see the data records for a dso based upon the request id?

    Hi all,
    How to see the data records based upon the request id on the dso.
    I need to see the data for a dso based upon the request id 444493 loaded from another dso through repair full update.
    thanks

    Hi,
    Step 1: select your request from DSO request tb
    Step 2: Select your DSO just above your contents/requests/reconstruction tabs
    Step 3: Click contents(Spectacles symbol) in the top area of your screen
    Step 4: Slect the required fields
    Regards,
    Suman

  • Nested Objects for a Data Provider in a Data Grid, not displaying data

    Hi, I have a datagrid and the dataprovider for this grid is the result of a RPC call. The result set has the following structure:
    Array
    [0]->Object #1
          [one] => 1
          [two] => 1
          [three] => Object #2
              [apple1] = > Object #3
                  [color] =>    red
                  [rate] => 20
              [apple2] => Object #4 ( the    number of apples is dynamic, apple3,apple4 .. and so on)
                  [color] =>    blue
                  [rate] => 100
    and so on ... so the number of apple objects will vary since its
    dynamic. How do I display this data in a datagrid ??? Please help!! I
    saw many articles on creating the "Nested DataGridColumn " classes...
    like this :
    http://active.tutsplus.com/tutorials/flex/working-with-the-flex-datagrid-and-nested-data-structures/
    it helps, but the problem with my data is that some of the indexes (like  apple1,apple2 etc) are dynamic.
    Also, my flex application is a desktop application (in case that matters). Just to see whats going on, I
    dropped all the nested arrays and used a plain simple one-dimensional array. Even in this case the data
    isnt getting displayed.
    I dont know what im doin wrong. the datafields, labels etc e'thing is correct. I even debugged and
    im getting the result on the flex side. whats going on ?

    No luck ... i converted the result set to a List, and even tried with an iList. Same problem -  nothing gets displayed...
    I have no idea whats happening ....
    This is my code :
    [Bindable]private var privilegesArray:ArrayCollection = new ArrayCollection();
    public function init():void{ // called on creation complete
                    RO.getPrivileges.addEventListener(ResultEvent.RESULT,handleGetPrivileges);
                    RO.getPrivileges();
    protected function handleGetPrivileges(event:ResultEvent):void{
                    privilegesArray = event.result as ArrayCollection;
    <mx:DataGrid id="privilegesDG" dataProvider="{privilegesArray}" width="100%">
            <mx:columns>
                <mx:DataGridColumn headerText="Name" dataField="name" />
                <mx:DataGridColumn headerText="Alias" dataField="alias" />
            </mx:columns>
        </mx:DataGrid>
    The data that gets returned is smthing like this : (for the moment I have removed all the nested objects and arrays and returning just a simple plain array)
    Array => [0] => Object #1
                              [name] => some name
                              [alias] => alias

  • Deleting data from a 2D array based on the id of the second column

    Hello
    I hope someone can help me. I have come across a hurdle in the programming of my application.
    1.
    I have a 2D array, the first column of this array contains my data and the second column contains an id, which is either 0 or 1.
    I have sorted this 2D array based on the id column so that the data corresponding to the 0’s is on top part of the array and the data corresponding to the 1’s follows it (on the bottom of the array).
    I want to delete that data (rows) of this sorted array that correspond to the 1’s and keep only the data (rows) that correspond to the 0’s.  
    So I would end up with a new 2D array that has only the data that I want on the first column and 0’s on the second column.
    I have hundreds of these 2D arrays resulting from my program (using a for loop) hence I want to automate this procedure. The length of the selected data arrays will vary.
    2.
    Once I can do this I will want to remove the id column (with the 0’s) from the 2D array and would like to build a new array with only the data from the first column (which may be of different length).
    So I want to end up with a 2D array with columns corresponding to the selected (1st column) data from the (original) 2D arrays. These data may be of different lengths so when building this new array I may need to do some padding. Will labview do this automatically?
    I hope that this is clear.
    Best wishes,

    Attached is a different approach - you don't need to do any sorting.
    The outer FOR loop assumes you have all the arrays available at once. If you are reading a file, modify it accordingly.
    You may or may not want the TRANSPOSE function on the final results, depending on what you want to do with it.
    Yes, when you assemble N-dimensional arrays into (N+1)-dimensional arrays, LabVIEW automatically pads for you.
    Enjoy.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks
    Attachments:
    Extract Marked Data.vi ‏40 KB

Maybe you are looking for

  • Print part of a page for book

    I have a book in a pdf file that was converted from Cork. The pdf file has lines on each corner and show when i print it. Is there a way to highlight a section of the page and print just that section for all pages? Or a way to zoom in and print the v

  • Report for Microsoft Products with Product Keys

    Hello, I'm new to Spiceworks.  I've been tasked with seeing if I can generate a report of all Microsoft products including their product key (or at least the last 5 digits) so I can check for license compliance. Does anyone have any hints to help me

  • Adding leading Zeros to table

    Hi i have a table having structure as CREATE TABLE "OMPODI"."END_RECORD" "RECORD_TYPE" CHAR(5 BYTE), *"TOTAL_NUMBER" CHAR(10 BYTE)* and insert statement is as insert into ompodi.end_record (select 'END',to_char(count(*)+2) from omp.ompproduction wher

  • I give up! Can I send someone the ID CS3 file and print file for Help

    I have done everything I possibly can (given I am no where near expert), and can not figure this printing out. I have a food menu that is on 11 x 17 (will be tri fold) ID file with a border. The border is a "Placed" PSD file into a separate ID layer.

  • My adobe flashplayer latest version will not work since firefox 7.0 update

    I know there is a problem with this because I have already seen it many times on the internet. Not happy that I can no longer watch any videos since the update. I have downloaded the latest version of adobe. I can see the"flash player" under my contr