on 04-08-2009 4:21 PM
Hi friends
My requirement is that i want to attach PR05 t-code to my user dicision step. That t-code should be in edit mode. The approver should allow to edit the PR05 t-code. How to attach the t-code and also need to do in edit mode. How to approach this requirement.
Regards
vijay
You can follow surjith idea but you should not change the standard BO default method. It would be good you create 2 subtype of the standard BO and then delegate one and follow surjith's comments for the other BO subtype you have created and which was not delegated. Before using this please instantiate this BO using "GenericInstantiate" Method of BO System.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a Method in you Custom BO and write the code as shown below.
SET PARAMETER ID 'PER' FIELD object-key-employeenumber.
CALL TRANSACTION 'PR05' and skip first screen.
In the SWO1, Basic Data Make this method as a default method, and it should be dialog method.
Then, test this in the T.code SWO1, if it works fine call it in your workflow.
Note: This custom BO must be delegate to std. BO.
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the User Decision, the default Task is 8267, copy this to a custom Task. In the Custom Task, in the container tab, click the 'Create element' and give the BO & select the import and export check box in the properties and save it.
In the User Decision instead of the std. Task 8267 give this custom task and give the necessary bindings & Save and test the workflow.
Regards,
Surjith
Hi surjith
Am working in Travel Management workflow. In that the user dicison step uses TS95000092 i have already copied this task and am using the same BOR DECISION and method PROCESS. If i change the BOR as BUS2089 and my method will it do the functionality of approve and reject. Because am changing the method of approve and reject itself. Now how can i handel.
Regards
vijay
Hi vijay,
In your workflow Bus2089 instance is available , create a container element of type Bus2089 in decision task
bind that element workflow container---> task container (Decisiontask) then it will be available as a attachment in Decision task.
2) u want to open the transaction in edit mode then create a subtype for Bus2089 and delegate it
in that subtype goto BasicData-> click on defaults tab--> by default the method is display u just change the dafault method as changeplan then in your decision step if u click on attachments it will open the transaction in a changemode
Regards ,
Sunil Challapalli.
Hello,
First you have to make your own Decision step (if you haven't already).
Next bind the object to it so it shows up in the Decision step.
Then create a method in your object which calls PR05 in edit mode.
Then change the default method of the object so that it calls that method.
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.