Automatic PR creation - Update EBAN
My requirement is every time PR is created, a tracking number shall be generated for all the line items depending on the plant. I have posted a discussion about that ME51N modify line after save - ME_PROCESS_REQ_CUST ..
I have created it using BADI ME_PROCESS_REQ_CUST and method Process Item. When I use me51N the program can automatically update the tracking number(BEDNR).
But, There are scenarios that PR are automatically created by not passing thru ME51N.
Like CJ20N for non stock materials under PS(Project Structure) - PR is automatically generated.
How can I update the tracking number of all PR generation manually/automatically.