HRMD_A ALE Problems

A while back I set up HR Master Data distribution. Initially, the client was running HR on the same server as FI, MM, SD etc. They wanted to move to a new HR server for security reasons.
I set up the ALE in order to connect the HR system to the R/3 system. Among others, i used message type HRMD_A. A problem I have come across is that sometimes the ALE tries to send objects across in the incorrect order, and the IDocs fail.
For example, if I create a new position, and then make some changes to that position, or assign relationships etc - The ALE sometimes tries to send the changes or relationships before it sends the actual position - This of course causes an error on the receiving system because the object does not exist when the changes are being attempted...
What are the steps that I should make sure have been taken to ensure no errors in the ALE?
What are the background jobs that I should have scheduled etc?

Dear David/Manas,
Manas : Please refer to note 752194 and also the documentation in SE38 of report RHALEINI. Serialization can assure that IDOCs are processed with the correct order even if customer only use message type HRMD_A.
David :
2.1 Re-distribute all the data just to make sure that all is in sync. Is that correct?
- Yes you need to make sure your initial distribution has been done correctly.
2.2 Before I run transaction PFAL, I assume that I need to de-activate change pointers u2013 or not?
- No you do not need to deactivate the change pointers.
2.3 I then follow your steps 1-4
3.1 After that, I should set up the serialization for sending and receiving on the box:
3.2 Which system must I do this on u2013 R/3 or HR?
- You need to install the serialization in your source system (where PFAL will be running). please refer to the documentation of report RHALEINI for further info.
3.3 I assume that I will need to "Define New Serialization Groups" for HRMD_A?
- Refer to note 752194 and the documentation of report RHALEINI. It will guide you in this process.
3.4 The distribution model has already been maintained as mentioned in point 1.1. Do I need to add info-type 1028 to the filter?
-  Unless you need this infotype
3.5 I will then need to u201CDefine Inbound Processingu201D.
For inbound:
-> go to transaction WE20 -> Select Partner
Select Inbound Message Type and change the processing method from
"Trigger Immediately" to "Trigger by background program".
3.6 Lastly I will need to create a variant for program RBDSER01 and schedule a background job u2013 How often should this job run? Which server should this job be run on? R/3 or HR?
This report is used when you are using different application servers and different message types. So in your scenario, you can use report RBDMIDOC to create your idoc from change pointers and then run report RSEOUT00 to send these idocs to the target system.
Hopefully I clarify your request,
Best Regards
Christine

