Skip to Content
avatar image
Former Member

Idoc Error: Intercompany billing, status 51

Hello all,

I'm trying to customize intercompany billing. I already created parter profiles in WE20. But when the idocs (outbound and inbound) are created once the billing is saved, the outbound idoc is ok, but the inbound idoc ends with status 51.

IDoc: 0000000000367111 Status: Application document not posted

Company code could not be determined for intermediate document...

When I display the "status record" of the Idoc, the incorrect segmen is

E1EDP01.- IDoc: Document Item General Data

But i don't find any relation between this segment and company code determination ...

Do you have any comment or idea about this error?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Mar 15, 2012 at 08:57 PM


    when you run WE02 and find your error IDOC you can see the parameters values (the "Sts details") on Status Record screen

    can you please tell what is there (or post a screenshot)?

    i would suggest to check out again your config:

    *plant and sales org;

    *saleas area data must be assigned to each plant that participates in intercompany sales processing;

    *master data - customers (assigned to the ordering com.code) and condition records for every combination of plant and sales org;

    just in far as i know we need a billing type IV .. is that what you use?

    the output type to be RD04 in standard...


    Add comment
    10|10000 characters needed characters exceeded

  • Mar 18, 2012 at 04:15 PM


    Kindly visit the below thread.Check if it rectifies your IDOC posting error.

    Check in "BD87" and investigate IDoc error problems by viewing the contents of the IDoc segments and its former statuses using the drill down functionality.

    Re- check the Intercompany Config settings.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 21, 2012 at 06:23 AM

    check if you have a BELNR PO number under segment E1EDP02 001. PO number is used to check for reference of company code.

    Add comment
    10|10000 characters needed characters exceeded