Skip to Content

Parameter in RFC FM

Hi friends

While creating RFC FM I want the parameter type 'SHLP_DESCR_T' to be used . I used the statement 'TYPE-POOLS shlp' in top include.

But the 'Type SHLP_DESCR_T is unknown' information message is coming. Can't we use the paramenter defined in type-pools in the rfc FM's.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2005 at 11:44 AM

    Check whether that <i>type really exists</i> in SE11 in the box where the RFC Function Module exists.

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2005 at 12:50 PM

    I realized, what you are trying to say.

    a) You have Type-Pools : SHLP and there is a definition of shlp_descr_t in the given type pool.

    b) You want to use the above definition in the parameter section of the function module

    It doesn't matter , if it is RFC or a normal function module, you still can't use it. You can only use DDIC structures and the type-pools are not loaded during the compilation of the function module.

    You have to explicitly declare that structure in SE11 and use it.

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2005 at 01:10 PM

    Hi Shiva

    If you have concerns over making a new 'Z' structure only because of declaring one parameter, what you can do is:

    First analyse the data type and length etc. you would like to have. See if some standard structure or table is having a field of that type/length, simple refer it for your purpose.

    e.g: a table 'TTT' is having a field 'FFF' which has same data type/length which you desire:

    your_parameter LIKE TTT-FFF (check 'pass value)

    Regards

    Ashish Jain

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2005 at 01:34 PM

    Friends

    Thanks for the help

    Here interestingly i am not getting the radio buttons beside to your replies to provide marks , How it is happening?

    What might be the reason , i want to reward you with points guys.

    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.