Similar Messages

  • ALE Problem inter SAP system

    Dear Expert,
    I am a fresher in ALE. I have configure ALE in my Development and Q/A system. Dev system as sender and Q/A as receiver.
    When I try to send GL account master data from Dev to Q/A, I have problem. I cannot see my GL Account in Q/A system. In sender, I see the log and found that IDoc status is ok.
    Regards,
    MAL

    Hello MAL,
    Please ensure that the user id in TRFC LUW has proper authorizations.Additonally also ensure the user in target group has proper authorizations Please give them autorizations not only to create and process idocs (S_IDOC* authorization objects) Also authorizations to create  and change GL accounts (F_SKA1_BUK,F_SKA1_KTP etc. authorization objects) should be given to the user involved in QA system (this user is same as in the RFC destination for QA) If this is a system or communication user then SAP_ALL can be given. Do that and then process the TRFC queue.
    Regards.
    Ruchit.

  • ALE problem when delete GL Account

    Dear Expert,
    I have create ALE with 2 client in my system. When I try to create GL account in sender system, that GL account also created in receiver system.
    When I tried to delete it from sender system, that GL account still exist in receiver system but have flag "mark for deletion".
    I use message type GLMAST.
    Regards,
    MAL

    Hi MAL,
    AELE does not move the deletion. You need to delete the GL Accounts manually in all the received systems. One thing you can do before deletion is to block the the account for posting, ALE it and then delete.
    Regards.
    Ruchit.

  • ALE -Problem

    Hi all,
      I have a scenario like i have to send similar data from one system to two differents differents. I have done all the setting in outbound and inbound side. But my scenario is i have to send the data to one system on a contineous basis and to another system on mothly wise. Can you please provide me the step by step procedure to meet this requirment.
    Immediate response will be appreciated.
    Regards,
    Ranjan

    Hi nagaraj,
    That is right whatever you replied. my question is I will schedule the program RESOUT00 for outbound and RBDAPP01 for inbound that is fine. But to collect the 30 0r 64 status idoc i have to create a Zprogram right? Then when when this Zprogram will be called? i am new to this ALE/ IDOC. Kindly explain me in detail.
    Regards.

  • ALE problem with distribution model

    Hi ,
    I have created one logical sys for client 030 as LOGSYS030. and i Have created one more dummy logical sys for client 030 as LOGSYSD30.
    then i have created model view with LOGSYS030 as sender and LOGSYSD30(dummy log sys) as receiver ,then i have generate the partner profile.
    next i am trying distribute model view while i got error ,model view has not been updated ,reason distribution model currently being processed.
    How can i distribute the model view for same client act as recevier and sender.
    Thanks & regards
    laxman

    Hi Joerg ,
    actually i want to create sales order with some changes when the customer create the sales order in the same client,
    i used ale . outbound idoc for sales order1 details, again i triger inbound idoc (orde) for creating second sales order based on 1st sales order.
    mainly client needs sales order2 without manual interaction(report program)
    Thanks & Regards
    laxman

  • Delta ALE: Problem  TCDOB

    Hi Gurus,
    I want to extract data from 0FUNCT_LOC_ATTR in delta ALE mode. But the object that I need (TPLNR) is not in table TCDOB (which I can't enter data) so i can't select this object when i'm trying to configure the ALE Delta for this DataSource.
    Can anybody help me?
    Thanks in advance!
    Regards!
    Edited by: Guillermo Melero on Jun 20, 2008 12:34 PM

    Hello Lida,
    Try to be assisted via this link :
    [Re: How to Retrive data from IDOC]
    Good Luck,
    Boaz

  • ALE problem.-----------taKE UR POINTS

    Hi all abapers,
    I got message types EQUIPMENT_CREATE and EQUIPMENT_CHANGE. now what is the tcode for sending equipment from 1 client to another.
    Like in case of MATMAS message type we had BD10.
    <b>i ensure u 4 points.</b>

    Hi,
      Please check your partner Profile settings in transaction WE20 and see that the required message type is configured overthere.
    Refer the below steps
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Regards

  • 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.

  • Partner profile,Message type

    First time if I am configuring SAP R3 and SAP BW system
    I need to create Partner profile and Port definition ,message type RSINFO,RSSEND,RSRQST.
    Creating SAP R/3 source system in BW-I need to use RFC user or my user id is fine.
    Any one help me out which message type goes to where or related any documents.
    Please advise on this

    Hi,
    For info about source system connections see the following notes:
    793717    Client copy into the BW client in Netweaver/mySAP ERP               
    606757    Naming conventions for logical systems                                      
    <b>524554    Storing destinations in the BW environment </b>                              
    423184    ALE: Problems with logical system names                                    
    325470    Activities after client copy in BW source systems         
    <b>184971    Notes on BW source system connections </b>                    
    184754    Procedure after BW database copy                          
    184447    Building a BW-system landscape                            
    184322    Procedure after DB copy of BW source systems              
    121163    BDLS: Converting logical system names 
    Kind regards, Patrick Rieken.

  • BAPI for Purchase order change

    Hi experts,
      I just want to change PO quantity by BAPI function module: BAPI_PO_CHANGE, I fill in PO number, Item number, material number and PO quantity to parameters, but result is not well. it shows a message below and the purchase order is not changed.
    message:
    For the currency code  ALE communication is not allowed
    Message no. B1889
    Diagnosis
    The ISO code assigned to the current currency code is not unique and the primary flag is NOT set. This currency code can therefore not be used for external communication.
    I checked currency config in SPRO and the assignment of ISO code is unique and the primary flag is setted actually.
    so what else can I do to solve this problem.
    thanks in advance.
    jack

    The B1889 message has the following reasons:
      -> The primary flag of the found ISO code is assigned more than once.
      -> The ISO code is not unique and the primary flag is not assigned
         for associated SAP currency codes.
      -> The ISO code is not unique and the current SAP currency code has
         NOT assigned the primary flag.
    First case: CC   ISOCD  XPRIMARY
                CNY   CNY      X
                RMB   CNY
    Your ISO code is not unique, therefore you are using the primary flag.
    If a dataset wich currency code CNY is encountered, everything is ok
    because none of the 3 rules mentioned above can be applied.
    If a dataset contains currence code  RMB, rule (3) will be applied.
    Therefore, you get the following output in this case:
      "For curreny code  RMB  ALE Communication is not allowed"
    Second case: CC   ISOCD  XPRIMARY
                 CNY   CNY
                 RMB   CNY    X
    If a dataset contains currency code RMB, everything is ok because it is
    flagged as primary. Like in the first case, if CNY is encountered,
    rule (3) will be applied and you will get the output:
      "For curreny code CNY ALE Communication is not allowed"
    If you are using both CNY  and RMB together, it is not possible to avoi
    the B1889 message beause there will be always the case that your ISO
    code is not unique AND that one currency code is not flagged as primary,
    which is summed up in rule (3).
    Please see information in attached note  "144349 ALE: Problems with
    currency conve".

  • ALE HRMD_A with E1PORIG Segment Problem

    Hi
    We set up an ALE scenario with HRMD_A. We also did the set up that
    the E1PORIG Segement is written. The initial distribution with RHALEINI works fine, the
    segement is E1PORIG is written.
    Now we activated change pointers for HRMD_A. If we use the report RBDMIDOC to evaluate the
    change pointers it works also BUT the E1PORIG Segement is not written.
    Why?
    There is also a special Report for HRMD_A to evaluate the change pointers (RHALESMD)
    but this report also does not write the E1PORIG Segment.
    Is this a bug or is there a workaround that this segment is written however I transfer the IDOCS?
    Thanks a lot for your help
    Paul

    The question here is if all necessary data has been already transferred to target system . If data is selected based on change pointer than only data that has changed in source system is send to target.
    Example: imagine you have change employee position using one of already created positions in the system. Change pointer will take than only the new assignment between employee and positions. It will not actually transfer the existing position it-self. In this case you must be sure that all existing positions are already transferred to target system.
    In your example only new relationship between P->S is transfered to target. Employee data should already been there. The change here is not about creating new employee but only about the new relationship P->S.
    Best Regards,
    Andrzej

  • ALE IT0105 idoc update problem

    Hi all.
    I have created Idoc type HRMD_A with 0105 infotype (communication) sending from target to source system. Also I`ve set change pointers for this message type. In case of sending idoc with new username record everything works correct. But when i try to change existing  field in IT0105 using tcode PA30, target system receives updated Idoc with status 51, message "You cannot update infotype 0105 on database table PA0105 (Check the entries in table T777D and restart inbound processing)". Updates of other infotypes work correct.
    I`ve checked table T777D and have not find any problems. I`ve looked up and read all related topics is SAP Forum (for example, STATUS 51 ERROR in ale idoc), checked all suggesting steps, but it didn`t help to solve problem.
    Please, help me.

    Hi, Ted.
    Thanks for your answer. Records for IT0105 in source and target tables T777D are identical. When I try to change uname in PA30 manually, no error is executed.
    Any other suggestions?
    Edited by: sergey.fedechkin on Mar 5, 2012 8:16 AM

  • 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

  • HR Programming :  Problem with IDOC HRMD_A

    Hello ,
    We use Idoc HRMD_A for transferring PA records from
    one R3 system (ECC5) to another R3 system (46d).
    We have a problem - The Idoc doesn't check the data
    inserted against the database check tables and
    inserts wrong values into the target system database.
    (At least that what has happened when we transferred
    wrong value of MASSN in 0000 records).
    Is there something we can do ?
    Maybe - Some flag we can sign in order a check against check tables will be done ?
    Is it a problem with this IDOC ?
    Thanks .
    I appreciate any help.
    Nitzan S.

    Consultancy note 134085 :
    "Ultimately you are responsible for consistency of this data. SAP saves this data directly on the database without checking the single fields and consistency of the data records (time constraints check, writing change pointers, value check) because the consistency for an R/3 - R/3 lingage is of course ensured."
    The IDOCs were intended for R3->R3 data replication, and not for data loads/interfacing. Since you're having problems, I'm guessing in addition they require the same SAP version as well.

  • PROBLEM: ALE SCENARIO (PURCHASE/SALE)

    i need to create a sales order at clent"xyz" automatically as soon a purchase order at client "abc" is generated.
    For DOING this,iN MESSAGE CONTROL i am using
    medium:ALE
    application:EF
    output type:NEU
    outbound process code: me10
    messagetype:orders
    and while defining inbound parameters for client "xyz"
    Process code: orde
    -process immidiately
    nOW Purchase order is generated,And idoc for the same is also created which is sent to the port for transmission at specified RFC destination.
    message status = 3 (sent to port)
    But it is unable to create the application document,
    reason:    VKORG, VTWEG, SPART cannot be determined for customer 0000003000 , vendor 0000003000
    it needs these fields for automatic generation of sales order.
    Now i am able to find these fields,they exist as data elemnt in SAP.
    How can i add these fields to my message(idoc type).As i am using "Orders",which is SAP object,which i cannot edit.
    What could be the probable solution?Pls. suggested, if i am missing in between at some point....
    Thanks and Regards:
    Vijay Raheja
    09868633169

    Hi, Vijay Raheja 
    Aveek Ghose's solution is right, you can solve this problem by create a extension IDOC type.
    List the mainly step as following:
    Create The Extension Segment   we31
    Create the Extension IDoc Type  we30
    Create the new Message Type   we81
    Do some change on the IDOC configuration:
    If you want to create a FM to handle your new extension IDOC, you also need to create a new process code link it, and assign it to your IDOC type.
    But normally, we don't create new handle FM for extension IDOC, adding an enhancement in the current IDOC handle FM is enough.
    How to do this step according to your requirement.
    Hope it will be helpful.
    Thanks a lot

Maybe you are looking for