on 09-20-2011 3:45 PM
Hi experts,
How to create a complain using FM "CRM_ORDER_MAINTAIN" and to capture the complain id which is auto generated.
Please help me finding solution
Thanks
Aisurya
hi
try to create complaint manually and before save it go into debugging mode (\h in command window) and press save. debugging window opens and put a break point at function module CRM_ORDER_MAINTAIN. this will help you to identify the information that has to be sent to the FM to create a complaint. write code according to the information you found and after that call , CRM_ORDER_SAVE function module to save the transaction. in this fm ET_SAVED_OBJECTS you can find the newly created transaction id.
for new complaints you can use GUID_CREATE FM to create new guid and you can give this value to FM as you find and also to the CRM_ORDER_SAVE fm. call BAPI_TRANSACTION_COMMIT finally. hope it helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
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.