cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc status 51 - LSMW for Creating Purchasing Info Records

Former Member
0 Kudos

Dear All,

My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.

In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...

Request you guys to resolve the issue....

Solution will b rewarded.. Thanks in advance....

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I shouldnot use basic type INFREC01 instead of NFRECMASS01.

'coz Within the FM there is a check for basic type like:

  • check idoc type

if f_idoc_control-idoctp c_idoctp_infrec01. " INFREC01

raise wrong_function_called.

endif.

Even one can go to WE57 and see the basic Type INFREC01 assigned to the FM IDOC_INPUT_INFREC, hence one shud use this basic type...