Application Development 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: 

FIDCCP02 Change company code

hergardinho
Explorer
0 Kudos
379

Hello SAP-Gurus,

The following scenario: We want to send Idocs to another system using message type FIDCC2. This works so far without any problems. But now it is the case that in the receiving system a different company code is used as in the sending system.

Example: Sender: 0001 Receiver 0002

We first took an existing IDOC for testing in WE19 and changed the company code to 0002 and sent it, that worked too. But if I now change the company code in the exit EXIT_SAPLF050_007 (ZX050U07), the Idoc is no longer sent but ends up in status 29, Company code 0002 does not exist.

In the sending system only company code 0001 is maintained, in the receiving system this should then be 0002.

Is this technically possible at all?

Best regards

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
322

Yes you can handle such simple conversion, in target system

  • BD62 - create a rule for the IDOC segment to adapt
  • BD79 - maintain the rule, force the company code as a constant
  • BD55 - active the rule for sender/receiver systems
2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
323

Yes you can handle such simple conversion, in target system

  • BD62 - create a rule for the IDOC segment to adapt
  • BD79 - maintain the rule, force the company code as a constant
  • BD55 - active the rule for sender/receiver systems

0 Kudos
322

Hi,

thanks for you answer. So this should only be maintained in the receiving system? From sending system i dont need any of these rules right?

best regards