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

Update Multiple Rows in Multiple Tables in a Single BAPI

Hi all,

We have recently upgraded to SP10. Does VC support updating multiple (all) rows in multiple tables in a single BAPI ? My BAPI has 7 tables which are split in VC into different tabs using Tab Strip layers. I would like to be able to navigate between tabs, make appropriate updates on the screen and then trigger BAPI and pass all 7 tables (with or without changes) to the BAPI.

I have been successful in updating all rows in a single table by mapping from each table to the BAPI with individual update events hooked to each table. (This would require the user to save on each tab (up to 7 different places - not ideal). I've also been able to update all rows in 1 table and a single row in each of the other tables.

Is this possible (multiple tables, all rows in one call) in VC without changing the BAPI?

Thanks,

John

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2006 at 11:50 PM

    That's probably going to help you:

    https://wiki.sdn.sap.com/wiki/display/VC/Selectingmultiplevalues

    and this one:

    https://wiki.sdn.sap.com/wiki/display/VC/Submitshallupdatemultipleformsatonce

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi John,

      To achieve this precede the event name with the * operator on the data link which will send the data to the bapi for each of your tables. For example, if you have an action called submit then use *submit to pass the data from each data source (table) to the target (bapi). This will ensure that all data is passed at the same time on the same user action.

      If the action is fired from inside one of the 7 tables, (from a button on the toolbar), then the link linking that table and the bapi need not have the * operator.

      Hope this helps, good luck,

      Allen

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2006 at 01:43 AM

    hi,you can modify system action submit, call it ''submitall''.

    at any table form create button, using custom action "submitall".

    result one buttom can submit all,all table, all rows.

    i already succeed delpoy this application.

    hope help you.

    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.