IDOCs to send Employee Data
Hi All,
In my current project, I have lots of interfaces to send employee data to third party. Now the interface team has decided to use IDOCs to transfer employee data. Employee data is of the order of 20,000 and many interface will be scheduled to run daily. So here are my questions:
1. Earlier decided approach was to use file interface. Is IDOC better in this case?
2. Over and above this, they want to generate 1 IDOC per employee data (if the interface has to run every business day, then ~5 Million IDOCs per year and this is just for one interface). Do you think this is the right approach?
Appreciate you responce.
Cheers,
Bhaskar
Hi Bhaskar,
My humble thoughts on the questions you have asked,
1. Earlier decided approach was to use file interface. Is IDOC better in this case?
Well, the first questions is does this third party application have an SAP connector to transact IDOCs or do you have a middleware in between? Now, if you dont have a middleware/third party application doesn't support IDOC Communication, then you will have to look at file interface(or other possible means)
Anyways assuming that an IDOC communication is indeed possible between the two systems with/without a middleware in between, the advantages of IDOC over file interface is many
1) IDOCs use transactional RFC (which is asynchronous in nature , but i guess you know this already), which assures QOS EO - Exactly Once.
2) IDOCs provides superior monitoring, audit and reconciliation capabilities, which you would have to code for yourself in File interface.
3) IDOCs - More structured and organized programming, hence easy to maintain over time.
4) Standard IDOCs are available which can deployed immediately by doing some configurations, and any custom requirement can be coded in using customer enhancements.
2. Over and above this, they want to generate 1 IDOC per employee data (if the interface has to run every business day, then ~5 Million IDOCs per year and this is just for one interface). Do you think this is the right approach?
You can definitely use IDOC archiving, and also i guess in real time scenario, you would want to send the delta changes w.r.t the data of an employee and not send the complete master data on a daily basis.
All said, if this is a one time run/an interface which might be scrapped in near future, with no need of advanced monitoring and audit capabilities you might still want to go with File interface, i am sure you will get more informative replies from experts on this forum, so keep watching the thread
Regards,
Chen
Similar Messages
-
IDOC for sending material data including classification data?
Hi everyone,
I'm just looking for an IDOC to send to an external system all data of certain materials but including classification system data, variant configuration data...
I have checked MATMAS0x but I am not sure if those IDOCs match with my requirement.
I would be very grateful if someone could please help me.
Thanks in advance and best regards,
BenHi Ben
Kindly follows the below steps and trasaction screens, I believe you will be able to send the mat data incl. classification data to other external system through IDOC.
Steps:
Create material master record in SAP
Enter T.Code BD10 to send material master data from SAP to 3rd Party Logistics Provider
Enter Material,Logical System and click Execute(F8)
Press ENTER to continue
Press ENTER to continue
Enter T.Code WE09 to check the status and content of the Idoc created
Enter Idoc Segment name in Search in Segment, Field name in Search in Field, Material No in "for Value" and press F8 to execute
Double click on the Idoc number to check the content and status of the Idoc
Expand the Status records to check the STATUS of the Idoc
To check the fields in the Idoc, expand Data records and check the Mandatory fields in each Segment
Transaction Screens:
Transaction / Screen
MM01
BD10
BD10 Screen
BD10 Screen
BD10 Screen
WE09
WE09 Screen
WE09 Screen
WE09 Screen
WE09 Screen
Expected Result:
Expected Result
Material Master Record Created
Send Material Screen appears
A popup window appears with a message "1 master Idoc(s) set up for message type MATMAS"
A popup window appears with a message "1 Communication Idoc(s) generated for message type MATMAS"
Send Material Screen appears
Idoc Search for Business Content screen appears
Idoc corresponding to the material no is displayed
Idoc along with the 3 records(Control Record,Data Record,Status Record) appers
Final STATUS should be 03(Data passed to port OK)
All Mandatory fields must be populated with correct data
If it is useful reward points
Thanks
Saravana -
IDOC for sending material including classification data?
Hi everyone,
I'm just looking for an IDOC to send to an external system all data of certain materials but including classification system data, variant configuration data...
I have checked MATMAS0x but I am not sure if those IDOCs match with my requirement.
I would be very grateful if someone could please help me.
Thanks in advance and best regards,
BenHi,
CLFMAS01 Master object classification
CLFMAS02 Master object classification
STTMAT01 STTMAT: Material variants
BOMMAT01 Master BOM - material
BOMMAT02 Master BOM - material (2)
BOMMAT03 Material BOM (from 4.6B)
BOMMAT04 Material BOM with UPS Link
MATMAS01 Material Master
MATMAS02 Material Master
MATMAS03 Material Master
MATMAS04 Material Master
MATMAS0x with CLFMAS0x should solve your problem.
Regards,
Srilatha. -
Employee Data Mapping - Partner Idoc
<b>Hallo all,
I need to map the employee data of the legacy system to an Idoc(For migrating data with XI). I functionally mapped the fields in the legacy system to the fields in CRM BP master data(Most of them). I have selected the BP complex Idoc(CRM_XIF_PARTNER_SAVE) and mapped most of the fields(name, address, Phone Numbers, Position etc ).
the following fields are yet to be mapped
Employee No
User Name
Contact Role
Executive role
Corporate tile
Affiliate subsidary
Is there any other standard Idoc to map the employee details (or) am I supposed to enhance the complex Idoc.
Please let me know ur suggestions
regards,
MAX</b>Hi Max,
yes you are using the right Idoc for creating business partners (employees) as this follows the middleware data distribution. There is a badi available for this as well for if needed CRMXIF_PARTNER*.
Cheers
Andrew -
What are the idoc to send data from sap hr to sap fi
what are the idoc to send data from sap hr to sap fi
Message type of IDoc depends on the data you wish to send.
please detail on the data that you need to send in the IDocs.
regards,
Nitin -
Hello,
Can anyone send me an example in IDOC related to employee details
What are the steps to be followed for triggerring IDoc.
Regards,
LibinHi Libin,
As for finding your needed idoc.
1. Choose the transaction WE09 (SAP Menu ® Tools ® IDoc Interface/ALE ® Administration ® Services ® IDoc Search by Contents ® WE09).
2. Choose the Data Source button to specify whether you want to search for IDocs from the database or the archive (or both) .
3. If you have set the u201AArchiveu2019 flag, you can select files in the archive information system, or manually.
Regarding to the steps to trigger an idoc , search SDN. But before that you will need to do ALE settings.
http://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b815e43d711d1893e0000e8323c4f/frameset.htm
Rgds
joel
Edited by: joel trinidade on Feb 23, 2009 5:46 PM -
Problem with interface - when send the data for PA0002
Hi Gurus,
I am interfacing employees data from one system to another system with all the PA infotypes.
we are using the fuction module " HR_MAINTAIN_MASTERDATA " to upload the master data. Here the problem is, when we send the data - in destination system all the segments have the data correctly . But middle name is not loaded in to the system. Problem with only middle name.
But, here strange thing is, when i resend the idocs it is laoded correctly all the fields with middle name also.
I am unable to figure out the problem .. Please let me know if you have any advise on this ..
Thanking you.
Regards,
Giridhar PujariHi Sikindar,
Technical name is corrent .. and once you resend the idoc, you can't see the problem again.
Regards,
Giridhar Pujari. -
Can we download employee data from ECC to CRM using standard middleware?
HI,
Can we download employee data from ECC to CRM using standard middleware? If yes pl give me the procedure.(not using HR ALE/IDOC)
Thanks,
Regards,
PVStandard replication for employee to CRM is using ALE.
BDoc send information for CRM for other business partner. If you want to use BDOC message for send employee to CRM, you should build your own BDOC message that read HCC Table and send this information to CRM.
However send this information using ALE is not difficult. Why don't you wan to use ALE?
Regards,
Lyda -
Send table data through mail in oracle 10g
Hi ,
I am trying to send a mail through oracle 10g .
I can send mail through utl_mail .
The text that I need to send is data from a table .
The table contains information about all the employees .
Table name is person . If the employee is absent on any day without any reason there would be a row of this employee in the table person.
There is also a column named email in this table .
I need to write a stored procedure which will send the data about each particular employee to their respective email for all the employees in the person table .
Can anyone please help me on this .
Thank you.Try this forum thread first:
Re: send email by procedure
There are lots of articles on how to accomplish this taks on the web:
-- utl_smtp example
http://it.toolbox.com/wiki/index.php/Send_email_from_Oracle_Database
http://www.databasejournal.com/features/oracle/article.php/3423431/Sending-e-mail-from-within-Oracle.htm
-- From Application Express product
http://www.oracle.com/technology/products/database/application_express/howtos/howto_workflow.html
HTH -- Mark D Powell -- -
Experts
tell me which tcode is used to send the sales order data from sender to receiver.
Example : we use the following tcode to send the master data idocs like
SEND MATERIAL MASTER: BD10
SEND VENDOR MASTER: BD12
1)is there any tcode to send the sales order data also like this.
2)if tcode not there then tell me which function module is used in the sender system to fill the segments of order01 idoc.
3) I want to fill the sales order data in the segments , the following data i need to fill
sales area , document type , customer numeber , payment terms , material , net price , quantity , order data , po number.
tell me which segments are used for this.
4)where to see the segments of the idoc and its fields.
5) if any one having sample code to fill the orders idoc , please give me the linkprabhu
send data through Message control ? means how to send .
My requirement is to fill the idoc segments and then to post.
Which tcode is used to see the segment fileds both header and item other than we60 , we61.
For orders01 idoc how to identify which segment fields are used for sales area , customer , payment term etc becasue po fields are also there, so confusing -
HR employee data (ONLY ACTIVE EMPLOYEES) needs to be sent from one SAP syst
Requirement: HR employee data (ONLY ACTIVE EMPLOYEES) needs to be sent from one SAP system to another SAP system.
E.g. of process followed u2013
Tcode - PA30 - Action type u2018Hireu2019 is created for employee A, B, C & D for a specific date. Later another action u2018Retirementu2019 is created for the employee C. So in the current system employee A, B and D are active employees wherein employee C is an inactive employee.
Data filtering is set in the Distribution Model wherein only active employees should be passed when an IDOC is created using PFAL.
The IDOC which is created has all the employees A, B, C & D. The only difference being that for Employee C the segment which has the status u2018Retirementu2019 is discarded and hence this does not satisfy the requirement.
Is there any way in which the Inactive employee (e.g. retired) is restricted from being sent to the IDOC.
Please advise.
RasikaHi Darek,
Thanks for your response.
I cannot use this as the requirement does not allow customised development. I want to know whether the filter can be done solely by customising.
Regards,
Rasika -
Want to replicate Payext IDocs and send them to another logical system
Hi all
we are generating payext Idocs to a bank partner profile using rffoedi1 program. Our requirement is to replicate the same payext IDoc and send to another logical system using a different partner profile.
I have a rough idea of sucking data from EDID4 table....
Can any one let me know how the code looks like If we have to create same IDocs again with different control record with same kind of data?
can some one throw their ideas of doing this with less development work?
Thanks
SteveTry this way:-->
1.Using fm IDOC_READ_COMPLETELY get complete data of IDoc you want to send, then change the Header record (EDIDC) with new partner profile, port and other values
2. Pass these values to fm MASTER_IDOC_DISTRIBUTE.
(pl remember to clear EDIDS values before calling above said fm)
This will send your IDoc to new destination
a®s
Edited by: a®s on Apr 10, 2008 3:41 PM -
Sending change date of BP to external using bapi CRMXIF_partner
Hi,
I am using bapi crmxif_partner_save_m01 to send create and change of BP to external system as Idoc. I also need to send change date and user id, if changes are made to bp. but i could't find appropriate fields in bapi. Is there anything with bdoc to send or how is it works.
Other issue that i have when we receive an idoc from external system we need to send acknowledge to them as a batch job at night thru same interface. how it gona works. Here we are sending idocs and receiving idocs but external sys is non sap ESB.
one more, when we save BP it should generate idoc thru bdoc and send to external sys using CRMXIF_PATNER_SAVE_M. External sys assign a number for our each bp number and send them back to us thru same interface. I assume same bapi automatically updates IDOC data into bdoc and populates into sap tables. Please correct me if i am wrong.
Please suggest me.Guy,i don't regard here is anybody wanna read so much code .For more constructive answers, you would distill core question from your program.
-
Creating Idoc and sending it to its own...
Hello All,
The functional design specified that an inbound function module needs to be created to process a custom IDOC, let's say ZMMDLRTL, and using the data from the segments from this basic type ZMMDLRTL, I need to create another IDOC of basic type PORDCR101 to create a PO. This PO IDOC would then have to be posted to the same system where the inbound function module that would process the ZMMDLRTL IDOC. So this is just like creating an IDOC and sending it to yourself right?
I used the function module MASTER_IDOC_DISTRIBUTE to create the PORDCR101 Idoc and sends it to itself. But now I am getting an error status 20, which is "Receive of IDOC is its own logical system". I just need some inputs on this.
Thanks,
KristineHi!
In two words - to avoid this error you have to send PORDCR101 to another logical system pointing to the same client and make corresponding settings in distribution model (as you use MASTER_IDOC_DISTRIBUTE).
Proceed as follows:
1. Create a "dummy" logical system name, say LOGSYSD. This dummy logical system will serve as the receiver system in the distribution model.
2. Using SM59 create RFC-destination LOGSYSD for the dummy logical system. The RFC-destination addresses the same client.
3. Create a distribution view in BD64 with your "real" logical system for client as the sender and LOGSYSD as the receiver for your message type.
4. Generate partner profiles for distribution model using BD82.
5. Using WE20 create inbound parameters for your message type for <b>"real"</b> logical system.
Hope it helps.
Regards,
Maxim. -
How to create idoc and send it frm one sap to another sap
hi,
can anyone tell me the complete procedure of creating the idoc and sending it to another sap r/3
how to create rfc destination, partner profiles, port and outbound parameter and inbound parameter
thanksHi Azhar,
Go through the following Links
IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Go through the following Steps for Creating IDoc Via ALE
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards
Sreeni
Maybe you are looking for
-
Can't get Palm Zire to work with windows 7
Can't get palm zire to work with windows Post relates to: Palm Pilot
-
How to see / limit consecutive login failures?
Hi, our server is running 10.4.7 server. In terms of hardening the machine against attacks, is there be default a limit to the number of failed logins that occur before an account is locked in some way? If not, is there a way to turn ON that security
-
Runing procedures from DBMS_STATS package - how ?
Hello, i created account long time ago, but this is first time i need help. How can i run this code with PHP, and get results. In sql+ works fine - i made some attempts without any good results. {sql} variable num_rows number; variable num_blks numbe
-
Refresh underlying image of smart object
Hello, I made some basic adjustments in Lightroom and then opened the image as a smart object in Photoshop. If I decide to make more changes in Lightroom how do I tell Photoshop to 'refresh' the underlying image? Thanks, Will
-
Tablespace usage has suddenly jumped, for no apparent reason.
I had 1Gb tablespace that with only 150Mb used. Tables within grow slowly based on the data inputs of a dozen or so staff. Last week usage jumped suddenly to 1Gb filling the tablespace. I extended the datafile to 2Gb, and a day later usage had gone u