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: 

Automatic PR creation - Update EBAN

Former Member
0 Kudos

Hi,

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 ..

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.

2 REPLIES 2

Former Member
0 Kudos

Don't restrict with T.code like ME51N.

Please check some VOFM Routine. In that Place PR will generate automatically.

Go to T. code – VOFM.

Select the Tab – Requirements - >Subsequent Functions -> Purch.Req./Assembly

venkateswaran_k
Active Contributor
0 Kudos

Hi

Can you try with the Workflow of PR Create.  (BUS2009)

Create a custom workflow on BOR BUS2009 - on create event and put your logic in the Task.

Regards

Venkat