Skip to Content
1

BADI: ME_PROCESS_REQ_CUST - MESSAGE

May 03, 2017 at 07:34 AM

69

avatar image

I have one question.

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

Thanks for everyone.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Avik Mazumder Jul 05, 2017 at 05:26 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Ok...understood your view.

0