Tbale Data Not picked from Child Table while configuring Database Adapter

Hi,
we are experiencing problem while picking multiple records from child table while polling from the database.
details are, lets say we have one Parent table "Student (Id ,College) and one Child Table (Id,Book,Author)
Id is Primary key in Student Table and Foregin in Child Table.Lets say data in tables are
Student Table :196263,"Y.M.C.A"
Child Table :196263,"English","Gill"
196263 ,"Maths","Nagpal"
Now what should be done while polling 1 record should be picked from student table and 2 diferent records from Child Table ..for the above given scenario...
(I have used 1:M Relationship).
But What is happening that from Child Table only first record got picked up 2 times..and record from Student Tablle was being picked correctly.....but in the ideal
Cab anybody help me how to resolve this issues....

Hi Gurus,
I am facing similar kind of issue i.e. after polling on header table (Logical Delete), the header records are updated correctly.
But the problem starts in child table. From Child Table only first record is getting picked up 2 times (if 2 rows are there for that particular header id).
Kindly help.
Thanks,
Abhishek
Edited by: Abhishek saurabh on Jul 31, 2009 1:09 AM
Edited by: Abhishek saurabh on Jul 31, 2009 1:11 AM

Similar Messages

  • VAT GL is not picking from J_1IT030K_V table for the business place in FB60

    Hi,
    We have defined the VAT GL based on business place, while posting FB60 (Vendor invoice), system picks the VAT GL from OB40 instead of J_1IT030K_V table....
    (While posting MIRO it is correctly picking from J_1IT030K_V table).
    Please advsie.
    Thanks
    SAMEER

    HEllo,
    Please check if you have any substitution rule to change the value.
    REgards,
    REnan

  • Need to write a query while configuring Database Adapter

    Hi,
    I am working in BPEL.i need to write a query while configuring the DB adapter. i need to query a table which contains five rows each row containing 7 columns. my query should be like if i give the first column name(for eg:Title) it should return the complete row(i.e all the 7 columns in a row).
    So after deploying during testing when i give the Column name(Title) in the BPEL console it should return the row.
    How to write a query such tht if i give any title name in the five rows it should return the respective row
    please help me out.
    Regards,
    Mohamed

    Hi,
    I got the answer for this.its working fine now.
    the query is: select TITLE,..... from movie where (TITLE =#title);
    The second "title" will be the one which i am going to give in bpel console
    so it wil check with the "TITLE" in the table and execute the query.
    Regards,
    Mohamed

  • STO Delivery Date is not copy from Allocation Table Site Date

    Hi,
    I have a problem when Stock Transfer Order created based on the Allocation Table, the delivery date is not copy from Allocation Table. E.g. In Allocation Table delivery date is 26.09.2009, but in STO delivery date is 06.11.2009.
    Check the configuration and also check the stock, there is stock available to be delivered on 26.09.2009.
    Can someone please give me a hint to find out what is missing or wrong, and how to fixed this?
    Greatly appreciate for your suggestion and sharing.
    Kind Regards,
    2tea

    I found the problem finally.

  • Data not received in PSA Table

    hi guyz,
    im facing the below issue while loading master data attr from source system to bi system.
    im loading data from 0vendor_attr to ovendor object.
    only half of the records are processed and gets hanged.
    in monitor- administrator workbench its showing (60434 from 157912 records)
    below are the details of the issue:
    Data not received in PSA Table
    Diagnosis
    Data has not been updated in PSA Table . The request is probably still running or there was a short dump.
    Procedure
    In the short dump overview in BI, look for the short dump that belongs to your data request. Make sure the correct date and time are specified in the selection screen.
    You can use the wizard to get to the short dump list, or follow the menu path "Environment -> Short dump -> In Data Warehouse".
    Removing errors
    Follow the instructions in the short dump.
    please guide with your expertise.
    cheerz,
    raps.

    Hi Rajeev,
    Check the job in Background (SM37), you can analyze from here.
    Check the short dump in ST22.and check system performance once.
    If you are facing this problem first time, cancel the background job and make the request red.
    Then repeat the IP again, it will get successful.
    This should be due to performance issue or RFC problem of your system.
    If the job is active in SM37, cancel the job and make the status IP red.
    Re run the IP, it  will get successful.
    Regards,
    Venkatesh
    Edited by: Venky1903 on Aug 15, 2011 2:09 AM

  • Net price not picking from info record

    I am creating a new PO, but net price is not picking from info record. Info record is getting copied in the line item for PO, but net price is not copied. Due to that I am unable to create PO. If I manually enter price PO can be created. Could someone tell me what might be the reason Price is not automatically taken from Info Record. Please guide me what all I need to check.
    The same data is working in one cleint, and in another client this data is facing problem.
    Thanks
    Vineeth

    Hi
    1) If there is condition record exit in system,then while creating po system will take condition record
    2) If In inforecord last po number is exist for material and vendor ,then system will take this into consideration
    3) if your creating po first time for material and vendor ,and we have maintain purchasing inforecord for purchasing organization and for plant,then system will take it into consideration
    40 If none is available we have to put condition manually in po
    Regards
    Kailas ugale

  • BADI for MIGO update - Data not getting saved in table sometimes

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    Instead Of Updating The Gate Entry Item Table Now
    Update The Gate Entry Header Table. Update The
    Value Of The Field MBLNR With Current Document Number
    Generated Updating the header table ZMM_GATE_ENTRY
        SELECT SINGLE *
          FROM ZMM_GATE_ENTRY
          INTO WA_ZMM_GATE_ENTRY
         WHERE GATEENTRYNO EQ GS_EXDATA_HEADER-GATEENTRYNO
           AND WERKS       EQ GS_EXDATA_HEADER-WERKS
           AND GYEAR       EQ GS_EXDATA_HEADER-ENTRY_DATE+0(4).
    Check To Ensure That Once A Gate Entry Number
    Is Associated With A GR It Cannot Be Reused
        IF WA_ZMM_GATE_ENTRY-GR_NUMBER IS INITIAL.
          WA_ZMM_GATE_ENTRY-REFERENCE = GS_EXDATA_HEADER-REFERENCE.
          WA_ZMM_GATE_ENTRY-REFWERKS  = GS_EXDATA_HEADER-WERKS.
          WA_ZMM_GATE_ENTRY-GR_NUMBER = IS_MKPF-MBLNR.
          WA_ZMM_GATE_ENTRY-GR_YEAR   = IS_MKPF-MJAHR.
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt updates data sometimes and does not updates the data sometimes
        ELSE.
          MESSAGE E901(ZMM) WITH GS_EXDATA_HEADER-GATEENTRYNO WA_ZMM_GATE_ENTRY-GR_NUMBER.
        ENDIF.
    Plz suggest some soln?
    Regards,
    P.S.Chitra

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt in code updates data sometimes and does not updates the data sometimes
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Aug 10, 2010 11:33 AM

  • Data load fails from DB table - No SID found for value 'MT ' of characteris

    Hi,
    I am loading data into BI from an external system (oracle Database).
    This system has different Units like BG, ROL, MT (for Meter). While these units are not maintaned in R3/BW. They are respectively BAG, ROLL, M.
    Now User wants a "z table" to be maintained in BW, which has "Mapping between external system Units and BW units".
    So that data load does not fail. Source system will have its trivial Units, but at the time of loading, BW Units are loaded.
    For example -
    Input Unit (BG) -
    > Loaded Unit in BW (BAG)
    Regards,
    Saurabh T.

    Hello,
    The table T006 (BW Side) will have all the UOM, only thing is to make sure that all the Source System UOM are maintained in it. It also have fields for Source Units and target units as you have mentioned BG from Source will become BAG. See the fields MSEHI, ISOCODE in T006 table
    If you want to convert to other units then you need to implement Unit Conversion.
    Also see
    [How to Report Data in Alternate Units of Measure|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f]
    Thanks
    Chandran

  • *Manager Self Service Reminder of Dates not picking anniversary dates*

    Hello,
    The standard MSS work overview page has a standard I-View for Reminder of dates which includes the service anniversary dates.
    Technical Name iView -- com.sap.pct.erp.mss.reminderofdates
    Technical Name Web Dynpro application -- sap.com/mss~rod/ReminderOfDatesApp
    Details Component -- MSS_ROD_TRGT_GENERALDATA
    Object Selection I.D -- MSS_ROD_SEL1
    The data source for this view is RFC function module called: HRMSS_RFC_RD_DATES_GETLIST which uses in which is used FM 'HRWPC_RD_DATES_GETLIST_INTERNA' and within that 'HR_ENTRY_DATE'.
    My requirement is to have this iview to display the service anniversaries with respect to a specific Custom Date type.
    But in standard i find that the date is picked from the standard date type 01 and if date type"01" is not maintained then the BEGDA from the first records in table PA0000 for that employee
    In R/3 i have made the necessary configuration to change the selection rule BIFU (Used in class BIFU in Valuation model SENI - Entry in T77SO for ADMIN-LOSRV-SENI is available) to have set the priority of date type as 1 and have mentioned the Date type.
    And the service anniversary report when executed from R/3 gives the desired results.
    But in the portal i find that the iview is not reflecting the changes.
    Please help me with a solution as soon as possible.
    Thanks
    G Raj

    If you read the documentation for the MSS Business Package on help.sap.com for that particular iView, it tells you what settings are exposed to you and what is possible (like for example, showing it is an employee's birthday but not showing the year so as not to show age). It also tells you what kind of dates will display and where they are coming from. Past that, you would be looking at customization via code.

  • Data not received in PSA Table(urgent)

    hello,
    While loading Master data full load
    which is a load of 457070 on 2days back
    where only 4lac records r received to PSA but remaining 57070 was missing
    with error<b> Data not received in PSA Table
    </b>
    when the next day we loaded 5lac records and we got the same error<b> Data not received in PSA Table</b> where except 57070 records remaining all reached PSA
    where we tried 2day with 550000 records, same error without 57070 records all other reached to PSA
    I required ur help to solve this
    i will thank by giving points
    Regards
    PSC

    Hi,
    check if there is a TRFC haging in SM58.
    can that be that your DB cannot extend its space for this amount of data.
    How do you perform the load?
    package by package (in series or in parallel)? could that be that the next stage (into IObj) is failing thus stopping the load in the PSA?
    Can you try to perform the same load with only to PSA and then enable the "susbsequent update in target"?
    As already mentionned it could also be that an IDOC is haging...
    please let us know
    Olivier.

  • Data not received in PSA Table  0ORGUNIT

    Hi,
    We have an issue with a text load to 0ORGUNIT with around 35 lakhs of records. This particular load taking lot of time and resulting in short dump with the message 'Data not received in PSA Table'. But when iam making the request red and restarting it manulally it will get succeeed with in 15 minutes. The load is starting at 2:30 UK time and getting failed. I am restarting it at around 9 '0 clock and it got succed . The same thing happening from past 7 days. Can any one tell me what might be the reason and solution for this? Is this temporary memory issue? As the load is to an info object nothing to do with indices.
    Thanks in advance
    K

    You can change the size of the Data Packet.
    Open InfoPackge.
    From Top Menu choose "Scheduler >> DataS. Default Data Transfer".
    Default setting of the Source System will be shown.
    Keeping that in mind, try to reduce the "Max Size" & "Number of Data Packages per Request". You might need to try this a couple of times with lesser values each time to ensure that the issue resolves.
    Regards
    Anujit Ghosh

  • Data not coming in AFRU table for 21.05.10 for sometime

    Could you please tell me that why does this happen?
    For a particular date i.e. for 21.05.10, in the afru table the data was not there, it was saying "No Entries for that date" (in se16). Actually there is a z-report which was not showing the per ton draw calculation for that particular date. But for the other dates, it was showing fine.
    Infact, when in the afru table it was showing "No Table Entries found for that particular date", parallely in the z-report it was showing a Default value "341" for all items for 21.05.10.
    But just after 10 mins. the data got updated and its showing fine.
    What can be the problem? Coz its happenning often, and we the abapers are getting tight scold. But the program is correct. I have checked.
    Please Suggest.
    Saheli

    Saheli,
    You need to let us know how you program is designed, if the data is fetched from AFRU table and in AFRU table there were no entries for a posting date, how can you get a value in your custom report?
    Please explain what your report does, so that we can i think and suggest as what might be going wrong.
    Regards,
    Prasobh

  • I need to copy data from a table in one database (db1) to another table in

    Hi
    I need to copy data from a table in one database (db1) to another table in another database (db2).
    I am not sure if the table exists in db2,,,if it doesnot it needs to be created as well data also needs to be inserted...
    How am I supposed to this using sql statements..?
    I shall be happy if it is explained SQL also...
    Thanking in advance

    How many rows does the table contains? There are manyway you can achieve this.
    1. export and import.
    2. create a dblink between two databases and use create table as select, if structure doesnot exists in other database, if structure exists, use, insert into table select command.
    example:
    create a dblink in db2 database for db1 database.
    create table table1 as select * from table1@db1 -- when there is no structure present
    -- you need to add constraints manually, if any exists.
    insert into table1 select * from table1@db1 -- when there is structure present.
    If the table contains large volume of data, I would suggest you to use export and import.
    Jaffar

  • Price was not picking from the Condition type for Item Category 'P'  in PO

    Hi Experts,
    I Created one condition type based on Material and WBS which price was fixed based on this
    I used the Purchase Order having Item <b>Category ‘P’ or ‘Q’</b> Price should pick from the condition type where I mapped the WBS Element and Material.
    The Net price was not picking from the Condition type Record.  Why? What should be the Problem?
    Whether my logic is correct or not?
    <u><b>
    The Scenario:</b></u> I want to fix the Material price base on each WBS Element for a Project. For each WBS Element the Price will be various for same material.
    Please help on this.
    Thanks
    Muthukumar

    Hi,
    In standard configuration you cannot set item delivery date as a pricing data.
    Maybe you shoud look at SAP enchancement - in dedicated structures you can pass additional item data (structure KOKMP).
    IMG link:
    Materials Management -> Purchasing -> Conditions -> Define Price Determination Process -> System Enhancements
    hope it helps.
    regards,
    wojciech

  • PO price is not picking from Inforecord

    Hello All,
    When PO is created by one particular user the price is not picked from inforecord. Inforecord validity periods are active and this price is not of previous purchase order. The problem is only for this user. Can you please advice what needs to be done here.
    Thanks a lot in advance.
    Best regards,
    Raji

    Hi,
    1. Check out user profile whether EVO parameter is maintained properly for all the users.
    2. Check in EVO parameter key you set radio button on Always copy.
    EVO is parameter ID for Defining Defualt values for buyer. Relevent customization carried out in SPRO --> Mat mangt --> Pur --> Env data --> define default value for buyer.
    Rewards, if helpful to you.
    rgds,
    rajesh

Maybe you are looking for