cancel
Showing results for 
Search instead for 
Did you mean: 

how to develop this custom scenario

former_member574106
Participant
0 Kudos

Hi friends,

I am developing my first SAP Workflow. I have got to develop the foll. custom scenario.

Develop a MM Purchase Requisition workflow that is triggered when a Purchase Requisition is created. It sends external mail and internal mail to Buyer or MRP controller depending on the item category to enable the MRP controller to create STO, route to the Buyer or delete the requisition. Create a subtype of the standard SAP business object BUS1001 developed a custom event, custom methods and custom attributes. Agent determination is done through rule based function module.


Should i go to SWDD and create a new PR WF or should i copy the std PR WF. What are the steps i need to do in order to complete this scenario ?

Regards,

Saurav Lahiry

Accepted Solutions (1)

Accepted Solutions (1)

sbl
Active Contributor
0 Kudos

Hi

I don't think you are on the right Object it better be BUS2105

Then why don't you base your workflow on the release strategy ?

Your MRP can create a PR of a specific type (customising in MM) so for this type of PR you trigger a release strategy that goes to first release code to your MRP and then second release code to the Buyer

FOr the agent determination either you use the standard table ... or the user exit which will give you more flexibility to get the right agent (for instance for each release code you can trigger a rule to determine the right agent  (all details on the customising point of the release strategy)

Then you can copy the standard workflow and in case of rejection delete the iterms of the purchase requisition.

And that is it

Cheers

Stephane

former_member574106
Participant
0 Kudos

Hi Stephane,

Thanks a lot for the solution. Since , this is my first WF i am unable to implement the solution real time. Could u suggest any link with screenshots on how to implement the release strategy.

Regards,

Saurav Lahiry

sbl
Active Contributor
0 Kudos

Hi

The release strategy is the for the MM consultant (and I mentionned BUS2105 it is for the release strategy of the whole document as you could have the release for per item on PR)

Here under is a Link to an explanation of the release strategy

SAP123 - Setting up simple Release Procedure for Purchase Requisitions

Really check the customising of the release strategy in Spro under purchasing PR ...it is well documented (use the one with classification).

WS20000077 is the standard workflow for release strategy on BUS2105

User exit for the determination of the agent is  M06B0001

Cheers

Stephane

former_member574106
Participant
0 Kudos

Hi Stephen,

Thanks a lot for the tips. As per ur mail, i have done all the config. Next could u give me tips on how to implement the user exit M06B0001. When i create a project in CMOD, what coding should i write inside include ? Or should i create a subtype ZBUS2105 and create a method and write the code inside it ?

Regards,

Saurav Lahiry

sbl
Active Contributor
0 Kudos

Check you other post I have made a reply

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

hi,

  Is there any standard workflow to meet  scenario. I think you have to create custom workflow  takin reference from standard one .

former_member574106
Participant
0 Kudos

Hi Anjan,

Thanks a lot for the reply. In SWDD, after taking the std BO , i am creating the WF. But please explain that how do i fulfil this condition in the WF.

It sends external mail and internal mail to Buyer or MRP controller depending on the item category to enable the MRP controller to create STO, route to the Buyer or delete the requisition.


Regards,

Saurav Lahiry