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: 

modify partner in incoming ODERS05

edvdm
Participant
0 Kudos

Hello!

I must change partner number in incoming ORDERS05.

Is there any UserExit, BADI or Enhancement Point to do this?

Regards

Markus

8 REPLIES 8

JL23
Active Contributor
0 Kudos

Use the transactions BD62, BD79 and BD55 to setup and assign conversion rules for your IDOC fields

0 Kudos

These functions only seem to change the segment-data, but not the control record data.

Jelena
Active Contributor
0 Kudos

Control record is processed way before any user exits kick in - it's used for partner profile and to determine how IDoc needs to be processed. I doubt there is any user exit to change it on a fly. Is there any reason this can't be set differently at the source?

0 Kudos

We got an IDOC from our Customer with his own partner number and without partner type and port.

For our customer it is not possible to send the IDOC with our customer number and with partner type and port.

So we want to change partner number, partner type and port for this IDOC when we import them in our system.

Is there any way to do this?

Jelena
Active Contributor
0 Kudos

Not that I'm aware of... I've never heard of any SAP customer implementing EDI without some kind of middleware in between. It's always either a 3rd party app or XI/PI.

What is the customer using to connect to your SAP system - RFC? Maybe it's possible to trigger some program at that point... Customer number is one thing, but how would you process IDoc without a port? Isn't it a required field?

0 Kudos

The customer stores his orders as XML-IDOC on his FTP-Server where we can get them and import them into our SAP-System.

Maybe we can modify the file during the import.

Jelena
Active Contributor
0 Kudos

Yes, you'd need to put some program in the middle (= mini-middleware ) to modify the data, I believe. But in long term you might want to really consider using something more scalable for EDI.

Also I'm sure you'll run into this just few steps later - you might need to also maintain in VOE2 and VOE4 transactions, as well as material cross-reference in the customer materials info records (unless customer is sending your own material numbers, which would be a rare fortunate occasion).

Good luck!

0 Kudos

Do you have any suggestion for this mini-middleware?

Is there any way to do this with function IDOC_XML_FROM_FILE?

Regards

Markus