Skip to Content
author's profile photo Former Member
Former Member

inbound idoc processing status code 51 desperate for help

when i do inbound idoc processing i get a status code 51 which says function module not allowed APPL_IDOC_INPUTI

my idoc is as follows

EDI_DC40 4010000000000631821620 3012 MBGMCR02 MBGMCR MBGMCRSAPS08 LS ABC02 INTERNAL LS ABC01 20060724100835

E2MBGMCR000 401000000000063182100000100000001

E2BP2017_GM_HEAD_01003 401000000000063182100000200000001

E2BP2017_GM_CODE000 401000000000063182100000300000001

E2BP2017_GM_ITEM_CREATE002 401000000000063182100000400000002

E2BP2017_GM_ITEM_CREATE1001 401000000000063182100000500000403

E2BP2017_GM_SERIALNUMBER000 401000000000063182100000600000002

so i think i need to link fm appl_idoc_inputi to process code mbgmcr

in we57 i see fm appl_idoc_inputi basic type mbgmcr02 message type mbgmcr

now i am going into we42 inbound processing codes and trying to add mbgmcr and i am getting choose the key from the allowed namespace.

i am desperately trying to get rid of the status code 51 but i do not know how

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2006 at 02:40 PM


    You are trying to create a process code in SAP's namespace. Try giving a name beginning with Z e.g. Zmbgmcr, choose processing type as Function Module on next screen and input the FM appl_idoc_inputi.

    Now while defining the inbound partner profile , specify process code Zmbgmcr against the idoc type mbgmcr02 and msg type mbgmcr.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi janice,

      Instead of creating a new entry in WE42 , u can use the process code BAPI which is linked to the FM BAPI_IDOC_INPUT1 which inturn calls the FM IDOC_INPUT_MBGMCR .

      Finally in WE19 , provide BAPI IDOCINPUT1 as the func module and try.

      hope this will help .please reward if u find it useful.



  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2006 at 03:47 PM

    Hi Janice,

    check this FM: IDOC_INPUT_MATMAS01 attached to the process code .

    Go to the transaction : WEDI , here you have step by step transactions to be used for configuring the inbound and outbound IDOC's.

    for inbound idoc settings

    in WEDI transaction follow development->inbound processing settings -> inbound process code option (WE42)

    while creating the process code , select processing by function module option from processing type, then click on the identification and select the function module.

    and also check

    Go to SE16 --> table TBDBE, check whether your message type has a record. Then go to BDBG and check whether correct function module is assigned.

    Hope this helps you out! Please let me know.



    P.S: Please mark all helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.