I have a custom program written that displays certain details for a PO. This program is assigned to a Z-transaction.
I have now extended by Business Object to include a method to call this transaction and the program looks like this:
BEGIN_METHOD COST_CHANGES CHANGING CONTAINER.
SET PARAMETER ID 'BES' FIELD OBJECT-KEY-PURCHASEORDER.
CALL TRANSACTION 'ZFINREL' AND SKIP FIRST SCREEN.
Whenever I execute this method from within a workflow, the workflow takes me directly to the transaction, but doesnt populate the Purchase order details in the transaction.
However, if I create a method with reference to a SAP standard Tcode, I do not have any issues.
Would appreciate assistance with what I am missing.