Multiple assignment records

Hi All,
I have requirement like, need to display multiple assignment and person records.
select pf.employee_number
,pf.full_name
,pf.email_address,
,paf.supervisor_id
,paf.job_id
from per_all_people_f pf
,per_all_assignments_f paf
where pf.person_id = paf.person_id
group by
pf.employee_number
,pf.full_name
,pf.email_address,
,paf.supervisor_id
,paf.job_id
having count(*)>=1;
I need to display multiple assignment records as well as person records. But above query taking too much time.
kindly explainme how to modify the query.
for ex: 1234 as employee number exists in application.
for the above employee 3 assignment records are exist.
Regards,
Visu

Hi All,
kindly give me suggestions for my problem.
for ex: 114589 employee created on 01-Jan-2010. One more record created on 24-jul-2010.
So, in person record (per_all_people_f) we have two records as below:
effective start date effective_end date employee number ...etc
01-jan-2010 23-jul-2010 114589 ...etc
24-Jul-2010 31-dec-4712 114589 --etc
same way 3 assignment records are created for the same employee.
my requirement is that i need to display all records assignment as well as person records like below format
employee number assignment id ---etc
114589 1526 --etc
114589 1526 --etc
114589 1526 --etc
Likewise i need to check all records in database and display accordingly.
regards,
Visu

