2nd Order Differential Problems

Hey I'm creating a second order differential solver and I'm using the differential solver VI's that come with the package. However, the solver won't do 2nd Order ODE's that are critically damped. Does anyone know what this problem is and how I can remedy it? I put a copy of my program here to show you the problem. For an example of a critically damped equation, input 4 in both "dy/dt" and "y". Thanks.
Attachments:
2nd_Order_Solving2.vi ‏170 KB

Hey Jay,
The modification I made is not that complex, so I'll explain what I did step by step. Before I go through the process, I should offer a disclaimer.
When modifying ODE Linear nth Order Numeric VI, you may want to save a local copy for yourself. This will ensure that the shipping version of the VI is not altered. If you modify the shipping version, then leave it that way, you may run into errors when you try to use the VI in the future.
Also remember to verify the results of the critically damped case. Since the VI is not designed for ODE's with repeated eigenvalues, it's possible that you could be getting incorrect results after the modification. With that said, here's the procedure I used to modify the VI so that it runs even with repea
ted eigenvalues.
1. The modification I made was to the ODE Linear nth Order Numeric.vi. You can access the VI's code by simply double clicking on it from your VI.
2. The change I made is located in the red circle on the bitmap I sent you.
3. Look for the "Multiple Roots.vi", the gray one with a sigma in the upper left corner and some arrows and dots on it. The output of this VI is a boolean, and it is connected to a not gate.
4. Delete the wire from the output of the "Multiple Roots.vi" to the not gate.
5. Right click the input port of the not gate and create a constant.
6. Make sure that the boolean constant connected to the not gate is false.
This is what I did to ensure that the VI will run regardless of the eigenvalues. Please be aware of the issues I addressed above. Otherwise, good luck!
Marcus G.
National Instruments

