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

function module

i m using HR_FEATURE_BACKTABLE to read the feature will it do its intended work if i call it using above function module for eg if feature is intended for sending a message to distribution list. if i call it using thid function module it returns me a table giving distribution list , message etc.. will it send a message using this module.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 08:47 AM

    hi

    This function module is intended for internal use.

    This function module reads a decision tree of a feature with the transferred field contents and determines the expected return value for the field contents.

    The function module HR_FEATURE_BACKTABLE reads a feature with a table return.

    Example

    Read the feature M0001:

    tables pme04.

    data feature like t549b-namen.

    data back_tab(50) occurs 1 with header line.

    data status(1).

    ...

    pme04-tclas = 'A'.

    pme04-infty = '0001'.

    feature = 'M0001'.

    ...

    call function 'HR_FEATURE_BACKTABLE'

    exporting

    feature = feature

    struc_content = pme04

    kind_of_error = space

    importing

    back = back_tab

    status = status

    exceptions

    dummy = 1

    error_operation = 2

    no_backvalue = 3

    feature_not_generated = 4

    invalid_sign_in_funid = 5

    field_in_report_tab_in_pe03 = 6

    others = 7.

    case sy-subrc.

    when 2.

    when 3.

    when 4.

    when 5.

    when 6.

    endcase.

    Reward if useful...!!!!!

    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.