Similar Messages

  • Multiple info records for the same material record in the catalog

    Hi Guys,
    I have got sort of a puzzle I can not solve at the moment, maybe some one can help me to solve it. The situation in our system landscape  is as follows:
    Systems:
    SRM 5.0 (Classic implementation scenario)
    ECC 6.0
    SRM-MDM 2.0
    PI 2005
    Material master is maintained in R/3 and the materials are replicated to SRM. From SRM we replicate all materials to the catalog repository in  SRM-MDM.
    As the material master in R/3 is vendor independent, the materials replicated to SRM also have no vendor attached. For the first initial material replication from SRM to the catalog SRM-MDM this also means that the products in the main table of the repository, u2018catalog positionsu2019, will not have a vendor or vendor number attached (i.e. no reference to a source of supply).
    To assign a source of supply in the repository to a product (record) we will use info records which are replicated from R/3 to SRM-MDM.  The mapping for this in the Import Manager can only be based on the product number. As this is the only unique value available which can map a info record to a already existing (but vendor less) ptoduct item in the catalog.
    As long as every item in the repository has only one unique info record, meaning one source of supply with a specific price, there is no issue in the above scenario. Based on the product-id, the info record data will be matched with the material item in the catalog.
    The issue for me arises when multiple info records exists for the same material. The info records can heave different vendors and different prices. All possible vendors should be available in the catalog for the same material (at least this is the requirement ). 
    At this point the product-id will no longer be an unique value. Importing the info records will cause problems, as only one material record is available in the repository for the specific product-id (remember that when doing a initial replication of the material master to the catalog, no vendor data is replicated).
    Does anyone had this issue before, and knows a solution? Is it for example possible during the import of the info records in the Import manager, to duplicate material records in the destination data, based on the number of info records available in the source data for the same product-id. Or is there an other solution that I am missing?
    Your help would be appreciated!
    Regards,
    Skander

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Import multiple info records for 1 material item in repository

    Hi Guys,
    I have got sort of a puzzle I can not solve at the moment, maybe some one can help me to solve it. The situation in our system landscape is as follows:
    Systems:
    SRM 5.0 (Classic implementation scenario)
    ECC 6.0
    SRM-MDM 2.0
    PI 2005
    Material master is maintained in R/3 and the materials are replicated to SRM. From SRM we replicate all materials to the catalog repository in SRM-MDM.
    As the material master in R/3 is vendor independent, the materials replicated to SRM also have no vendor attached. For the first initial material replication from SRM to the catalog SRM-MDM this also means that the products in the main table of the repository, u2018catalog positionsu2019, will not have a vendor or vendor number attached (i.e. no reference to a source of supply).
    To assign a source of supply in the repository to a product (record) we will use info records which are replicated from R/3 to SRM-MDM. The mapping for this in the Import Manager can only be based on the product number. As this is the only unique value available which can map a info record to a already existing (but vendor less) ptoduct item in the catalog.
    As long as every item in the repository has only one unique info record, meaning one source of supply with a specific price, there is no issue in the above scenario. Based on the product-id, the info record data will be matched with the material item in the catalog.
    The issue for me arises when multiple info records exists for the same material. The info records can heave different vendors and different prices. All possible vendors should be available in the catalog for the same material (at least this is the requirement ).
    At this point the product-id will no longer be an unique value. Importing the info records will cause problems, as only one material record is available in the repository for the specific product-id (remember that when doing a initial replication of the material master to the catalog, no vendor data is replicated).
    Does anyone had this issue before, and knows a solution? Is it for example possible during the import of the info records in the Import manager, to duplicate material records in the destination data, based on the number of info records available in the source data for the same product-id. Or is there an other solution that I am missing?
    Your help would be appreciated!
    Regards,
    Skander

    Hi Shai & Ravi,
    Thanks for your answers. The MDM version which we are using is 5.5 - currently on SP6
    @ Shai: you are right; the standard SRM-MDM 2.0 catalog repository has a qualified lookup table u2018priceu2019, in which itu2019s possible to store the info record data. The standard fields in this sub-table are: Purchase Org, Amount, Currency Lower B, PIR-ID, price based quantity and Price based quantity UoM.
    I added some extra fields (non qualified), to accompany the remaining info record data (product no. u2013 vendor id  u2013 product category)  which is exported/imported, via the standard extraction program in R/3: Tcode MECCM
    I tried the solution Ravi proposed. This scenario works fine when, for example you want to maintain multiple info records for one specific material record in the main table (all info records related to the same source of supply, i.e. vendor). But as I described, the info records we import for one product can have different vendors. 
    The source of supply (vendor) in the shopping cart of SRM is determined via the u2018supplieru2019 field in the main repository table (which is in itself a flat lookup table ). What happens now is that all related info records are added to the u2018price informationu2019 field of the specific product record in the main table. Thus info records which have different suppliers are attached to a record in the main table which will have one specific supplier in the u2018supplieru2019 field. So from my point of view this will not work.
    I am still stuck with the situation that the material master import will only import one record for every distinct product, which can have multiple info records. The info records can/will have different vendors. As the supplier field in the main table determines the source of supply in the shopping cartu2026. Iu2019am seeking for a solution which will duplicate the material records in the main table, based on the amount of imported info records for that specific material record, that have distinct vendors.
    Shai, if you have some useful info on how you accomplished this requirement on a previous version of SRM-MDM, it would be greatly appreciated if you can share it..
    Thx.
    Skander

  • Talent profile iView - how to change assignment records on "Resume" tab

    in the standard MSS iview Talent Profile, on tab "resume-Internal work experience", multiple (historical) assignment records are displayed. I have a requirement to display only one (the most recent) assignment record.
    how can I do that? is there a badi I can use for that? can I do this without WebDynpro ABAP enhancement?
    T.
    Edited by: Tiberiu Sasu on Nov 23, 2010 1:23 PM

    it will require enhacement
    CL_HRTMC_AC_WORKEXP_INTERNAL
    GET_ASSIGNMENTS
    CL_HRTMC_AC_WORKEXP_INTERNAL

  • X-Fi Platinum Multiple track record

    ??I have been doing a little reading on the forum for multiple track recording but I could not find anything specific enough for what i need. I have a Fostex digital recorder and i would like to either send out the multiple tracks of say a drum recording to multiple tracks on Majix Music Studio ten. I have been playing around with it but i cant find exactly what I need. Ideally I would like to use the ADAT format from a digital optical cable to bring in the individual wave files directly to the computer. But if?can find a better way or if sombody knows of a fairly inexpensi've digital mixer with at least 6 channels (any input preferably XLR). Also my recorder has SPDIF but only in a two track format. It also has MIDI outputs and inputs but so far I dont think I can use that?for controling my software and sending in multiple tracks. I know my program can do ASIO and WDM. But I dont know what inputs are assigned to what numbers. If any body can awnser any one of these questions please post. ASIO sounds great but how do I identify the track numbers to what input and can i input all the tracks from a digital input?Comp info:?Windows

    W/ ASIO, you can record from as many sources as you get listed/selected separetley in ASIO input port list (meaning those w/ names like Line-In, S/PDIF-In, Mic-In, Aux-In since, there are many of those ports meant for internal routings (W-U-H)). I don't know if you can use S/PDIF and analog inputs simultaenously. Here are some detailed information for Creative ASIO drivers (for Audigy cards but ...) - http://forums.creative.com/creativelabs/board/message?board.id=profaudio&message.id=726
    I think that Fostex is not very usable for you if you don't build a ADAT system over it. If you have the ADAT option in Fostex already available there and you can get 8 separate channels out from Fostex through it then you could get a soundcard which supports ADAT I/O (something like E-MU 22m ($99 atm.)) and record through Fostex into PC (though, A/D conversion quality Fostex does is propably not very good). Maybe you need more mic-preamps to record drums then too.
    jutapaMessage Edited by jutapa on 0-5-200708:32 PM

  • Multiple result recording against single MIC

    Dear Experts,
    In Case of calibration, for example i have assigned as one MIC to Operation, now after generation of Inspection Lot can we record multiple reading against single MIC. Please guide
    thanks
    DM

    Hi,
    I presume that apart from inspectopn point u have done all necessary steps .
    Is lnspection lot generating .
    1)If it is get generated then while result recording it will ask for identification.
    2)Enter any indentification (for ex a, b, c etc ) and save the result. Don't take UD as u want to take multiple result recording for that MIC
    3)Again go to result recording tab
       Follw step 2  & 3 as long as u want to thak no of results.
    IF not clear clear tell me ur requirement in detail & what u steps u have applied.
    Amol

  • Loading multiple physical records into a logical record

    Hello,
    I'm not sure if this is the right place to post this thread.
    I have to import data from a fixed length positioned text file into a oracle table using sql loader.
    My sample input file (which has 3 columns) looks like:
    Col1 Col2 Col3
    1 A abcdefgh
    1 A ijklmnop
    1 A pqrstuv
    1 B abcdefgh
    1 B ijklmn
    2 A abcdefgh
    3 C hello
    3 C world
    The above text file should be loaded into the table as:
    Col1 Col2 Col3
    1 A abcdefghijklmnpqrstuv
    1 B abcdefghijklmn
    2 A abcdefgh
    3 C helloworld
    My question: Is there a way tht i can use the logic of loading multiple physical records into a logical record in my oracle tables. Please suggest.
    Thanks in advance.

    Hi,
    user1049091 wrote:
    Kulash,
    Thanks for your reply.
    The order of the concatenated strings is important as the whole text is split into several physical records in the flat file and has to be combined into 1 record in Oracle table.
    My scenario is we get these fixed length input files from mainframes on a daily basis and this data needs to be loaded into a oracle table for reporting purpose. It needs to be automated.
    Am still confused whether to use external table or a staging table using sql loader. Please advise with more clarity as am a beginner in sql loader. Thanks.I still think an external table would be better.
    You can create the external table like this:
    CREATE TABLE     fubar_external
    (      col1     NUMBER (2)
    ,      col2     VARCHAR2 (2)
    ,      col3     VARCHAR2 (50)
    ORGANIZATION  EXTERNAL
    (       TYPE             ORACLE_LOADER
         DEFAULT DIRECTORY  XYZ_DIR
         ACCESS PARAMETERS  (
                                 RECORDS DELIMITED BY     NEWLINE
                          FIELDS  (   col1        POSITION (1:2)
                                      ,   col2        POSITION (3:4)
                               ,   col3        POSITION (5:54)
         LOCATION        ('fubar.txt')
    );where XYZ_DIR is the Oracle Directory on the database server's file system, and fubar.txt is the name of the file on that directory. Every day, when you get new data, just overwrite fubar.txt. Whenever you query the table, Oracle will read the file that's currently on that directory. You don't have to drop and re-create the table every day.
    Note that the way you specify the columns is similar to how you do it in SQL*Loader, but the SEQUENCE generator doesn't work in external files; use ROWNUM instead.
    Do you need to populate a table with the concatenated col3's, or do you just need to display them in a query?
    Either way, you can reference the external table the same way you would reference a regular, internal table.

  • BAPI : Multiple assignment of a line ID error in BAPI_GOODSMVT_CREATE

    Hi All,
    I am using BAPI_GOODSMVT_CREATE  for upload using excel ...........
    but i find error when execute .... Multiple assignment of a line ID
    anyone know about this..........
    Thanks in advance
    Santosh

    which movement type you are using and wht is your movement indicator?

  • In COGI error text "Multiple assignment of line item"

    Hi Guru,
    In COGI error text "Multiple assignment of line item"
    Description:
    ultiple assignment of a line ID
       Message no. M7357
    iagnosis
       An item table, in which the line ID (LINE_ID)
       was transferred to the function module MB_CRE
    ystem Response
       Processing is terminated.
    rocedure
       Contact the system administration.
    rocedure for System Administration
       There is an error in the calling application.
    Please help me to resolved this issue.
    Thanks and regards
    PNU

    Hi,
    Thanks for reply,
    It is possible to remove material from COGI list. We need to stop creation of this error.
    Is there other solution to control creation of error  "Multiple assignment of line item"
    Thanx & regd.
    PNU

  • How to Pass Multiple data records into SDATA for a segment

    Hi Friends,
    I need to Pass data records to Function Module
    MASTER_IDOC_DISTRIBUTE for Creating Outbound IDOCs
    I am Collecting all the Data Records and Passing into the Structure EDIDC.
    Here my problem is
    For one Route there are Multiple Customer records.
    so my First Parent Segment is ZROUTE
    i am passing the Datarecord for this Segment.
    and for the Customer Segment , I have 5 Customers,
    so i am passing the 5 Data records to SDATA .
    Loop at gt_route into gw_route.
    Pass the Route data into the Data record SDATA
      gw_idocdata-sdata    = gw_route_header.
      gw_idocdata-segnam = lc_route_header.
      gw_idocdata-hlevel = lc_4.
      APPEND gw_idocdata TO gt_idocdata.
      CLEAR : gw_route_header, gw_idocdata.
    Loop at gt_customer into gw_customer
                                   where anlage  = gw_route-anlage.
    Pass the Customer data into the Data record SDATA
      gw_idocdata-sdata  = gw_customer.
      gw_idocdata-segnam = lc_customer.
      gw_idocdata-hlevel = lc_5.
      APPEND gw_idocdata TO gt_idocdata.
      CLEAR : gw_customer, gw_idocdata.
    ENDLOOP
    ENDLOOP.
    So this customer segment is comming 5 times in my IDOC
    Can any one suggest me whether i am going in correct way or not.
    I am Getting the IDOC status 26.
    Error during syntax check of IDoc (outbound)
    I think it is because the IDOC is not yet SET RELEASE.
    But i am having the Dought in Passing the data to SDATA fied
    of the EDIDC Structure.
    Can any one Suggest me.
    Thanks in Advance,
    Ganesh

    Hi,
    First of all EDIDC is the control record, EDID4 is the data record. When collecting customer record into idoc_data you need to insert customer's parent segment number.
    Eg.
    route1, segnum 1.
       child 1, segnum 2 and parent segnum = 1
       child 2, segnum 3 and parent segnum = 1
       child 3, segnum 4 and parent segnum = 1
    route 2, segnum 5
       child 1, segnum 6 and parent segnum = 5
       child 2, segnum 7 and parent segnum = 5
       child 3, segnum 8 and parent segnum = 5
    Cheers.
    ...Reward if useful.

  • Select multiple equipment records in selection screen

    hi
    need to select multiple equipment records. Not a range of equipment records but many equipment records.
    I am using this as select option
    SELECT-OPTIONS: s_equip FOR equi-equnr.
    Please help

    Hi,
    Try to use
    SELECT-OPTIONS: s_equip FOR equi-equnr NO INTERVALS.
    aRs

  • Multiple Assignment Blocks

    Hi Gurus,
    I have a requirement:
    in the Quotation Screen of Web UI, Component - BT115H_SLSO
    I have to give multiple assignment blocks for the Items based on the item category.
    where user will be able to maintain different items for different item category.
    Here for maintaining the items the Component is BT115QIT_SLSQ.
    I have created a new component Z* copying this standard component and also the corresponding views, view set & windows.
    I am able to get the view into a new assignment b lock for the items. But in the New Assignment blocks the Editable Row for entering the item is not coming and also the insert Button is disabled.
    Can any one please help me how to activate the insert button and also how to add rows to the table/structure?
    Also I need to control the display & edit of the items based on the Item category in these assignment blocks - how to do this?
    Please help me out!
    Thanks a lot!
    Regards,
    Tarak

    The Hierarchy is this way.
    BTOrder ->BTOrderHeader (BTAdminH ) ->BTHeaderItemsExt ( BTItems  ) -> BTAdminI.
    BTItems is a parent of BTAdminI.
    ( You can look in GENIL_MODEL_BROWSER for ONEORDER).
    Here is the code snippet to insert an item at BTAdminI.
    lr_btitems = lr_btadminh->get_related_entity( 'BTHeaderItemsExt' ).
      IF lr_btitems IS NOT BOUND.
        lr_btitems = lr_btadminh->create_related_entity( 'BTHeaderItemsExt' ).
      ENDIF.
      CHECK lr_btitems IS BOUND.
      lr_btadmini = lr_btitems->create_related_entity( 'BTOrderItemAll' ).
      lr_btadmini->set_property_as_string( iv_attr_name = 'DESCRIPTION'
                                           iv_value = '' ).
    Regards,
    Masood Imrani S.

  • Error Text in COGI  : Multiple assignment of a line ID.How to resolve this?

    Error Text in COGI  : Multiple assignment of a line ID.How to resolve this?

    Hi Sanchit
    first you should implement notes 1506789 and 1494393. If then the issue is not resolved you should open a message in SAP Service Marketplace and let the SAP Support check the issue.
    BR Sabine

  • Multiple Audit Records created

    We have seen that when executing certain workflows, IdM tends to log multiple audit records for the same task. This results in 2 identical records being created in the audit logs as seen in the Today's Report.
    Can anyone help with understanding why this occurs and how to resolve this?

    Frequently we see this behavior, and I'd love to know if there's a product issue that does this.
    One reason we sometimes see duplicate entries is that IDM actually updates the account twice. E.g., if a workflow loads a user, checks the user in, then reloads the user and rechecks it in again later, we see two updates.
    A common cause of double saves seems to be that IDM stores dates in memory in a different format than it does in the database, but IDM appears to compare the actual date values as strings. If you check out a view with a date in it, and then save it (without making any changes) the record is still treated as updated. E.g., "1 Jan 2009 10:00:00AM" in IDM memory vs. "01/01/2009 10:00:00" in the database.
    But that only explains some of the duplicates we see.

  • Punch in & multiple tracks recording

    I'm working with Logic Express for a few weeks now, and I need to know 2 things:
    How can I make a punch in/out with Logic Express?
    I worked with Adobe Audition, and I just needed to select the part of the track where the repair should be done, and play.
    Now I just can't find out how it works with logic!
    how can I record multiple tracks at the same time with my Tascam FW1082?, now I can only select 2 tracks for multiple record.....
    Thanks!
    Martin

    As for "Punching in and out" i just loop the section that i wish to record over and BAM im done. You can use the magnifying glass to loop a certain area in detail or even use the loop markers on your Transport bar.
    For multiple track recording press record and then shift+click the other tracks you want to record on.
    Peace and Chicken Grease
    Frisco

Maybe you are looking for

  • How to create the web template

    Hi BW Experts,    how to create the web template.....!    I just want to know what is the use of Web template. i want to display the report in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...! Thanks shahina..!

  • How do you add a scroll bar to a scrolling text field in a folio?

    I've created iPhone and iPad folios with multiple pages. There are scrolling text fields on each page. The fields scroll as designed, but the scroll bars on the  text fields only appear while actually scrolling. Is there a way to have them always vis

  • WAP4410N (Repeater-Mode) is crashing at least once a day

    Hello everyone we installed a WAP4410n for a customer who needed a wireless repeater to forward the signal to another part of the building. Everything is configured properly and works, until the device stops responding. This happens at least once a d

  • Firefox freezes every few minutes for a few seconds.

    Firefox keeps freezing every few minutes, for a few seconds at a time. It's infuriating. It just happened right now while I was typing "infuriating". It's happened since I installed the Facebook Video Chat Plug-In, but I uninstalled that and it keeps

  • How to find the group name for a section programatically?

    I have these display formulas that are being repeated in each group footer.  The only thing that changes are the group names. How can I find the group name for the current section? The bolded(or starred) items are what I'm trying to create a generic