Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    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 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.