on 05-03-2007 2:57 PM
Hi,
We are creating a Sales order thru SAP standard BAPI. once the sales order is created automatically, <b>we need to pick up e-mail address from Header> Additional Data B>e-mail address field.
This e-mail address actually comes from RFC user. This needs to be pasted/ moved to Header>Partners>Sold To Party>e-mail address</b>.
Once this e-mail address is moved, we are saving the order automatically, and triggering further events.
I need to know, how to achieve the task marked in Bold
use BAPI_USER_GET_DETAIL to get the address, and then BAPI_SALESDOCUMENT_CHANGE to update the sales order.
You can also make a user exit that, when saving an order created by BAPI (flag CALL_FUNCTION is on) takes the address from the user and put it in VBPA.
Regards
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.