Condition Price to be picked in GR from the condition table MEK1

Dear All,
I have a requirement like
I have 3 different condition type say ZPBS,ZSPL,ZADD.I have maintained these condition with a new acess seq.For these conditions i maintained some fixed value in MEK1,say 500,20,10 respectively.
After that i did a PO with these conditions with the condition table value say 500,20,10 i.e 530.But after that i changed the value to 600,30,20 say 650.Prior to that i have changed the condition control to "GR date-5" in PO item.
So after that i did the GR,the value of GR is coming as 650.
My requirement i want the condition table value 500,20,10 i.e 530 is to be come after doing the GR.
So pls suggest any specific solution if possible for this.
Regards,
DD

Hi,
Make date valid check (From & To) in MEK1 for the Values so that based on the valiadity it will be process for GR.
pherasath

Similar Messages

  • If I preorder an iPhone 5 will it arrive at my house on the 21st or is that when it'll ship? I would like to have it the day it comes out so if it would be faster to order it online and then pick it up from the apple store, let me know! Thanks

    If I preorder an iPhone 5 will it arrive at my house on the 21st or is that when it'll ship? I would like to have it the day it comes out so if it would be faster to order it online and then pick it up from the apple store, let me know! Thanks

    My experience is with the iPhone 4S and the "new" iPad, both of which I ordered early on the opening pre-order day. In both cases the wording from Apple during the media event was "pre-orders will start on ABC date for delivery on XYZ date" which was also the same day they were to go on sale in stores.  In both cases, the UPS truck rolled up earlier than usual XYZ date as promised to hand me my new iPhone/iPad. In both cases there were instances of confusion due to some pre-order confirmations stating incorrectly "SCHEDULED SHIPPING DATE: XYZ".  In both cases that caused much fear, panick, and trepidation that fed upon itself as it permeated a widely scattered forum linked community of "adults" that seem to collectively revert to a state of childish impatience and ultimately child-like glee as they obsessively refresh their dedicated tracking browser window; become convinced that there is no hope of escaping the dread delayed shippment, and then finally receive their new toy exactly when they were supposed to.  Not that I personally would ever succumb to that of course.  Er uhm ... it's just what I've seen you know .. nothing I can really relate to.

  • WRT54GX2 does not pick up time from the network...

    I have a WRT54GX2 running firmware 1.01.14 and it does not pick up time from the network. I have PacBell (now AT&T) as an ISP and a DSL link. My old Netgear router picks up the time immediately. I am trying to figure out if I have a defective unit or if this is a firmware bug. Without the time, I can not use any of the scheduling functions, nor measure uptime.
    Does anyone have this router with the time working? I have set the appropriate time zone.
    Thanks,
    Martin

    mneiman wrote:
    Thanks for you ideas.
    The backup file appears to be binary. However in searching through it I did see 3 time related text strings, namely: clock.stdtime.gov.tw, time-b.nist.gov and time.nist.gov. I can successfully ping clock.stdtime.gov.tw and time.nist.gov. This reinforces my belief that my ISP (AT&T nee PacBell) is not blocking access.
    however ntp works on TCP port 123. ping works on udp 7 afaik. if your old netgear works i guess this is a router problem.
    have you reset the router yet? afaik press reset button for 10 seconds.
    you will however loose all settings and need to enter them again. it may however fix the issue.Message Edited by linksysinfo on 07-09-2006 03:09 AM
    Regards Simon
    NAS: TS-459 Pro - 3.6.1 Build0302T - 4 x 1TB Samsung HD103SJ : EXT4 - APC ES 700VA UPS
    QPKG: WordPress 3.4, TwonkyMedia 6.0.39 QPKG - Zenphoto1.4.2.1 [7802] - phpMyAdmin v3.3.10
    Network: Netgear DG834G V4.01.40 - DGTeam Rev. 0849 -> Cisco RV220W 1.0.4.13, Cisco SLM2008, Dlink DSM-520, Xbox360

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How to query from the xml table a single, specified element.

    I'm quite new in Xml Db. Pleas, can anybody tell me how to query from the xml table below a single element (i.e. the element 'rapportoparentela = NIPOTE' related to the element 'codicefiscale = CRRVNC76R52G337R', or the element 'rapportoparentela = FIGLIO' related to the element 'codicefiscale = CRRRNT51L23G337Q')?
    - <dati xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <codiceinterno />
    <codicefiscaleassistito>CRRMNL81R31G337H</codicefiscaleassistito>
    - <famigliare>
    <codicefiscale>CRRVNC76R52G337R</codicefiscale>
    <rapportoparentela>NIPOTE</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CRRRNT51L23G337Q</codicefiscale>
    <rapportoparentela>FIGLIO</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CBRPRN15S65E080W</codicefiscale>
    <rapportoparentela>I.S.</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CRRMNL81R31G337H</codicefiscale>
    <rapportoparentela>NIPOTE</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>BCCCML54C50I845G</codicefiscale>
    <rapportoparentela>NUORA</rapportoparentela>
    </famigliare>
    </dati>
    Using SELECT extractValue(value(t),'/rapportoparentela') into result FROM NF_XMLT X,
    TABLE ( xmlsequence (extract(value(X),'/dati/famigliare/rapportoparentela'))) t
    I get all the elements 'rapportoparentela' and I want to get only one specified.
    Regards.
    Piero

    Piero,
    you can add the condition "CRRVNC76R52G337R" to your xpath-expression like:
    SELECT extractValue(value(t),'/rapportoparentela')
    FROM NF_XMLT x
    ,TABLE ( xmlsequence (extract(value(X),'/dati/famigliare[rapportoparentela="CRRVNC76R52G337R"]'))) tto select only those famigliare-elements that have a child-element rapportoparentela with value "CRRVNC76R52G337R".
    When you stored your XML in an XMLType column in the table, i think the following queries are better:
    SELECT extractValue(x.your_XMLType_column,'/dati/famigliare/rapportoparentela')
    FROM NF_XMLT x
    WHERE extractValue(x.your_XMLType_column,'/dati/famigliare/codicefiscale')
    = 'CRRVNC76R52G337R'or
    SELECT extractValue(x.your_XMLType_column,'/dati/famigliare/rapportoparentela')
    FROM NF_XMLT x
    WHERE existsNode(x.your_XMLType_column,'/dati/famigliare[codicefiscale="CRRVNC76R52G337R"]')
    != 0

  • Logical table with data restrictions from the physical table

    Hello, I have a question about the relationships between the Logical Tables in Business Model and Mapping and The Physical table in the physical layer. The problem is the next one:
    I have a Physical Table named T1 that contains the attributes: Id, DateChangeState, State,…
    T1
    DateChangeState| ID |State     | Other columns….
    01/01/2011 | 1 | 03 |     …
    02/01/2011 | 1 |     11 |     …
    03/01/2011 | 1 |     02 |     …
    02/02/2011 | 2 |     01 |     …
    03/02/2011 | 2 |     02 |     …
    I need filter this table and extract only one row per ID. The row that I need is the row who contains the Max(DateChangeState) per ID. I don’t know how extract only the rows selected from the physical table to the Logical Table.
    I need that the logical table contains the next rows:
    T1_Logical
    DateChangeState |ID |     State     Other columns….
    03/01/2011 | 1 | 02 |     …
    03/02/2011 | 2 | 02 |     …
    How can I extract only the rows with the Max(DateChangeState) grouped by ID in the BMM?
    I thought put this condition in the column mapping (CASE WHEN DateChangeState=Max(DateChangeState)) but the Max(DateChangeState) was not grouped by ID.
    Any idea about how solve this problem?
    I can not use the group by in the answer and I can not change the physical layer.
    Thank you,
    Best Regards.

    Hi Rajeevagrl your solution is very good but I dont´t know why obiee is applying twice the max condition, The select is the next one:
    select distinct D1.c1 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    (select D1.c1 as c1,
    D1.c2 as c2
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    max(D1.c3) over () as c3
    from
    (select T379.ID as c1,
    T379.DATE as c2,
    max(T379.DATE) as c3
    from
    T1 T379
    group by T379.ID, T379.DATE
    ) D1
    ) D1
    where ( D1.c2 = D1.c3 )
    ) D1
    order by c2
    Edited by: 848497 on 14-abr-2011 3:58

  • Macbook pro fell from the dining Table

    Hi guys
    My daughter just dropped my macbook pro from the dining table to the floor .
    The Macbook was on at the time when it fell, i quickly picked it up, but heard noises coming out from near the DVD drive.
    Since then the macbook is really slow, takes ages to start and keeps processing constantly.
    Browsing is slugglish! there is a delay in typing and browsing using mouse etc.
    Having read some posts already, i am begining to think that its the hard disk that seems to have gone.
    I tried running some hardware, but it froze after 59 secs so had to restart again.
    Can someone please help me in terms of checking or what i could do to  just ensure that its the hard disk and nothing else? Since this is accidental damage, which isnt covered under the warranty, can someone advise which HD would be best to replace it with? what does apple use?

    Instead of running the Repair Disk routine in Disk Utility, you can start up in Single User Mode and run fsck:
    http://support.apple.com/kb/TS1417
    That will repair the hard drive directory if the drive is in good mechanical order, possibly resolving the ballkiness mentioned in your first post. If the drive has suffered any damage in the fall, directory and file corruption may return quickly. I recommend backing up the hard drive ASAP if the machine will run long enough to do it.
    You can try running Apple Hardware Test without the Applications disc. If you have a unibody MBP and your hard drive has never been reformatted, it may work:
    http://support.apple.com/kb/ht1509

  • DB Connect Load - "Unknow error while uploading data from the DB Table"

    Hi Experts,
    We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
    I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
    At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
    Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
    Please advice.
    Thanks,
    Abhijit

    Hi,
    Sorry for bumping an old thread ....
    Did this issue get ever get resolved?
    I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
    One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
    I get "Unknown Error" whenever I trigger the data package.
    Advait

  • Delete all entries from the following tables - Follow-up Activities (oracle)

    Hello,
    I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
    I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
    DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
    I tried to delete them using SQL Plus:
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ... and it show me that error message.
    This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
    Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
    How can I delete the entries of that tables? Can I do that using the transaction SE14?
    Can you help me please?
    Thank you,
    samid raif

    Hello
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
    delete from SAPSR3.DBSTATTORA;
    Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
    Regards
    RB

  • Installation of the Proof of Purchase from the ACPI table failed. Error code:0xC004F059

    I just updated Window 8.0 to 8.1 for the second time as the first Time there was an UEFI issue...  the 8.1 installs and update seemed smooth... I shut down, and I leave for work. I come home fire up my PC it seems slow!! it boots...
    I notice some live tiles are active I prefer mine off so I  shut off a couple Live tiles. so then I decide to open the Mail tile and it locks up... and then one of my browsers freezes up!!! I could not open task manager at all to end the
    proses, so I decided to restart and then an app was not allowing windows to restart!!! so windows ended the task on its own could not make out what program or app it was!!! and the machine booted up slower again. I went into the event viewer
    and what do I find in there is this stuff and now looking at it this all started after the windows 8.1 update... I get it we all want the latest and greatest OS but as my mom said good things come to those whom wait don't rush into anything!!!
    and I think Microsoft you are rushing to push stuff out onto the Market... so now I have to sit here and wonder why my PC now takes 2 + minutes to load!!! (BS) and on win 8.0 it took 60 seconds... fix this please I will watch and see if
    this happens again if it keeps up I will have to once again revert back to 8.0 and at that point I will want some $$$ compensation for my loss... why should I have to go through hoops for something with the word Mircrosoft attached to it...
    I wonder how many others have had this same issue and don't even know its happening....
    1.
    Installation of the Proof of Purchase from the ACPI table failed. Error code:0xC004F059
    2.
    taskhostex (2888) WebCacheLocal: The shadow header page of file C:\Users\Dale\AppData\Local\Microsoft\Windows\WebCache\V01.chk was damaged.The primary header page (4096 bytes) was used instead.
    3.
    The driver \Driver\WudfRd failed to load for the device SWD\WPDBUSENUM\{362b48de-4382-11e3-be6e-3085a9a945d8}#0000000000007E00.
    4.
    Driver detected an internal error in its data structures for
    5.
    The program wwahost.exe version 6.3.9600.16431 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
    Process ID: e14
    Start Time: 01cf3eb70280ca6e
    Termination Time: 4294967295
    Application Path: C:\WINDOWS\syswow64\wwahost.exe
    Report Id: f7b4be2f-aaaa-11e3-8250-3085a9a945d8
    Faulting package full name: Microsoft.SkypeApp_2.0.0.5011_x86__kzf8qxf38zg5c
    Faulting package-relative application ID: App
    6.
    The program wwahost.exe version 6.3.9600.16431 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
    Process ID: 15bc
    Start Time: 01cf3eb66f89a193
    Termination Time: 15
    Application Path: C:\WINDOWS\system32\wwahost.exe
    Report Id: 0fd54265-aaaa-11e3-8250-3085a9a945d8
    Faulting package full name: microsoft.windowscommunicationsapps_17.4.9600.16384_x64__8wekyb3d8bbwe
    Faulting package-relative application ID: Microsoft.WindowsLive.Mail

    I have the something similar happening as reported in  event viewer in the warning section:
     System
      - Provider
       [ Name]  Microsoft-Windows-Security-SPP
       [ Guid]  {E23B33B0-C8C9-472C-A5F9-F2BDFEA0F156}
       [ EventSourceName]  Software Protection Platform Service
      - EventID 1058
       [ Qualifiers]  32768
       Version 0
       Level 3
       Task 0
       Opcode 0
       Keywords 0x80000000000000
      - TimeCreated
       [ SystemTime]  2014-08-13T04:35:49.000000000Z
       EventRecordID 80761
       Correlation
      - Execution
       [ ProcessID]  0
       [ ThreadID]  0
       Channel Application
       Computer Monzworks
       Security
    - EventData
       0xC004F059
    installation of the proof of purchase from the acpi table failed 0xc004f059
    My System Properties page says "Windows is activated"  and a product Id is displayed. I am on a window 8.1 core OS after applying the update successfulling from Window 8. My computer is an AsusTek Computer Inc. ,
    Asus Desktop PC CM1745 Series - 64-bit Operating System x64-based processor.
    I had trouble with AODDriver4.2.0 causing errors because the system could not find the path, It turned out to be uncleared program remnants in the registry were looking for an old version of the driver, in the wrong place , instead of the current one.  
    Oh, and I tried sfc/scannow and DISM /Online /Cleanup-Image /RestoreHealth from elevated cmd prompt and elevated powershell ise everthing was reported with no errors and with powershell, the report said windows store corruption was repaired.
    Before this I had used apps.diagcab and it said my IE 11's  temporary internet files folder was in the wrong place that it was going to put it back. Well, it messed up my IE 11 so the folder location was in the same place but it was not listed in the
    location:                 . <----- Just like this. Plus the amount of disk space available was 8mb-which messed up any sort of operations for example putting in a new search
    engine could not be completed.  I had to use a system restore.   I currently have no errors showing up but warnings yes. thankfully most are minor.This is the other event viewer report which could be related:
    - System
      - Provider
       [ Name]  Microsoft-Windows-Security-Auditing
       [ Guid]  {54849625-5478-4994-A5BA-3E3B0328C30D}
       EventID 5061
       Version 0
       Level 0
       Task 12290
       Opcode 0
       Keywords 0x8010000000000000
      - TimeCreated
       [ SystemTime]  2014-08-13T03:48:26.671362500Z
       EventRecordID 290021
       Correlation
      - Execution
       [ ProcessID]  676
       [ ThreadID]  728
       Channel Security
       Computer Monzworks
       Security
    - EventData
      SubjectUserSid S-1-5-21-4255092528-2166032690-2543152005-1002
      SubjectUserName Monz Prez
      SubjectDomainName MONZWORKS
      SubjectLogonId 0x239d9
      ProviderName Microsoft Software Key Storage Provider
      AlgorithmName UNKNOWN
      KeyName CD1CC265-0DA0-4230-8419-CB6F808FE688
      KeyType %%2500
      Operation %%2480
      ReturnCode 0x80090016
    I am tired so talk among yourselves.
    Sincerely Tired

  • Re:How can we delete the concurrent node entry from the FND_NODE table

    HI ,
    11.5.10.2 on Oracle Solaris on SPARC (64-bit) .
    How can we delete the concurrent node entry from the FND_NODES table without running Autoconfig.
    Currently we are having 3 nodes RAC and we are deciding to remove one node from the RAC and all 3 nodes are registered as concurrent node with application but concurrent manager is running only on one node.
    Lot of the custom configuration we did it at application web tire level. If we run the Autoconfig at that time we need to redo those changes again that we are trying to avoid.
    Regards .

    we are trying to avoid to run FND_CLONE.setup_clean because it will delete all the nodes entries from the FND_NODES.If those entries are invalid then they should be deleted.
    Running AutoConfig after purging the table will populate it with the correct entries.
    In order to populate the nodes entries again we need to run autoconfig and it will change the server id in fnd_nodes and then we need to redo the ADI client configuration on users PC and redo all the changes that we made in jserv and webserver.For ADI Clients, you should use the correct server ids which will be populated in the table for you once you run AutoConfig.
    For jserv configuration, you can refer to (Customizing an AutoConfig Environment [ID 270519.1]) to make the preserve all your custom setup/configuration after running AutoConfig.
    If there any custom script to delete only one node from the fnd_node so that we don't need to run autoconfig after that, then I really appreciate.No.
    Thanks,
    Hussein

  • How to Insert 3 Column details in a single table from the parent table.

    From the Parent Table i need to insert rows which are all under this column {(TradeIn_1_VIN),(TradeIn_2_VIN),(TradeIn_3_VIN) } into SALES_TRADEIN Table .
    I have used the below Query,
    But it reads only (TradeIn _1_Vin) Column in the SALES_TRADEIN table rest 2 records got skipped..
    INSERT INTO SALES_TRADEIN
    SalesID,
    TradeIn_VIN,
    TradeIn_Make,
    TradeIn_Model,
    TradeIn_ExteriorColor,
    TradeIn_Year,
    TradeIn_Mileage,
    TradeIn_Gross,
    TradeIn_Payoff,
    TradeIn_ACV,
    TradeIn_InteriorColor
    VALUES
    @SalesID,
    case when @TradeIn_1_VIN is null then @TradeIn_2_VIN else @TradeIn_1_VIN end,
    case when @TradeIn_1_Make is null then @TradeIn_2_Make else @TradeIn_1_Make end,
    case when @TradeIn_1_Model is null then @TradeIn_2_Model else @TradeIn_1_Model end,
    case when @TradeIn_1_ExteriorColor is null then @TradeIn_2_ExteriorColor else @TradeIn_1_ExteriorColor end,
    case when @TradeIn_1_Year is null then @TradeIn_2_Year else @TradeIn_1_Year end,
    case when @TradeIn_1_Mileage is null then @TradeIn_2_Mileage else @TradeIn_1_Mileage end,
    case when @TradeIn_1_Gross is null then @TradeIn_2_Gross else @TradeIn_1_Gross end,
    case when @TradeIn_1_Payoff is null then @TradeIn_2_Payoff else @TradeIn_1_Payoff end,
    case when @TradeIn_1_ACV is null then @TradeIn_2_ACV else @TradeIn_1_ACV end,
    case when @TradeIn_1_InteriorColor is null then @TradeIn_2_InteriorColor else @TradeIn_1_InteriorColor end
    END TRY
    Actually my problem is
     If  [(TradeIn_1_VIN),(TradeIn_2_VIN),(TradeIn_3_VIN)] these 3 columns have details i need all the 3 columns  details need to be read to SALES_TRADEIN table.
    Suppose if we have data only in [(TradeIn_1_VIN),(TradeIn_2_VIN)] then these column details need to loaded in the SALES_TRADEIN table.
    If any columns are blank no problem it can move next process.
    Please help me change those particular lines to insert all the 3 records  (TradeIn_1_VIN) (TradeIn_2_VIN) (TradeIn_3_VIN) in to the table.

    you've not given us the full info about the tables. The posted code also makes not much sense to me as all I can see are values getting inserted from some variables which is not required here as your values come from a table and variables can handle only
    one set of values a time which would require unnecessary iteration logic.
    I think what you need is something like below
    INSERT INTO SALES_TRADEIN
    SalesID,
    TradeIn_VIN,
    TradeIn_Make,
    TradeIn_Model,
    TradeIn_ExteriorColor,
    TradeIn_Year,
    TradeIn_Mileage,
    TradeIn_Gross,
    TradeIn_Payoff,
    TradeIn_ACV,
    TradeIn_InteriorColor
    SELECT t.TradeIn_VIN,
    t.TradeIn_Make,
    t.TradeIn_Model,
    t.TradeIn_ExteriorColor,
    t.TradeIn_Year,
    t.TradeIn_Mileage,
    t.TradeIn_Gross,
    t.TradeIn_Payoff,
    t.TradeIn_ACV,
    t.TradeIn_InteriorColor
    FROM Parent p
    CROSS APPLY (VALUES
    (TradeIn_1_VIN,
    TradeIn_1_Make,
    TradeIn_1_Model,
    TradeIn_1_ExteriorColor,
    TradeIn_1_Year,
    TradeIn_1_Mileage,
    TradeIn_1_Gross,
    TradeIn_1_Payoff,
    TradeIn_1_ACV,
    TradeIn_1_InteriorColor),
    (TradeIn_2_VIN,
    TradeIn_2_Make,
    TradeIn_2_Model,
    TradeIn_2_ExteriorColor,
    TradeIn_2_Year,
    TradeIn_2_Mileage,
    TradeIn_2_Gross,
    TradeIn_2_Payoff,
    TradeIn_2_ACV,
    TradeIn_2_InteriorColor),
    (TradeIn_3_VIN,
    TradeIn_3_Make,
    TradeIn_3_Model,
    TradeIn_3_ExteriorColor,
    TradeIn_3_Year,
    TradeIn_3_Mileage,
    TradeIn_3_Gross,
    TradeIn_3_Payoff,
    TradeIn_3_ACV,
    TradeIn_3_InteriorColor)
    )t(TradeIn_VIN,
    TradeIn_Make,
    TradeIn_Model,
    TradeIn_ExteriorColor,
    TradeIn_Year,
    TradeIn_Mileage,
    TradeIn_Gross,
    TradeIn_Payoff,
    TradeIn_ACV,
    TradeIn_InteriorColor)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to read the hierarchy data from the same table using loop in AMDP method

    Hi All,
    We have a requirement to get the top partner from BUT050 table.
    Here the Top parent is nothing but the top most in the hierarchy of the partners from BUT050.
    Example:
    For partner 1234 (BUT050-PARTNER1) there is partner 3523(BUT050-PARTNER2) one level above
    For partner 3523(BUT050-PARTNER1)  there is partner 4544 (BUT050-PARTNER2) last level .
    so in this case for the partner 1234 the Top parent is 4544 .
    I have created AMDP Procedure method to get the top-parnet and below given is the logic implemented in AMDP method.
    Here i have implemented a recursive logic with the WHILE loop to get the top most hierarchy partner from the same table BUT050
    IV_Parent is the input partner and ev_top_parent is the output value.
    AMDP Procedure Method:
        DECLARE lv_date VARCHAR(8) := TO_VARCHAR (current_date, 'YYYYMMDD');
        DECLARE found INT := 1;
              iv_partner1 =  SELECT partner1 FROM but050
                              WHERE partner2 = iv_partner
                              AND reltyp = :iv_hierarchy
                              AND date_to >=  :lv_date
                              AND date_from <= :lv_date;
         WHILE found <> 0  do
           select partner1 into ev_top_parent from :iv_partner1;
                           iv_partner1 =  SELECT partner1 FROM but050
                           WHERE partner2 in ( select partner1 from :iv_partner1 where partner1 is not null)
                           AND reltyp = 'ZBP004'
                           AND date_to >= :lv_date
                           AND date_from <= :lv_date;
           select COUNT ( partner1 ) INTO found FROM :IV_PARTNER1;
        END WHILE;
    This method is working fine, but here it is only taking one single partner and getting the top parent as output.
    Now i would like to convert this mehtod so as to accept n number of partners (not one single partner) as input and should process each partner to get the top parent.
    Could anyone guide me how can i handle the given AMDP method further so as to work some how it is within another loop from other AMDP method.
    Thanks.
    Regards,
    Laxman.P

    Hi
    Go to SE11 and enter the hierarchy table name.
    /BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
    Thanks
    TG

  • Deleting a row from the item table

    Hi All,
    I have a requirement where I need to put a button to delete the selected row from the item table and for this I have written the following code:
    DATA lo_nd_t_bseg TYPE REF TO if_wd_context_node.
        DATA lo_el_t_bseg TYPE REF TO if_wd_context_element.
        DATA ls_t_bseg TYPE wd_this->element_t_bseg.
        data: it_tab type table of wd_this->element_t_bseg.
      lo_nd_t_bseg = wd_context->path_get_node( path = `Z.T_BSEG` ).
      lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
      lo_el_t_bseg->get_static_attributes(
        IMPORTING
          static_attributes = ls_t_bseg ).
        lo_nd_t_bseg = wd_context->path_get_node( path = `Z.T_BSEG` ).
        lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
        IF lo_el_t_bseg IS not INITIAL.
          lo_nd_t_bseg->remove_element( lo_el_t_bseg ).
        ENDIF.
    Now the problem is although it's deleteing the selected line correctly but because of this I am losing one line on the screen for the user to enter... my form has a fixed number of lines and in my case it's 10... so everytime I am using deleting a line item I am losing one line to enter..... can you please tell me how can I avoid this?
    Edited by: rajatg on Aug 4, 2011 3:12 PM

    lets say...
    i have 1,2,3 documents
    i have cleared , document 2....
    1. when the user selects this record.... you can read the context_element....using the context element you can get the values and clear those values and set the blank values...
    when the user click on save ...you can have only those two records in the table.
    2. conitnue with your logic .... remove_element. once it is done ,,, create_element at the deleted index...
    3. when clicked on delete ...remove_element ( current code).... bind the table to the node... and you will have ur values

  • Creating MS- Access data base from the Internal tables data of an ABAP Prog

    Hi,
    I have a requirement where I have to create Access tables from the Internal tables of ABAP program.
    The tables are like Project systems Header data, WBS elements data, Netwrok data, Activity data, Milestone data and Project revunes. I will have the internal tables for these. I want to transfer these tables data into MS-Access tables onto Users desktop.
    Please adivce me how to do this.
    Thanks,
    Prabhakar

    HI,
    I am trying to create a DB table in the access but I am not successful. The following is the format of the table needs to be created from the ABAP program.
    I have created a table with the following format in MS-Access with the name tblHeader. Is it neccessary to create a DB table ( MS-Access) in advance or by using the FM  STRUCTURE_EXPORT_ TO_MSACCESS  we need to create a structure in MS-Access?
    False tblHeader
    Field Name Type Length
    ProjectDef Text 255
    ProjectDes Text 255
    Created Text 50
    Change Text 50
    RespPerson Text 255
    Profile Text 255
    Plant Text 255
    ObjNo Text 255
    OverheadKey Text 255
    I have created a Z table ZTAB1 with the same format from the SAP fields.
    MS-Access Table name : tblHeader
    ABAP program Internal table : t_tblheader
    Z table Name : ZTAB1.
    First I am trying to create a structure in MS-Access with the following FM.
    CALL FUNCTION 'STRUCTURE_EXPORT_ TO_MSACCESS'
    EXPORTING
    dbname = 'D:\test\db2'
    LANGU = SY-LANGU
    dest = 'PS_ACCESS_1'
    TABLES
    tabname = ttblheader
    EXCEPTIONS
    system_failure = 1
    comm_failure = 2
    OTHERS = 3
    Table ttblheader type is DFIES and I am filling the table with only one record and one field i.e TABNAME and the value is ZTAB1.
    The source code of the FM is using another FM
    CALL FUNCTION 'MSACCESS_STRUCT_ EXPORT_RFC' DESTINATION DEST
    Here I am getting the Error message Object required. I can't able to create a table structure in MS-Access.
    Next I am going to Use the FM
    'TABLE_EXPORT_ TO_MSACCESS'
    and it will create the records in the MS-access table.
    CALL FUNCTION 'TABLE_EXPORT_ TO_MSACCESS'
    EXPORTING
    dbname = 'D:\test\db2'
    langu = sy-langu
    dest = 'PS_ACCESS_2'
    tabname = 'ZTAB1'
    reftable = 'tblheader'
    FLG_NO_DOWNLOAD = ' '
    FLG_APPEND = ' '
    FLG_POPUP = ' '
    TABLES
    dtab = t_tblheader
    here t_tblheader is the internal table.
    Reftable = tblheader is the table which i have created in advance. ( not by using the First FM)
    In this FM i am getting a error message : Unable to connect to Database D:\test\db2.
    Please help me how to create the MS-Access database.

