cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

When reversing MM Document, Check the original document's posting date.

suyoung_choi3
Participant
0 Likes
448

Hi,

In our business, when a MM dcoument is reversed, the posting date of the reversed document must be made in the same month as the original document.

In order to make users follow these rules, I would like to implement the validity check logic for the posting date of the reversed document using the custom logic of the public cloud.

Which business context of the custom logic in public cloud can be used to implement it?

Accepted Solutions (1)

Accepted Solutions (1)

suyoung_choi3
Participant
0 Likes

In the custome logic "BADI_MMIM_CHECK_MATDOC_ITEM", when reversing a document, I checked that the importing structure "Item_matdoc" contains information on the orginal material document number, and implemented the validity check logic using this the orginal material document number.

Answers (1)

Answers (1)

MariusSiegel
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear @suyoung_choi3,

please check the context Inventory Management: Material Document, especially the following BAdIs:

  • Change Posting Date of Material Document Before First Validation - MMIM_CREATE_GM_POSTING_DATE
  • Change Header in Material Documents - MMIM_HEAD_PROVIDE_DATA

best regards,

Marius