10-12-2006 10:12 PM
Hi all,
Pls help me calling a transaction through User Decision step in workflow. I have attached two buttons to my User decision and the one of the outcomes to a task where I am calling the transaction through a method of BOR. But the problem is I am unable to see the transaction when I press the button on my User Decision at test run.
Can you ppl let me know how can I achieve this?
Pls reply ASAP...
Thanks
Sangharsh
04-24-2007 7:12 AM
Hello Sangharsh ,
Please Check the paramater of of the method which you define.
e.g. I define CALL_TCODE_CJ03 method
which have the parameters FLAG,ProjectDefinition,WBSElement2,User
with export, import checkbox.
Pass the paratmeres in programs
e.g.
BEGIN_METHOD CALL_TCODE_CJ03 CHANGING CONTAINER.
DATA:
FLAG(1),
PROJECTDEFINITION TYPE PROJ-PSPID,
WBSELEMENT2 TYPE PRPS-POSID,
USER TYPE USR21-BNAME.
SWC_GET_ELEMENT CONTAINER 'FLAG' FLAG.
SWC_GET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.
SWC_GET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.
SWC_GET_ELEMENT CONTAINER 'User' USER.
GET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.
GET PARAMETER ID 'PRO' FIELD WBSELEMENT2.
SET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.
SET PARAMETER ID 'PRO' FIELD WBSELEMENT2.
CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.
SWC_SET_ELEMENT CONTAINER 'FLAG' FLAG.
SWC_SET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.
SWC_SET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2. SWC_SET_ELEMENT CONTAINER 'User' USER.
END_METHOD.
I hope it will help you.
***Assigning points is the way to say thanks in SDN.***
Minaxi Shah