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

Screen filed values are not passing to program

Hi Good Evening,

I have appended strcture ZCORP to LFA1. The ZCORP structure having two fields ZGRP_D & ZNAME1. In the screen I have added two screen fields LFA1-ZGRP_D & LFA1-ZNAME1 from data dictionary.

When I enter values to these two fields it's not passing back values back to the program.

The declaration would be like

DATA: LFA1-ZGRP_D LIKE LFA1-ZGRP_D ,

LFA1-ZGRP_D LIKE LFA1-ZGRP_D .

After pressing save I need to copy these values into below fields.

zmat_grp = LFA1-ZGRP_D.

zgrp_d = LFA1-ZNAME1 .

But the values in LFA1-ZGRP_D & LFA1-ZNAME1 showing blank. Please guide me where is going in this case.

I will be very helpful.

Thanks & Best Regards,

Mahesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 10:59 AM

    hi...

    the name of your screen fields and that in your program must be same,coz different anems can craete problem while [passing the data.

    just check the declaration again and activate the program and the screen.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:09 AM

    hi,

    u r saying that u have added some fields to the transparent table. Then after adding the fields do Activate and Adjust Database in SE14.

    i think it will solve ur probelm.

    Rgds.,

    subash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:19 AM

    Modify the declaration to:

    DATA: ZGRP_D LIKE LFA1-ZGRP_D ,

    ZNAME1 LIKE LFA1-ZNAME1.

    select single ZGRP_D into ZGRP_D from LFA1.............

    zmat_grp = ZGRP_D.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 11:20 AM

    Did you use your own transaction to maintain these data or did you "repair" the standard transactions ?

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 11:32 AM

    Hi ,

    1. Data declaration is local or global,

    2. tables statement?

    Regards,

    Prabhu Rajesh

    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.