Transfer block data to enother block(cafisfying condition)

dear experts,
I have one block
pno pname s_no
001 dddd s001
002 dddd s002
003 cccc s001
I want to transfer certain info(satisfying condition)
from first block
to another block
(example where condition pno=001)
how can i do that? can I write select statement on the first block?
Please help me .
regards,
shalauddin

Follow it:
Re: How export data to Excel
Regards

Similar Messages

  • LabView DSC, RSLinx, SLC505 and Data transfer (Best way for large blocks of data?)

    I am currently programming in Labview 6.1 with the Datalogging and
    Supervisory Control module to transfer 720 floating point numbers to a
    SLC505 Allen Bradley PLC (with ethernet) using RSLinx as an OPC server. I
    have found that using the Datasocket Write takes about 30 - 40 seconds, and
    making the tags and writing to them takes about the same amount of time. Is
    it possible to transfer this data faster?
    Thanks,
    Michael Thomson (Surcher)

    Cyril,
    I was just experimenting with different ways to transfer the data from the
    computer to the PLC. In the past I have built large tag databases with
    specific tag names. This made the code rather cumbersome when you wanted to
    write to a large group of tags with descriptive names. I was just using
    datasocket write as a way to transfer the data to the plc using code to
    build the url and without having the DSC engine running. I have found that
    importing the tags right from the tag configuration editor with the names
    being simply the PLC addresses and then accessing them with the tag write is
    considerably faster (under 5 seconds). I can then build the names in an
    embedded for/next loop and change them to a tag name before I write to each
    one. The appli
    cation is a user interface that allows the machine operator
    to pick what kind of arch to put on cabinet door part. With the selections
    chosen I calculate the servo moves and download the data to the PLC.
    Thanks for the link!
    Michael Thomson
    "Cyril" wrote in message
    news:[email protected]..
    > Michael,
    >
    > I am a little bit confused about the configuration here and the
    > programming here: why are you using Datasocket Write if you are using
    > tags? Are the 720 floating numbers written to 720 different I/O
    > Points(registers). If so this shouldn't be that slow especially with
    > DSC
    > I would strongly encourage you contact the support at National
    > Instruments for LabVIEW DSC, either by phone or e-mail and give a
    > detailed description of the issue:
    > www.ni.com/ask, and communication method phone NI or e-mail NI.

  • Function module  which changes the Storage Unit (SU) Block Data like LS32

    Hi,
    Is there any Function module  which changes the Storage Unit (SU) Block Data as done in  LS32.
    Thank you,
    Prashanth A.

    Hello Pablo.
    Yes we did run LT04 and it does encounter that same error message after clicking the Stock Removal button.  But eventually error msg will be removed by entering the value at the Storage Unit Type field because it directly fills in LTAP-LETYP.
    We have resolved that the function module will not really fill the desired Storage unit type therefore TO background creation is not feasible in our scenario (non-SU managed transfer to SU-managed storage type).  And I found this thread too:  http://scn.sap.com/thread/1947358
    So issue is still open but we have considered of changing the process since this is still just a new scenario for us.
    Thanks a lot for your inputs!

  • Hiding organization data and partner block in IC_AGENT role

    Hello,
       For  Business role : IC_AGENT and under  Work Center  : Interaction record ,we have a screen with three different blocks:
       Overview  Organizational Data  Partner.
       My requirement is to hide Organization Data and Partner block.
       Please suggest how can i do that?
       Regards
       Najm

    Hello Najm,
    for the same purpose I've done in the following way.
    Enhance component ICCMP_BT_INR in BSP_WD_CMPWB if it's not been done yet.
    Enhance view InrHeaderViewSet if it's not been done yet.
    In view controller implementation class for this view (in my case it was ZL_ICCMP_BT_INRHEADERVIEW_IMPL) redefine GET_TAB_LINK_TABLE method in the following way:
    METHOD get_tab_link_table.
    CONSTANTS: c_orgdata TYPE string VALUE 'InrOrgData.BTORGSET/OrgSet',
                c_partner TYPE string VALUE 'InrPartnerId.MainWindow'.
    CALL METHOD super->get_tab_link_table
       RECEIVING
         rt_result = rt_result.
    * hide org. data tab
    DELETE rt_result WHERE id CP c_orgdata.
    * hide partners tab
    DELETE rt_result WHERE id CP c_partner.
    ENDMETHOD.
    Other way is:
    Enhance component ICCMP_BT_INR in BSP_WD_CMPWB if it's not been done yet.
    Go to Runtime Repository Editor there.
    Delete InrPartnerId.MainWindow and InrOrgData.BTORGSET/OrgSet views from the viewarea Header of the ICCMP_BT_INR/InrHeaderViewSet.
    But personally I've preffered first one. Just to remember what was actually there in standard.

  • How do I block data use on my phone?

    I have an LG Cosmos with access to mobile web, mobile email and gps. I don't have a data plan so it would charge me by the mb or whatever. Access to these features is really easy so to prevent accidents or other people playing with my phone from racking up my bill, how can I block data usage? Airplane mode would also turn off my phone signal so how else would I block data?

    tojeza wrote:
    Well when I accidentally hit mine once I was charged $1.99 for it just trying to connect with the block on, was told it would do that when they blocked it for me  but have never done it since so maybe they changed that.  Mary
    Same thing has happened to me now in 2 of the last 3 months.  Had to call and complain as I don't use the mobile web on my phone.
    So you have the data block?  I was told straight out when they put the block on for me you are charged the minimum for it just trying  to connect so I didn't bother to call and have them take it off since it was my fault and I knew that would happen, guess I should have said something.  I am more carefull now with my fingers.    Mary

  • Data from a block to excel

    Hi all !
    I have searched through the forum to save data into excel.
    But I'm in form 10 that run on the web. I want to save the data in a block into an excel file.
    I want to do this in a button with a when-button-pressed trigger.
    Can anyone help me???
    Thanks all,
    Fabrizio

    PROCEDURE FROM_TO_EXCEL IS
    i_reporttitle VARCHAR2(500) := 'My excel';
    dno number(1);
    dn varchar2(14);
    dl varchar2(13);
    r number := 5;
    c number := 1;
    i_orientation VARCHAR2(1000) := '1';
    i number :=1;
    /* definiton for commonly used variables and constants and exceptions */
    ExcelID ole2.obj_type;
    ExcelWorkBooksID ole2.obj_type;
    ExcelWorkBookID ole2.obj_type;
    ExcelWorkSheetsID ole2.obj_type;
    ExcelWorkSheetID ole2.obj_type;
    ExcelCellID ole2.obj_type;
    ExcelFontID ole2.obj_type;
    ExcelPageSetupID ole2.obj_type;
    ExcelArgs ole2.list_type;
    EXCELCellBACKGroundColor ole2.obj_type;
    BEGIN
    ExcelID := ole2.create_obj('Excel.Application');
    ExcelWorkBooksID := ole2.get_obj_property(ExcelID, 'Workbooks');
    ExcelWorkBookID := ole2.invoke_obj(ExcelWorkBooksID, 'Add');
    ExcelWorkSheetsID := ole2.get_obj_property(ExcelWorkBookID, 'Worksheets');
    ExcelWorkSheetID := ole2.invoke_obj(ExcelWorkSheetsID, 'Add');
    ExcelPageSetupID := ole2.get_obj_property(ExcelWorkSheetID, 'PageSetup');
    ole2.set_property(ExcelPageSetupID, 'Orientation',i_orientation);
    ole2.release_obj(ExcelPageSetupID);
    GO_BLOCK('BLOCK_NAME');
    --=========================================================================================
    ExcelArgs := ole2.create_arglist;
    ole2.add_arg(ExcelArgs,i);
    ole2.add_arg(ExcelArgs,c);
    ExcelCellId := ole2.get_obj_property(ExcelWorkSheetId,'cells',ExcelArgs);
    ole2.destroy_arglist(ExcelArgs);
    ole2.set_property(ExcelCellId, 'Value', 'FIRST_FIELD_NAME' );
    ExcelFontId := ole2.get_obj_property(ExcelCellId, 'Font');
    ole2.set_property(ExcelFontId, 'Bold', 'True');
    ole2.set_property(ExcelFontId, 'Size', '10');
    ole2.set_property(EXCELCellBACKGroundColor, 'gray12','TRUE');
    ole2.release_obj(ExcelFontId);
    ole2.release_obj(ExcelCellId);
    ExcelArgs := ole2.create_arglist;
    ole2.add_arg(ExcelArgs,i);
    ole2.add_arg(ExcelArgs,c);
    ExcelCellId := ole2.get_obj_property(ExcelWorkSheetId,'cells',ExcelArgs);
    ole2.destroy_arglist(ExcelArgs);
    ole2.set_property(ExcelCellId, 'Value', 'SECOND_FIELD_NAME' );
    ExcelFontId := ole2.get_obj_property(ExcelCellId, 'Font');
    ole2.set_property(ExcelFontId, 'Bold', 'True');
    ole2.set_property(ExcelFontId, 'Size', '10');
    ole2.set_property(EXCELCellBACKGroundColor, 'gray12','TRUE');
    ole2.release_obj(ExcelFontId);
    ole2.release_obj(ExcelCellId);
    /*AND CONTINUE THIS STEP TO ALL YOUR FIELD*/
    END;

  • Inserting/updating data in control block based on view

    Hi!
    I`ve created a block based on a view to display data.
    I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
    When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
    How can I make a data block based on a view insertable and updateable?
    My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
    Pls advise!!

    Morten
    As well as on-update, on-insert, on-delete triggers you also need an on-lock,
    (even though it might just contain null;) otherwise the form will try to lock the view and fail.
    Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire.

  • Sorting the data of control block in oracle form 10g

    I have two block....both are the control block..
    in first block i select the date and in second block the data of that date is populated.but the data is populated
    using cursor in when-button-pressed trigger of that first block button...
    in cursor the data is selected and placed in field of detail block using into clause.... each field..
    .and one item of detail block is srno which is create in post-query of detail block using
    :sysyem.trigger_record.
    Now i want after populated the detail block the data is sorted desc one of the field of the detail block...
    Can this possible using set_block_property() of block although the block is control block if yes where i should do
    this??????
    Please explian...????

    but with the cursor of repopulate ...how the block is in desc by one field..because if i use again the same cursor to poulate than whats this benefits???
    if i write a cursor in button when-button-trigger in first block like this code....
    go_block('');
    cursor emp_cur is
    select empno,date,sal
    from emp;
    begin
    for i in cur loop
    select i.empno,i.date,i.sal
    into :empno,:date,:sal
    from emp
    end loop
    end;
    this loop populate the block which is controll block..
    syntax error should be ignored ...i wana to explain what i want to do...
    this is not the actual query i have another query but the concept is that...
    how i can do this...

  • Payment to vendor based on blocking date of vendor

    Dear all ,
    We have few regular vendors from which the goods is delivered to our plant .
    Say from vedor "V" We have received 120 ltr of chemical today,
    from tomorrow we have to block this vendor for Purchase order.
    Its possible in Xk05 by assign 01 block function,
    the purchase order creation is blocked .
    But in our case the payment should not be blocked as
    we have to pay him for 120 ltr after 30 days from blocking date .
    pl guide
    regards ,
    FBM
    Note : Typing mistakes corrected,Subject line changed.
    Edited by: Jeyakanthan A on Jun 9, 2011 11:43 AM

    Dear,
    As many of friends are suggested,  MK05 can be used to block PO creation.  At the same time FK05 can also be used to block vendor payments. 
    Once you have blocked the vendor using MK05 system will not allow the users to create PO.
    Once you have blocked the vendor using FK05 sytem restricts you from doing MIRO and subsequent clearing of open items means payment clearing.
    This is the good solution as per your requirement.
    Hari.

  • Blocking data in sts

    Hi all,
    I have a question related to STS (Status and Tracking System) in SEM-BPS and hopefully there is somebody out there that can help me:
    I’m having problems in blocking data in web layouts: I’ve two planning levels and in each one of them, I’m not being able to block data, even after the submission for the highest level for approval (each one of them is linked to a different user).
    I think I’ve the correct authorization objects for each user, and already filled the header characteristics in STS customizing (version and time-dependent) that should allow data blocking.
    Nevertheless, the data still isn’t blocked, at any point of the planning process.
    Also, I’m not able to see the final status (close/release). By the other way, do you think that the fact of not having the sap bw-sem mail server not working could have impact in any of the above points? If so, which one of them?
    Thank you very much for your help.
    Kind Regards,
    Ricardo

    Hi Gil,
    Thank you for your answer.
    I've already (double)checked those two tables to ensure that everything is working as expected.
    Everything seems ok in st01.
    Nevertheless, the lowest level of hierarchy can still open planning layouts after planning is approved.
    Do you have any other direction you can point to me?
    Thanks in advance,
    Best regards,
    Ricardo

  • Automation failing in OSM clustered env and getting -unread block data

    One of the customer is getting following exceptions while trying to place orders on the clustered environment. The same issue is also reported by other two and is discussed in communities (https://communities.oracle.com/portal/server.pt?open=514&objID=187443&mode=2&threadid=367195)
    <04-Jun-2012 11:20:11,369 ICT AM> <ERROR> <message.ClusterMessageHandlerBean> <ExecuteThread: '37' for queue: 'oms.automation'> <Failed to process cluster request for order ID [100739]>
    java.lang.IllegalStateException: unread block data
         at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2376)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1360)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
         at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
         at weblogic.rmi.internal.ServerRequest.copy(ServerRequest.java:261)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
         at com.mslv.oms.security.base.OMSRequestBalancer_y7pdy3_EOImpl_1033_WLStub.routeRequestToRemoteJMSDestination(Unknown Source)
         at com.mslv.oms.automation.plugin.l.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    <Jun 4, 2012 11:20:11 AM ICT> <Error> <oms> <BEA-000000> <message.ClusterMessageHandlerBean: Failed to process cluster request for order ID [100739]
    java.lang.IllegalStateException: unread block data
         at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2376)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1360)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
         Truncated. see log file for complete stacktrace
    >

    Logs clearly indicates that OSM is running in legacy mode. “OMSRequestBalancer_y7pdy3_EOImpl_1033_WLStub.routeRequestToRemoteJMSDestination” will not come in picture in case of optimized mode.
    Please make sure below settings:
    1)     Studio – optimized mode.
    2)     Cartridge target version 7.0.3

  • How to validate the field when i am populating the data cursor to block

    Hi,
    I am populating data cursor to multi record block.
    Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
    If user enter negative values and decimal points in quantity filed i need to display message to user item level.
    Please do the needful how to do it.

    902434 wrote:
    Hi,
    I am populating data cursor to multi record block.
    Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
    If user enter negative values and decimal points in quantity filed i need to display message to user item level.
    Please do the needful how to do it.If you want to validate at entry level then use When-Validate-Item trigger and check the input and show message. Like
    If :quentity <0 then
    message('do not enter negative value');
    message('do not enter negative value');
    raise form_trigger_failure;
    end if;Why u open same thread again ? not closing one.. check this one
    </a>
    How to validate the field when i am populating the data cursor to block
    Hopes this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • I have Problem in fetching data from CONTROL BLOCK

    Sir,
    I am facing problem in fetching data from control block.
    Asif.

    is your control-block a filter-block for the detail-block?
    Do you want to see only the detail-data of the user-id you have displayed in the master?

  • Transfer stock from Unrestricted to blocked

    hi gurus,
    Is there movement type that I can use to transfer material from unrestricted to block?
    thanks

    Hi
    Yes, This is reversal of 343 mvy type. Please rewared points and close the thread if it works.
    regards
    Srinivas

  • ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)

    When i tried to export data from db (Oracle 11g, 64bit on Linux)
    Im getting following error
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
    ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
    EXP-00083: The previous problem occurred when calling EXFSYS.DBMS_EXPFIL_DEPASEX P.schema_info_exp
    EXP-00008: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01578: ORACLE data block corrupted (file # 1, block # 55497)
    ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i nfo_exp
    . exporting foreign function library names for user WB_APP_MANAGER
    . exporting PUBLIC type synonyms
    EXP-00008: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01578: ORACLE data block corrupted (file # 1, block # 44638)
    ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
    EXP-00000: Export terminated unsuccessfully
    I donot understand how to solve this issue Please help me to solve this issue..
    Thanks

    891620 wrote:
    When i tried to export data from db (Oracle 11g, 64bit on Linux)
    Im getting following error
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
    ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
    EXP-00083: The previous problem occurred when calling EXFSYS.DBMS_EXPFIL_DEPASEX P.schema_info_exp
    EXP-00008: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01578: ORACLE data block corrupted (file # 1, block # 55497)
    ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i nfo_exp
    . exporting foreign function library names for user WB_APP_MANAGER
    . exporting PUBLIC type synonyms
    EXP-00008: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01578: ORACLE data block corrupted (file # 1, block # 44638)
    ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
    EXP-00000: Export terminated unsuccessfully
    I donot understand how to solve this issue Please help me to solve this issue..
    Thanksrun dbv against '/u02/oradata/RSDB1/system01.dbf'
    & post results back here
    dbv
    DBVERIFY: Release 11.2.0.1.0 - Production on Fri Oct 14 20:39:11 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Keyword     Description                    (Default)
    FILE        File to Verify                 (NONE)
    START       Start Block                    (First Block of File)
    END         End Block                      (Last Block of File)
    BLOCKSIZE   Logical Block Size             (8192)
    LOGFILE     Output Log                     (NONE)
    FEEDBACK    Display Progress               (0)
    PARFILE     Parameter File                 (NONE)
    USERID      Username/Password              (NONE)
    SEGMENT_ID  Segment ID (tsn.relfile.block) (NONE)
    HIGH_SCN    Highest Block SCN To Verify    (NONE)
                (scn_wrap.scn_base OR scn)         

Maybe you are looking for

  • HP Omen 15-5000na Wireless is absolutely unusable

    Last month I purchased an Omen 15-5000na from a local reseller. The unit I got, out of the box, was registering "ghost" touches around the bottom left corner of the screen, which other customers are also reporting, and was sent for RMA the next day.

  • Can't reset password for FF Account

    I'm trying to reset the password on my FF Account. Every time I ask for a reset link, The link that I'm given results in a page that says "Reset password link expired" I've no clue how to get past this.

  • Loud noise when burning CD and will not burn DVD

    I bought an iMac a week ago and have been trying to burn DVDs - from finder, toast, popcorn and i have tried different brand DVDs and +R & -R all to no avail. i get a error message everytime. I can burn CDs, but it makes a really loud whirring sound

  • Changing multipel Adress Book entries at once?

    Heya everybody. Does anyone know any way to change like a 100 Adress Book entries at once? I have a bunch of contacts that work at the same company. And say for example that the company changed name from Banana Computers to Banana Hardware and I just

  • Planet 3 creating problem in my E71

    Hi friends I am using nokia E71 IN INDIA which is received from Australia in this mobile three.net software crating problem my divice continuously search three network if I disable it some of application is not working in my phone please suggest what