Problems running code on a different PC, Executable runs on both PCs

We recently transferred a LV 2010 license from one workstation to another one and tried running some LV code (LV 2010 code) and an executable made from the code at the "new" code development station.
The executable runs without issues. The code won't initialize one of the two devices on a SBS MIL-STD-1553 interface card that's installed in the workstation.
Why would the executable work so flawlessly while the code from which the executable was generated has issues? Seems it would have to be something to do with the new workstation and/or its SBS card.
Any experience with these types of issues when migrating to a new development workstation (mine is running Win XP and LV2010) are much appreciated.
Thanks,
Jeffrey Bledsoe
Electrical Engineer
Solved!
Go to Solution.

I was using the F067L1 microcode in the PASS 3200 card. GE support said that version of microcode is for the PASS 3200 app and not the Integrated Avionics Avionics Library (i.e., the library of the functions in their DLL).
I updated the microcode to the F040M8 version GE provided. The LV code works now.
The DLL is an older version, dated 12/18/2002. It's working with the LV code but we'll consider updating the DLL in the future.
Thanks,
Jeffrey Bledsoe
Electrical Engineer

Similar Messages

  • How to send data to labview code at run time while using with (or executing the sequence)the teststand

    Hello
    I am new to the Teststand.
    I am using labview8.0 with teststand 3.1
    I have developed some labview codemodules as vi's without using the teststand utility library pallete
    Now i have to run them in teststand.
    While executing them(as a sequence) in teststand,i need to enter the data to the labview code at run time.For this labview front panel should appear as GUI or popup (while executing).Is it possible to do this without using teststand pallete.
    or i need to change the code with teststand pallete(i think it is difficult now to change the code)
    Plz provide a solution to this problem
    Also one more,how and where to use the 'pass by reference' option
    Thanks and Regards
      Mudigondla

    Hi,
    see your other post http://forums.ni.com/ni/board/message?board.id=330&message.id=13914
    Also, you can, specify to display the front panel of your VI when you specify your VI in your sequence file.
    There are examples, for dialog panel using LabVIEW, in the examples folder of TestStand and on the NI Web Site.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Device not detected My iphone is not dedtedcted by the computer. I am having Windows 7.Windows has stopped this device because it has reported problems. (Code 43) Error code no 43 is shown. I tried to fix it by running fix it porg in  Micro soft tech net.

    Device not detected
    My iphone is not dedtedcted by the computer. I am having Windows 7.Windows has stopped this device because it has reported problems. (Code 43) Error code no 43 is shown. I tried to fix it by running fix it porg in  Micro soft tech net. Still the problem has not been solved

    Folling this article step by step: http://support.apple.com/kb/ht1923 is the last thing I can think of, or try to create another user account/try on another computer....
    Sorry for the multiple posts

  • Problem in running code from web service

    All,
    We are experiencing a problem while running a code from a web service. The code based on ecliselink. The same code works from JUnit. When running from webservice, we observed the the following warning
    *0 WARN [[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.Runtime - The configuration property named "openjpa.Id" was not recognized and will be ignored, although the name closely matches a valid property called "openjpa.Id".*
    *0 INFO [[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.Runtime - Starting BEA Kodo 4.2.0*
    Does this mean it is picking kodo implementation? Our expectation is to use eclipselink implementation. What could this warning? Any pointers would be of great help.
    Thanks,

    Sounds like it is using Kodo, is anything from EclipseLink logged?
    Have you configured your JPA provider in your persistence.xml? If you have not, then you will just get the default.
    James : http://ww.eclipselink.org

  • Compile and run java programs in different directroy

    Hi,
    I often encounter many problems when I run java programs in the different directories. Like
    javac -d dir_name a.java
    java -cp dir_name a
    Something wired often happens, such as, there is not a.java file in some directory, but javac -d dir_name a.java can still work or "java -cp dir_name a" often doesn't work. Moreover, file_name.jar is also a tough problem and solving compiling problems is often time-consuming.
    So I hope to read something about how to compile and run java programs in different directory properly.
    Could you pleae give me a detailed description for that or recommend a book or website?
    Thanks a lot.

    Can you post a small amount of code that does not work, including the directory structure, and the error messages? Some one here can likely explain the problem.

  • Run code simultaneously

    Hello, i have an application for logging temperatures in different chambers. Each chamber has a start button to start the timer and logging of temperatures. The code is pretty large. I wanted to be able to run the code for many different chambers simultaneously. For Example, Press start button on Chamber 1 and have that code run. Then Press start on chamber 2 and have that code run while Chamber 1 is still runnng. The code is too large to have a lot of different case structures. I was hoping there was a way i could do this without making a lot of subvi's and Globals. Any suggestion is greatly appreciated.
    Mike

    GRMAN wrote:
    Hello, i have an application for logging temperatures in different chambers. Each chamber has a start button to start the timer and logging of temperatures. The code is pretty large. I wanted to be able to run the code for many different chambers simultaneously. For Example, Press start button on Chamber 1 and have that code run. Then Press start on chamber 2 and have that code run while Chamber 1 is still runnng. The code is too large to have a lot of different case structures. I was hoping there was a way i could do this without making a lot of subvi's and Globals. Any suggestion is greatly appreciated.
    Mike
    I did something just like this a while back that worked well for me. This way you wont have to re-write or restructure your entire code.
    The problem is that you can not have multiple instances of the same VI with the same name in memory, so what you have to do is create multiple instances (copies) of that VI with different names and then you can run them all simultaneously.
    I wrote an application (very simple code) that does this. This utility loads a VI, copies it to another location (i.e. temp directory), renames the VI, and then runs it, after running it deletes the copy from HD, VI remains in Memory. Repeat this process to run more instances (rename the copy uniquely every time, I used a random number generator and included it in the name of the VI).
    Caution, if you use a global variable, it will be shared among the instances and can cause problems.
    Attached is my VI application-
    Good luck.
    Attachments:
    Run Multiple Instances Of a VI.vi ‏49 KB

  • Is it possible to run apps concurrently in different "Users" on Mac Pro in latest OSX?

    I wish to continuously monitor different folders in Dropbox for "input transactions" destined for my
    applications on my Mac Pro, where each Dropbox folder represents different input types from different
    sources. It would speed up the process significantly if my monitor program could run concurrently from
    each of several defined "Users" on my Mac Pro with OSX.

    Thank you for your response. Let me give you some more facts on my situation.
    My monitor, running on a Mac Pro, reads folders owned by my clients, where the folders are shared
    thru Dropbox with my service. So, yes, my monitor is "reading" different Dropbox member's folders looking for
    "input" files to my service. My monitor is programmed (with a list) of the various clients' folders
    names in which to search. Obviously, there is some number of clients (and folders) where the monitor
    begins to take several seconds (too long) to scan and service, merely due to the sheer number of folders being
    scanned. So, if I could create a second User on the Mac Pro, and run another (copy) of the monitor
    programmed with another unique list of folders NOT being serviced by the monitor in the first
    User, and (here's the problem) both monitors were running CONCURRENTLY, then the total number of
    folders (and clients) being serviced could possibly almost double. Then, I could add a third User, then
    a fourth, etc. to handle even more clients and folders.
    The giant problem here is, each separate User does NOT run concurrently with the others, certainly where
    all are logged in and "running". Actually, it appears OSX only executes programs within ONE user at a
    time: the one in focus at the time. It so happens that OSX multitasks within that one User the differently-named
    programs quite well; but OSX does not (continue to) execute anything in other Users, until another
    User is manually switched to. Therefore, in my case, I can only run one monitor in one User at a time, thus ruining any benefit I might otherwise achieve IF OSX ran programs concurrently in multiple Users, another form of multitasking that apparently OSX is not designed to do. My monitors run with Excel VBA, which becomes the name of that program within
    one User, so I am limited to running only 1 monitor per User. (Groups don't help.). On the other hand, It might help a little if
    my monitor somehow could switch between OSX Users programmatically, rather than manually...I do not want
    to sit at my Mac Pro constantly and manually fast-switching between Users to even attempt to solve my problem. Rather, I want
    the software to run concurrently 24/7 unattended to successfully provide the service promised to all.
    So, because there are lots of brilliant folks that know a lot about MACs and OSX, certainly more than me, I
    am wondering IF someone knows how to get OSX to multitask across more than one User at a time, which
    would solve my dilemma?? Maybe it's just not possible, I don't know...
    Also, would OSX Server edition maybe be better suited to solve my problem? I know nothing about the Server's capability.
    I would also hate to have to run Windows on my Mac Pro to solve this. Would VMware/Fusion work here?
    Thank you again for taking the time to help...

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • A/P F110 Payment via company code in a different country

    The client is a service organization where the Vendor data is managed in the US company code (US01) and the Customer data in managed in a Swiss company code (CH02). Many of the customers could also provide services and the invoices are posted to vendor accounts in the US01 company code.
    In the case where the vendor amount exceeds the customer amount, the customer/vendor has agreed that the client will pay the net amount and clear the net to the customer account.
    Clearing between the customer and vendor in company codes in the same country and with the bank account managed in the same country works as expected.
    The CH02 company code does not have a bank account of its own and therefore cannot make its own payments.
    The problem that we encounter is that I cannot define (for F110 configuration) sending and paying company codes where the country assigned are different, e.g.;
       - Sending company code: CH02
       - Paying Company code:  US01
    When this is entered into the IMG configuration for "Automatic payments > Set Up All Company Codes for Payment Transactions" the error "Company code US90 is not permitted as the paying company code" (error code F3063) is issued. The detailed error description is:
    "The paying company code and the company code on whose behalf the payment is being made must be in the same country, have the same local currency, and display the same currencies managed in parallel. The setting regarding extended withholding tax functions (active or not active) must also be identical for both company codes."
    The initial design was to have the A/P and A/R in the CH02 company code but the payment via the US01 company code would not work. Having the vendor only in the US01 company code is a solution to this using an inter-company invoice posting. Using a work-around to clear the customer balance to the vendor account is not acceptable to the client.
    The easy way out of this is to assign the CH02 company code to country code 'US', but this is not correct.
    Is there a solution to making payments from company code US01 (as the paying company code) but including the customer items from a foreign company in the payment?

    Hi Martin,
    Welcome SDN!!!
    The standard SAP doesnot provide payment via company code in a  different country.If you still feel that it is fit case,please contact SAP.SAP may consider this a special requirement and may cover your case under SAP Note 357732.(pls have a look once).
    Thanks
    Aravind

  • When installing itunes 10 uding windows xp I get the following error: "There is a problem with this Windows Installerpackage. A program run as part of the setup did not finish as expected. Contact your sipport personnel or package vendor." - any ideas?

    When downloading itunes 10 in windows xp, I get the following error "There is a problem with this Windoes Installer package. Aprogram run as part of the setup did not finish as expected. Contact your support personnel or package vendor." - any ideas on how to proceed?

    using MSICUU2.exe didn't help me.  But,  the new replacement app did:
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    I fixed my problem like this:
    Here's the deal - 
    1.  can you install itunes via the APPLE SOFTWARE updater?
    I couldn't  so I downloaded ITUNES and tried to install it that way.   Hence  I got the same error hang as you.  Nothing worked,  (Multiple attempts at uninstall reinstall,  stopping of Services,  Reg cleaners  etc..)
    2.  If answer is NO to #1 you must fixe the APPLE SOFTWARE UPDATE Program. 
    OK  so I couldn't find a Download for this.   But:  if you have WINRAR,  open the ITUNES.EXE and extract the APPLESOFTWAREUPDATE.MSI file.  Execute the APPLESOFTWAREUPDATE.MSI separately.   And you will not be able to install it and have a similar issue as per your Itunes install.   This of course leads you to believe that the Itunes.exe  install is also installing all of these components including the applesoftwareupdate silently.   It must BOMB at that portion of the install and you are done. 
    3.  Your goal now is to get the applesoftwareupdate installed.   How do you do this.  Well -  here is what I did.
      a.  downloaded and RUN a PC  Installer FIX it tool from Microsoft.  This is a replacement for the older MSI fixer they used to use.
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    b. It will list programs to attempt to fix.
      choose  AppleSoftwareUpdate.msi
    c. Once it is done,  then reinstall apple program updater using
    AppleSoftwareUpdate.msi
    Finally it should install since the Microsoft tool appraently fixed corrupted installation files in your registry for this application.
    (Please note:  that I also disabled any apple related services such as BONJOUR or IPOD DEvice RUN:  services.msc to get there -  although this man not be necesarry.)
    Hence Launch this APPLE UPDATE SOFTWARE (Click the ICON in your Start menu)  it should list ITUNES
    select ITUNES from here and it will update.
    KEY HERE is to ONLY UPDATE APPLE Stuff via the APPLE SOFTWARE UPDATE program.  If that program is not working fix it.  Then Bingo.
    I am sorry to see folks having this problem for weeks.  
    APPLE,   Spread the word.  PC's can get corruption in the registry on your product should the update be stopped or computer shut off during an update.  etc...   Please improve your software updater program to check for invalid registry upon launching the app.  This will prevent people thinking it is an APPLE issue.  It appears to be a problem on your PC's registry settings for the APPLE Software update.
    Bruno Ricci

  • Strange problem with ProgressEvent.PROGRESS in different laptob

    i made simple of my project to show the problem
    the code
    package
         import flash.display.MovieClip;
         import flash.net.FileReference;
         import flash.net.FileFilter;
         import flash.events.MouseEvent;
         import flash.events.*;
        import flash.net.URLRequest;
         import flash.net.FileReferenceList;
         import flash.net.URLVariables;
         import flash.net.URLRequestMethod;
         public class Control extends MovieClip
              public var allTypes:Array;
              public var imageTypes:FileFilter;
              public var textTypes:FileFilter;
              public var fileRef:FileReference;
              public var request:URLRequest;          
              public function Control()
                   imageTypes = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
                   textTypes = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
                   allTypes = new Array(imageTypes, textTypes);
                   upload_icon.addEventListener( MouseEvent.CLICK, upload_icon_click);
                   add_icon.addEventListener( MouseEvent.CLICK, add_icon_click);
                   function add_icon_click (e:MouseEvent):void
                        fileRef = new FileReference();
                        fileRef.addEventListener(Event.SELECT, selectHandler);
                        fileRef.addEventListener(Event.COMPLETE, completeHandler);
                        fileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);
                        fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,uploadCompleteDataHandler);
                        try
                             var success:Boolean = fileRef.browse();
                        catch (error:Error)
                             trace("Unable to browse for files.");
                   function uploadCompleteDataHandler(event:DataEvent):void {
                        //result = ExternalInterface.call("error_file_upload", "uploadCompleteData: " + event.data);
                        trace("uploadCompleteData: " + event.data);
                   function selectHandler(event:Event):void
                        testout.text=testout.text+fileRef.name+"==="+fileRef.size+"==="+fileRef.type+"\n";
                        trace(fileRef.name+"==="+fileRef.size+"==="+fileRef.type+"\n");
                   function upload_icon_click (e:MouseEvent):void
                        request = new URLRequest("http://egyouth.com/mahmoud/test/upload.php");
                        var valebal:URLVariables       =  new URLVariables();
                        valebal.login_send_info        =  4;
                        valebal.user                        =  'mahmoud';
                        request.method                 =  URLRequestMethod.POST;
                        request.data                   =  valebal;
                        try
                             fileRef.upload(request);
                        catch (error:Error)
                             trace("Unable to upload file.");
                   function completeHandler(event:Event):void
                        trace("trace");
                   function progressHandler(event:ProgressEvent):void
                        testout.text=testout.text+fileRef.name+"==="+fileRef.size+"==="+fileRef.type+"=="+event.bytesLoaded+"==="+event.bytesTotal+"\n";
                        trace(fileRef.name+"==="+fileRef.size+"==="+fileRef.type+"=="+event.bytesLoaded+"==="+event.bytesTotal+"\n");
    this code you can test on
    http://egyouth.com/mahmoud/test/mahmoud.html
    the problem is when i try this code in my computer progressHandler function work very good
    like if i upload 5mb it take like 1m and every 1sec he run progressHandler function
    but when i run this code in deferent computer use the same speed ( same network)
    i upload 5mb and  progressHandler function run very fast and just take 2 secand and tell me the file upload
    but the file not upload and after 1 m i will see it in the upload folder
    http://egyouth.com/mahmoud/test/files/
    so what the problem now ( i think in the secand computer the as3 thought that he upload use the speed of computer not the speed of the network like my laptob )
    just for trace my laptob run with adobe flash player 10.0.2.54
    and
    the second computer run with adobe flash player 10.0.45.2

    in the second computer run with adobe flash player 10.0.45.2 progressHandler function run very fast ex
    when i upload a 100mb it must take 30min but it just take 4 sec !! and it tell me the upload done
    but when i open the folder of upload i didnt see the file
    and if i still open the page of upload i will see the folder after 30min
    i think that progressHandler function in this computer use the speed of computer not the speed of network

  • Problem in code.it is urgent.

    problem in code.it is urgent.
    i want to display all po,s with all grs from requistion up to inspection. if for a po gr not happend or inspection not happend it must also display leaving blank for that po. actual flow is pur.reqpur.ordergoods receipt---quality inspection. once u copy this code and execute it. u will get better idea.
    regards!
    prasad.
    REPORT Z_MM_REQDETAILS1.
    TABLES: EKKO, EKPO, MSEG, QALS, EBAN, MKPF, MAKT.
    TYPE-POOLS: SLIS.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS: SBADAT FOR EBAN-BADAT,
    SLIFNR FOR EKKO-LIFNR,
    SEBELN FOR EKKO-EBELN,
    SBEDAT FOR EKKO-BEDAT,
    SBSART FOR EKKO-BSART,
    SMATNR FOR EKPO-MATNR,
    SBUDAT FOR MKPF-BUDAT.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA: BEGIN OF EBAN_TAB OCCURS 0,
    BANFN LIKE EBAN-BANFN,
    BADAT LIKE EBAN-BADAT,
    MENGE LIKE EBAN-MENGE,
    EBELN LIKE EBAN-EBELN,
    AFNAM LIKE EBAN-AFNAM,
    END OF EBAN_TAB.
    DATA: BEGIN OF EKKO_TAB OCCURS 0,
    BSART LIKE EKKO-BSART,
    EBELN LIKE EKKO-EBELN,
    LIFNR LIKE EKKO-LIFNR,
    BEDAT LIKE EKKO-BEDAT,
    END OF EKKO_TAB.
    DATA: BEGIN OF EKPO_TAB OCCURS 0,
    EBELN LIKE EKPO-EBELN,
    MENGE LIKE EKPO-MENGE,
    MATNR LIKE EKPO-MATNR,
    BANFN LIKE EKPO-BANFN,
    EBELP LIKE EKPO-EBELP,
    END OF EKPO_TAB.
    DATA: BEGIN OF MSEG_TAB OCCURS 0,
    EBELN LIKE MSEG-EBELN,
    MBLNR LIKE MSEG-MBLNR,
    MATNR LIKE MSEG-MATNR,
    MENGE LIKE MSEG-MENGE,
    EBELP LIKE MSEG-EBELP,
    END OF MSEG_TAB.
    DATA: BEGIN OF MSEG_TAB1 OCCURS 0,
    MBLNR LIKE MSEG-MBLNR,
    EBELN LIKE MSEG-EBELN,
    END OF MSEG_TAB1.
    DATA: BEGIN OF QALS_TAB OCCURS 0,
    LMENGE01 LIKE QALS-LMENGE01,
    LMENGE07 LIKE QALS-LMENGE07,
    MATNR LIKE QALS-MATNR,
    MBLNR LIKE QALS-MBLNR,
    EBELN LIKE QALS-EBELN,
    EBELP LIKE QALS-EBELP,
    END OF QALS_TAB.
    DATA: BEGIN OF MKPF_TAB OCCURS 0,
    MBLNR LIKE MKPF-MBLNR,
    BUDAT LIKE MKPF-BUDAT,
    END OF MKPF_TAB.
    DATA: BEGIN OF MAKT_TAB OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    MAKTX LIKE MAKT-MAKTX,
    END OF MAKT_TAB.
    DATA: BEGIN OF SELTAB OCCURS 0,
    EBELN LIKE EKKO-EBELN,
    BLDAT LIKE MKPF-BLDAT,
    END OF SELTAB.
    *DATA: BEGIN OF SELTAB1 OCCURS 0,
    BUDAT LIKE MKPF-BUDAT,
    END OF SELTAB1.
    DATA: REPID LIKE SY-REPID.
    DATA: F_OUTPUT1 TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    DATA: IT_SORT TYPE SLIS_T_SORTINFO_ALV WITH HEADER LINE.
    DATA: REMARKS(40) TYPE C.
    DATA: BEGIN OF OUTPUT OCCURS 0,
    BANFN LIKE EBAN-BANFN,
    BADAT LIKE EBAN-BADAT,
    RMENGE LIKE EBAN-MENGE,
    AFNAM LIKE EBAN-AFNAM,
    BSART LIKE EKKO-BSART,
    EBELN LIKE EKKO-EBELN,
    LIFNR LIKE EKKO-LIFNR,
    BEDAT LIKE EKKO-BEDAT,
    PMENGE LIKE EKPO-MENGE,
    MATNR LIKE EKPO-MATNR,
    EBELP LIKE EKPO-EBELP,
    MBLNR LIKE MSEG-MBLNR,
    GMENGE LIKE MSEG-MENGE,
    LMENGE01 LIKE QALS-LMENGE01,
    LMENGE07 LIKE QALS-LMENGE07,
    BUDAT LIKE MKPF-BUDAT,
    MAKTX LIKE MAKT-MAKTX,
    REMARKS(40) TYPE C,
    SL_NO LIKE SY-TABIX,
    END OF OUTPUT.
    START-OF-SELECTION.
    IF SEBELN IS NOT INITIAL OR SLIFNR IS NOT INITIAL OR SBEDAT IS NOT INITIAL OR SBSART IS NOT INITIAL.
    SELECT EBELN
    BSART
    LIFNR
    BEDAT FROM EKKO INTO CORRESPONDING FIELDS OF TABLE EKKO_TAB WHERE EBELN IN SEBELN AND LIFNR IN SLIFNR AND BEDAT IN SBEDAT AND
    BSART IN SBSART.
    ELSEIF SBADAT IS NOT INITIAL.
    SELECT EBELN
    BANFN
    BADAT
    MENGE
    AFNAM FROM EBAN INTO CORRESPONDING FIELDS OF TABLE EBAN_TAB where BADAT IN SBADAT.
    SORT EBAN_TAB BY BADAT ASCENDING.
    select ebeln lifnr bedat bsart from ekko into corresponding fields of table ekko_tab for all entries in eban_tab where ebeln = eban_tab-ebeln.
    ELSEIF SMATNR IS NOT INITIAL.
    SELECT EBELN
    EBELP
    FROM EKPO INTO CORRESPONDING FIELDS OF TABLE SELTAB
    WHERE MATNR IN SMATNR.
    SORT SELTAB BY EBELN ASCENDING.
    DELETE ADJACENT DUPLICATES FROM SELTAB COMPARING EBELN.
    SELECT EBELN
    BSART
    BEDAT
    LIFNR FROM EKKO INTO CORRESPONDING FIELDS OF TABLE EKKO_TAB
    FOR ALL ENTRIES IN SELTAB WHERE EBELN = SELTAB-EBELN.
    ELSEIF SBUDAT IS NOT INITIAL.
    SELECT BUDAT
    MBLNR FROM MKPF INTO CORRESPONDING FIELDS OF TABLE MKPF_TAB WHERE
    BUDAT IN SBUDAT.
    sort mkpf_tab by budat ascending.
    SELECT EBELN FROM MSEG INTO CORRESPONDING FIELDS OF TABLE SELTAB FOR ALL ENTRIES IN
    MKPF_TAB WHERE MBLNR = MKPF_TAB-MBLNR.
    *SELECT EBELN
    FROM QALS INTO CORRESPONDING FIELDS OF TABLE SELTAB FOR ALL ENTRIES IN SELTAB WHERE EBELN = SELTAB-EBELN.
    SORT SELTAB BY EBELN ASCENDING.
    DELETE ADJACENT DUPLICATES FROM SELTAB COMPARING EBELN.
    SELECT EBELN
    BEDAT
    LIFNR
    BSART FROM EKKO INTO CORRESPONDING FIELDS OF TABLE EKKO_TAB
    FOR ALL ENTRIES IN SELTAB WHERE EBELN = SELTAB-EBELN.
    ENDIF.
    SELECT EBELN
    MENGE
    MATNR
    EBELP FROM EKPO INTO CORRESPONDING FIELDS OF TABLE EKPO_TAB FOR ALL ENTRIES IN EKKO_TAB WHERE EBELN = EKKO_TAB-EBELN AND
    MATNR IN SMATNR.
    SELECT EBELN
    BANFN
    BADAT
    MENGE
    AFNAM FROM EBAN INTO CORRESPONDING FIELDS OF TABLE EBAN_TAB FOR ALL ENTRIES IN EKKO_TAB WHERE EBELN = EKKO_TAB-EBELN AND
    BADAT IN SBADAT.
    SELECT EBELN
    MBLNR
    MATNR
    MENGE
    EBELP
    FROM MSEG INTO CORRESPONDING FIELDS OF TABLE MSEG_TAB FOR ALL ENTRIES IN EKPO_TAB WHERE EBELN = EKPO_TAB-EBELN AND
    MATNR = EKPO_TAB-MATNR AND
    EBELP = EKPO_TAB-EBELP AND
    BWART IN ('101','105').
    SELECT LMENGE01
    LMENGE07
    MATNR
    MBLNR
    EBELN FROM QALS INTO CORRESPONDING FIELDS OF TABLE QALS_TAB FOR ALL ENTRIES IN MSEG_TAB WHERE MBLNR = MSEG_TAB-MBLNR AND
    MATNR = MSEG_TAB-MATNR AND
    EBELN = MSEG_TAB-EBELN AND
    EBELP = MSEG_TAB-EBELP.
    SELECT MBLNR
    BUDAT FROM MKPF INTO CORRESPONDING FIELDS OF TABLE MKPF_TAB FOR ALL ENTRIES IN MSEG_TAB WHERE MBLNR = MSEG_TAB-MBLNR AND BUDAT
    IN SBUDAT.
    SELECT MATNR
    MAKTX FROM MAKT INTO CORRESPONDING FIELDS OF TABLE MAKT_TAB FOR ALL ENTRIES IN EKPO_TAB WHERE MATNR = EKPO_TAB-MATNR.
    *LOOP AT OUTPUT.
    **LOOP AT EKKO_TAB.
    **read table EKKO_TAB with key ebeln = output-ebeln.
    **if sy-subrc = 0.
    *READ TABLE EKPO_TAB WITH KEY EBELN = EKKO_TAB-EBELN.
    *IF SY-SUBRC = 0.
    *READ TABLE MSEG_TAB WITH KEY EBELN = EKPO_TAB-EBELN MATNR = EKPO_TAB-MATNR.
    *IF SY-SUBRC = 0.
    **READ TABLE QALS_TAB WITH KEY MBLNR = MSEG_TAB-MBLNR MATNR = MSEG_TAB-MATNR EBELN = MSEG_TAB-EBELN.
    **IF SY-SUBRC = 0.
              o OUTPUT-EBELN = EKKO_TAB-EBELN.
              o OUTPUT-BSART = EKKO_TAB-BSART.
              o OUTPUT-LIFNR = EKKO_TAB-LIFNR.
              o OUTPUT-BEDAT = EKKO_TAB-BEDAT.
    OUTPUT-PMENGE = EKPO_TAB-MENGE.
    OUTPUT-MATNR = EKPO_TAB-MATNR.
    OUTPUT-MBLNR = MSEG_TAB-MBLNR.
    OUTPUT-GMENGE = MSEG_TAB-MENGE.
              o OUTPUT-LMENGE01 = QALS_TAB-LMENGE01.
              o OUTPUT-LMENGE07 = QALS_TAB-LMENGE07.
    modify OUTPUT transporting pmenge matnr MBLNR GMENGE.
    **APPEND OUTPUT.
    *ENDIF.
    *ENDIF.
    *ENDLOOP.
    LOOP AT EKKO_TAB.
    LOOP AT EKPO_TAB WHERE EBELN = EKKO_TAB-EBELN.
    LOOP AT MSEG_TAB WHERE EBELN = OUTPUT-EBELN AND MATNR = output-MATNR AND EBELP = OUTPUT-EBELP.
    OUTPUT-EBELN = EKKO_TAB-EBELN.
    OUTPUT-BSART = EKKO_TAB-BSART.
    OUTPUT-LIFNR = EKKO_TAB-LIFNR.
    OUTPUT-BEDAT = EKKO_TAB-BEDAT.
    OUTPUT-PMENGE = EKPO_TAB-MENGE.
    OUTPUT-MATNR = EKPO_TAB-MATNR.
    OUTPUT-EBELP = EKPO_TAB-EBELP.
    APPEND OUTPUT.
    CLEAR OUTPUT.
    ENDLOOP.
    ENDLOOP.
    *LOOP AT OUTPUT.
    *LOOP AT EKPO_TAB WHERE EBELN = OUTPUT-EBELN.
    OUTPUT-PMENGE = EKPO_TAB-MENGE.
    OUTPUT-MATNR = EKPO_TAB-MATNR.
    OUTPUT-EBELP = EKPO_TAB-EBELP.
    *MODIFY OUTPUT TRANSPORTING PMENGE MATNR EBELP.
    *ENDLOOP.
    *ENDLOOP.
    LOOP AT OUTPUT.
    LOOP AT MSEG_TAB WHERE EBELN = OUTPUT-EBELN AND MATNR = OUTPUT-MATNR AND EBELP = OUTPUT-EBELP.
    *LOOP AT QALS_TAB WHERE MBLNR = MSEG_TAB-MBLNR AND MATNR = OUTPUT-MATNR AND EBELN = OUTPUT-EBELN AND EBELP = OUTPUT-EBELP.
    OUTPUT-MBLNR = MSEG_TAB-MBLNR.
    OUTPUT-GMENGE = MSEG_TAB-MENGE.
    OUTPUT-LMENGE01 = QALS_TAB-LMENGE01.
    OUTPUT-LMENGE07 = QALS_TAB-LMENGE07.
    OUTPUT-EBELP = QALS_TAB-EBELP.
    *APPEND OUTPUT.
    MODIFY OUTPUT TRANSPORTING MBLNR GMENGE.
    *CLEAR OUTPUT.
    *CLEAR MSEG_TAB.
    ENDLOOP.
    ENDLOOP.
    *ENDLOOP.
    LOOP AT OUTPUT.
    LOOP AT QALS_TAB WHERE MBLNR = OUTPUT-MBLNR AND MATNR = OUTPUT-MATNR AND EBELN = OUTPUT-EBELN.
    OUTPUT-LMENGE01 = QALS_TAB-LMENGE01.
    OUTPUT-LMENGE07 = QALS_TAB-LMENGE07.
    OUTPUT-EBELP = QALS_TAB-EBELP.
    MODIFY OUTPUT TRANSPORTING LMENGE01 LMENGE07.
    ENDLOOP.
    ENDLOOP.
    LOOP AT OUTPUT.
    LOOP AT EBAN_TAB WHERE EBELN = OUTPUT-EBELN.
    OUTPUT-BANFN = EBAN_TAB-BANFN.
    OUTPUT-BADAT = EBAN_TAB-BADAT.
    OUTPUT-RMENGE = EBAN_TAB-MENGE.
    OUTPUT-AFNAM = EBAN_TAB-AFNAM.
    MODIFY OUTPUT TRANSPORTING BANFN BADAT RMENGE AFNAM.
    ENDLOOP.
    ENDLOOP.
    LOOP AT OUTPUT.
    LOOP AT MKPF_TAB WHERE MBLNR = OUTPUT-MBLNR.
    OUTPUT-BUDAT = MKPF_TAB-BUDAT.
    MODIFY OUTPUT TRANSPORTING BUDAT.
    ENDLOOP.
    ENDLOOP.
    *LOOP AT OUTPUT.
    *SELECT SINGLE MATNR FROM EKPO INTO OUTPUT-MATNR WHERE EBELN = OUTPUT-EBELN.
    *MODIFY OUTPUT TRANSPORTING MATNR.
    *SELECT SINGLE MBLNR FROM MSEG INTO OUTPUT-MBLNR WHERE MATNR = OUTPUT-MATNR.
    *MODIFY OUTPUT TRANSPORTING MBLNR.
    *ENDLOOP.
    LOOP AT OUTPUT.
    LOOP AT MAKT_TAB WHERE MATNR = OUTPUT-MATNR.
    OUTPUT-MAKTX = MAKT_TAB-MAKTX.
    MODIFY OUTPUT TRANSPORTING MAKTX.
    ENDLOOP.
    ENDLOOP.
    *LOOP AT EKKO_TAB.
    LOOP AT EKPO_TAB WHERE EBELN = EKKO_TAB-EBELN.
              o LOOP AT MSEG_TAB WHERE EBELN = EKPO_TAB-EBELN AND MATNR = EKPO_TAB-MATNR.
              o LOOP AT QALS_TAB WHERE MBLNR = MSEG_TAB-MBLNR AND MATNR = MSEG_TAB-MATNR AND EBELN = MSEG_TAB-EBELN.
              o LOOP AT MKPF_TAB WHERE MBLNR = MSEG_TAB-MBLNR.
    OUTPUT-EBELN = EKKO_TAB-EBELN.
    OUTPUT-BSART = EKKO_TAB-BSART.
    OUTPUT-LIFNR = EKKO_TAB-LIFNR.
    OUTPUT-BEDAT = EKKO_TAB-BEDAT.
    OUTPUT-PMENGE = EKPO_TAB-MENGE.
    OUTPUT-MATNR = EKPO_TAB-MATNR.
    OUTPUT-EBELP = EKPO_TAB-EBELP.
              o OUTPUT-MBLNR = MSEG_TAB-MBLNR.
              o OUTPUT-GMENGE = MSEG_TAB-MENGE.
              o OUTPUT-BUDAT = MKPF_TAB-BUDAT.
              o OUTPUT-LMENGE01 = QALS_TAB-LMENGE01.
              o OUTPUT-LMENGE07 = QALS_TAB-LMENGE07.
              o MODIFY OUTPUT TRANSPORTING BSART LIFNR BEDAT PMENGE MATNR.
    APPEND OUTPUT.
    CLEAR OUTPUT.
              o CLEAR QALS_TAB.
              o ENDLOOP.
              o CLEAR MKPF_TAB.
              o ENDLOOP.
              o CLEAR MSEG_TAB.
              o ENDLOOP.
    CLEAR EKPO_TAB.
    ENDLOOP.
    CLEAR EKKO_TAB.
    ENDLOOP.
    **SELECT MBLNR EBELN FROM MSEG INTO TABLE MSEG_TAB1 FOR ALL ENTRIES IN EKKO_TAB WHERE EBELN = EKKO_TAB-EBELN.
              o LOOP AT OUTPUT.
              o MOVE-CORRESPONDING MSEG_TAB1 TO OUTPUT.
              o OUTPUT-MBLNR = MSEG_TAB1-MBLNR.
              o MODIFY OUTPUT TRANSPORTING MBLNR.
              o ENDLOOP.
    *LOOP AT OUTPUT.
    LOOP AT MSEG_TAB WHERE EBELN = output-EBELN AND MATNR = output-MATNR AND EBELP = OUTPUT-EBELP.
    **READ TABLE MSEG_TAB WITH KEY EBELN = OUTPUT-EBELN MATNR = OUTPUT-MATNR.
    *IF SY-SUBRC = 0.
    OUTPUT-MBLNR = MSEG_TAB-MBLNR.
    OUTPUT-GMENGE = MSEG_TAB-MENGE.
    *MODIFY OUTPUT TRANSPORTING MBLNR GMENGE.
    *ENDIF.
    *clear output.
    *ENDLOOP.
    *endloop.
    *LOOP AT OUTPUT.
    READ TABLE QALS_TAB WITH KEY MBLNR = OUTPUT-MBLNR MATNR = OUTPUT-MATNR EBELN = OUTPUT-EBELN.
    *IF SY-SUBRC = 0.
    *OUTPUT-LMENGE01 = QALS_TAB-LMENGE01.
    *OUTPUT-LMENGE07 = QALS_TAB-LMENGE07.
    *MODIFY OUTPUT TRANSPORTING LMENGE01 LMENGE07.
    *ENDIF.
    *ENDLOOP.
    LOOP AT OUTPUT.
    READ TABLE EBAN_TAB WITH KEY EBELN = OUTPUT-EBELN.
    IF SY-SUBRC = 0.
    OUTPUT-BANFN = EBAN_TAB-BANFN.
    OUTPUT-BADAT = EBAN_TAB-BADAT.
    OUTPUT-RMENGE = EBAN_TAB-MENGE.
    OUTPUT-AFNAM = EBAN_TAB-AFNAM.
    MODIFY OUTPUT TRANSPORTING BANFN BADAT RMENGE AFNAM.
    ENDIF.
    ENDLOOP.
    *LOOP AT OUTPUT.
    READ TABLE MKPF_TAB WITH KEY MBLNR = OUTPUT-MBLNR.
    IF SY-SUBRC = 0.
    OUTPUT-BUDAT = MKPF_TAB-BUDAT.
    MODIFY OUTPUT TRANSPORTING BUDAT.
    ENDIF.
    ENDLOOP.
    *LOOP AT OUTPUT.
    *READ TABLE MAKT_TAB WITH KEY MATNR = OUTPUT-MATNR.
    *IF SY-SUBRC = 0.
    *OUTPUT-MAKTX = MAKT_TAB-MAKTX.
    *MODIFY OUTPUT TRANSPORTING MAKTX.
    *ENDIF.
    *ENDLOOP.
    PERFORM F_OUTPUT.
    PERFORM SORT.
    PERFORM GRID.
    FORM F_OUTPUT.
    F_OUTPUT1-FIELDNAME = 'MATNR'.
    F_OUTPUT1-REF_TABNAME = 'EKPO'.
    F_OUTPUT1-REF_FIELDNAME = 'MATNR'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME ='MAKTX'.
    F_OUTPUT1-SELTEXT_M = 'DESCRIPTION.'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'LIFNR'.
    F_OUTPUT1-REF_TABNAME = 'EKKO'.
    F_OUTPUT1-REF_FIELDNAME = 'LIFNR'.
    F_OUTPUT1-SELTEXT_M = 'SUPPLIER'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'AFNAM'.
    F_OUTPUT1-REF_TABNAME = 'EBAN'.
    F_OUTPUT1-REF_FIELDNAME = 'AFNAM'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'BANFN'.
    F_OUTPUT1-REF_TABNAME = 'EBAN'.
    F_OUTPUT1-REF_FIELDNAME = 'BANFN'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'BADAT'.
    F_OUTPUT1-SELTEXT_M = 'PRS DATE'.
    F_OUTPUT1-REF_TABNAME = 'EBAN'.
    F_OUTPUT1-REF_FIELDNAME = 'BADAT'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME ='RMENGE'.
    *F_OUTPUT1-REF_TABNAME = 'MSEG'.
    *F_OUTPUT1-REF_FIELDNAME = 'MBLNR'.
    F_OUTPUT1-SELTEXT_M = 'PRS QTY'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'EBELN'.
    F_OUTPUT1-REF_TABNAME = 'EKKO'.
    F_OUTPUT1-REF_FIELDNAME = 'EBELN'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'BSART'.
    F_OUTPUT1-REF_TABNAME = 'EKKO'.
    F_OUTPUT1-REF_FIELDNAME = 'BSART'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'BEDAT'.
    F_OUTPUT1-REF_TABNAME = 'EKKO'.
    F_OUTPUT1-REF_FIELDNAME = 'BEDAT'.
    F_OUTPUT1-SELTEXT_M = 'PO DATE'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME ='PMENGE'.
    F_OUTPUT1-SELTEXT_M = 'PO QTY'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'MBLNR'.
    F_OUTPUT1-REF_TABNAME = 'MSEG'.
    F_OUTPUT1-REF_FIELDNAME = 'MBLNR'.
    F_OUTPUT1-SELTEXT_M = 'GR NUMBER'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME ='BUDAT'.
    F_OUTPUT1-SELTEXT_M = 'GR DATE'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME ='GMENGE'.
    *F_OUTPUT1-REF_TABNAME = 'MSEG'.
    *F_OUTPUT1-REF_FIELDNAME = 'MBLNR'.
    F_OUTPUT1-SELTEXT_M = 'RECEIVED QTY'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'LMENGE01'.
    F_OUTPUT1-REF_TABNAME = 'QALS'.
    F_OUTPUT1-REF_FIELDNAME = 'LMENGE01'.
    F_OUTPUT1-SELTEXT_M = 'ACCEPTED QTY'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME = 'LMENGE07'.
    F_OUTPUT1-REF_TABNAME = 'QALS'.
    F_OUTPUT1-REF_FIELDNAME = 'LMENGE07'.
    F_OUTPUT1-SELTEXT_M = 'REJECTED QTY'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    F_OUTPUT1-FIELDNAME ='REMARKS'.
    **F_OUTPUT1-REF_TABNAME = 'MSEG'.
    **F_OUTPUT1-REF_FIELDNAME = 'MBLNR'.
    F_OUTPUT1-SELTEXT_M = 'REMARKS'.
    APPEND F_OUTPUT1.
    CLEAR F_OUTPUT1.
    ENDFORM.
    FORM SORT.
    IT_SORT-FIELDNAME = 'MATNR'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'MAKTX'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'LIFNR'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'AFNAM'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'BANFN'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'BADAT'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'RMENGE'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'EBELN'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'BSART'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'BEDAT'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'PMENGE'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'MBLNR'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'BUDAT'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'GMENGE'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'LMENGE01'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    IT_SORT-FIELDNAME = 'LMENGE07'.
    IT_SORT-UP = 'X'.
    APPEND IT_SORT.
    CLEAR IT_SORT.
    ENDFORM.
    FORM GRID.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER = ' '
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = 'REPID'
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = F_OUTPUT1[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    I_HTML_HEIGHT_TOP = 0
    I_HTML_HEIGHT_END = 0
    IT_ALV_GRAPHICS =
    IT_HYPERLINK =
    IT_ADD_FIELDCAT =
    IT_EXCEPT_QINFO =
    IR_SALV_FULLSCREEN_ADAPTER =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    T_OUTTAB = OUTPUT[].
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

    Hi prasad,
    Whats the problem exactly. Is it not displaying any records ?
    Thanks,
    bsv.

  • Trying to run code from this weeks question of the  week

    i've copied the code from this weeks question of the week "sending an http req from a normal class." when i compile it everything looks fine. i've installed tomcat and it works. so i guess i am confused as to where i put the servlet class file??? and do i need to change a web.xml file?
    any help would be appreciated,
    erik

    for simplicity i just put Hello.class and HelloServlet.class in C:\tomcat\webapps\ROOT\WEB-INF\classes. i still cannot get this to work. here are my source files:
    Hello.java:
    import java.net.*;
    import java.util.*;
    import java.io.*;
    public class Hello {
    public static void main(String args[]) {
    ObjectInputStream is;
    URL url;
    String uri =
    "http://localhost:8080/HelloServlet";
    HashMap hash = new HashMap();
    try {
    //calling the servlet by passing params
    url = new URL(uri + "?&name=MyName&age=25");
    // open input stream and read the hashmap
    // returned by the servlet
    is = new ObjectInputStream(url.openStream());
    hash = (HashMap) is.readObject();
    // print it out
    System.out.println(hash);
    } catch (Exception e) {
    e.printStackTrace(System.err);
    HelloServlet.java:
    import java.util.HashMap;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class HelloServlet extends HttpServlet {
    public void service(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
         // getting the parameters
    String name = request.getParameter("name");
    String age = request.getParameter("age");
         //putting them in a hashmap
    HashMap hm = new HashMap();
    hm.put("name", name);
    hm.put("age", age);
         //returning them
    try {
    ObjectOutputStream p = new                                    
         ObjectOutputStream(response.getOutputStream());
    p.writeObject(hm);
    p.flush();
    p.close();
    }catch (Exception e) {
    e.printStackTrace();
    can anyone see a problem. this code is supposed to be run from the command line. and i am doing that.
    thanks for the help,
    erik

  • Running  sql scripts from different directory

    Hi
    I have sql scripts in different directories as follows:
    D:\myapp\sql
    - load.sql
    - init.sql
    D:\myapp\sql\schema
    -users.sql
    -structure.sql
    D:\myapp\sql\populate\
    - data1.sql
    - data2/sql
    load.sql call all the other scripts as below:
    @init.sql
    @schema\users.sql
    @schema\structure.sql
    @populate\data1.sql
    @populate\data2.sql
    All my scripts run correctly when I run load.sql from D:\myapp\sql on comand prompt.
    I need a way to run this script from a different directory say D:\ or C:\
    I am writing a installer which will execute from a different directory.
    Right now I get a file not found error for scripts within schema an populate folder.
    Please let me know how can I make this work from a different directory.
    Thanks
    kelvin

    Hi peter. i think you cannot run files spread across different locations.
    --the method which u specified always looks to the defined path                                                                                                                                                                                                                                                                                       

  • When upgrading quicktime, I get an error code: -3, and itunes will not run.

    when upgrading quicktime, I get an error code: -3, and itunes will not run. How do I fix?

    i 'm very interest because on 3 PC , i have the same problem and i work at tv producer...

Maybe you are looking for

  • Bootcamp Windows 8.1 Overheating on Macbook Pro Mid 2014

    Hello, I recently bought a mid 2014 retina Macbook Pro a few months ago. I got the 2.5Ghz intel i7 16GB RAM. After buying it, I installed Windows 8.1 Pro via bootcamp. So at the moment I'm running Yosemite and Windows 8.1 (Bootcamp). The fan and over

  • Wi-Fi connection strange happenings

    Hi When I connect to Macworld through Wi-Fi the pages open but when I touch on an eddying the iPad returns the following "Unable to reach Macworld Service! The iPad could not reach the Macworld Service. To download the latest magazine content please

  • Home Directory Synchronisation and "DS_Store" files

    I have five clients on Tiger connected to a Tiger server. All clients are 10.4.8. Initially I turned Home Synchronising on, but since turned it off, realising I don't really need it. One of the clients, with the biggest profile, still keeps synchroni

  • 10 Ways to Suck at Email Deliverability

    Why write about ways to suck? Because everyone always writes about how to not suck – and, I’ll admit it, I jacked the twist from a SlideShare presentation recently posted by one of my product marketing directors about how to fail at project managemen

  • R/3 To APO , customized material master data Transfer

    Hello All, i am having an issue , that we need to add two customized fields (PUP price and Std Price) in /SAPAPO/MAT1, Extra Tab. i have added these fields on screen and the output structure for them is assigned as /SAPAPO/MATIO-zverpr, and /SAPAPO/M