yesterday
I have written a Report in which i I set a parameter ID (= SET PARAMETER-ID Z....).
After this i do an Batch Input (Call Transaction MODE "E") on Transaction CO02 (Change Production Order) and just presses "PRINT" and then "SAVE". Within UPDATE-TASK (CO_VB_ORDER_PRINT).
a Smartform is called. In this Smartform i GET the parameter ID which is unfortunately always empty.
Why is the Parameter ID empty and what would be the best solution?
Request clarification before answering.
If you have your Z report like this:
REPORT zreport.
SET PARAMETER ID 'ZZ' FIELD 'VALUE'.
CALL TRANSACTION 'CO02' MODE 'E'...and CO02 does:
CALL FUNCTION 'CO_VB_ORDER_PRINT' IN UPDATE TASK...
...
COMMIT WORK. " triggers all CALL FUNCTION IN UPDATE TASK asynchronously by defaultan update task is created by default (unless SET UPDATE TASK LOCAL runs). It corresponds to a brand new User Session which doesn't access the same memory context. Ref: ABAP Keyword Documentation - Sessions and Memory Areas.
Several solutions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.