cancel
Showing results for 
Search instead for 
Did you mean: 

The implementation of Badi ORDER_SAVE will store the value of the product set at item level of INTER order (ZYCS)

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

0 Kudos

Thanks Thomas for the information which you provided 🙂

Answers (0)