Similar Messages

  • Need Help Solving a 2nd order Differential Equation

    I need to write a computer program in MATLAB to solve the following 2nd order differential equation:
         y" + (1/r)y' + (200/80) = 0
    I can't remember which method I'm supposed to use to get an equation for y(r)? Once I know the method... I'm sure I can implement it.
    Thanks for your time

    You can implement Java code in MATLAB??? Is that what you're saying? If so, please tell me how because that would be helpful to me!

  • Simulating a 2nd-order pendulum system

    I know there are lots of forum posts about 2nd-order solvers, but I can't seem to find one that I can apply to my particular problem.
    I'm developing a software model of a pendulum attached to a movable (along one axis) support.  My end goal is to simulate the pendulum's response - given a set of initial conditions - following an impulse to the support.
    The ODE has the form:                  Θ"(t) + x''(t)*cos[Θ(t)] + sin[Θ(t)] = 0
    where x(t) is a function independent of Θ.
    I've been playing around with the ODE Solver.vi and a few of the model construction VIs in the Control Design & Sim toolkit.  I've made a few disparate bits of progress, but I can't see a clearly-defined end in sight.  Any input would be appreciated.
    Cheers,
    Adam Fern
    Systems Engineer, CLD
    Cyth Systems, Inc.
    Solved!
    Go to Solution.

    Thanks, Barp.  That example is actually where I got the most useful information about addressing this problem.  Unfortunately I didn't find it until after I posted..... I've always been terrible about using the Example Finder 
    I accomplished most of what I was after by following the example's paradigm of creating a subsystem representative of the 2nd-order equation and passing parameters to it inside of a simulation loop.  Below is the pendulum subsystem along with the equation it represents.  As far as I can tell, feedback conditions are handled automatically in simulations as it was unnecessary for me to place feedback nodes in the wires.
    Here is the implementation inside the simulation loop:
    The waveform chart is plotting the stimulus and response signals of the subsystem.
    The little piece of code at the beginning () was my implementation of an iteration counter.  The simulation loops are a strange beast and I had to figure out a way to step through my stimulus array inside the loop.  Using the Simulation Time function and step size parameter, one is able to track the current "iteration" of the simulation loop.
    This is also my first time really delving into the features of the CDS toolkit, and I found the 3-hour ppt course (http://www.ni.com/white-paper/5855/en) very helpful.
    Adam Fern
    Systems Engineer, CLD
    Cyth Systems, Inc.
    Attachments:
    Dynamics Simulation.vi ‏210 KB
    Pendulum Subsystem.vi ‏241 KB

  • Post Moved Order installation problem

    Post Moved to Phones Board http://community.bt.com/t5/Phones/Order-installation-problem/td-p/558275
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    you need to phone sales on 0800800150 and ask them what is happening
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Active 2nd order analog lowpass filter in a feedthrough module SCC-FT01.

    I would like to build an active 2nd order lowpass filter with cutoff frequency of 4000Hz in a feedthrough module SCC-FT01 for antialiasing purposes. Since I am not an electronic expert, I would like some advice on which components I can use (and how I can dimension them) and on how I can connect them on the module board.

    Caccia,
    I would recommend that you build an external box with your filter in if you require hardware filtering. The feedthrough panel FT01 is just a piece of wire really with connections on each end, so there isn't room to build a filter in there.
    Unfortunetly I can't really recommend what components to use, but there are lots of websites and books out there that you could use to help you, none of them specific to NI but that shouldn't matter.
    After a quick search on Google I found the following website which seems to have a lot of information.
    http://my.integritynet.com.au/purdic/lcfilters.htm
    Hope this helps, please post again if you require any further information from me.
    Regards,
    Peter H
    Applications Engineer
    National Instruments

  • Purchase Order Printout Problem

    Hi Everyone,
                    Purchase Order print out is coming in one Laser jet printer and not coming in another laser jet printer.
    1st printer is a Network printer so configured like this:Access method: C and host printer and host name given since it is configured in our SAP Server.
    2nd printer is connected to a Notebook so, Device type: SAPWINJP, Access Method:F, and host path given.
    Normal SAP Printout is coming but only Purchase order designed for Laserjet is not coming. I checked with Document type and all. No default printer assignment is given.
    I have assigned this as a Default Printer in SU01.this is for your information. Error Msg im getting is here:
    (6:26:17 PM) Number of processors: 2
    (6:26:17 PM) Icon DLL loaded.
    (6:26:17 PM)
    (6:26:17 PM) Network Communication via SAP-NiLib
    (6:26:17 PM) Hostname: siva
    (6:26:17 PM) IP Address: 12546920.2089886680.32.1223880
    (6:26:17 PM)
    (6:26:17 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (6:26:17 PM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
    (6:26:17 PM) Copyright © 1992-2001 SAP AG
    (6:26:17 PM)
    (6:26:26 PM)
    (6:26:26 PM) Receive job for printer
    192.168.255.63HP_M1319 (Berkeley LPD protocol / RFC1179)
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) Job 000000262500001.DEV for user BS2PRAKA queued.
    (6:26:26 PM) Start printing job 000000262500001.DEV on printer
    192.168.255.63HP_M1319
    (6:26:27 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
    (6:26:27 PM) Error: The printer
    192.168.255.63HP_M1319 is unknown to Windows Print Manager.
    (6:26:27 PM) The following printers are currently defined:
    (6:26:27 PM) Printer = HP LJ P3005
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    ANILHPHP_ M1319
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    KAVITHAHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    SURESHHPHP LASERJET M1319F MFP
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VARALAKSHMIEPS_VARAL
    (6:26:27 PM) Printer =
    VARALAKSHMIXEROX PHASER 3116
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VIJAYKUMARHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    Here, 
    192.168.255.63HP_M1319 this is the Machine IP and its printer available in the LAN. Its been shared and marked as default in my Desktop.
    Please give solution for this
    Regards,
    Siva

    somebody could help in this issue?

  • 2nd Replacement having problems!

    I finally got my 3rd Macbook Pro.
    The first I ordered online and had to send it back after various problems...
    Received my 1st Replacement MBP...and a few days later, had to send it back...
    Today, got my 2nd Replacement MBP (3rd one) and I'm starting to see little problems that the first 2 showed before getting worse.
    Everything was fine and all I did was update what updates were available and restarted the machine.
    When it came back on and I opened the Macintosh HD, the Documents, Movies, Music and Pictures folder Icons had reverted back to default blue folders rather than little pictures.
    I restarted it to see if it would refresh...no luck.
    It hasn't set everything back to factory default like the background and the dock...but I'm waiting for it to.
    I haven't done anything extreme with any of these machines and have barely even scraped the surface of what it SHOULD be able to do...
    Is this icon thing fixable, or should I raise **** and get my money back?

    I don't think you are reading me right.
    1. I HAVE updated...that's the first thing I do when it autoscans for them
    2.NO previous files/settings have been transered.
    There is NOT another computer I am transfering ANYTHING from.
    <THE SETTINGS I CHANGE ARE IN PREFERANCES AND ARE ENTIRELY SUPERFICIAL>
    I.E. Background Color and Dock size.
    If you expect me to believe that I am causing this problem you are full of it.
    When you pass a sleeping dog it does not stir...if you kick a sleeping dog it wakes up and reacts. I watch this machine do these things without provoking it...I promise you.
    I've talked to the people in my local Apple store and they agree that what is happening is not right...

  • Sale order change problem.-Variant configration

    Dear All,
    After  sale  order  configration and  material transfered  to  sale  order  stock ,  then when i  trying  to  change   mode  in  sale  order  i  am  getting  the  error  "Internal error in communication between  configuration and sales doc.GET_CONFIG_MODE"
    Please  give  the  correct  solution    above  problem
    Regards
    SVR
    Edited by: sunitha p on Apr 30, 2008 9:24 AM

    closed

  • Best Program(s) & Order for Problem (Kernel Panic on Start-Up)?

    I started off the problems trying to open a file in Pages ('08). Tried different files and such to try and get it to work, but didn't work. I restarted into single-user mode to boot Applejack to see if my disk had errors again (a previous run had fixed the ones it found).
    However, upon booting into it, it hung and after a while was still stuck at the same part of loading (some messages talking about errors). I turned off the power and then turned it back on, but when I got to the boot screen, my Mac kernel panicked, and it continued to do this.
    I then tried booting into my OS CD, and although Disk Utility repaired permissions, it ran into errors along these lines:
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Checking multi-linked files.
    <<sibling link error something or other>>
    Error: The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair
    So I figured a third-party tool would probably be more of a help. Looked at info about Data Rescue II, TechTool Pro, and DiskWarrior. Would any of those be a help for me? My primary concern is backing up the data on the drive (I have an external drive which functions fine, and enough free space, just no back-up because I figured Apple wouldn't push Leopard back), and after that getting the drive/computer to work, both if possible. Should I use more than one, and is there any particular order that would be necessary? Or would I be better off with doing something else?
    (and this is fresh off the heels of a new battery for those random shutdowns, too...)

    I am in the same boat. I have just spent half the day researching what is going on with my machine.
    I am getting the Kernal Panic screen on startup. Booted up from the Install disk and ran Disk Utility and came across the Invalid Sibling Link, and that the Volume needs to be repaired.
    I had backup of my hard drive scheduled for tomorrow but now this has happened. I am curious as to how I can retrieve the information safely to back it up to a different drive AND figure out how to solve this problem.
    Is Disk Warrior going to do the trick? And if so, can I still retrieve the information off of it?

  • Process order creation problem

    I am creating a process order . while creating the process order system is throwing error as Auto batch numbering not set up for material type XXXX in plant xxxx . System is not allowing to create process order.
    How to resolve the issue.

    Check in CORW   and switch off batch creation  to isolate the problem if needed.   Also see whether you have any batch managed compoents   for which you have set master data for automatic batch determination.
    There is no setting for material types and plant for batch.  May be the error message is not correct.  What is the message number?

  • IPod Touch 2nd Gen. Problems

    Hello
    Lately I've started having multiple problems on my iPod touch, to list them:
    1) the shuffle feature doesn't work as it should; in a playlist of around 30 songs it will shuffle through the same 5 or 6 for ages! I have to repeatedly press next for several minutes till it finally reaches a new song and even then it usually just adds that one or possibly two extra songs into its loop.
    2) I'm not sure about this one but when I play a video once the video finishes it starts again from the beginning depending on whether or not I've got repeat turned on in the music app. As I said I'm not sure about this. This could be how it's meant to work but its never done it before and has only occured recently and sporadically.
    3) When downloading apps if I move from the home screen the app is installing on, it just disappears and I have to start the download again; also it can just cancel any downloads for no apparent reason and it won't download anything till I turn Wi-Fi on and off.
    4) The create playlist feature no longer works, I add songs to a playlist and the next time I sync my iPod with the computer it removes them from the playlist instead of updating the computers version to match my changes.
    5) When I try continue a playlist or album I was listening to several hours ago it will randomly play either another album or the entire iPod library despite the fact that when I open the music app it opens at the point at which I left it.
    6) My Google calenders occasionally disappear meaning I have to remove and re-add my account to regain my calender info.
    I have restored the iPod twice, if its of any assistance my iPod is the second gen. iPod touch 32GB iOS 4.2.1 and it is NOT jailbroken (I don't do that sort of thing). My computer is a late 2008 aluminium macbook running Mac OS X Lion.
    I hope you can help me
    Thanks in advance
    Thomas Murphy

    I'm not convinced that adding to a two-and-a-half year old post is going to get you anywhere.
    You should be running iTunes 12 by now, while the original post refers to iTunes 10. So one would imaging that any problem caused by bugs in iTunes 10 had been sorted out by now.
    I suggest that you create a new discussion, specific to your issues and that your description of the problems you have is a bit more detailed than you have provided so far.
    Darkling115 wrote:
    I'd prefer not to reset it because the only things i've heard is that makes it worse.
    Don't believe everything you read, particularly if it is as negative as that.
    Darkling115 wrote:
    Apple if you are reading this I hope you guys come to your senses and fix it, lots of people have the same problem with 2nd and 3rd generation IPODs. It is annoying but I have faith that you will fulfill these requests. THANKS!
    What problem precisely? I regularly use a 2nd generation Touch and do not have any problems with it.
    By the way, Apple do not routinely monitor or read these discussions. This is a user forum, where we help each other.

  • Service order creation problem

    Hi Experts, I have a requirement to create a Service order using a BAPI. I'm trying to use the BAPI BAPI_BUSPROCESSND_CREATEMULTI. I found some code related to this BAPI on this forum . THE service order is created
    but ibase / component is not filled . How can i give the Ibase through the bapi and in which parameter of the bapi i have to fil this. Could anyone please help me figure out what the problem is .  my code is as follows.

    Please find the code current thread and below thread.
    FUNCTION ZBAPI_SERVICE_SORDER2.
    DATA :  IS_HEADER            TYPE TABLE OF      BAPIBUS20001_HEADER_INS,
            WA_HDR               TYPE               BAPIBUS20001_HEADER_INS,
            IS_ITEM              TYPE TABLE OF     BAPIBUS20001_ITEM,
            WA_ITEM              TYPE               BAPIBUS20001_ITEM,
           IT_ACTIVITY             TYPE TABLE OF      BAPIBUS20001_ACTIVITY_INS,
           WA_ACTIVITY           TYPE               BAPIBUS20001_ACTIVITY_INS,
            IT_PARTNER             TYPE TABLE OF      BAPIBUS20001_PARTNER_INS,
            WA_PARTNER           TYPE               BAPIBUS20001_PARTNER_INS,
            IT_SALES             TYPE TABLE OF      BAPIBUS20001_SALES,
            WA_SALES             TYPE               BAPIBUS20001_SALES,
            IT_ORG             TYPE TABLE OF      BAPIBUS20001_ORGMAN_INS,
            WA_ORG               TYPE               BAPIBUS20001_ORGMAN_INS,
            IT_PRICING             TYPE TABLE OF      BAPIBUS20001_PRICING,
            WA_PRICING           TYPE               BAPIBUS20001_PRICING,
            IT_SERVICE           TYPE TABLE OF      BAPIBUS20001_SERVICE_OS_INS,
            WA_SERVICE           TYPE               BAPIBUS20001_SERVICE_OS_INS,
            IT_RETURN              TYPE TABLE OF     BAPIRET2,
            WA_RET               TYPE               BAPIRET2,
            IT_PROD             TYPE TABLE OF      BAPIBUS20001_PRODUCT,
            WA_PROD              TYPE               BAPIBUS20001_PRODUCT,"PROCESS_QTY_UNIT -EA
    *        IT_SCHED             TYPE TABLE OF     BAPIBUS20001_SCHEDLIN, "QUANTITY
    *        WA_SCHED             TYPE              BAPIBUS20001_SCHEDLIN,
            IT_SCHEDLINEs         TYPE TABLE OF     BAPIBUS20001_SCHEDLIN,
            WA_SCHEDLINEs         TYPE              BAPIBUS20001_SCHEDLIN,
            lv_partner_fct1      TYPE               crmt_partner_fct,
            lv_partner_fct2      TYPE               crmt_partner_fct,
            lv_partner_fct3      TYPE               crmt_partner_fct,
            lv_partner_fct4      TYPE               crmt_partner_fct,
            LV_HANDLE            TYPE               CRMT_PRP_HANDLE,
            t_object_to_save     TYPE               crmt_object_guid_tab,
            IT_OBJECT_TO_SAVE    TYPE TABLE OF      crmt_object_guid_tab,
            ts_object            type               CRMT_OBJECT_GUID,
            It1_object_to_save   TYPE TABLE OF      BAPIBUS20001_GUID_DIS,
            W_OBJECT_TO_SAVE     TYPE               BAPIBUS20001_GUID_DIS,
            LV_LOG_HANDLE        TYPE               BALLOGHNDL,
            IT_RETURN1              TYPE TABLE OF     BAPIRET2,
            it_saved_objects     type             crmt_return_objects,
            t_exceptions         type              CRMT_EXCEPTION_T,
            t_objects_not_saved  type              CRMT_OBJECT_GUID_TAB,
            WA_INPUT_FIELDS      TYPE              BAPIBUS20001_INPUT_FIELDS,
            IT_INPUT_FIELDS      TYPE TABLE OF     BAPIBUS20001_INPUT_FIELDS,
            ITAB_CREATED_PROCESS TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS,
            WA_CREATED_PROCESS   TYPE              BAPIBUS20001_HEADER_INS,
            IT_OBJECTS           TYPE TABLE OF     BAPIBUS20001_OBJECTS,
            WA_OBJECTS           TYPE              BAPIBUS20001_OBJECTS.
    DATA:   CV_LOG_HANDLE        TYPE              BALLOGHNDL,
            i_saved_objects      type table of     BAPIBUS20001_OBJECT_ID,
            IT_RET2              TYPE TABLE OF     BAPIRET2,
            WA_SAVed_objects     type BAPIBUS20001_OBJECT_ID,
            g_objnr              type CRMT_OBJECT_ID.
    DATA :
            LV_GUID1   TYPE       GUID_32,
            LV_GUID2   TYPE       GUID_32,
            LV_GUID3   TYPE       GUID_32,
            V_OBJNR22  TYPE       IBIN-OBJNR,
            V_GUID16     TYPE       COMT_PRODUCT_GUID,
            V_OBJID    TYPE       COMT_PRODUCT_ID.
    *************HEADER-GUID**********
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        EV_GUID_32       =  LV_GUID1.
    ***********ITEM-GUID************
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
       EV_GUID_32       = LV_GUID2
    *********SCHEDULELINE********
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          EV_GUID_32       = LV_GUID3
    ************DATA IN HEADER**********
    WA_HDR-GUID = LV_GUID1.
    WA_HDR-PROCESS_TYPE = 'YESV'.
    WA_HDR-DESCRIPTION = PROCESS_DESCRIPTION.
    APPEND WA_HDR TO IS_HEADER.
    *************** INPUT FIELDS HEADER**************
    CLEAR WA_INPUT_FIELDS.
    CLEAR IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    WA_INPUT_FIELDS-FIELDNAME = 'GUID'.
    wa_input_fields-fieldname = 'MODE'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    WA_INPUT_FIELDS-FIELDNAME = 'PROCESS_TYPE'.
    APPEND  WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    WA_INPUT_FIELDS-FIELDNAME = 'DESCRIPTION '.
    APPEND  WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
    ************DATA IN ITEM**********
    WA_ITEM-GUID  = LV_GUID2.
    WA_ITEM-HEADER  = LV_GUID1.
    WA_ITEM-ORDERED_PROD = PRODUCT.
    WA_ITEM-DESCRIPTION = PROD_DESCRIPTION.  "product name
    WA_ITEM-ITM_LANGUAGE = 'EN'.
    WA_ITEM-ITM_TYPE = ITEM_CAT.
    WA_ITEM-NUMBER_INT = ITEM_NO.
    WA_ITEM-MODE = 'A'.
    INSERT WA_ITEM  INTO TABLE IS_ITEM.
    *******INPUT FIELDS ITEM*****************
    CLEAR WA_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID2.
    WA_INPUT_FIELDS-REF_KIND = 'B'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_I'.
    WA_INPUT_FIELDS-FIELDNAME = 'ORDERED_PROD'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID2.
    WA_INPUT_FIELDS-REF_KIND = 'B'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_I'.
    WA_INPUT_FIELDS-FIELDNAME = 'DESCRIPTION '.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID2.
    WA_INPUT_FIELDS-REF_KIND = 'B'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_I'.
    WA_INPUT_FIELDS-FIELDNAME = 'ITM_LANGUAGE'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID2.
    WA_INPUT_FIELDS-REF_KIND = 'B'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_I'.
    WA_INPUT_FIELDS-FIELDNAME = 'ITM_TYPE'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID2.
    WA_INPUT_FIELDS-REF_KIND = 'B'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_I'.
    WA_INPUT_FIELDS-FIELDNAME = 'NUMBER_INT'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    ************DATA IN ACTIVITY**********
    WA_ACTIVITY-REF_GUID = LV_GUID1.
    WA_ACTIVITY-PRIORITY = PRIORITY.
    APPEND WA_ACTIVITY TO IT_ACTIVITY.
    *************INPUT FIELDS SALES*************
    CLEAR WA_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'C'.
    WA_INPUT_FIELDS-OBJECTNAME = 'ACTIVITY_H'.
    WA_INPUT_FIELDS-FIELDNAME = ' PRIORITY'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    ************DATA IN SALES**********
    WA_SALES-REF_GUID = LV_GUID1.
    WA_SALES-PO_NUMBER_SOLD = SOLD_T0_PARTY.
    wa_sales-ref_kind = 'A'.
    APPEND WA_SALES TO It_SALES.
    *************INPUT FIELDS SALES*************
    CLEAR WA_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'E'.
    WA_INPUT_FIELDS-OBJECTNAME = 'SALES'.
    WA_INPUT_FIELDS-FIELDNAME = 'PO_NUMBER_SOLD'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    ************DATA IN PARTNER *********
    WA_PARTNER-REF_GUID    = LV_GUID1.
    WA_PARTNER-REF_KIND    = 'A'.
    WA_PARTNER-PARTNER_FCT = '00000001'.
    WA_PARTNER-PARTNER_NO  =  SOLD_T0_PARTY .
    wa_partner-ref_partner_handle = '0001'.
    wa_partner-display_type = 'BP'.    "Business Partner Number
    wa_partner-no_type = 'BP'.        "Business Partner Number
    wa_partner-kind_of_entry = 'C'.  "entered manually
    APPEND WA_PARTNER TO IT_PARTNER.
    WA_PARTNER-REF_GUID    = LV_GUID1.
    WA_PARTNER-REF_KIND    = 'A'.
    WA_PARTNER-PARTNER_FCT = '00000014'.
    WA_PARTNER-PARTNER_NO  =  EMPLOYEE_RESPONSIBLE .
    wa_partner-ref_partner_handle = '0001'.
    wa_partner-display_type = 'BP'.    "Business Partner Number
    wa_partner-no_type = 'BP'.        "Business Partner Number
    wa_partner-kind_of_entry = 'C'.  "entered manually
    APPEND WA_PARTNER TO IT_PARTNER.
    WA_PARTNER-REF_GUID    = LV_GUID1.
    WA_PARTNER-REF_KIND    = 'A'.
    WA_PARTNER-PARTNER_FCT = '00000056'.
    WA_PARTNER-PARTNER_NO  =  SERVICE_EMPLOYEE_GROUP.
    wa_partner-ref_partner_handle = '0001'.
    wa_partner-display_type = 'BP'.    "Business Partner Number
    wa_partner-no_type = 'BP'.        "Business Partner Number
    wa_partner-kind_of_entry = 'C'.  "entered manually
    APPEND WA_PARTNER TO IT_PARTNER.
    WA_PARTNER-REF_GUID    = LV_GUID1.
    WA_PARTNER-REF_KIND    = 'A'.
    WA_PARTNER-PARTNER_FCT = '00000003'.
    WA_PARTNER-PARTNER_NO  =  BILL_TO_PARTY.
    wa_partner-ref_partner_handle = '0001'.
    wa_partner-display_type = 'BP'.    "Business Partner Number
    wa_partner-no_type = 'BP'.        "Business Partner Number
    wa_partner-kind_of_entry = 'C'.  "entered manually
    APPEND WA_PARTNER TO IT_PARTNER.
    *INPUT FIELDS PARTENER
    CLEAR WA_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_FCT'.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_NO '.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_FCT'.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_NO '.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_FCT'.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_NO '.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_FCT'.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    WA_INPUT_FIELDS-REF_GUID = LV_GUID1.
    WA_INPUT_FIELDS-REF_KIND = 'A'.
    WA_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
    WA_INPUT_FIELDS-FIELDNAME = 'PARTNER_NO '.
    wa_input_fields-logical_key = '0001'.
    APPEND  WA_INPUT_FIELDS  TO IT_INPUT_FIELDS.
    wa_input_fields-ref_guid = lv_guid1.
    wa_input_fields-ref_kind = 'A'.
    wa_input_fields-objectname = 'PARTNER'.
    wa_input_fields-fieldname = 'KIND_OF_ENTRY '.
    wa_input_fields-logical_key = '0001'.
    APPEND wa_input_fields TO it_input_fields.
    wa_input_fields-ref_guid = lv_guid1.
    wa_input_fields-ref_kind = 'A'.
    wa_input_fields-objectname = 'PARTNER'.
    wa_input_fields-fieldname = 'NO_TYPE '.
    wa_input_fields-logical_key = '0001'.
    APPEND wa_input_fields TO it_input_fields.
    wa_input_fields-ref_guid = lv_guid1.
    wa_input_fields-ref_kind = 'A'.
    wa_input_fields-objectname = 'PARTNER'.
    wa_input_fields-fieldname = 'DISPLAY_TYPE '.
    wa_input_fields-logical_key = '0001'.
    APPEND wa_input_fields TO it_input_fields.
    as follows.
    please find below thread.
    Edited by: venkatrao veeramaneni on Nov 4, 2011 3:54 PM
    Edited by: venkatrao veeramaneni on Nov 4, 2011 3:57 PM

  • Ipod Shuffle 2nd generation OneClick Problems

    Hi
    I have an ipod shuffle (2nd generation) and have downloaded the OneClickDigital media manager from the App store.
    This has allowed me to check out audiobooks from my library... and they download to this program and I can play them there....that much is working.
    The problem is that when I "download/transfer" the audiobook I get an error message that I can't seem to resolve. It says "iPod music is not manually managed....Please check the "Manually manage music and videos" option for your device in iTunes....IMPORTANT: All existing content on the device could be deleted by iTunes by checking this option".
    Now here's the problem. There seems to be no "summary" tab for the ipod shuffle (2nd generation). The response I got from OneClickdigital says "Unfortunately, we are not aware of another way to manually sync music for specific devices other than the Summary tab Options settings.  We do recommend that you contact Apple support directly in regards to questions specific to your device."
    Any ideas?
    Cheers
    Tracy

    I have the same problem with my ipod.
    It doesn't flash any lights and ive tried all of these ways too.
    Ive had it for less than a year and I won my ipod so I dont really know if i can go to the apple store and they'll fix it for me.
    **Also would they do it or would I have to pay, and have the box, and papers?**
    Because I don't have the cover box, but i have the clear plastic box w/ the white plastic holding that but not the cover box(i dont even remeber if there was a box over the white palstic thing).And i dont have a receipt because i won it, but i have all the other papers that were in the clear box itself even the stickers and everything.

  • Purchase order create problem

    Hi Reiner,
    I am testing out a scenario with BAPI_PO_CREATE, encountered a few problems:
    1. Errors with Date field in some structures.
    --> I changed the date field name to ZDATE and that
        fixed it, I remember this was also a problem in
        Connector 1.0. I can only imagine that the Date
        name used clashes with some reserved system date
        field in VB.Net
    2. Purchase order schedule lines are being populated
       via structure BAPIEKET and into a table. I have
       declared a BAPIEKET structure and a table but i seem
       to have errors trying to even populate the first field
       of the BAPIEKET structure. The error is as follows:
    An unhandled exception of type 'System.NullReferenceException' occurred in <application>
    Additional information: Object reference not set to an instance of an object.
    The code is:
            Dim strPoItem_Schedules As BAPIEKET
            Dim tblPoItem_Schedules As New BAPIEKETTable
            'schedule lines
            strPoItem_Schedules.Po_Item = "00001"
            strPoItem_Schedules.Serial_No = "0001"
            strPoItem_Schedules.Deliv_Date = "20040407"
            strPoItem_Schedules.Quantity = CLng(1.0)
            tblPoItem_Schedules.Add(strPoItem_Schedules)
    Hope you can help coz I did the same with the PO line items table and it is fine...not sure why it is behaving like this for the PO SChedule lines.
    Cheers

    Reiner, no worries. I fixed it. My bad....careless, I  declared the BAPIEKET structure wrongly.
    Cheers

  • Purchase Order releated problem.........

    Hello friends,
             We are using SRM 5.0 ( ECS) . I am facing a problem when I am creating Purchase Order in SRM.  When I am clicking on Item tab getting u201CInternal TSKH error, session terminatedu201D  .   Previously it was working fine but now it is generating this error.
    Exception is
    1. The following error text was processed in the system SRD : Internal TSKH error, session terminated
    2. The error occurred on the application server srmdev_SRD_03 and in the work process 0 .
    3. The termination type was: TH_RES_FREE
    4. The ABAP call stack was:
    Form: GET_PRICING_PROCEDURE_INFO of program SAPLPRC_INT
    Function: PRC_INT_CREATE of program SAPLPRC_INT
    Function: PRC_INT_OPEN of program SAPLPRC_INT
    Function: PRC_PD_OPEN of program
    SAPLPRC_PRICING_API
    Form: PRC_LINK_READ of program SAPLBBP_PDPRC
    Function: BBP_PDPRC_GETDETAIL of program SAPLBBP_PDPRC
    Form: ITMPROC_F_GETDETAIL of program SAPLBBP_PDIGP
    Function: BBP_ITMPROC_GETDETAIL of program SAPLBBP_PDIGP
    Form: ITEM_F_GETDETAIL of program SAPLBBP_PDIAD
    Function: BBP_ITEM_GETDETAIL of program SAPLBBP_PDIAD
    I am not sure about this problem related with basis or Pricing procedure.  Even i am not getting any run time exception in ST22 . Please give me suggestions.
    Thanks in advance.
    abhijeet

    Please check your pricing conditions in SRM:
    SAP Implementation Guide
    ->Supplier Relationship Management
    ->SRM Server
    ->Cross-Application Basic Settings
    ->Pricing
    ->Check Technical and Customizing Settings for Conditions
    Check the below two option:
    Further Checks
          Simulation of Pricing with Manual Price
          Generation of Access Programs
    Regards
    Kathirvel

Maybe you are looking for

  • Getting Unknown Source Error While Deploying the Planning Application

    Hi, Getting following error while trying to Deploy Planning Application from BPMA Started Time : Tuesday, January 08, 2008 5:43:40 PM Submitted Time : Tuesday, January 08, 2008 5:43:40 PM Last Updated Time : Tuesday, January 08, 2008 5:44:32 PM User

  • How to upgrade iWeb 2.0.4 to 3.x

    Hi, I bought a MacBook 2008 early. This MacBook include iWeb 2.x. Last month I upgraded some iLife '08 application to '11 but I couldn't upgrade iWeb '08 to newer. Last iWeb version is 3.0.4. How can I upgrade iWeb 2.x to 3.x? Please help me! Thx! Ba

  • RE: Re: Disabling console in WLS 6.1

    "Well just deleting console.war from .wlstaging donot solve it. I found out console.war is copied from weblogic.jar (as it is bundled there. Also I seems if I remove console.war from weblogic.jar and try to run the server it gives me following error:

  • How to fix camera freezes and application crashes

    I've just got a new iPod and downloaded a few up and I tried to take a few photos of my self but when I try to turn the camera to front and it freezes and won't work and every now and then I go into a application and it crashes I tried to turn my who

  • XP : "required disc cannot be found"??? anyone?

    i upgraded to the new itunes software yesterday & have been trying to import some cds but the same thing keeps happening- it starts to import, gets about 3-4 songs in & stops, saying the required disc cannot be found. then i take the disc out, put it