HR ALE using PI
Hi Everyone,
Soon my company will be implementing ALE Scenarios for HR Master Data. We are planning on using PI as the middleware.
We have been using ALE for several other scenarios ( Cost Center, Vendor etc ), and we have the basic technical structure laid out, already.
Are there any tips & tricks you'd recommend for HR/ALE? Any heads up type recommendations.
Our "customers" for HR Master data are ERP & SRM. And, HR is kept in a seperate enviroment.
Thanks,
John
Please take a look at SAP help documentation in IMG, under Cross Appl - Predefine ALE Business Proc - HR - Master Data Dist - Distr HR Master Data for more info.
Aside from setting up basic ALE config (e.g. message type, partner profiles, logical systems, ...), you also need to turn on change pointer for message type 'HRMD_A' .
You will need to flush all HR data from HR box to other systems as a one time deal , and this is may be a time consuming process. Once this is distributed, ALE is processed based on changes to HR data.
One important note, make the user-id in sending system that creates HR outbound idoc has authorization to read all HR infotypes you plan to ALE (or else it will produce empty segments which would be translated as delete infotypes in the receiving systems) .
Rgds.
Similar Messages
-
How To Use ALE using IDOC ..
hiiiiiii Every1
I m new to this forum ans also in SAP. I m doing ALE / Idoc but not getting it. Anybody can help by explaing the steps how to perform an ALE using IDOCs.
Thanks in Advance.
Sachin DhingraRefer this link
http://www.sapgenie.com/ale/index.htm
http://www.sap-img.com/abap/ale-bapi.htm
http://www.thespot4sap.com/Articles/SAP_ALE_Introduction.asp
Reward points if u find it helpful.
Message was edited by: Judith Jessie Selvi -
ALE using HRMDA message type - Comit not perform in receiving system
Hi,
I want to use ALE to transfer HR master data between two ECC instances. I have set-up all the configuration; distribution profile, filter etc... I tried to transfer the master data using standard SAP report RHALEINI.
The iDoc is generated and transfer correctly in the receiving system. The final status of the iDoc is 53 - Application document posted. The issue we have is that the comit to tables is not happening. Infotypes remains empty even if the status of the iDoc says it was posted. We are trying to transfer infotype 0000, 0002, 0001 and 0006
Anyone can help ?....
Thanks
LouisHi Ted,
Thanks for your answer,
Autorization is the first thing that we consider. We generate the IDOC by the program RBDMIDOC .
The job's user is the sap_all authorization. So it should not related with auth.
And this does not always occur. For example, two days ago it occurs, but today does not occur.
Best Regards
Hasan. -
Defining Logical System name for ALE using T.C- SPRO?
Hi,
Can anybody tell, how to define logical system name using T.C SPRO?
Where can I find the "Define Logical System for ALE"?
Thanks
BalajiHI,
Use the SALE transaction , there you can have all steps clearly,
please see the below links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
Regards
Chilla.. -
Can any one specify the steps to be followed for using bapi in ale
Hi,
Please check this link on how BAPI works with ALE.
http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0eb7725311d396a80004ac96334b/frameset.htm
Hope this will help to start with.
Regards,
Ferry Lianto -
ALE using PULL Approach question
Hello All,
Can anybody explain me the sep-by-step process for getting the material master using BD11- PULL approach. I had already configured the Distribution model for sending the request MASFET in system B, from which we are requesting the material master through BD11. Also we had maintained another Distribution Model in System A, from which the MATNAS will have to pulled to the System B.
My issue is MATFET Outbound IDOC is created in syatem B and System A has an Inbound IDOC of MASFET.
But after the IDOC get posted in System A , the MATMAS Outbound IDOC is not getting created in System A automatically.
Is there any program we need to run for trigering the MATMAS outbound IDOC in System A????
Thanks for the help in advance.
Thanks,
GreetsonHi Sai.
Very good question, first think is data is client dependent. Dont think that all user will have access to all clients of the SAP system. In some projects we can see different clients in the same server (lets take development box), in one client we can develop the program and in another we can do the unit testing. In this case if you want to keep the data in both clients then we need to distribute them. You may have seperate clients based on the application also (like client for FI, seperate one for SD, like that - in dev to do testing).
But in most of the cases we can see data distribution scenarios in between 2 servers, since master data will be maintained seperately.
Thanks
Satya -
ALE, use bd79 (converting data from sender to receiver to blank out fields)
Hi, I am trying to blank four fields out in our FI IDOC for a certain business reason. These fields must be blank (it is the FIDCC1 message type). I am trying to use transaction bd79 (converting data from sender to receiver) maintain rules. Is there a way to blank out these fields using a conversion rule? I can change data fine but I cannot find a way to blank or null a field out. Thanks in advance.
You should have a look at the inbound function module (linked to your inbound process code). sometimes there are checks that if fields are initial that nothing will be changed.
-
PURCHASE ORDER CREATION USING ALE ( BAPI )...
HI,
I DESPERATELY NEED SOME ADVISE IN CREATING A PURCHASE ORDER USING ALE....I AM VERY NEW TO ALE SO CAN ANYONE EXPLAIN IN STEPS WHAT TO BE DONE IN DETAIL....PLS HELP ME OUT IN THIS REGARD....I WILL GET SOME DATA AS INBOUND IDOCS AND I NEED TO CREATE A PURCHASE ORDER USING ALE USING BAPI( BAPI_PO_CREATE1 ).......HOPING A QUICK REPLY ASAP.....Hi Gianluca,
I need to do the same as per the original post and your answers gets me halfway there. My remaining question is how to get the PO to output the PORDCR messgage on the outbound side (also a SAP system)? Or do you have to output the PO as an ORDERS message and map that to the PORDCR message in something like XI or other middleware?
Thanks for the help.
Johan -
What is the use of change pointer concept in ale?
what is the use of change pointer concept in ale?
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 5:10 PMALE Architecture:
It consists of an Outbound process, an Inbound process, and an Exception Handling process.
Outbound Process:
ALE Outbound Process in SAP sends data to one or more SAP Systems. It involves four steps.
1. Identify the need of IDoc: This step starts upon creating a application document, can relate to a change to a master data object.
2. Generate the Master IDoc: The document or master data to be sent is read from the database and formatted into an IDoc format. This IDoc is called as a Master IDoc.
3. Generate the Communication IDoc: The ALE Service layer generates a separate IDoc from the Master IDoc for each recipient who is interested in the data. Separate IDocs are generated because each recipient might demand a different version or a subset of the Master IDoc. These recipient-specific IDocs are called Communication IDocs and are stored in the database.
4. Deliver the Communication IDoc: The IDoc is delivered to the recipients using an asynchronous communication method. This allows the sending system to continue its processing without having to wait for the destination system to receiver or process the IDoc.
Inbound Process:
The inbound process receives an IDoc and creates a document in the system.
1. Store the IDoc in the database: The IDoc is received from the sending system and stored in the database. Then the IDoc goes through a basic integrity check and syntax check.
2. Invoke the Posting Module: The control information in the IDoc and configuration tables are read to determine the posting program. The IDoc is then transferred to its posting program.
3. Create the Document: The posting program reads the IDoc data and then creates a document in the system. The results are logged in the IDoc.
Over view of IDocs:
IDoc is a container that is used to exchange data between any two processes. The document represented in an IDoc is independent of the complex structure SAP uses to store application data. This type of flexibility enables SAP to rearrange its internal structure without affecting the existing interface.
IDoc interface represents an IDoc Type or IDoc data. IDoc Type represents IDocs definition and IDoc Data is an instance of the IDoc Type.
IDoc Types:
IDoc type structure can consist of several segments, and each segment can consist of several data fields. The IDoc structure defines the syntax of the data by specifying a list of permitted segments and arrangement of the segments. Segments define a set of fields and their format.
An IDoc is an instance of an IDoc Type and consists of three types of records.
i. One Control record: each IDoc has only one control record. The control record contains all the control information about an IDoc, including the IDoc number, the sender and recipient information, and information such as the message type it represents and IDoc type. The control record structure is same for all IDocs.
ii. One or Many Data records: An IDoc can have multiple data records, as defined by the IDoc structure. Segments translate into data records, which store application data, such as purchase order header information and purchase order detail lines.
iii. One or Many Status records: An IDoc can have multiple status records. Status record helps to determine whether an IDoc has any error.
Message in IDoc Type:
A Message represents a specific type of document transmitted between two partners.
Outbound Process in IDocs:
Outbound process used the following components to generate an IDoc. A customer model, and IDoc structure, selection programs, filter objects, conversion rules, a port definition, an RFC destination, a partner profile, service programs, and configuration tables.
The Customer Model:
A customer model is used to model a distribution scenario. In a customer model, you identify the systems involved in a distribution scenario and the message exchanged between the systems.
Message control:
Message control is a cross application technology used in pricing, account determination, material determination, and output determination. The output determination technique of Message control triggers the ALE for a business document. Message control separates the logic of generating IDocs from the application logic.
Change Pointers:
The change pointers technique is based on the change document technique, which tracks changes made to key documents in SAP, such as the material master, customer master and sales order.
Changes made to a document are recorded in the change document header table CDHDR, and additional change pointers are written in the BDCP table for the changes relevant to ALE.
IDoc Structure:
A message is defined for data that is exchanged between two systems. The message type is based on one or more IDoc structures.
Selection Program:
Is typically implemented as function modules, are designed to extract application data and create a master IDoc. A selection program exists for each message type. A selection programs design depends on the triggering mechanism used in the process.
Filter Objects;
Filter Objects remove unwanted data for each recipient of the data basing on the recipients requirement.
Port Definition:
A port is used in an outbound process to define the medium in which documents are transferred to the destination system. ALE used a Transactional RFC port, which transfers data in memory buffers.
RFC Destination:
The RFC destination is a logical name used to define the characteristics of a communication link to a remote system on which a function needs to be executed.
Partner Profile:
A partner profile specifies the components used in an outbound process(logical name of the remote SAP system, IDoc Type, message type, TRFC port), an IDocs packet size, the mode in which the process sends an IDoc (batch versus immediate), and the person to be notified in case of error.
Service Programs and Configuration Tables:
The outbound process, being asynchronous, is essentially a sequence of several processes that work together. SAP provides service programs and configuration tables to link these programs and provide customizing options for an outbound process.
Creation of IDoc:
Basic Type:
Basic IDoc type defines the structure and format of the business document that is to be exchanged between two systems.
Segments:
Segments form the basic building blocks of an IDoc type and are used to store the actual datta. A segment type is the name of a segment and is independent of the SAP elease. A segment definition is the release-specific name of a segment.
Steps in creating Segments:
T.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 and Go back.
Go to Edit -> Set Release.
Repeat the steps to create more segments.
IDOC TYPE:
Business data is exchanged with an external system using the IDoc Interface.
IDoc types (Special Structures) An IDoc type is defined through its permitted segments. Segments can be dependent on each other (parent and child segments). The IDoc interface can check for each IDoc whether thhe segments contained are compatible with thhe definitiion of its type. This systax check is activated or deactivated in the Partner Profiles.
Steps in creating IDoc Type:
T.Code WE30 to create IDoc Type.
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.
Message Type:
Steps in Creating Message Type:
T.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:
T.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.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 5:10 PM -
HR & PP intergration-ALE/BAPIs used?
Hi Experts,
My goal is to bring HR time data (Daily work schedules) over to PP for capacity planning.
SAP help says
"When defining shifts within Logistics (LO), the Daily Work Schedule at Logistics Work Center interface enables you to use daily work schedules from Time Management, which constitutes part of the Human Resources (HR) application component. You can use this data in Logistics (LO) to schedule orders and determine the available capacity of a work center. HR daily work schedules and break data must be read locally in the LO system. Therefore, the HR Time Management customizing tables T550A and T550P must be replicated to the LO system using ALE techniques ".
Can you tell me those names of ALEs used here?Can we use 'HRMD_A'?If so,how?
Thanks in advance & would appreciate for a quick reply.
-RaviHi,MohanPemmasani
Thank your help.
1. About the ALE configration I have done correct, it test OK now.
2.I have try to do "Reset after termination", so I have below item settlement in 0000000011 document(when double click, enter to see the detail) , from"0000000012~~0000000016" is the result that I executed the "Reset after termination" operation.
Document CoCd Pstng Date Typ Run Number Status User name Created on Time
0000000010 SY 28.01.2012 PP 0000000011 Released UX007814 18.01.2012 16:57:06
0000000012 SY 28.01.2012 PP 0000000011 Reversal reset UX007814 18.01.2012 17:13:50
0000000013 SY 28.01.2012 PP 0000000011 Reversal reset UX007814 18.01.2012 17:18:58
0000000014 SY 28.01.2012 PP 0000000011 Reversal reset UX007814 19.01.2012 11:21:38
0000000015 SY 28.01.2012 PP 0000000011 Reversal reset UX007814 19.01.2012 11:22:42
0000000016 SY 28.01.2012 PP 0000000011 Reversal reset UX007814 19.01.2012 11:42:29
3. and now because "0000000011 " staus is "40 Documents transferred", 0000000011 PArea B0/12/2011 Documents transferred 40 UX007814 18.01.2012 16:56:54
so I want to execute "post document" again, but it give me below message:
Posting run PP 0000000011 cannot be posted: Incorrect status
Message no. 3G227
Diagnosis
Runs can only be posted if they have one of the following statuses:
32 All documents released
41 Document transfer has failed
35 Documents transfered
Run PP 0000000011 has another status and, therefore, cannot be posted.
4.I have read the notes you said, but it can't solve my problem. -
How to send inforecord conditions using ALE (message type COND_A)?
Hi,
I have sent Purchasing Inforecords through ALE using t-code ME18.
Now, I would like to know how to transfer the conditions through ALE (message type is COND_A).
Thanks a lot,
KaveriHi,
Please go through this thread.
[Pricing Condition Records initial upload - COND_A] -
Can anyone plz send me a sample scenario on ALE using BAPIs.
It will be still helpful if the scenario is from HR module.
Thanks,
Srinu.Hi,
Please check this link on how BAPI works with ALE.
http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0eb7725311d396a80004ac96334b/frameset.htm
Hope this will help to start with.
rewards if it helps u
vijay pawar -
hi all,
Can any body provide the code to upload purchase order data using bapis in lsmw.urgent pls...
thanks.
assadBAPIs are normally called synchronously in order to get feedback immediately.A synchronous call will only work if the system we want to access is up and running.For some purposes like data transfer, SAP wanted BAPIs to invoke asynchronously so that the calling application could proceed even if the remote system was currently unavailable.
Hence these BAPIs are linked to ALE (Application Linking and Enabling),an asynchronous message passing mechanism with guaranteed delivery.ALE uses Idocs as the containers for messages. Idocs are instances of Idocs types, which in turn are associated ALE message types
SAP has provided a generator which takes a BAPI and generates an appropriate ALE message type and an associated Idoc type.
Data stored in a file by means of the IDoc technique is generally imported in two steps. You can call these steps in LSM Workbench:
Start IDoc creation.
First, the file of the converted data is read. The "information packages" contained are stored in the R/3 database in IDoc format. It is, however, not stored in the database of the corresponding application. The system assigns a number to every IDoc. Then the file of the converted data is deleted.
Start IDoc processing.
The IDocs created in the first step are submitted to the corresponding application program. This application program checks the data and posts it in the applications database, if applicable.
Thanks,
Manjunath MS
"Reward Points if it is useful" -
hi experts,
i am new to these and i want know that in real time how can ale used what do abaper has to do, just creating 1. logical systems....
yet last sending data and receiving data.
my question is that how could a client use this these steps please
could you/anyone clarify my critical doubt please.
please help me.
thanku allHi
ABAP Consultants are responsible for the below ALE tasks.
1.Creating Logical Systems
2.Creating Partner profiles
3.Creating Ports
4.Creating Distribution Model
5.Defining RFC Destinations
6.Replication of Customers,Vendors,Materials,G/L Accounts etc as per the requests
7.Development of Segments,IDoc Types,Message Types when and as required
8.Developemnt of Inbound and Outbound ALE Programs
9.Reprocessing of the failed IDocs both at the inbound and Outbound Side.
10.Workflow Configuration related to ALE.
11.Processing of the failed Trfcs.
I Would advice you to get the book "ALE/EDI and IDoc Technologies for SAP" By Arvind Nagpal.
Cheers,
Abdul Hakim -
GL Posting ALE IDOC - To be send as File
Hello,
It is possible to send GL Posting from SAP HR system to another system as a file.
Option is that I am looking through Standard ALE whether we can create a GL Posting document file which will be transferred thru FTP file to client system.
Question ALE IDoc provide that option to create a file based GL Posting file.?Deepan,
In simple terms, ALE uses IDoc for carry data from one SAP system to another. If you just need a file (not in IDOC format), I would suggest you to check if there are standard reports that give you that data and download them.
If not, you could write your custom program to generate and download the required data and download (on PC or app server).
Regards,
Shyam
Maybe you are looking for
-
I'm new in SAP . Would like to have some advice
Hi Friends ... Hello all , perhaps I'm posting the thread into the correct thread category , I'm really new in SAP and currently starting to put my interest into SAP . I'm currently doing IT Support (Unix Support). Previously I have no ideas about S
-
I have to combine several ID files together.... problem is when I start combining them into one file, the styles in the big document are overriding the styles from the single ones which need to be added. This changes fonts, flow and adding pages. Any
-
Does anyone know how to create a binary file in Java. in C i can do an fopen("filename" , "rb") i cannot find a equivalent java binary file stream. Thanks
-
Unknown error in iTunes Store 11222
For the past couple of days when I've tried to sync my iPod, I've been getting a message "cannot connect to iTunes Store. Check your network connection and try again." Network connection checked. Even ran iTunes diagnostics to confirm that my iTunes
-
How to write ABAP Workflow test script
Hi Please any body tell me what is the workflow test script. And how to write. Please if any body have the documentation please share wd me