on 09-02-2011 3:42 PM
Hi !
We have in a single SAP instance, same client (mandant), 2 different companies. Is it possible to fill an outbound ORDERS idoc differently between one company and another? By differently I mean to fill some IDoc fields with different kind of data depending on the company to whom the purchase order belongs. If it is possible, I would like to know how.
Many thanks in advance.
Kind regards,
Matias
Hi Matias,
Yes that's possible. However I've not heard of ORDERS outbound rather I've heard about ORDERSP--orders confirmation.
In the partner profile definition, you would have orders in the Outbound parameters list and a process code attached to it.
Double click on it and you would find a program name--double click on it and it'll take you to the actual program, generally a function module i.e. for ORDERSP it is IDOC_OUTPUT_ORDRSP. There are lot of enhancement points at various places in this FM given by SAP where you can implement your logic based on company code.
Regards
Raghu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matias,
first of all a small correction yes ORDERS outbound is possible and the FM is IDOC_OUTPUT_ORDERS.
And to your 2nd query : lets say the reciever ports are A and B and you want to send IDocs to both the ports with same ORDERS05..then just create 2 differernt partner profiles in tcode WE20 each for port A and port B. You cannot use ORDERS for 2 different ports with just one partner profile.
And include the ORDERS in the outbound parameters and in the FM stated above, just include logic based on company code to activate that partner profile per company code.
Regards
Raghu.
Great, thanks !
Kind regards,
Matias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.