cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc Error: Intercompany billing, status 51

Former Member

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?

thanks

CARLOS

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

ravi_kumar100
Active Contributor
0 Kudos

Hi,

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

http://scn.sap.com/thread/934545

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.

Regards,

Ravi

former_member184701
Active Contributor
0 Kudos

dear,

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 case...as far as i know we need a billing type IV .. is that what you use?

the output type to be RD04 in standard...

regards,

Former Member
0 Kudos

Mr. PPIO, thanks for your answer.

Yes, actually im using a copy of IV billing type (ZIV) 

the output type is RD04.

process code that im using is SD09 (is it ok??)

former_member184701
Active Contributor
0 Kudos

dear, i am not sure that process code SD09 you did set is correct...(but i could be wrong)

can you please try another one?

regards,