HRMD_A idoc generation with all infotypes

Dear All,
I have a requirement where in I want to generate HRMD_A idoc with all the infotypes. We have created change pointers and any change that we do, generates idoc but it contains the data of only the changes done. Is there a way, whcih will enable the generation of idocs of the changes OBJID and it should have the data of other infotypes of the OBJID.
Eg. Suppose i do change for infotype 1 of say OBJID 00001. I want that the idoc should send info abt other info types also.
Is there anything standard...???
Thanks!!
Cheers
Sunita

Unfortunately not. You'll need the help of a developer to create a Z extension to the standard Message Type, add the extension to the standard Message Type and finally fill the (custom) fields of that Z extension via a BAdI provided by SAP to customers so that when the IDocs are created by the applications it will also create & add the Z extension as an appendix to the standard segments of the IDoc (which you would normally view via WE02/05).
Hope it made sense and it helps your issue.
Cheers,
Sougata.

Similar Messages

  • Read MULTIPLE idocs data with all sgmn to my internal table in a single

    Dear SAP Folks!
    I have a question, I know to read SINGLE idoc data with all segments, we have FM IDOC_READ_COMPLETELY but my requirement is to Read MULTIPLE idocs data with all segments to my internal table in a single shot without keeping this FM in loop! since it is performance issue, at a time i may want to read 1000 idocs data!
    Could anyone please let me know is there any way to get this, keeping mind of performance and any other FM?
    Best Regards,
    Srini

    Hi,
    I know idoc numbers and i can write a select Query to DB table EDID4 to get all segments data to my internal table. But i am looking for FM to do this. because i have too many number of idocs and each idoc is having many segments(I am thinking in performance point of view!) The FM IDOC_READ_COMPLETELY can accept only ONE IDOC number as import parameters at a time to get segment data. in similar way do we have any other FM? or other way? except select query to EDID4 table?
    Best Regards,
    Srini

  • IDoc acknowledgement with all error messages

    We are getting one IDoc in SAP from middleware and after it is processed we need to send acknowledgement back to sender system with all the messages in IDoc.
    I tried with ALEAUD msg type, but it seems it only send IDoc last status.
    However, requirement is to send back all error messages which came during IDoc processing to sender system, can any1 please suggest?

    Hi Hans,
    The list of all error messages is in the file ErrorMessages_en.properties.
    If you have SDK installed then this file for base ME is located in Base ME Resources/resources/properties.
    For customizations - Global Configuration/Properties
    Thanks
    Ivan

  • IDoc generation with Message Type HRMD_A with filter on Personnel Area

    Hello All,
    We are facing an issue in generating IDoc using the standard message type HRMD_A.
    When we have no filters on the Distribution Model, the IDoc is generated through RBDMIDOC. When we use the filter on BUKRS, it generates the IDoc but gives an error status "Cross-system company code XXXX does not exist". I know to how resolve this issue. But, we tried to filter the changes with Personnel Area this time. So I have used the field PERS_AREA in BD59 with segment type E1PLOGI. When I run the standard report RBDMIDOC it gives the message "No data selected for distribution".
    I have checked the field name PERS_AREA from table TBD10, and it is mapped to T500P-PERSA. Change pointers are triggered and stored in BDCP2. Request experts to suggest what could be wrong with this.
    Thanks,
    Anil

    Hello Michele,
    If you have added BUKRS in BD59 for the message type, you will see Company Code (not filter1) in your filter criterion in BD64.
    Have you included the following code in FILTER_VALUES_SET method of the BADI implementation.
      CHECK OTYPE = 'P '.
      SELECT * FROM PA0001
               INTO PA0001 WHERE PERNR =  OBJID
                           AND   BEGDA <= SY-DATUM
                           AND   ENDDA >= SY-DATUM.
    record is valid today, no authorization check
        EXIT.
      ENDSELECT.
      IF SY-SUBRC = 0.
        FILTER1 = PA0001-BUKRS.   ELSE.
        CLEAR FILTER1.
      ENDIF.
    Lastly, just make sure the record you are testing for has your desired company code PGPB.
    Regards,
    Anil

  • Problem in HRMD_A Idocs: Object is Locked

    Hi Everyone,
    I would like to ask for assistance on the problem below.
    We've encountered almost everyday failed HRMD_A idocs. Almost all of the idocs have the same error message: "Object is Locked. A locked key has been set for the object."
    The object type is "P".
    Can you help us on how to solve this problem?
    Thanks in advance!

    Hi,
    For the locked object the sender system itself will not send the idoc.
    and hence the error for the lock object might have been seen in the sender system and not the receiver system.
    Yes you can process the idocs which are in error in the receiver system by frequently scheduling reports like
    RBDMANI2-Schedule update of idocs with errors and
    RBDAPP01- for ready for transfer idocs
    I suggest you use the bapi way of transferring data, where the receiving system reads data from the sender system once a day and reads only that data which is changed during that date.
    Regards,
    Divya

  • How to send single person-records with HRMD_A Idoc and change Idoc header?

    Hello group,
    we have different companies in our SAP system (BUKRS). Now when an infotype is changed the changepointers are activated and using program RBDMIDOC we can send Idocs of type HRMD_A to f.i. files. In order to have these files distributed to different parties depending on BUKRS of the person we would like to have HRMD_A to deliver single records, an Idoc for each person and the Idoc header fields for variant and function should be filled so that the partner profile would distribute the Idoc to the partie.
    Is this possible? And if yes how?
    Regards, Léon Hoeneveld The Netherlands

    Transaction PFAL lets me trigger the Idoc manually, but with a job for RBDMIDOC this is automatically.
    I found fm RH_HRMD_BLOCK_SIZE in wich you can enhance the code to set the block size for an Idoc-type to 1.
    But now I still have to change the Idoc header with an enhancement of user-exit.
    HRALE00OUTBOUND_IDOC BADi does not have the functionallity.
    Regards, Léon Hoeneveld

  • I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list.

    I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list. I've confirmed the mac address is included on that list and that the password is correct. Under choses netwrok I select the network and it just goes into a spin. I have tried removing the password and the access list settings and it still will not complete the connection to the router thus no internet access. The routers firmware is also up to date. This thing worked fine before this update and I've already tried to restore from backup. Any ideas or is the wifi nic bad in this thing with the new apple firmware update? Any fix?

    Thanks Bob, I don't know why but it all of a sudden worked a few days later. It's a mystery but at least problem solved.

  • HT4623 My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I won't erase all my music reco

    My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I don't want to erase all my music recording. (couldn't back up easily...) my dairy, my financial record made on apps...
    If I got a new Mac book pro soon, would it helps backuping everything?

    awesome121, he does not an an iCloud account. You need iOS 5 or later for iCloud and the poster said he has iOS 4.
    awesome121 wrote:
    DO you have a icloud account?

  • My photos will not sync to my Apple TV (1st generation), ipad, iphone, or itouch. They used to be there but upon recent syncs with all devices they have all gone. I am totally baffled as I have not changed settings?

    My photos will not sync to my Apple TV (1st generation), ipad, iphone, or itouch. They used to be there but upon recent syncs with all devices they have all gone. I am totally baffled as I have not changed settings?

    I had the same thing happen to me.  It's a bug in iPhoto 9.4.2.
    The first time you run iPhoto after upgrading to iPhoto 9.4.2, it "updates the iPhoto library".  This sometimes tickles a bug where iTunes can see all your iPhoto albums, but iTunes thinks they are empty.  Since iTunes thinks all your albums are empty, it dutifully deletes any photos from your synced iOS devices.
    It's easy to tell if this is the problem you are seeing.  Open iTunes and go to the photos sync panel for one of your iOS devices.  If you have multiple albums checked, but iTunes shows a total of 0 photos, then you have the problem.
    I spent an hour with an Apple Genius.  he couldn't find any mention of this problem in their internal support system.  His recomendation was to reinstall the operating the system.  I suspect that this won't solve it.
    The only solution I have found is to restore iPhoto 9.4.1 and the corresponding iPhoto library from your backups.
    I would refrain from upgrading to iPhoto 9.4.2 until Apple has a fix for this issue.

  • I have an iPod nano 2nd generation and I want to download the songs I have on it to my new computer, as my old one crashed with all the songs on it.  I also got a new iPod and would like to transfer the old songs onto it. How do I do this?

    I have an iPod nano 2nd generation and I want to download the songs I have on it to my new computer, as my old one crashed with all the songs on it.  I also got a new iPod and would like to transfer the old songs onto it. How do I do this?

    Ok so sorry for clogging the community!! I figured it out - you have to copy your videos into itunes manually. I did that, synched and all good!

  • I have ran the diagnostics test on iTunes and iPod.  The diagnostic says there is an iPod, it is identified with the correct name, but it says there is no sync ability.  What can I do?  iPod nano 3rd generation.  All updates are current.

    I have ran the diagnostics test on iTunes and iPod.  The diagnostic says there is an iPod, it is identified with the correct name, but it says there is no sync ability.  What can I do?  iPod nano 3rd generation.  All updates are current. 
    It had not been used for awhile and most of the songs that were on there were gone when I turned it on.  I was trying to sync to update the library.

    sklshrnk wrote:
    It had not been used for awhile
    Weeks, months, years?  It's possible your battery is dying.  Take the iPod Nano to an Apple store or an AASP.  Whichever is more convenient for you. 
    Syncing Music to iPod 

  • I recently bought my daughter an iPod 5th generation and quickly set it up with all my info ... E-mail , Apple ID etc. how can I change all of it to her name and new info without losing all her apps , movies and music ???

    I quickly set up my daughters iPod with all my info ( e-mail , Apple ID and password ) how cam I change it all to new info under her name so she can have for her own ??

    You will need to Erase the Device and Set up as New using her Apple ID.
    Then... Sync her content...
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    Note:
    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • HRMD_A IDOCs - Restrict PERNRs

    Hello,
    I would like to restrict a certain range of personnel numbers from being included in an IDOC.
    The current setup:
    1. HRMD_A distribution is configured and live in production with all PA and OM infotypes applicable
    2. The BADI HRALE00OUTBOUND_IDOC is enabled for certain customizaitons in the IDOC
    The required functionality:
    The personnel number range 80000000 to 89999999 should be restricted from the IDOCs. This includes:
    1. No PA infotypes for a PERNR in this number range should be sent out
    2. No Relationships to/from a PERNR in this number range should be sent out
    Current solution:
    The current solution that I have deployed in dev. is the the BADI where I am identifying the segments (E1PLOGI, E1PITYPE and E1xxxx) which has object P and PERNR in the number range. Once caught the segment is being deleted from the internal table.
    Looking for Solution:
    As this does not fall into the best practices category I was wondering if
    1. There is an option to restrict change pointers from being created for the PERNRs in question
    2. There is an option to restrict the IDOC generation program from picking up change pointers for the PERNRs in question
    Please let me know if there is an development option if not configuration.
    Thanks,
    Prashanth

    Found the solution: Below is an example of how to do this. I just defined one filter and modified the BADI.
    The method FILTER_VALUES_SET determines the values FILTER1 and FILTER2, which you can use in the segment E1PLOGI for data filtering.
    Example:
    The following example explains the steps you need to take to enable filtering according to an employee's last name and company code.
    The example assumes that neither the last name nor the company code of an employee changes over time. A complete, time-dependent solution is always customer-specific and cannot be offered in the standard.
    1. Define Filters as ALE Object Types
    Using the Define ALE Object Types function (transaction BD95 (table TBD11)) you create the ALE object type ZFILTER1 for the table name T77ALE_FILTER1T and field name FILTER1.
    In the same way you create the ALE object type ZFILTER2 for table name T001T and field name BUKRS.
    ALE Object Type     Table Name     Field Name
    ZFILTER1     T77ALE_FILTER1T     FILTER1
    ZFILTER2     T001T     BUKRS
    2. Assign Filters to a Message Type
    Using the Assign Object Type to Message Type function (transactionBD59 (table TBD10)), you assign the following values to the ALE object types ZFILTER1 and ZFILTER2 for the message type HRMD_A:
    ALE Object Type     Segment Type     No.     Field
    ZFILTER1     E1PLOGI     1     FILTER1
    ZFILTER2     E1PLOGI     1     FILTER2
    The ALE object types entered here can be used as a filter in the distributionmodel (transaction BD64). As input help for ZFILTER1 you get the value table T77ALE_FILTER1T, and for ZFILTER2 value table T001T.
    3. Determine the Values FILTER1 and FILTER2
    So that ALE outbound processing can evaluate the fields, the fields E1PLOGI-FILTER1 and E1PLOGI-FILTER2 in the IDoc must be filled with values.
    These values are determined in the current interface, which is called up in outbound processing and in which the fields FILTER1 and FILTER2 are filled with customer-specific values.
    4. Distribute Data According to the Filter Settings
    In this example, table T77ALE_FILTER1 contains two entries:
    A-L (for people with last names between A and L)
    M-Z (for people with last names between M and Z).
    The BAdI fills the FILTER1 field according to the infotype field P0002-NACHN with the value A-L if the last name is between A and L, or with the value M-Z if the last name is between M and Z.
    The BAdI fills the FILTER2 field with the company code from the infotype field P0001-BUKRS.
    In the distribution model the following filters are set up:
    To system A: Filter 1 = A-L, Filter 2 is empty
    To system B: Filter 1 = M-Z, Filter 2 = 0001, 1001
    People with last names between A and L, of whichever company code, are distributed to system A. Peoplewith last names between M and Z, who are assigned to company code 0001 or 1001, are distributed to systemB. Note that in this example people with last names between M and Z who are not assigned to company code 0001 or 1001 are not distributed.

  • Populating the custom segments for the Basic type attached to HRMD_A (IDOC)

    Hi,
    I've enhanced a few infotypes and want the new fields to be available in an IDOC created through the program RHALEINI.
    Here are the steps I followed.
    Step 1 :(we31)
    We created new segment Z1IT023 , containing all the fields from infotype 0023 along with the custom fields added.
    Step 2 :(we30)
    We created an extension of IDOC type HRMD_A07 by name HRMD_EX to include this segement.
    Step 3 :
    We added an entry in table EDIMSG against message type HRMD_A , with base type : HRMD_A07 , extension : HRMD_EX , version : 700
    Step4 :(we20)
    Now , we made changes to partner profile by adding entry for message type HRMD_A with base IDOC type as HRMD_A07 and extension as HRMD_EX
    Step5:
    We changed the entry in table T777D and specified the IDOC segment as Z1IT023.
    Step6.
    We then tried to execute the report RHALEINI to generate the IDOC. The IDOC got created, but it didn't have the data for the segment Z1IT023.
    In fact, there is a different solution to this... by adding the custom segment(containing nly the new infotype fields) as a child of the original segment E1P0023 and then writting code in the user-exit to populate the segment, but our intension is to have a single segment with all the infotype 0023 data. Besides, I believe in HR, making an entry in T777D should free us from writing any code for populating the IDOC segments.
    Can anybody please suggest me, where am I going wrong. How can the new segments be populated automatically.
    Thanks in advance.
    Sujit.
    Responses will be suitably rewarded.

    Hi,
    Did u get any exit to populate the custom segment?
    Thanks,
    San

  • Custom status message in ALE HRMD_A IDOC

    Hi,
    We are using HRMD_A idoc for integrating two SAP systems. We want a custom check to be included in the ALE outbound processing, where for example if a field of an infotype is some value then we want to stop the IDOC from being transferred to the target SAP system. IDOC should stop with a custom error message in the status record. Is this possible using any of the user exits?
    Thanks in advance,
    Shravan

    Requirement looks bit strange to me, if at all the IDoc is not needed to be sent for error message then why to Generate them, just filter out creation of IDocs by setting the Filters in Distribution model.
    For your requirements you may want to take a look at Badi HRALE00OUTBOUND_IDOC.
    Regards
    Shital

Maybe you are looking for

  • Weird character counting

    I'm having a problem with this bit of code. This works perfecly fine if there are not line breaks (/n) in the TextPane. if there are line breaks the .indexOf method seems to ignore them but the TextPane doesn't so when the format is applied it is shi

  • IPod classic 120gb - can't download from itunes

    I sync the ipod to my mac, open it and DON"T get a management screen that I've read about.  It just opens in finder.  What is shown to be on the ipod is not what actually is.  My problem is, I'm trying to download music from itunes onto it.  When I d

  • My sounds and audio is not working. it's not in mute. help please

    i need help. my sounds and audio is not working. but it's not in mute button.

  • Images are pixelated

    All the photos that I open in Photoshop lose their quality and appear pixelted, in comparsion to when i open and edit photos in digital photo professional. Please help me The camera used is a Canon rebel t3, and I shoot most photos in Raw, however i

  • Database copy in iseries servers

    Hi, I have a query. On I Series AS/400 system, we need to refresh production system (P04) to exsting  quality system (Q04). database size of P04 is around 250 GB. Remote CLient copy is not feasible as it will take days to complete. In case of databas