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: 

work flow object type for purchase requisition please do reply

Former Member
0 Kudos

hello anji reddy

u asked me to create a Customer Task in PFTC and assign this object and a Method and define a triggering event etc for the workflow to get triggered,but in the triggering events there is no create event in it,so how and where should i create that event and also in the custom table which i have created there is a field approver user id ,where can i get this id frm?when the pr is created the fields storage location and issuing plant will be read and sent to the custom table where the related approver id should be chosen,,but the field will be blank so how to enter data into the approver user id field.....

also in the business object(bus2105) is it that in the program only the create function module should be called and the rest of the fn modules which r there in the sample program which u have sent should be deleted?????????

waiting for ur reply

regards

anik

1 REPLY 1

Former Member
0 Kudos

Hi

You can create a Custom EVENT CREATED for the copied object and use in the Task

Use the CREATEFROMDATA1 method or even if you want you can create your own method and can be used

The code what I have sent was a Std code plus the little code what I have written.

So first see the std code of that object type and use the useful one only.

Time being use the user id of a person or yours ID to check whether the WF is functioning properly or not after that you can assign to anybody in the orgn.

Reward points if useful

Regards

Anji