on 09-16-2014 11:45 AM
Dear experts,
Please help with this.
Create a new implementation of badi ORDER_SAVE
- In method PREPARE, if process_type of the document is ‘ZYCS’ and the document is in creation mode, then we read all the items of the order.
- For all items with ITM_USAGE = ‘08’(subitems), we retrieve the product_guid of the parent item and then we get the value ZCORE and ZEMAR from table COMM_IL_STRSET where comm_il_strset-sourceguid = product_guid of the parent item and comm_il_strset-destinguid = product_guid of the sub item and comm_il_strset-valid_from <= today’s date.
- Update the new fields of crmd_orderadm_i with value of ZCORE and ZEMAR.
Regards,
Darshan.
Hello Darshan,
Two remarks as a start:
- It is not totally wrong to poste this problem in ABAP Development. But you could have also posted it in Customer Relationship Management as your problem is about a CRM BADI.
- It was said by others that SCN is a tool where you poste your requirements and others do the whole job for you.
But still: I have a few minutes left and give you an answer.
- You can create a new implementation for BADI ORDER_SAVE in CRM in transaction SE19. Enter your the BADI-name ORDER_SAVE, create new implementation, enter an implementation name and continue.
- When you are in your implementation you can read all items with function module CRM_ORDER_READ to whom you have to pass the header guid.
- Then continue according to the requirements.
If this help is not enough than you should look for a technical SAP CRM consultant.
Best regards,
Thomas Wagner
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.