How to put the value in Header test while creating the sales order

Hi ,
I am creating the Sales order using the Idoc Orders05 .
I have to pass the value in the header text 1. the value is a transaction id which is a string value.
If anyone has an idea how to do this using the the Orders Idoc. it would be a great help
Thanks
Nikhil

If you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
Regards
Sridhar

Similar Messages

  • HT3275 Time machine couldn't complete the backup. an error occured while creating the backup folder

    Time machine couldn't complete the backup. an error occured while creating the backup folder Why does this happen?

    hello,
    http://pondini.org/TM/C10.html
    http://Pondini.org/TM/FAQ.html
    http://pondini.org/TM/Troubleshooting.html
    Can't imaging something not being covered there.

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Getting *Not all values are bound* error while creating the VO

    Hi
    When i create a VO with the following query i am getting ORA-01008: not all variables bound error after giving apply.
    The Query is:
    SELECT
    emp.full_name CSA,
    COUNT(*) "Total # disputes",
    SUM(rac.total_amount) "Total Dispute Amt",
    (SELECT
    COUNT(jtb4.task_id)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) = trunc(SYSDATE)
    AND rac4.org_id = *:1*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "#D's on Today",
    (SELECT
    NVL (SUM (rac4.total_amount), 0)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) = trunc(SYSDATE)
    AND rac4.org_id = *:2*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp on Today",
    (SELECT
    COUNT (jtb4.task_id)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) < trunc(SYSDATE)
    AND rac4.org_id = *:3*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "#D's <Today",
    (SELECT
    NVL (SUM (rac4.total_amount), 0)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) < trunc(SYSDATE)
    AND rac4.org_id = *:4*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp<Today",
    (SELECT
    COUNT (jtb4.task_id)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) > trunc(SYSDATE)
    AND rac4.org_id = *:5*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.owner_id=emp.resource_id
    AND jtb4.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "#D's >Today",
    (select
    nvl(SUM (rac4.total_amount), 0)
    FROM
    jtf_tasks_b jtb4,
    ra_cm_requests_all rac4
    WHERE
    rac4.request_id = jtb4.attribute8
    AND jtb4.attribute_category = 'Dispute'
    AND trunc(jtb4.scheduled_end_date) > trunc(SYSDATE)
    AND rac4.org_id = *:6*
    AND jtb4.owner_type_code = 'RS_EMPLOYEE'
    AND rac4.status = 'PENDING_APPROVAL'
    AND jtb4.open_flag = 'Y'
    AND jtb4.owner_id=emp.resource_id
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp4
    WHERE rac4.customer_trx_id = arp4.customer_trx_id
    AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp>Today",
    MIN(jtb.scheduled_end_date) "EARLIEST_END_DATE",
    MAX(jtb.scheduled_end_date) "LATEST_END_DATE"
    FROM
    jtf_tasks_b jtb,
    ra_cm_requests_all rac,
    jtf_rs_emp_dtls_vl emp
    WHERE
    rac.request_id=jtb.attribute8
    AND jtb.owner_id=emp.resource_id
    AND jtb.attribute_category='Dispute'
    AND rac.org_id =*:7*
    AND jtb.scheduled_end_date IS NOT NULL
    AND rac.status = 'PENDING_APPROVAL'
    AND jtb.owner_type_code = 'RS_EMPLOYEE'
    AND jtb.open_flag = 'Y'
    AND EXISTS (SELECT 1
    FROM apps.dnb_ac_orc_coll_csa_map_s orc
    WHERE orc.csa_id = jtb.owner_id
    AND NVL(orc.attribute1,107) = *:8*
    AND orc.customer_segment = *:9*
    AND EXISTS (SELECT 1
    FROM ar_payment_schedules_all arp
    WHERE rac.customer_trx_id = arp.customer_trx_id
    AND arp.amount_in_dispute IS NOT NULL
    GROUP BY emp.full_name
    ,emp.resource_id
    I dont have any cue why the error is prompting while creating the VO itself. Kindly let me know the issue with the above query.
    Thanks,
    Praveen

    Praveen,
    In the Query , you are given alias name like "#D's on Today" . Avoid to use special charaters in coulmn alias in the view query, as the alias name is failed to conver it into view attributes.
    During creating view object, in the query screen, there is dropdown which is below the query region. By default it is style of "oracle named" , changed it to "Oracle Positional".
    Thanks,
    Kumar

  • How to resolve the issue of route while creating a sales order using IDOC

    Hi,
    When I am creating a sales order mannualy the the route is correct and matching  also but while using IDOC try to create a sales order then the route is showing wrong.
    I tried to debug the program SAPMV45A but I am not getting anything.
    Could any body help me on this.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi Bansidhar,
                 You need to debug the Function Module thats assigned to your Process code.
                 In standard config for Sales Order, Process Code ORDE is assigned to FM IDOC_INPUT_ORDERS. And this FM uses Call Transaction Method to create Sales Orders. SO you can  debug this FM.
               Hope this helps you solving the problem.
    Regards
    Srikanth  M

  • How to pass delivery date through BAPI while creating a sale order

    Dear frndz,
         I am using 'BAPI_SALESORDER_CREATEFROMDAT1'
    to create a sale order .
        I don't have any problem..
        But I have to pass schedule line delivery date through this bapi .
       I used REQ_DATE in structure BAPISCHDL.
       But I can' t get it.
       Through which parameter can i meet this..
       The sale order should be created line item wise along with my delivery date..
      Any suggestions...
    regards.
    siva

    Dear frnd,
        Danq for your response..I can't use DLV_DATE for this requirement..
        But I used REQ_DATE in the structure BAPISCHEDULE .
       I came to know that the problem i faced previously  was only
    internal data conversion.
        Now am able to pass my delivery date..
        so I am closing the thread..
    Regards.
    siva

  • How to fill the configuration data while creating a sales order

    Hi,
       I am creating Sales order through BAPI_SALESORDER_CREATEFROMDAT2, the order is getting created but I am not getting the characteristic values. I filled the structures required for the configuration part.
      If possible please post the code for the config part.
    Thanks,
    Sarath.

    Hi,
    Here for your reference:
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
          EXPORTING
            salesdocumentin     = w_line-vbeln
            order_header_in     = order_header_in
          IMPORTING
            salesdocument       = salesdocument
          TABLES
            return              = return
            order_items_in      = order_items_in
            order_partners      = order_partners
            order_schedules_in  = schedules_in
            order_conditions_in = conditions_in
            order_text          = order_text.
    Rgds,
    Jenny

  • The FOD schema error our while creating the database. Please help.

    I couldn't run the schema for the FOD demo application. when I follow the steps, I get some exception during the database create part.
    From the File menu, choose Open. Open the workspace c:\temp\Infrastructure\infrastructure.jws.
    ( I edited the build.properties with correct values)
    In the MasterBuildScript project, select the build.xml file. In the Structure window, right-click the refreshSchema target and choose Run Target "refreshSchema."
    refreshSchema:
    [sql] Feb 13, 2008 4:44:54 PM oracle.jdbc.driver.OracleDriver registerMBeans
    [sql] SEVERE: Found Oracle Apps MBeanServer but the getMBeanServer method threw an exception.
    [sql] java.lang.reflect.InvocationTargetException
    [sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [sql] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [sql] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [sql] at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:274)
    [sql] at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:224)
    [sql] at java.security.AccessController.doPrivileged(Native Method)
    [sql] at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:220)
    [sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [sql] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [sql] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [sql] at java.lang.Class.newInstance0(Class.java:350)
    [sql] at java.lang.Class.newInstance(Class.java:303)
    [sql] at org.apache.tools.ant.taskdefs.JDBCTask.getDriver(JDBCTask.java:364)
    [sql] at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:304)
    [sql] at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:346)
    [sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql] at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    [sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql] at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    [sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql] at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    [sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql] at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    [sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql] at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql] at org.apache.tools.ant.Target.execute(Target.java:341)
    [sql] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [sql] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    [sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [sql] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    [sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [sql] at org.apache.tools.ant.Task.perform(Task.java:364)
    [sql] at org.apache.tools.ant.Target.execute(Target.java:341)
    [sql] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [sql] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [sql] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [sql] at org.apache.tools.ant.Main.start(Main.java:150)
    [sql] at org.apache.tools.ant.Main.main(Main.java:240)
    [sql] Caused by: java.lang.ClassNotFoundException: oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl
    [sql] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [sql] at java.security.AccessController.doPrivileged(Native Method)
    [sql] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [sql] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [sql] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [sql] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [sql] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [sql] at java.lang.Class.forName0(Native Method)
    [sql] at java.lang.Class.forName(Class.java:242)
    [sql] at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1687)
    [sql] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:156)
    [sql] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:164)
    [sql] ... 49 more
    [sql] Executing file: C:\temp\Infrastructure\DBSchema\Scripts\SQLRunner56601127.sql
    [sql] 11 of 11 SQL statements executed successfully

    Hi,
    I see the same exceptios, but the schema installs successfully. Have a look at the end of the log window. It should state that the schema was created successfully.
    Frank

  • Getting the following error while creating the model for webdynpro app.

    Plugin Name: Web Dynpro Model Editor Services
    Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
    Class      :ap.ide.webdynpro.modeleditor.wizards.model.              creation.ModelDialog
    Method     : nextPressed
    Exception  : org.eclipse.swt.SWTException: Failed to  execute runnable (java.lang.NoClassDefFoundError)
    This is the error i am getting while creating the model for the webdynpro application. Can some one help ?
    Thanks & Regards
    Lalith

    hi
    This error occurs mainly due to the reason that particular plugin is not there in the NWDS.
    So please try to reinstall the NWDS or try tracing out whether that particular plugin is there or not.
    Thank,
    kris

  • While creating the networks under WBS it's giving error

    Hi experts,
    i am not able to create the network under WBS element. while creating the Networks it's asking Scheduling type under scheluling tab. I tryed giving with backwards and forwards options, after press the enter it's says"The factory calendar  does not exist (contact system administrator)". I am facing this error..
    Could anyone please help on this....
    Many Thanks in advance
    Srinivas

    Hi,
    Check if you have maintained a factory calendar in the following;
    1. OPSA - For project profile
    2. SPRO --> Enterprise structure --> Defintion -> Logistics General -> Define, Copy, Check plant. Check the factory calendar for the plant.
    Ensure the calendar is created and defined in your system.
    Also, maintain scheduling type in OPU6 T-code for the network.
    Regards,
    Kabir

  • "error occurred while creating the backup folder" (-50)

    Symptoms:
    Bare HDD (Hitachi 1TB). When run on a simple cable setup, no issues. Recently got a Thermaltake BlacX dock, which is more convenient. First and more backup of any given session goes fine, then at some point, the error occurs, after which I can't unmount the drive without forcing it. After I force-eject, I can then reconnect the drive and backups will be fine again.
    It may, although I'm not sure of this, occur when I leave the machine to sleep with the drive attached.
    This implies that something between Time Machine, OSX and the BlacX are unhappy. Repair and reset haven't helped. Thoughts? I can always go back to using the cable, it was just a pain to set up, so I did backups less frequently, which is bad for me.
    The Time Machine error is:
    Unable to complete backup. An error occurred while creating the backup folder.
    Latest successful backup: 10-09-13 at 1:47 PM
    Time Machine Buddy says:
    Starting standard backup
    Backing up to: /Volumes/Time Machine 1/Backups.backupdb
    Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Time Machine 1/Backups.backupdb/gwiseman (2) size:13
    Error: (-50) Creating directory 2010-09-13-184726.inProgress
    Failed to make snapshot container.
    Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Time Machine 1/Backups.backupdb/gwiseman (2) size:13
    Backup failed with error: 2
    Console after force-eject shows:
    10-09-13 11:15:41 PM kernel jnl: disk1s2: close: journal 0x8578e04, is invalid. aborting outstanding transactions

    G'day all. Partner has an iMac 21.5 with Intel processor. OSX 10.6.4
    Interestingly, we also have the exact same problem with a different brand external hardware RAID 1 as follows:
    Welland Terra ME-580J fitted with two Samsung 1.5TB SATAII 3.5" 32M HD154UI drives.
    The Welland site [http://www.welland.com.tw/html/2bay/580j.html] info is pretty brief but it DOES show Mac/PC in its brochure.
    Connected via USB2.
    From new we had to go through the initialisation stuff and had lots of hair pulling moments. Basically the RAID1 drive needed to be partitioned.
    As with Geoffrey, TM did an initial full back up, then went OK for a few hours, then TM started giving the error message "error occurred while creating the backup folder".
    Additionally any repair attempts via Disk Utility failed because the TM (Raid1 drive) couldn't be unmounted.
    ALL apps were shut down leaving only Finder. Still couldn't unmount ext HDD. Kept getting the message that an app may be using the drive, etc.
    Forced demount. Unplugged USB, turned power off to Welland and re-arranged the drives to be two independent drives.
    Re powered the Welland, re-connected by USB, and there were TWO drives shown as "Time Machine" except one had the TM icon, the other a standard USB icon. This is exactly as I would have expected seeing as RAID1 disks have identical data on each.
    RE-partitioned the USB drive to a) remove all data and b) change its name to avoid confusion.
    TM now seems happy. I'm NOT happy, however, as this completely negates the whole idea of having back-ups to a RAID1 set-up.
    It would be easy to suggest there is a problem within iMac/OS X, as two people having exactly the same problems with completely different hardware is just too much of a co-incidence.
    Any thoughts and help would be truly appreciated, as I'm at the end of my limits, here.
    With thanks, Ian.
    PS please be kind to me, as I haven't gained a lot of Mac knowledge yet!

  • How to pass a value from inside a while loop outside the loop

    Hello to everybody, I have been searching through the forum but I have not found a certain answer for my problem. I would try to explain my problem as breefly as posible:
    I have to send by a BNC2120 two signals and acquire an other one thats comes from a preassure sensor. That part is done by introducing simulating and acquiring DAQmx inside while loops.It is sycronized by my self, proving such diferent values (is not the optimum, but is only the first prototype) and works as I expected. Well, then I want to sample some of the values of these signals, that is done with relays and local variables to get the value in the instant I want to sample. Here begin my problems: I want to extract the sample values out of the while loops without restarting them, I mean: I do not want to stop the while loops because the acquisition and the generation of the signal must be continuous, but I do not know if it is posible to put the while loops in "standby" until I operate with the values I have sampled and then the signal generator and the acquiere continues from when it has stoped before. Particulary I want to obtain the value of the top while loop (inside a case) when the counter arrives at 15.
    I have proved to do with local variables, global variables, making a state machine, with event cases, with flat secuences...I have been reading about and proving diferent posible solutions for this week and the whole past week and I have not found the solution.
    If any of you know how I can do this thing, I would be loved to listen your opinions. My proyect is above: 
    Thank you a lot in advance.
    Sinceresly,
    Miguel.
    Attachments:
    maq_estados_event_case.vi ‏239 KB

    It definately sounds like what you really want is a Producer/Consumer.  It is an architecture that uses Queues to pass data from a data generation loop (producter, your DAQ loop) and a data processor (consumer).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can we revise the pricing both at header and item level of sales order?

    Dear All,
      Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
      So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.

    Dear Lakshmipathi,
      Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
      I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
      And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
      I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot.

  • How to change the Value of a Varible while debugging in ECC 6.0

    Hi all,
    How can i change   and Save the Value of a varible while debugging a FM in ECC 6.0.
    I can able to change the Value of a variable by clicking the Pencil Icon (Change icon) which is there next to that value
    But i am not able to save that value
    Please give the suggestions
    Thanks in Advance
    Regards
    Ajay

    Ajay,
    I think you are changing more than one variable value at a time...this things generally happen in this case.
    Go step by step.....
    Press on the pencil button
    value filed becomes editable
    change the value
    and at once press the enter
    the ediatble field automatically becomes non editable, and hence retain the changed value.
    Pooja

  • How do I insert the value of an email field in the submit mailto: argument?

    I want to create a button that will redirect a PDF form to an email address entered as a field in the form.  In other words, a "return to sender" function.  The button function has a submit to URL where you can use "mailto:[email protected]".  How can I substitute the value from an email field in the form itself for the "[email protected]" value?

    You'll need to use JavaScript, and the mailDoc method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html
    Get the value of the field that contains the email address and use it as the value of the cTo property. See the following for a sample script: http://forums.adobe.com/message/3553628?tstart=-1

Maybe you are looking for