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

HIGH value of selection table is not being passed to function module

Hi,

When i am passing a selection table to a parameter of a function module HIGH value of the selection table is not being passed. However, i can see, before function module call, High value is availabe in the parameter being passed.

Please guide.

Thanks

...Pradeep

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 10:46 AM

    Types may be different

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 10:52 AM

    No....data types are very much same.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Marcin Pciak

      Marcin,

      I tried and as per our guess this has something to do with RFC. As i am able to receive all values inside the FM.

      Thanks for suggestion!! This helped me to give more clarification of my problem.

      Regards,

      ..Pradeep

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 11:23 AM

    You Cannot pass that SELECT-OPTION into a FM to get both low and high.

    Instead take another RANGES variable and assign low and high to it and pass it in Tables of the FM.

    or the least you can do is pass both low and high as separate parameters.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Bhupal,

      As I told you I have already tried your suggestion, please look below in the code, if this is what u mean:

      SELECT-OPTIONS PNAME_1 FOR TPFYPROPTY-PARANAME LOWER CASE.

      if PNAME_1 is not initial.

      loop at PNAME_1.

      w_ZRANGE_PROFILE-sign = PNAME_1-sign.

      w_ZRANGE_PROFILE-option = PNAME_1-option.

      w_ZRANGE_PROFILE-low = PNAME_1-low.

      w_ZRANGE_PROFILE-high = PNAME_1-high.

      append w_ZRANGE_PROFILE to r_ZRANGE_PROFILE.

      endloop.

      endif.

      CALL FUNCTION 'ZTEST_GET_DATA_FROM_RZU' DESTINATION 'SM_RZUCLNT101_TRUSTED'

      TABLES

      PNAME = r_ZRANGE_PROFILE

      LISTASCI1 = t_ZTEST_TABLE_MSU

      Regarding your 2nd suggestion, how could you pass multiple range into separate parameter?

      Thanks and Regards,

      ..Pradeep

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.