Skip to Content
avatar image
Former Member

How to Pass importing and changing parameters to FM?

Hi Everyone,

I have one FM contains some importing and tables paramerts.

I used service call to call FM. I created view and bind all required attributes. I am filling all attributes ( imp and tables in FM ),

trhough from view, i mean i am inputing data( all atributes no select data from database here ). Now i filled all aontents in view,

how to pass this data to FM. This FM creats new record in DB table.

Thanks,

Madhan.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 01, 2011 at 12:25 PM

    HI,

    If you have used a service call then at the end of the service call you have created a method in the component controller begining like "EXECUTE ..".

    From your view call this component controller method like this

    wd_comp_controller->execute[and the rest of the method name]( ).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi ,

      I think I have a similar problem.

      I call the bapi "BAPI_BUS177_CREATE" wich need few importing and changing parameters.

      In my view, i bind a table to changing parameter. But i can't modify any fields of the table.

      I checked if table fields' are in "read-only" but that was not the case and i changed them from text fields to input fields in the binding process but it doesn't help. I can put nothing in these fields.

      Any help to pass changing parameter to "BAPI_BUS177_CREATE" when calling it.

      Thanks in advance.

      Azmi