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

RFC with CHANGING parameter

Hi All,

When creating an RFC, if i add a parameter in CHANGING tab, it is giving an Information message that `CHANGING is not allowed in RFC`. Is it true ?

If yes, that what is the alternative to pass a parameter which can be changed from SAP as well as the Other system using the RFC.

Thanks,

Best regards,

Prashant

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 09, 2006 at 04:37 AM

    Hi,

    User enters MATNR on screen-other application, RFC is called. If field STATUS is blank(will be blank for 1st RFC call), then data would be validated and MATERIAL related data is sent back with value in STATUS as 01(success) else appropriate error message no. is sent.

    Other application will check If STATUS NE 01, then error message description is fetched locally by the application and displayed on screen else the material related data is displayed on screen. User would click on confirm. Again the same BAPI would be called. If validations are fine, then COMMIT work would be done.

    So the purpose is that, data is fetched in 1st RFC call and displayed on screen. Then user would click confirm and then same RFC would be called.

    COMMIT WORK should not be executed for the 1st call to RFC but later it should be executed.

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Prashant,

      I still can't see the need where the data is being changed.

      You are only changing the status field in the application where the BAPI is being called, right?

      I can't see a situation, where you pass data in a specific field and that data needs to be changed by SAP.

      If at all that is the case, then have a separate export parameter and get the new value for the field in that parameter.

      Regards,

      Ravi

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 04:26 AM

    Prashant,

    RFC's cannot have parameters that can be changed.

    There is not work around for the same.

    However, I really don't see a need as well.

    Can you explain your requirement?

    Regards,

    Ravi

    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.