cancel
Showing results for 
Search instead for 
Did you mean: 

BADI: ME_PROCESS_REQ_CUST - MESSAGE

I have one question.

I want to know what role IM_COUNT in the method PROCESS_ACCOUNT.

Thanks for everyone.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member365886
Contributor
0 Kudos

Hi,

This is interesting feature of Standard SAP enhancement design.

IM_COUNT is used Particularly on specific area of Purchasing/MM where you set some values using custom code/business logic implementation-->to PO header or item using Setter method,(e.g.set->text or Update with value X -rather any change on the document level) for your example it is Purchase requisition level enhancement.

why is it required? when you trigger the update or set method for any field for database update,then system by default goes into re-cursive loop./infinite loop and tries to check again and again for the change.I faced similar issue during an implementation.

What purpose does it serve? While doing logical coding,you need to check as below.

if im_count = 1.

* Inside you should write all your custom logic/code.otherwise set method will trigger everytime resulting infinite loop.

endif.

Regards,

Avik

former_member365886
Contributor
0 Kudos

Ok...understood your view.