Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALE IDOC

Former Member
0 Likes
1,044

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
897

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.

5 REPLIES 5
Read only

Former Member
0 Likes
898

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.

Read only

Former Member
0 Likes
897

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.

Read only

0 Likes
897

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?

Read only

0 Likes
897

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

Read only

Former Member
0 Likes
897

Thanx to all the experts for the reply.........