on 10-31-2007 9:21 AM
Hi experts,
I have implemented the BAdI order_save, in which i am calling a program to send a mail to some partners. When sending the mail i need to display the object id(transaction number) in the mail content. I ahve used FM 'CRM_ORDER_READ' to get all details of the transaction like order header, item, partner, text, status but unable ot get the transaction no.
Please give me suggestions on how to get that.
Thanks in advance.
Regards,
Arul jothi
Hi,
We determinated object ID with "crm_order_read" in BADi order_save.We passed to FM Import parameter :IV_GUID (Transaction guid). As a result we got Transaction number in ET_ORDERADM_H-OBJECT_ID.
Rika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arul,
You can get transaction number from function module CRM_ORDER_READ in table ET_ORDERADM_H field OBJECT_ID.
The transaction number is generated after the order gets saved, and ur BADI is triggered immediately before saving of a transaction, that can be the issue.
Regards,
Shalini Chauhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.