Maybe you are looking for

  • In obiee 11.1.1.6.2 analytics error "Invalid JSON payload ....."

    Hi Friends, We are use obiee 11.1.1.6.2 analytics in both Firefox and IE 7. When we save an report in catalog/shared/newfolder/report1 .After 10 mins or so, when we try to open it again , it pops up an error message about invalid json payload and rep

  • Premiere Pro Cs6 on MAC  ALWAYS crashes when I render.

    I have an 27' Imac with a 3,4Ghz i7 processor. Plus 8Gb of Ram. AMD Radeon HD 6970M 2048 MB And runnning OS X Lion 10.7.5 I can`t understand why my computer at work with an i5 processor , 4Gb o Ram and with OSX Snow Leopard never crashes with Cs6 and

  • Change log on PO (Invoicing Plan)

    Is there anyway we can display the changes made on a PO within the Invoicing Plan section? Example, I changed the invoice date under the Invoicing Plan section? I was not able to see any changes under PO >> Environment >> Header changes or Item chang

  • How to interact with database?

    Hi, I am exploring sampleportal application in Weblogic Portal8.1 SP4. There in login portlet they are using login.jsp file which uses examples.login.DirectorBacking class for login form authentication. DirectorBacking class uses default com.bea.p13n

  • What does make a distro heavy ?

    I tried to show a friend the system requirements of some distros. i installed them on a pentium 3 1GHz 256 M ram comp One of the distros tested was Mandriva one from which i am writing now It works quite slow and not very responsive. This is a heavy