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

Problem with Inbound Idoc

Former Member
0 Likes
902

Hi everybody.

I´ve got a problem with an inbound idoc. I've got a standard idoc INOTIF with an extension.

To receive this Idoc from external systema I´ve created a Z FM to process this idoc.

The problem is that when this idoc get to SAP the FM never is executed and the idoc appears with red flag and show me

the next error: No status record was passed to ALE by the application and the idoc is shown with the status 51.

¿¿How can I fix this??

Thanks a lot

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
803

Yes... I did it....

And I don´t know why the FM is never executed... Im getting crazy... jejej

Hi everybody.

I´ve got a problem with an inbound idoc. I've got a standard idoc INOTIF with an extension.

To receive this Idoc from external systema I´ve created a Z FM to process this idoc.

The problem is that when this idoc get to SAP the FM never is executed and the idoc appears with red flag and show me

the next error: No status record was passed to ALE by the application and the idoc is shown with the status 51.

¿¿How can I fix this??

Thanks a lot

Regards

5 REPLIES 5
Read only

Former Member
0 Likes
803

Hi,

Have you linked the z<idoc type> , message type and Z<function module> in the WE57 ???

Thanks,

Asit Purbey.

Read only

Former Member
0 Likes
804

Yes... I did it....

And I don´t know why the FM is never executed... Im getting crazy... jejej

Read only

0 Likes
803

Hi,

Have maintained FM in we42 with the process code.

Thanks,

Gaurav

Read only

0 Likes
803

hi

and also give the funtion type is function module in we57 and in BD51 give ur ZFM and give 1 in input.t field.

now you can see ur FM in WE42 under Identification field F4 value.

The FM which is created by you it should be in F4 help list fo field Identification in we42.

and give the Message type and Process code in we20 in inbound parameters.

i am sure this will work .

regards,

Kiran Jagana

Read only

Former Member
0 Likes
803

Hi ,

Have u created a proceess code for inbound idoc and assigned ur fm to that proceess code.

If , this is done then , then u have to assign the proceesss code in we20 , double clk the message type and in inbound option tab assign the process code.

Rajendra