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

Regarding Module pool programming

Hi All,

I am having a issue in Dialog programming.

At present i am having a an element in <b>'Company Code'</b> in my screen as parameter. I want to Replace that single value entry field for <b>‘Company Code’</b> with a range or multiple values. How can i achieve it.

Without creating another same dictionary field side of company code directly can we make <b>company code</b> field Select-option.

Please clarify.

Thanks in advance.

Thanks & Regards,

Rayeez.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2005 at 12:15 PM

    Hi Shaik.

    First don't forget the reward if my answer helpd

    The easiest way is to defined a select option in your dialog screen !!!!

    All info here : http://help.sap.com/saphelp_47x200/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm

    I suggest you defined in the program a selection screen.

    TABLES PA0001-BUKRS .

    SELECTION-SCREEN BEGIN OF SCREEN 500 as subscreen.

    select-options : Ccoce for BUKRS

    SELECTION-SCREEN END OF SCREEN 500.

    Then in your dialog screen you defined a subscreen area ...

    Then within the PBO of the dialog scree: CALL SUBSCREEN area INCLUDING sy-repid number.

    Message was edited by: STEPHAN KAMINSKI

    Message was edited by: STEPHAN KAMINSKI

    Message was edited by: STEPHAN KAMINSKI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2005 at 12:17 PM

    HI Shaik,

    Its simple. First declare an internal table with company code (Bukrs most probably) as a field. Now in the screen create a table control on this internal table, and makes the fields input enable..thats it.

    Once the user enter value in the table, you just loop into that internal tabl and get the vales..

    Is it ok?

    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.