Reading notepad data to itab

Hi,
To read the following the following data which is there in a notepad, i have used the function module 'UPLOAD'. Declared the internal table with a variable of type string & passing in the TABLES DATA_TAB parameter of this function module. Not able to capture the last weight number 5.56 in the same. Plz let me know the approach. The data file will be in two formats either in NOTEPAD or HyperTerminal File.
Notepad contains the following data:
HyperTerminal 1.0 -- HyperTerminal data file
Please do not attempt to modify this file directly.
      e  
PdepsonPD   H  u             VT100    N' ú EgNew Connection   &  Hï  ·FEg  &    tï  u02DCï   N'   Tï  *  |ï  ·FEg  *    øK'  N' àK'    |ï  ¬ Eg N' u02DCï  -dDg  *    øK' " < ïÿÿÿ ÿ Courier New #   $   d A     B   044 C   D   Ðu!ZF     G   H   COM3 Q   R      a C:Documents and SettingsTest-tagStart MenuProgramsAccessoriesCommunicationsHyperTerminal )     *     2  t S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 0 0 g
S 0 . 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 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g
S 5 . 5 6 g 5     6                       
                   `                              "   #     $   ,  %   <  &     '   0 < íÿÿÿ ÿ Terminal ÈB§  ÂÂw ð  Dgèð  @     A    
Pl. let me the solution to get this.
Thanks in advance.
Regards,
Balaji

Hi,
Yes,
Type of file: HyperTerminal File
Opens with: Hyper Terminal Applet
I have opened it with notepad & pasted here. Always the original file data is like that only.
My requirement is:  the last weight means,  5.56 g, should be captured in a variable.
Let me know hw to achieve this?
Thanks in advance.
Regards,
Balaji

Similar Messages

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • Table Control, change data of itab on enter-click

    Hello all, I have an itab gt_task_704 which I use to display in a table control.
    When the user changes a field and pushes on the ENTER-KEY, I'm trying to modify this itab with the new content.
    The issue I have is that some fields are updated with faulty content.
    In PAI I'm doing the following:
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TC_705'
      LOOP AT gt_task_705.
        CHAIN.
          FIELD gs_task_705-zzpcod.
          FIELD gs_task_705-zprest_descr.
          FIELD gs_task_705-zmdhrs.
          FIELD gs_task_705-zhrs.
          FIELD gs_task_705-discipline.
          FIELD gs_task_705-zmdpctouts.
          FIELD gs_task_705-zpctouts.
          FIELD gs_task_705-zmdpctovhd.
          FIELD gs_task_705-zpctovhd.
          FIELD gs_task_705-zcomment.
        ENDCHAIN.
        MODULE update_table_705. "INPUT.
      "MODULE sort_705.
      ENDLOOP.
    ====> update_table_705:
      DESCRIBE TABLE gt_task_705 LINES gv_lines_705.
      IF tc_705-current_line LE gv_lines_705.
        "READ TABLE gt_task_705 INTO gs_task_705 INDEX tc_705-current_line.
        SHIFT gs_task_705-zhrs LEFT DELETING LEADING '0'.
        MODIFY gt_task_705 FROM gs_task_705 INDEX tc_705-current_line
                           TRANSPORTING zhrs zpctouts zpctovhd.
      ENDIF.
      CLEAR gs_task_705.
    It seems like a problem of sorting I think but I still didn't manage to change the correct lines.
    Can someone please give a helping hand to this young abap'er
    Thanks in advance

    Mr.Dragovian you write the module between chain..endchain.
    chain.
    module Md1 on chain-input.
    endchain.
    MODULE Md1 INPUT.
       modify itab INDEX tc-current_line  transporting fld(s).
    ENDMODULE.
    By this way,you will be able to get the correct user-entered data into itab.

  • How to download data from itab to Excel sheet..

    Hi sap Experts,
    I develop one report to download data from itab to excel sheet.I done it perfectly.
    My doubt is in the excel sheet i need to put headings. and also at last i need to display total no.of Records.
    Please help me how to do this.
         Thanks in Advance....
    Thanks and Regards
    Siri.......................

    u can either use GUI_DOWNLOAD or the method below...just give a try
    DATA:WK_string TYPE STRING.
    DATA:Wk_EXT(4) TYPE C value '.xls'.
    DATA:WK_path TYPE STRING.
    DATA:wk_file_name type string.
    data:wk_records type sy-tfill.
    wk_file_name = 'Downloaded'.
    describe table itab lines wk_records.
    LOOP AT ITAB.
    at first.
    **Provide path
    concatenate 'C:\' wk_file_name Wk_EXT into wk_path.
    open dataset WK_path for output in text mode encoding default.
    if sy-subrc  0.
    write:'ERROR while opening dataset !!!!!!'.
    EXIT.
    endif.
    CONDENSE wk_path.
    **Heading Part
    concatenate 'Part No' 'Description'
         into wk_string separated by cl_abap_char_utilities=>horizontal_tab.
    endat.
    **Data ITAB
    CONCATENATE ITAB-MATNR itab-maktx into wk_string
         separated by cl_abap_char_utilities=>horizontal_tab.
    transfer wk_string to WK_path.
    at last.
    clear wk_string.
    Concatenate  'Records Passed:' wk_string into wk_string.
    transfer wk_string to WK_path.
    close dataset WK_path.
    endat.
    endloop.

  • How to read a data file combining strings and data

    Hello,
    I'm having a data file combining strings and datas to read. I'm trying to read the filename, time, constants and comments into four seperate string indicators (the lines for the comments varies for different files). And read the data into a 2-D numeric array. How can I do this? Is there any function that can serch special characters in the spreadsheet file so I can exactly locate where I should start reading the specific data. The following is how the data file appears. Thank you very much.
    Best,
    Richard
    filename.dat
    14:59:00 12/31/2009
    Sample = 2451
    Frequency = 300, Wait time = 2500
    Temperature = 20
    some comments
    some comments
    some comments
    some comments
    some comments
    7.0000E+2    1.5810E-5
    7.0050E+2    1.5400E-5
    7.0100E+2    1.5500E-5
    7.0150E+2    1.5180E-5
    Message Edited by Richard1017 on 10-02-2009 03:10 PM
    Solved!
    Go to Solution.

    Hi,
         I'm fairly new to the NI forums too and I think you just have to wait longer.  Your post was done right.  I do a similiar function as to what you are talking about except I read in numbers from a file.  I create an ini file (just a notepad file of type *.ini) that is is set up with sections inside brackets [] and keys with whatever name followed by an = sign.  You may be able to use a *.dat file too, I just haven't.  Then the vi attached goes to that file and reads the keys from those sections.  You just repeat for the different sections and keys you want to read.  You can use similar provide VI's to write to that same file or create it.  Let me know how that works. 
    Attachments:
    Help1.ini ‏1 KB
    Help1.vi ‏10 KB

  • Issue for retrive data form ITAB in SAP R/3

    Case:HOW CAN WE FETCH DATA FROM TRANSPARENT TABLE
    scenario:calculating net price for material on sales order
    (on the basis of material number,sales organization,distribution channel,division,sale to partY ,sales office)
    For this 5 prices are calculated :
    a)zmrp
    b)zlbj
    c)zmlb
    d)zdij
    e)mwst
    A bapi is developed through which all these data are fetched using joins on transparent and pooled tables.
    Bapi is properly working in Sap Environment.But when fetching data from non sap environment(.NET) only pooled tables are returning data.
    Transparent tables are returning blank data.
    And also if in query of transprent table if  in " where Clause " all parameters are hard codded then transparent table also return data in non sap envirnment.
    for eg...
    instead of writing ---
    select data from tranparent table where matnr= (matnr variable made in bapi entered by user) and vkorg=(sales org  variable made in bapi) ....same with all conditions
    if we write(returing data)----
    select data from tranparent table where matnr='5476665987' and vkorg='1400' ....same with all conditions
    BAPI Code is given below:
                                                                                    FUNCTION ZBAPI_BAR3.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(MATNR) TYPE  ZBAPI_IMPORT2-MATNR
    *"     VALUE(VKORG) TYPE  ZBAPI_IMPORT2-VKORG
    *"     VALUE(VTWEG) TYPE  ZBAPI_IMPORT2-VTWEG
    *"     VALUE(KUNNR) TYPE  ZBAPI_IMPORT2-KUNNR
    *"     VALUE(SPART) TYPE  ZBAPI_IMPORT2-SPART
    *"     VALUE(AUART) TYPE  ZBAPI_IMPORT2-AUART
    *"     VALUE(VKBUR) TYPE  ZBAPI_IMPORT2-VKBUR
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRETURN
    *"  TABLES
    *"      ITAB STRUCTURE  ZBAPI_TABLE3
      DATA: LAND1  LIKE KNA1-LAND1  ,
            REGIO  LIKE KNA1-REGIO  ,
            WERKS  LIKE VBAP-WERKS  ,
           KNUMH  LIKE A004-KNUMH  ,
                   KNUMH LIKE ZBAPI_TABLE3-Knumh  ,
            KBETR   LIKE  COND_KONW-Kbetr ,
           LIKE ZBAPI_TABLE3-KBETR  ,
          KNUMH1(10) TYPE C ,
                KNUMH2(10) TYPE C ,
                KNUMH3(6) TYPE C ,
         KNUMH2 LIKE ZBAPI_TABLE3-KNUMH  ,
         KNUMH3 LIKE ZBAPI_TABLE3-KNUMH  ,
         KNUMV LIKE  ZBAPI_TABLE3-KNUMV  ,
            KDGRP  LIKE KNVV-KDGRP  ,
            TAXKD  LIKE KNVI-TAXKD  ,
            TAXM1  LIKE MLAN-TAXM1  ,
            ADRNR  LIKE TVBUR-ADRNR ,
            REGION LIKE ADRC-REGION ,
            DATE  TYPE A503-DATAB .
      SELECT SINGLE KDGRP FROM KNVV INTO KDGRP WHERE KUNNR  = KUNNR AND VKORG = VKORG AND VTWEG = VTWEG AND SPART = SPART   .
      SELECT SINGLE LAND1 REGIO  FROM KNA1 INTO (LAND1,REGIO)  WHERE KUNNR  = KUNNR .
      SELECT SINGLE WERKS FROM VBAP INNER JOIN VBAK ON VBAPVBELN = VBAKVBELN  INTO WERKS  WHERE AUART = AUART  .
      SELECT SINGLE TAXKD FROM KNVI INTO TAXKD WHERE KUNNR = KUNNR AND ALAND = LAND1 AND TATYP = 'MWST' .
      SELECT SINGLE TAXM1 FROM MLAN INTO TAXM1 WHERE MATNR = MATNR AND ALAND = LAND1  .
      SELECT SINGLE ADRNR FROM TVBUR INTO ADRNR WHERE VKBUR = VKBUR  .
      SELECT SINGLE REGION FROM ADRC INTO REGION WHERE ADDRNUMBER = ADRNR   .
      DATE = SY-DATUM .
      SELECT SINGLE KNUMH FROM A931 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = VKORG AND VTWEG = VTWEG AND WERKS = '1410' AND KUNNR = KUNNR AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
    SELECT SINGLE KNUMH FROM A931 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = '1400' AND VTWEG = '10' AND WERKS = '1410' AND KUNNR = '0000100163' AND MATNR = 'A10AN027PNSL' AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
      SELECT SINGLE zkarigar FROM zkari INTO KNUMH1 WHERE erdat = '20070410' .
    SELECT SINGLE KNUMH FROM A004 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = VKORG AND VTWEG = VTWEG AND MATNR = MATNR  AND DATAB LE DATE AND DATBI GE DATE  .
    *'0000280050'
    CLEAR KNUMH .
    CLEAR KBETR .
    SELECT SINGLE KNUMH FROM A503 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'MWST' AND ALAND = LAND1 AND WKREG = REGION AND REGIO = REGIO
    AND TAXK1 = TAXKD  AND TAXM1 = TAXM1 AND KFRST = SPACE  AND DATAB LE DATE AND DATBI GE DATE and knumh = '0000279708'.
    concatenate '0000' KNUMH into knumh1 .
    **KNUMH1 = KNUMH .
    **select single kbetr from konp into kbetr where knumh = knumh1 .
    **knumh3 = knumh1+4(6) .
    ***itab-kbetr = kbetr .
    **concatenate '0000' knumh3 into knumh2 .
    **write:/ knumh2 .
    ITAB-KNUMH1 =  KNUMH2 .
    ITAB-KNUMH1 = KNUMH1 .
      APPEND ITAB .
    *loop at itab .
    *write:/ itab-knumh1 .
    *endloop .
    CLEAR KNUMH .
    CLEAR KBETR .
      SELECT SINGLE KNUMH FROM A940 INTO KNUMH WHERE KAPPL = 'V' AND KSCHL = 'ZDIJ' AND VKORG = VKORG AND VTWEG = VTWEG AND KDGRP = KDGRP AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE .
      SELECT SINGLE KNUMH FROM A931 INTO KNUMH WHERE KAPPL = 'V' AND KSCHL = 'ZDIJ' AND VKORG = VKORG AND VTWEG = VTWEG AND WERKS = WERKS AND KUNNR = KUNNR AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
    ITAB-KNUMH =  KNUMH.
    APPEND ITAB .
    CLEAR KNUMH .
    CLEAR KBETR .
    ITAB-KNUMH =  KNUMH .
    APPEND ITAB .
    COMMIT WORK AND WAIT.
    ENDFUNCTION.
    Thanks & Regrds
    Amrish

    I believe you posted in the wrong forum.
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    Ludek

  • PI 7.3 - AEX "unable to read configuration data" and login problems

    Hello Friends,
    after installation of AEX, i'm facing some problems.
    1.I'm not able to login with any user, i created during installation wizard. So i cannot check any user in NWA -> User Administration.
    2.Once more, while opening http://<host>:<port>/rep or http://<host>:<port>/dir, i get the following error message.
    Can somebody help me?
    I think, there is a problem with the users, which have been created during installation. How can i check this? Is there any chance?
    Second, if i'm able to login, i have to import the exchange profile again. This should solve the problem. Or is this wrong?
    PI (http://<host>:<port>/dir/start/index.jsp). Below is the part of the error message that is showing up. Appreciate your suggestions:
    Exception class: com.sap.aii.utilxi.prop.api.PropertiesException$InitFailed
    Message
    Unable to read configuration data (ExchangeProfile/aii.properties)
    Stacktrace
    Thrown:
    com.sap.aii.utilxi.prop.api.PropertiesException$InitFailed: Unable to read configuration data (ExchangeProfile/aii.properties)
    at com.sap.aii.utilxi.prop.api.PropertySourceFactory.initServerMode(PropertySourceFactory.java:220)
    at com.sap.aii.utilxi.prop.api.AIIProperties.initServerMode(AIIProperties.java:518)
    at com.sap.aii.ib.server.applcomp.StartupServerProperties.initPropertiesForServer(StartupServerProperties.java:97)
    at com.sap.aii.ibdir.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:151)
    at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:43)
    at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
    at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:438)
    at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:203)
    Please let me know if I am not clear.
    Edited by: Clarence on Feb 6, 2012 3:28 PM
    Edited by: Clarence on Feb 6, 2012 3:28 PM

    hi,
    >>>>Second, if i'm able to login, i have to import the exchange profile again. This should solve the problem. Or is this wrong?
    if you have java stack only there is no exchange profile anymore...
    https://weblogs.sdn.sap.com/pub/wlg/28334
    Regards,
    Michal Krawczyk

  • FCP error message: Unable to read the data on your source tape!

    Hey,
    So I have been editing on the MacPro now for over a year and I have never seen this message before...the message reads:
    _*"Capture encountered a problem reading the data on your source tape. This could be due to a problem with the tape."*_
    Has anyone got this message and could help me out please? I need to edit these tapes A.S.A.P.
    Thank You,
    Erick

    why would it start a month later giving me problems instead of when it was updated?
    That is a good point. Anything change since the time it worked to when it didn't? How about trying another firewire cable. Those can go south without notice, might cause this.
    Shane

  • Problem in Read Master Data rule type in Transformation

    Hi,
    I have 'Tax Classification' & 'Sales Territory' as attributes for 0customer (Master data).  I loaded master data for 0customer & data have come up for this 2 fields.  I want this 2 fields in my DSO with data filled.  As this 2 fields are not in Transaction datasource of my DSO,  i added this 2 fields in the Target side in Transformation of the DSO.  In Transformation, I gave the rule type as 'Read Master Data'  from attribute of '0customer' & mapped KUNAG (Sold-to) to this 2 fields.  Activated the Transformation & executed the DTP.
    When i check the data, i could see that the Infoobject 'Sales Territory' column alone is filled but 'Tax Classification' column is blank.  Tax classification has data in 0customer master data for the displayed customer values but still data is not coming in DSO.
    How does this happen when both the fields have same mapping & rule type and still data not getting populated for one field alone.  Am i missing anything?
    Regards,
    Murali

    hi,
    the green request in MD does not means that the data in MD is activated, you need to activate it after loading everytime so that it reflects in where used list as well.
    regards,
    Arvind.

  • How to read the data in excel sheet

    Dear sir,
    How to read the data in excel sheet when i recieve a data serial communication... ie i have store a data in excel such that
    Cell A       Cell B
       A           Apple 
       B           Ball
       C           Cat
       D           Doll
    when i recieve A from serial communication i have to display Apple, and when i recieve B i have to display Ball and so on.. 

    Hi, 
    I would recommend you to have a look at the VI attached. It makes use of a VI named 'Read from Spreadsheet' to read the row and column data from the tab delimited excel file. The read data is then searched for the Alphabet specified and finally returns you the corresponding string. The test file used to validate the operation of the VI is also attached. 
    Trust this would help you solve the issue. 
    Regards, 
    Sagar G Yadav | Application Engineer | National Instruments
    Attachments:
    read_from_excel.vi ‏10 KB
    Book1.txt ‏1 KB

  • Read Master Data for Process order status change (REL to CRTD)

    I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2)
    The reason it says, error in BOM reading, Transport Requirement (TR) already generated.
    Even after deleting the TR (LB02), the issue still exists.
    Is there another way of changing the status or some more steps are needed for the TR deletion?
    Thnx!
    Abhi.

    Order header Status-
    REL  Released
    MSPT Material shortage
    PRT  Printed
    PRC  Pre-costed
    BASC Batch assignment complete
    BCRQ Order to be handled in batches
    SETC Settlement rule create.
    In the error log it gives-
    Diagnosis
    Transfer requirements have already been generated, so therefore the bill of material cannot be read.
    System Response
    The system does not execute the action.
    Then I deleted the TR (LB02), but still I cannot reread the master data.
    The MSPT was for only 2 materials out of 6 and there is no GMPS status.
    There is prod supply area and control cycle used.
    and the TR generated at order release.

  • How do I change the default from"Mark message as read by date" to "Mark message as read"?

    When I migrated from Windows XP to Windows 7 I downloaded & installed a new version of Thunderbird (v4.10.2) and retrieved my Mail files to the new profile. Everything seems to be working properly except that whenever I close an open message I get the "Mark messages as read by date" popup which has the current date but wants me to specify a starting date. This didn't happen in my previous installations (I've used Thunderbird for years). Options / Advanced / Reading & Display has "Automatically mark messages as read" checked and "Immediately on display" set, but I haven't found anything that lets me choose "Mark as read" rather than "Mark as read by date". How do I turn the "by date" off?
    Thanks --

    'Mark Message as read by Date'
    This can be invoked by right click on email in list and select 'Mark' > 'As read by date' to invoke the 'Mark Message as read by Date' pop up window.
    If you are reading an email in either the Message Pane or in a new tab and press the 'C' key, this will open the 'Mark Message as read by Date' pop up window.
    So can you tell us exactly how you are ''closing'' a previously unread message.
    Do you select an email in the list so that it displays in the Message Pane? Then you do not need to close it because this will auto happen when you select another email in the list.
    OR do you double click to open an email in a tab. Then how do you close it? There are some options on how to do this:
    # Do you click on the small 'x' located in the tab?
    # do you use 'Ctrl'+'W' ?
    # Do you right click on tab to show drop down options and then press 'C' key?
    I notice that there is a similar action - pressing of 'C' key.
    If you do not right click to get drop down, but instead just use 'C' key, you will invoke the 'Mark Message as read by Date' window.
    Can you check what it is you are doing

  • How to read a data from USB port using JAVA

    hi all,
    i need to know how to read a data from USB port using java. any API are available for java ?.........please give your valuable ideas !!!!!!!!!
    Advance Thanks!!

    You can do this. Please use this link
    [http://www.google.co.in/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=uHu&q=java+read+data+from+usb+port&btnG=Search&meta=&aq=f&oq=]
    What research did you do of your own? Have you done some testing application and tried yourself??

  • How to read the data from Excel file and Store in XML file using java

    Hi All,
    I got a problem with Excel file.
    My problem is how to read the data from Excel file and Store in XML file using java excel api.
    For getting the data from Excel file what are all the steps i need to follow to get the correct result.
    Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
    Thanks & Regards,
    Sreenu,
    [email protected],
    india,

    If you want someone to do your work, please have the courtesy to provide payment.
    http://www.rentacoder.com

  • ITunes cannot read the data on my iPod touch

    Just three weeks or so ago, I was able to use iTunes without any problems to put a few songs on my iPod Touch 2nd Gen. Recently, however, whenever I try to connect my iPod to iTunes via USB, I get an error message that says something along the lines of: "iTunes cannot read the data on xxx's iPod Touch. Go to the Summary tab and choose Restore to restore this iPod to it's original factory settings.". I don't know why it says this since my iPod is functioning normally. My iPod shows up on the left hand side of the iTunes window as "iPod" instead of "xxx's iPod Touch" like it used to. The only options I have are Check for Update (disabled) and Restore. Is there any way to fix this without restoring my iPod? And if I have to restore, can I do so without losing (or having to re-transfer) any of my data that hasn't been or can't be backed up? Please help and thanks in advance!
    P.S. My iPod is in its genuine state: it hasn't been jailbroken or anything like that.

    Unfortunately, I've already tried that. Also, here is a list of other things I've tried, but have taken no effect:
    -Recharging, Restarting, Resetting, and Reconnecting my iPod Touch to my computer
    -Restarting my computer
    -Reinstalling iTunes
    -Reinstalling all iTunes, Apple, and iPod USB drivers
    -Updating the same drivers (but no updates were found)
    -Using a different USB port
    -Connecting to a different computer (doesn't work on my Toshiba laptop either, which is running the same OS and the same version of iTunes as my PC)
    My backup plan was to copy the new songs to my iPod by pasting them through Windows Explorer. My iPod shows up as a portable device under My Computer - as always - but the only thing I can access is a folder full of the photos on my iPod. I think this is normal, but I can't do what I want to do! Do you (or anyone else) have any other good ideas? Remember, I really don't want to do a restore unless I absolutely have to.

Maybe you are looking for

  • Deployment of a crystal report application with visual 2005

    Hello all, I am very new at .NET, and this is my first post to this forum. I've created a report  (example.rpt) with Crystal Reports 2008. Then I've installed "Crystal Report for visual .net 2005 component". Then I've  imported it in a vb.net project

  • SAP Query restriction by Company

    Dear SAP Experts, I would like to ask an opinion of how to create a general solution for creating SAP queries regarding this requirement: 1) Create a query via SAP Query (transaction SQ01) 2) Use a pre-created infoset (VBRK-VBRP header-detail connect

  • Dictionary in Mail - how to have French & German, too

    I have the multi-language spellcheck with Mail - but the dictionary is just English. So, of course, is my Dictionary program with 10.5.8 Leopard, US edition. But how to get the French and German dictionaires as well? And how to link them to Mail? Tha

  • The application Microsoft Word can't be opened - 1712

    Now, suddenly, I cannot open it, or read/create any files, even though I can see the documents in my folders, and the light under the Icon is lit on the dock. When I open my Applications Folder, Word is shown as in there, but when I clicked on it, I

  • How handle short "apdu" command ?

    Hi, I'm currently working on a project where I have to develop an applet to anwser to some specific commands. But some of these commands are only 2 byte length and consequently, don't match with APDU ISO schema (4 byte mandatory). So the answer I obt