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

Problem with saving selection-screen variant

Hi all!

I had an attractive idea to encapsulate some frequently used selection-fields (parameters and select-options) into function group as subscreens. Then I wanted to call these fields from selection-screens of various program.



  sub_date-prog = 'SAPLZEF_GET_FULL_DATA'. 
  sub_date-dynnr = 1300.

Thus I had obtained compact and reusable code. But unfortunately I had discovered that when I saved the variant of selection-screen containing fields from function group, values of these fields didn’t save! The fields appear in selection-screen, but don’t appear in variant of selection-screen!

Does anybody know what happens?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 28, 2005 at 07:13 AM

    Since you got no answer, here is my guess:

    In my opionion there are 2 possible reasons:

    1. When saving the variant there is the possibility to assign screens. Maybe for one reason you have to tick dynpro 1300 to get the values saved.

    2. Variants are saved dependant to their reports. Maybe subscreens are saved under the programname SAPLZF_GET_FULL_DATA. (1300 is a selection screen is it?)

    To check that out I recommend some debugging in function group svar.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christian Finkbeiner

      Thanks, Christian for your attention paid to my problem.

      While debagging I found that main report name is referenced to variant in code :((. I think placing subscreens in another program isn't possible without problems with variants.

      I searched for oss notes described this but it was unsuccessful.

      Thank you a lot.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 06:47 AM

    Is my description not clear or nobody has any idea how to solve this problem?

    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.