Hello all:
The specs given to me include to capture production orders in TCODE COHV with certain selection status profile (Screen field is P_SELID). I did identify an userexit (EXIT_SAPLCORE_003) that goes thru TCODE COHV when the user tries to Technically Complete production orders. Is there is a way that I can capture the parameters in COHV at the moment the transaction is executed from EXIT_SAPLCORE_003?, or there is a way to keep a log of the TECO production orders with a certain profile at the moment of the transaction execution?
Hello Erik,
If P_SELID has an SET/GET Param-ID You can
fetch it using
GET PARMETER ID '<Param-id>' FIELD <variable>
You will find the PARAM-ID while processing the DYnpro
presssing <F1> within the field P_SELID
and click the Toolbox-Symbol.
Hope i could help You
BR
Michael
Hello Eric,
May be i am wrong, but I guess You have to watch following points:
To read the selection-screen parameters works fine until you are still in the Main-program-context.
But if You will fetch the data within a Function-Module,
i think it won't work.
SET/GET Parameter-ID works in the whole session-context.
BR Michael
Add a comment