Skip to Content
author's profile photo Former Member
Former Member

TCODE COHV - CAPTURE SCREEN PARAMETERS FROM USEREXIT

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2004 at 11:15 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2004 at 02:24 PM

    There's a function module PRINT_SELECTIONS that will store all screen values into an internal table.

    Regards,

    D.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2004 at 09:13 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.