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

accesing screen fields inside BADI

In one of the transactions. we have 2 fields..

after entering one value in one field (lets say A), we press f4 on second field..

then a BADI is getting triggered.

we need to be able to access this screefield A inside BADI..

I tried accessing with screen field..but it says its not declared ..but I can see the value in debugging.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 09:25 AM

    Hi,

    You have to use field symbols to do that. By refering that screen name and number.

    Sudheer.A

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I tried with field symbols

      here is the code I have written..

      CONSTANTS: lc_ref(47) TYPE c VALUE 'GS_DYNP_1000_VARIABLES-PARTNER_1-PARTNER_NUMBER'.
      FIELD-SYMBOLS : <lf_partner>  TYPE c(16).
      ASSIGN (l_ref) TO <lf_partner>.
      
      var_str = <lf_partner>.[

      Program Name SAPLCOM_PARTNER_UI2

      Screen number 1001

      now what is the string I have to use for lc_ref ?

      Message was edited by:

      Kalyan Mohan Venigalla

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.