06-05-2015 8:24 AM
Hello!
I must change partner number in incoming ORDERS05.
Is there any UserExit, BADI or Enhancement Point to do this?
Regards
Markus
06-05-2015 9:05 AM
Use the transactions BD62, BD79 and BD55 to setup and assign conversion rules for your IDOC fields
06-05-2015 9:18 AM
These functions only seem to change the segment-data, but not the control record data.
06-05-2015 2:16 PM
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?
06-08-2015 7:26 AM
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?
06-08-2015 1:55 PM
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?
06-08-2015 2:04 PM
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.
06-08-2015 2:12 PM
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!
06-16-2015 12:51 PM
Do you have any suggestion for this mini-middleware?
Is there any way to do this with function IDOC_XML_FROM_FILE?
Regards
Markus