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

LSMW IDOC ERROR : Function module not allowed:

Former Member
0 Likes
2,245

Hello Experts,

I am trying to move data to SAP using LSMW IDOC process

Getting an Error 51 Application not posted

While checking for more details I found that the

"Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT"

Is the error below the application not posted

Could you help me to solve this problem

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,988

Use transaction code WE57 to allow the FM for the IDoc type you are using.

17 REPLIES 17
Read only

Former Member
0 Likes
1,989

Use transaction code WE57 to allow the FM for the IDoc type you are using.

Read only

0 Likes
1,988

Hello Maria,

I check in the We57 transaction and could see the message type i am using is not there in the list

Do u think i should create one or let me know if there is the message type to which i can refer to if i am transfering the Material Master data

Thanks

Read only

0 Likes
1,988

Which IDoc type are you using

Read only

0 Likes
1,988

I am using MatMas and the Basic type as matmas05

Read only

0 Likes
1,988

Use FM IDOC_INPUT_MATMAS01

Read only

0 Likes
1,988

Maria,

After searching i found in the WE57

The Message type : Matmas

Basic Message type: Matmas05

with FM Name as IDOC_INPUT_MATMAS01

Read only

0 Likes
1,988

should i be using Matmas with Mast01 as the basic type

Read only

0 Likes
1,988

hello maria,

It not giving the error 51 but with Idoc document is in error

how can i solve this

Read only

0 Likes
1,988

As i told u in the other post - find where the error comes from, what s the problem exactly. It s hard to make an IDoc from the first time

Read only

0 Likes
1,988

thanks for your help Maria

It is that I am using Idoc for the first time and not sure how it works

tried checking using BD87

Still the status is

IDoc included in IDoc packet containing an error: transfer it separately

trying to dig more

Let me know if you have some tips

Thanks a lot for you help

Read only

0 Likes
1,988

Now it is giving error Function Module Not allowed:IDOC_INPUT_MATMAS01

Let me know if this has anything to do with the ALE configuration

Read only

0 Likes
1,988

HELLO,

Under t.c. WE20 the Process code for the MATMAS message type should be MATM.

Check in WE57 that there is a line:

IDOC_INPUT_MATMAS01 F Function module MATMAS05 MATMAS BUS1001006 2 Inbound Material master Standard material

Process the document check if there are any errors and correct them

Maria

Read only

0 Likes
1,988

Thanks Maira

I was able to post the Test Idoc Successfully using some mandatory field

I have some question on the fields

1 : MSTDE (Date from which the cross-plant material status is valid) this is in the basic tab when i am trying to enter a value in YYYYMMDD (20070620)

The Idoc fails

2: KLART (Class Type) I am not able to find this field in any of the IDOC Structure

What is the field name to which this should be assigned

Thanks a bunch for your response

Read only

0 Likes
1,988

Hello,

1. What is the message in this case

2. The field is CLASSTYPE

Read only

0 Likes
1,988

Hello Maira,

Thankyou so much for you response i was able to post the test idoc sucessfully using MATMAS01

But now when i am using MATMAS05 i am getting one error message as "

Error 51 : Application Not posted

<b>No description transferred</b>

Not sure what this message refers to ?

Read only

0 Likes
1,988

Try to read the long text of the error. May be you should add some more text description for the material ....

Read only

0 Likes
1,988

There is no long text for this message

No description transferred

Message no. MG148

Thats all is the information it shows

Thanks