Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

MIR4 - Fiscal year change

Former Member
0 Kudos

Hello All,

We have a reuirement to differentiate the SAP deleted MM Invoices (when fiscal year changed) and manually deleted MM invoices by user.

CASE1: When an MM Invoice is subjected to fiscal year change, SAP automatically creates a new document, deleting the original one. In RBKP, we can see boht the invoices, with status as "Deleted" for original invoice.

CASE2: When the original document is deleted by user, status gets updated as "Deleted" in RBKP.

Our requirement is to find out which one is deleted by SAP. Also, does SAP log this automatic deletion (document referenaces) in any tables?

Any pointers would be helpful.

Thanks,

Pavan

6 REPLIES 6

Former Member
0 Kudos

Hi,

I don't know how feasible is this solution.. Can we differenciate the records by the ERNAME or ERFNAM ? For automatically deleted Documents may have the SAP Internal User id.

Regards

Vinod

0 Kudos

Hello Vinod,

Thaks for the reply. I have checked this and found that in neither of the cases ERNAME is getting filled. And in both cases ERFNAM is user ID and not internal ID.

Thanks,

Pavan

0 Kudos

Hi,

Does the field RBKP-TCODE shows different values for these scenarios?

Regards

Vinod

0 Kudos

Hi,

TCODE always gets updated as "MIRA".

Thanks,

Pavan

0 Kudos

I have found a SAP Note i.e. 999906 which helps out in identifying the same.

Former Member
0 Kudos

Found SAP Note 999906 for the same