‎2008 Apr 02 2:16 PM
Hi experts,
I am new the concept of IDOC.so help me please.
Actually i have two systems ECC6 and SAP4.7. When i send a details for creating material number from sap4.7 to sapecc6.I want to create the material number in ecc6 and return that material number to sap4.7.I want to do this.how can i do..help me with tips and steps.I will must reward.
Thank u,
Manjula devi.D
‎2008 Apr 02 3:07 PM
Hi Manjula ,
To return the material number do like this .
I have done the similarrequirement . Please find the below Procedure
-> In ECC 6.0 before ending of the function module IDOC_INPUT_MATMAS01(what ever) ,Create anenhancement spot .
Check whether the Idoc is posted succesfully or not,
If posted successfully
In ur function module I_MERRDAT-MATNR parameter which holds Material number
->Now create a Ztable to make the matrial number-ECC 6.0 entries and Old material-4.7(If u need) .(Matian some Key fields to identify the record .
->After this create a RFC to read the entries .
RFC Explanation :
. create RFC in the Reciever system and call it in the sender. to Read the table Entries .
or
send a notification message(Mial) to the sender
for my Invoice Application I created the table is and I sent error descrptions in your case it is Materail numbers .
ZTABLE
VENDOR_ID
PO_NUM
VENDOR_INV_NO
CREATION_DATE
CREATION_TIME
ERROR_MSG1 ERRTEXT CHAR
ERROR_MSG2 ERRTEXT CHAR
ERROR_MSG3 ERRTEXT CHAR
I hope this helps to you .Please let me know if u have any query.
Rgds
Sree M
‎2008 Apr 03 11:02 AM
Hi sree,
u expalined well.but i cant understand because i am new of the concept of idoc...so give me a step by step process...help me please.......