2009 Oct 04 1:47 PM
HI Experts,
I have just started ALE/IDOC. I've finished the ALE Steps as mentioned:
Defining & Assigning the Logical Systems.
Created the RFC Destination.
Generated the Port.
Defined the Model View.
Created the Partner Profile.
Distributed the Model View.
I Have activated the Change Pointers through for BD61.
Enabled the change pointers for message type(MATMAS) through BD50.
Now when I ran the transaction BD10 to distribute the MATERIAL MASTER.
Everything is going fine but at the time of posting the IDOC in the recieving system it gives an error saying ''Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT'' & the status record is 51 "Application Document is not posted".
I will be thankful if someone can throw some light on it & suggest me the solution.
Regards,
Raman.
Edited by: Raman Bhardwaj on Oct 4, 2009 2:52 PM
2009 Oct 04 3:17 PM
Check out the process code you are using for receiver partner (t-code WE20). Also check Process code-FM link in WE42.
Hope it helps you.
HI Experts,
I have just started ALE/IDOC. I've finished the ALE Steps as mentioned:
Defining & Assigning the Logical Systems.
Created the RFC Destination.
Generated the Port.
Defined the Model View.
Created the Partner Profile.
Distributed the Model View.
I Have activated the Change Pointers through for BD61.
Enabled the change pointers for message type(MATMAS) through BD50.
Now when I ran the transaction BD10 to distribute the MATERIAL MASTER.
Everything is going fine but at the time of posting the IDOC in the recieving system it gives an error saying ''Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT'' & the status record is 51 "Application Document is not posted".
I will be thankful if someone can throw some light on it & suggest me the solution.
Regards,
Raman.
Edited by: Raman Bhardwaj on Oct 4, 2009 2:52 PM
2009 Oct 04 3:17 PM
Check out the process code you are using for receiver partner (t-code WE20). Also check Process code-FM link in WE42.
Hope it helps you.
2009 Oct 04 6:02 PM
Hi Amit,
Thanx for ur reply......
I checked the FM link in we42. For MATM Process Code, FM is IDOC_INPUT_MATMAS01. But I donn know how to check out the Process Code in we20.
That will be really great if u can tell me how to do that.
Regards,
Raman.
2009 Oct 04 7:17 PM
I guess you are dealing inbound IDoc.
In WE20, You maintain partner profiles.
For any partner you can maintain inbound and outbound parameters.
Without inbound/outbound parameters we cannot post any IDoc.
While creating the inbound parameters, you have to key in the correct process code which turn triggers the associated Function Module.
Any questions?
2009 Oct 05 2:17 PM
hi,
there are two different IDoc Types:
in case of MATMAS you have to use MATM for Inbound Process Code
in case of ARTMAS(Retail) you have to use BAPI for Inbound Process Code.
Check WE64 for all possible Processcodes / MEssagetype
Chek WE20 : LS -> RECEIVER -> Inboundparameter and enter above Processcode.
Regards,
Gordon
2009 Oct 05 7:00 PM