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

Probelm in moving paramters

Hi

i tried to move parameters from Z-program to RKPEP003.

The problem that Comapny code is a dynamic selection in program RKPEP003.

how can move data from Z-program to RKPEP003

i tried to use sumbit --> but the field does not exsist

and i tried to use set paramteres

maybe you can help me?

thanks have a nice day

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 12:14 PM

    Hi

    DATA: TEXPR TYPE RSDS_TEXPR,

    W_EXPR LIKE RSDSEXPR,

    W_TEXPR TYPE RSDS_EXPR.

    W_EXPR-FIELDNAME = 'BUKRS'.

    W_EXPR-OPTION = 'EQ'.

    W_EXPR-LOW = <COMPANY CODE>.

    W_TEXPR-TABLENAME = 'PROJ'.

    APPEND W_EXPR TO W_TEXPR-EXPR_TAB.

    APPEND W_TEXPR TO TEXPR.

    SUBMIT RKPEP003 WITH ........

    WITH FREE SELECTIONS TEXPR AND RETURN.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Try to use the options VIA SELECTION-SCREEN and check if the free-selection are filled:

      TYPE-POOLS RSDS.

      DATA: TEXPR TYPE RSDS_TEXPR,

      W_EXPR LIKE RSDSEXPR,

      W_TEXPR TYPE RSDS_EXPR.

      W_EXPR-FIELDNAME = 'VBUKR'.

      W_EXPR-OPTION = 'EQ'.

      W_EXPR-LOW = 'MAAB'.

      W_TEXPR-TABLENAME = 'PROJ'.

      APPEND W_EXPR TO W_TEXPR-EXPR_TAB.

      APPEND W_TEXPR TO TEXPR.

      SUBMIT RKPEP003 WITH FREE SELECTIONS TEXPR VIA SELECTION-SCREEN AND

      RETURN.

      Anyway you don't have to check the name of the parameter, but which dictionary field is linked to that parameter.

      So the parameter is called %%DYN001-LOW, but it's linked to PROJ-VBUKR.

      - When i use FREE SELECTIONS <p_aaa>

      how can i see the <p_aaa> in the program that i called

      thanks

      U can check only in DBlogic

      Max

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.