05-28-2007 11:39 AM
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
05-28-2007 12:10 PM
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