Skip to Content
author's profile photo
Former Member

newbie Q : fill BAPI import parameter with data from selected table row

Hi all,

Perhaps you can point me in the right direction.

I have a table containing R/3 data where the user can select a row. I need to pass the value of one cell in this table (or context element) as an import parameter to another bapi call.

Until now I have only hardcoded the import parameters in the wdInit() of the custom controller.

I know that the table-cell-data can be be called from the context with this code:

wdContext.nodeEt_Keys().getEt_KeysElementAt(wdContext.getLeadSelection()).toString()

but where should this be implemented?

a)onActionSelectRow of the View

b)executeBapi_Xxx method of the custom controller

c)elsewhere

Thanks for the help!

Cheers,

faB

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jan 17, 2005 at 11:34 AM

    You can have something like this.

    on onActionSelectRow - take the row that is selected.

    pass that value thr' the method executeBapi.

    From there on to the import.

    Add comment
    10|10000 characters needed characters exceeded