08-31-2007 2:02 PM
Hi all,
My requirement is like this :
Whenever there is a change in Customer master record ( Creation of new Customers, Changes in Existing ones or Deletion ) , an Idoc should be triggered to
send all the details of that Customer to another system . ( EDI )
The idoc has been identified and customized and all the field mappings are already
decided .
Now my queries :
1. How to go about the trigger mechanism ?
( when customer master data is changed )
In the abap program?
2. Pointers to write such a program or similar programs
Thanks
( Needless to say I am a beginner on Idocs, just after my training )
08-31-2007 2:23 PM
1. first based on the change pointers idoc should generate.
for this you can write a small prog or standary program you can run. then
doc will create with 30 status.
2. then schedule this prog in back ground RSEOUT00 then it will post 30 status idoc's and if it is perfectly posted status will change to 18.
3. To enable change pointer technique
bd61 - globally enable change pointers
bd50- enable change pointer for ur message type
bd52- enter message type so that what are the fields u want to add for genrate
idoc
4. check in we57 ur message type is linked with idoc type and functionmodule...
5. check process code in we41 for outbound idoc's
6. define ur partner profile and port
7. check ur ale distubution model
if every thing is fine then ur idoc will post to external system successfully
praveen
08-31-2007 2:30 PM
Praveen,
thanks a lot for the response !
If you have a similar code snippet, please post it !
Regards,
the abaper