Get input and display output on same screen for report

Hi frnds,
two params
that is mat.no,desc.
enter the mat.no and also display the description of that mat.no in same input screen for the report.
How can i archieve .
Thanks in advance.

Hi,
It is not possible in Dialog Programming too. But there is an alternative. You can make the material number field as drop down. Assign a function code to that. Now in PAI you can code accordingly to display the description.
In TOP.
TABLES: mara, makt.
DATA  gv_maktx TYPE makt-maktx.
In PAI.
CASE sy-ucomm.
WHEN 'F_MATNO'        "function code assigned to the material number drop down field
     SELECT SINGLE maktx
      FROM makt
      INTO gv_maktx
      WHERE matnr = mara-matnr. " mara-matnr is the dictionary reference to the material number drop down field in the screen.
      makt-maktx = gv_maktx.    " makt-maktx is the dictionary reference to the material description field in the screen.
ENDCASE.
Thanks,
Sri.

Similar Messages

  • Digital input and digital output at the same time

    Hi all
    I have a PCI-6503 board. I have done 2 task that run simultaneously: the first one is port0_16 output and the second one is port2 input.
    I get sometimes (not every times...this is strange...) error-200587 saying:
    'Requested operation could not be performed, because the specified digital lines are either reserved or the device is not present in NI-DAQmx.
    It is possible that these lines are reserved by another task, the device is being used through the Traditional NI-DAQ interface, or the device is being reset. You might also get the error if the specified resource is currently in use by LabVIEW network variables bound to the DAQ Channel, or if the DAQ Channel is being used in any OPC Client software.
    If you are using these lines with another task, wait for the task to complete.  If you are using the device through the Traditional NI-DAQ interface, and you want to use it with NI-DAQmx, reset (initialize) the device using the Traditional NI-DAQ interface. If you are resetting the device, wait for the reset to finish.'
    In the attached VI i have recreated the basic structure of my real VI (the error is present even here of course...).
    How can i do?
    I want to have both digital input and digital output with the same PCI-6503 every single cycle... Is it possible?
    Please help me!!!
    Kind regards.
    I love the smell of napalm in the morning
    Attachments:
    DIO simultaneously error.vi ‏31 KB

    Hello Maverick,
    Did you have any luck with the example Raven sent you?
    In Raven's example, it properly passes the DAQmx task from one SubVI to another to avoid having to open the task again. These errors are likely to occur when you have multiple DAQmx calls in a VI that call the same task again without clearing the previously opened task. If at any given time you try to open a task that already is being used, you might receive an error "resource is reserved"... similar to your original example.
    If you are interested, here is an awesome link that gives a detailed explanation of the LabVIEW dataflow paradigm
    Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
    Thanks and good luck!
    Jordan Randall
    National Instruments Italy

  • My ipods screen says connect to itunes, so i connect it and nothing happens the same screen stays on, it will not get off that screen. I know my cord works because when i plug it in it says charging. What do i do?

    My ipods screen says connect to itunes, so i connect it and nothing happens the same screen stays on, it will not get off that screen. I know my cord works because when i plug it in it says charging. What do i do?

    Restore your ipod

  • I am unable to open any app on my iphone. While i'm trying to open an app, it just shakes the screen and it does not get open and remains in the  same page. It worked fine until I charged the phone in my laptop. Please can anyone help me to recover it?

    I am not able to open any app on my iphone. While i'm trying to open an app it just shake the screen and it does not open and remains in the same screen. It worked fine until I charged the phone this evening. After that suddenly I'm facing this. Please can anyone help me to recover this issue? pls!

    This is covered in the basics section.
    A restore loses nothing.
    A restore does.  If you are using the iphone as designed, then everything should be on your computer.

  • Simultaneously read more than one input and generate output

    Is it possible To simultaneously read more than one input and generate outputs depending on these inputs? If this isn't possible what is the best way to go about making some sort of timed loop that will read an input, read the next input, decide whether or not to output and so on. Hope someone can help. Thanks.Message Edited by Esmith13 on 05-25-2005 01:36 PM

    Hi,
    You should look at the synchronized examples for analog input and output that can be found in the example finder under:
    Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Function
    These will get you started to being able to handle multiple tasks at the same time.
    I hope this helps. Have a Great Day!
    George

  • When receiving email, Thunderbird freezes and displays "Not Responding" in screen header. Adds popstate folder to account.

    I'm running Thunderbird 31.6.0 on Windows 8.1 with BitDefender 2013.
    PROBLEM:
    When getting email, Thunderbird freezes and displays "Not Responding" in screen header.
    When TB is closed then reopened, a popstate folder (popstate-1.dat) is added to account. A new popstate folder appears with each crash/freeze, and as long as they are not deleted, they pile up with unique numbers (popstate-1.dat, popstate-2.dat, etc.).
    (see attached screenshot)
    NOTE: I've included troubleshooting details below for all the fixes I tried, thinking it might be helpful to anyone who has a similar problem and is thinking about going down those paths. Ultimately, it seems that FIX ATTEMPT 5 is the winner.
    ==================================
    FIX ATTEMPT 1:
    Following the suggestion in this archived mozilla support post: https://support.mozilla.org/en-US/questions/1026288, I restarted Thunderbird in Safe Mode (Help > Restart with Add-Ons disabled...), checking the "Disable all add-ons" and "Reset toolbars and controls" and clicking "Make Changes and Restart" button.
    In Add-Ons Manager, BitDefender Toolbar now appears to be disabled.
    (see attached screenshot)
    But the problem persists.
    FIX ATTEMPT 2:
    Following the suggestion in this archived mozilla support post: https://support.mozilla.org/en-US/questions/1016811, I clicked Help > Troubleshooting Information > Show Folder button. This opens a File Explorer window for 3I58b9dq.default (this is the "profile" folder) which contains panacea.dat and folderTree.json files.
    I changed file names to panacea-changed.dat and folderTree-changed.json (rather than deleting them, in case I need to restore them), and I reopened Thunderbird.
    This did not solve the problem -- and, furthermore, the profile folder seems to have automatically generated new panacea.dat and folderTree.json files to replace those for which I changed the filenames.
    FIX ATTEMPT 3:
    Following the suggestion in this mozilla support post: https://support.mozilla.org/en-US/questions/1044774, I restarted Windows 8.1 in safe mode with networking enabled (using these instructions: http://www.howtogeek.com/107511/how-to-boot-into-safe-mode-on-windows-8-the-easy-way/.)
    TB does not crash when Windows runs in safe mode, but the aspect ratio of my display is distorted; everything's really big and stretched horizontally, and my two displays are mirrored rather than extended. Running Windows perpetually in safe mode is not the ideal fix.
    QUESTION 1: I understand that troubleshooting is supposedly done best in safe mode — What might I do in safe mode to diagnose the Thunderbird problem?
    FIX ATTEMPT 4:
    This article https://wiki.mozilla.org/Thunderbird:Testing:Antivirus_Related_Performance_Issues#Symptoms, suggests that problems with Thunderbird associated with BitDefender can be solved by uninstalling and re-installing BitDefender.
    Not really comfortable uninstalling and re-installing, I disabled Bitdefender (Settings button > Antivirus button > Shield tab > On-Access Scanning toggle Off) to see if that would work. It did not fix the problem.
    QUESTION 2: Would uninstalling BitDefender be any different than disabling it?
    FIX ATTEMPT 5:
    Create a Bitdefender Exclusion for the Thunderbird folder:
    Settings button > Antivirus button > Exclusions tab > Excluded files and folders link > Add button > navigate to Thunderbird folder (c:\users\username\appdata\roaming\thunderbird) > Both radio button > Add button > OK button
    THIS FIX DID THE TRICK! YAY!

    FIX ATTEMPT #5 above did the trick, and now I see that it was the chosen solution for a similar post of the same problem at https://support.mozilla.org/en-US/questions/1044774

  • Raising a Message and staying at the same screen

    Hi,
    i had searched SDN before posting this thread
    I'm working on a Enhancement for CO12.
    The issue is that after raising a message i have to stay at the same screen.
    I raised the error message like below, but after this message the whole screen is getting plain.
    MESSAGE 'Quantite confirmee ' TYPE 'E'
    I change my message type as STATUS, this message is display but the transaction doing its work.
    MESSAGE 'Quantite confirmee ' TYPE 'S'
    Can you please tell me how to get rid of this issue?
    Thanks
    Always LEarner

    Thanks Guys!!
    I tested with all options provided by you people. When i write CALL SCREEN 1000 it is going to dump. I think its unable to identify
    the screen.
    When i tried to raise a error message like below, message is getting triggered but its not stopping here because the message is of type 'S'
    MESSAGE 'Quantite confirmee incomplete' TYPE 'S' DISPLAY LIKE 'E'.
    When i tried to raise a error message like below, message is getting triggered but its making the whole screen plain
    MESSAGE 'Quantite confirmee incomplete' TYPE 'E' DISPLAY LIKE 'S'
    If i'm using 'EXIT' after the message statement , its coming out of the include
    And, I have read the documentation of CONFPP05.
    The documentation says :-
    In this customer enhancement it is strictly FORBIDDEN to send error  
    messages or other messages because otherwise there is the danger that
    data will be inconsistent. SAP takes no responsibility for this !!!
    So, is there any way to raise an error message and stay on the same screen??
    Thanks & REgards
    Always Learner!!

  • Xbox digital audio input and then output through MacBook digital audio port

    Hi,
    Sorry if this has been asked before but I'm trying to output a Dolby Digital (I think AC3) signal from my Xbox 360 into the MacBook's digital audio input and then output it through the digital audio output. I can output 5.1 sound from the MacBook itself but I can't get the Xbox audio to pass through. I don't know if the audio is at a sample rate not supported or needs decoding or what!
    Any help would be appreciated!

    If that doesn't work, I'm not quite sure.
    A combination of the Audio MIDI Utility (in Applications/Utilities), SoundSource, LineIn, and Soundflower (http://cycling74.com/products/soundflower/) might work, otherwise I'm stumped. Your best bet is probably a dedicated external USB or FireWire audio interface.

  • HP Photosmart A516 keeps trying to power up and displays 07564DD6 on the screen

    My HP Photosmart A 516 keeps trying to power up and displays #07564DD6 on the screen.

    sunny_67 wrote:
    When I press the on switch slider, the notebook shows lights then CPU fan begins to spin.  It immediately slows down then stops.  Power light stays on, but nothing else happens.  No startup screen, nothing.  To do it again, power cable must be disconnected then reconnected.  Does anybody has any idea? Please help.
    Once you get it to turn on, I would check to see if there is a BIOS update available for your machine.

  • How can I combine a lot of text and images on the same screen?

    How can I combine a lot of text and images on the same screen?  I can get a couple of words on the screen with a graphic but not 10 lines.  I need 10 lines on the page with the image. 

    Priscilla,
    I routinely combine 10 lines of 36 pt bible or lecture text to a suitable background using Boris Title 3D.
    Many times the text is too long to fit the screen using Boris, so I devide it into 2 or more parts with no transition between sections.
    In my case, the text is on the screen as the speaker quotes them.
    David

  • Rows to columns/Transpose the records Query and Display output

    hi ,
    can anyone help me query this and transpose it to this format?
    i am still a beginner in sql.
    thanks for help!
    Rows to columns/Transpose the records Query and Display output
    id     startdate     endate                    
    1111     1/2/2001     11/3/2001                    
    1111     2/5/2002     4/3/2002                    
    1111     2/6/2000     2/5/2001                    
    3333     5/2/2003     11/3/2003                    
    3333     6/2/2003     12/3/2003                    
    3333     2/6/2005     2/5/2005                    
    desired output     
    id     startdate1     endate1     startdate2     endate2     startdate3     endate3
    1111     1/2/2001     11/3/2001     2/5/2002     4/3/2002     2/6/2000     2/5/2001
    3333     5/2/2003     11/3/2003     6/2/2003     12/3/2003     2/6/2005     2/5/2005

    Have you only 3 dates for each id ?
    So, try :
    SQL> l
      1  with tbl as
      2  (select 1111 as id, to_date('01/02/2001','DD/MM/YYYY') startdate, to_date('11/03/2001','DD/MM/YYYY') enddate from dual union all
      3  select 1111 as id, to_date('02/05/2002','DD/MM/YYYY') startdate, to_date('04/03/2002','DD/MM/YYYY') enddate from dual union all
      4  select 1111 as id, to_date('02/06/2000','DD/MM/YYYY') startdate, to_date('02/05/2001','DD/MM/YYYY') enddate from dual union all
      5  select 3333 as id, to_date('05/02/2003','DD/MM/YYYY') startdate, to_date('11/03/2003','DD/MM/YYYY') enddate from dual union all
      6  select 3333 as id, to_date('06/02/2003','DD/MM/YYYY') startdate, to_date('12/03/2003','DD/MM/YYYY') enddate from dual union all
      7  select 3333 as id, to_date('02/06/2005','DD/MM/YYYY') startdate, to_date('02/05/2005','DD/MM/YYYY') enddate from dual )
      8  select id, max(decode(dr,1,startdate)) start1,
      9             max(decode(dr,1,enddate)) end1,
    10             max(decode(dr,2,startdate)) start2,
    11             max(decode(dr,2,enddate)) end2,
    12             max(decode(dr,3,startdate)) start3,
    13             max(decode(dr,3,enddate)) end3
    14  from (select id, startdate,enddate, dense_rank() over (partition by id order by startdate) dr from tbl)
    15* group by id
    SQL> /
                                                    ID START1   END1     START2   END2     START3   END3
                                                  1111 02/06/00 02/05/01 01/02/01 11/03/01 02/05/02 04/03/02
                                                  3333 05/02/03 11/03/03 06/02/03 12/03/03 02/06/05 02/05/05
    SQL> HTH,
    Nicolas.

  • I was installing the new EFI software update on my macbook pro and I became stuck on the grey screen with the window that said "installing 2 items", its been on the same screen for 2 1/2 hours. does anyone know what I can do?

    As the title says.
    I was installing the new EFI software update on my macbook pro and I became stuck on the grey screen with the window that said "installing 2 items", its been on the same screen for 2 1/2 hours. does anyone know what I can do?
    I don't want to restart it because im scared that something might go wrong.
    operating lion

    LimitLess- wrote:
    Hi,
    I had the power supply connected when I attempted it previously but even so my problem occurred. My rom is different and so I still need to update it.
    Thanks
    I wanted to mark your answer helpful too but I didn't know that I could only put it for 2 answers. Sorry
    That was good advice by G-N and s/he is correct about it. Unfortunately, ASC allows only 2 "helpful" and 1 "correct" marks per thread.

  • How do you get fontmetrics before displaying something on the screen?

    Let me ask in another way:
    how do you get fontmetrics before displaying something on the screen?
    Edited by: tjacobs01 on Aug 24, 2008 12:03 PM

    and you call getGraphics() it returns nullI learned to not use the getGraphics() method. Check out my posting here where I ask what the getGraphics() method is good for:
    [http://forums.sun.com/thread.jspa?threadID=5233274&messageID=9954741|http://forums.sun.com/thread.jspa?threadID=5233274&messageID=9954741]
    Also, c.getFontMetrics(c.getFont()) will be an NPE because Font is initially null.Maybe I don't understand the question. The following works for me:
    import javax.swing.*;
    public class Test
         public static void main(String args[])
              JTextField textField = new JTextField();
              System.out.println(textField.getFontMetrics(textField.getFont()));
    }Every question should have a SSCCE, so we don't have to guess.

  • How to acces and display datas storaged in cache for a SUP 2.0 workflow?

    HI to all.
    I have an application with a item menu which obtains data thought a online request. the result is shown is a listview.
    My problem is when my BlackBerry has no conection ( offline scenario). When I select the menu item, I obtain an error.
    How to acces and display datas storaged in cache for my MBO? I have read that I can use getMessageValueCollection in custom.js to access to my datas but once I get the datas, How can associate those datas to a Listview like a online request?? Do i have to develop my own screen in html or how?
    Thanks.

    I'm not entirely clear on what you mean by "cache" in this context.  I'm going to assume that what you are really referring to is the contents of the workflow message, so correct me if I'm wrong.  There is, in later releases, the ability to set an device-side request cache time so that if you issue an online request it'll store the results in an on-device cache and if you subsequently reissue the same online request with the same parameter values within that timeout period it'll get the data from the cache rather than going to the server, but my gut instinct is that this is not what you are referring to.
    To access the data in the workflow message, you are correct, you would call getMessageValueCollection().  It will return an object hierarchy with objects defined in WorkflowMessage.js.  Note that if your online request fails, the data won't magically appear in your workflow message.
    To use the data in the workflow message to update a listview, feel free to examine the code in the listview widgets and in API.js.  You can also create a custom listview as follows:
    function customBeforeNavigateForward(screenKey, destScreenKey) {
         // In this example, we only want to replace the listview on the "My Approvals" screen    
         if (destScreenKey == 'My_Approvals'){
              // First, we get the MessageValueCollection that we are currently operating on
              var message = getCurrentMessageValueCollection();
              // Next, we'll get the list MessageValue from that MessageValueCollection
              var itemList = message.getData("LeaveApprovalItem3");
              // Because its a list, the Value of the MessageValue will be an array
              var items = itemList.getValue();
              // Figure out how many items are in the list
              var numOfItems = items.length;
              // Iterate through the results and build our list
              var i = 0;
              var htmlOutput = '<div><ul data-role="listview" data-theme="k" data-filter="true">';
              var firstChar = '';
              while ( i < numOfItems ){
                   // Get the current item. This will be a MessageValueCollection.
                   var currItem= items<i>;
                   // Get the properties of the current item.
                   var owner = currItem.getData("LeaveApprovalItem_owner_attribKey").getValue();
                   var type = currItem.getData("LeaveApprovalItem_itemType_attribKey").getValue();
                   var status = currItem.getData("LeaveApprovalItem_itemStatus_attribKey").getValue();
                   var startDate = currItem.getData("LeaveApprovalItem_startDate_attribKey").getValue();
                   var endDate = currItem.getData("LeaveApprovalItem_endDate_attribKey").getValue();
                   // Format the data in a specific presentation
                   var formatStartDate = Date.parse(startDate).toString('MMM/d/yyyy');
                   var formatEndDate = Date.parse(endDate).toString('MMM/d/yyyy');
                   // Decide which thumbnail image to use
                   var imageToUse = ''
                        if (status == 'Pending'){
                             imageToUse = 'pending.png';
                        else if (status == 'Rejected'){
                             imageToUse = 'rejected.png';
                        else {
                             imageToUse = 'approved.png';
                   // Add a new line to the listview for this item
                   htmlOutput += '<li><a id ="' + currItem.getKey() + '" class="listClick">';
                   htmlOutput += '<img src="./images/' + imageToUse + '" class="ui-li-thumb">';
                   htmlOutput += '<h3 class = "listTitle">' + type;
                   htmlOutput +=  ' ( ' + owner + ' ) ';
                   htmlOutput += '</h3>';
                   htmlOutput += '<p>' + formatStartDate + ' : ' + formatEndDate + '</p>';
                   htmlOutput += '</a></li>';
                   i++;
              htmlOutput += '</ul></div>';
              // Remove the old listview and add in the new one.  Note: this is suboptimal and should be fixed if you want to use it in production.
              $('#My_ApprovalsForm').children().eq(2).hide();
              $('#My_ApprovalsForm').children().eq(1).after(htmlOutput);
              // Add in a handler so that when a line is clicked on, it'll go to the right details screen
              $(".listClick").click(function(){
                   currListDivID = $(this).parent().parent();
                   $(this).parent().parent().addClass("ui-btn-active");
                   navigateForward("Request_Details",  this.id );
                   if (isBlackBerry()) {
                        return;
         // All done.
         return true;

  • Unable to update, when executed table gets lock and Execution does not stop even for an hour.

    Following is my Query, which unables to update. When Executed, table gets lock and Execution does not stop even for an hour.
    update Employees 
          set Status = 'Close'
          where statusid IN (select statusid 
                                             from MyView 
                                              where DownloadedDate ='2014-07-27 00:00:00.000'
    here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid 
    i tried in various ways but not able to solve, statusid  column have no index on,  i tried using cursor but it does not work.
    plz let me know how to solve this Issue, Its very Important to get solve as all my further work depends on Updation
    , THANKS IN ADVANCE.

    See also your other thread with the same question:
    http://social.msdn.microsoft.com/Forums/en-US/80243625-fc3b-4ee1-bce1-4adcdbc16c14/unable-to-update-when-executed-table-gets-lock-execution-does-not-stop-execution-even-for-an-hour?forum=sqlserversamples
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • -1073741819 code using Report Generation with LV 6.1

    I'm studing about the Report Generation Functions with LV 6.1, and I'm trying to run some example about it, but the programs sends the next error: "Error -1073741819 ocurred at unknown System error in Font Style.vi> Set report font.vi>Easy text repor

  • Is there a way of playing .avi files on Apple TV?

    I've got the new Apple TV. I want to know if it's possible to watch .avi files on it. All the films and TV Shows I have are in .avi!! Or if someone could recommend a fast and effective converting application, that would be great too!

  • Touch id doesn't work after update ios 7.1 APPLE PLEASE HELP!!!

    Touch id scanner dead after update 7.1. Tried remove fingerprints but cannot add new fingerprint because the touch id scanner DEAD. Tried rebooting the device and touch id scanner still doesn't work. For somehow the scanner works when the iphone is c

  • Goods Receipt and Subcontract/Service confirmation

    Dear SAP Guru, I have one scenario to map. Some waste will be generated because of nature of FG production and processing of this waste will be carried out within factory premises by sub-contractor. As material issued will be waste, no weighing of ma

  • Storing on my computer

    Why does Flash keep asking me to store stuff on my computer it doesn't do this on my computer at home