Skip to Content
author's profile photo
Former Member

Bapi XXX Get Detail to BAPI XXX Change Order

I'm working with the following:

Bapi_prodord_get_detail

bapi_prodord_change

I have an input form on the get detail presenting a table view of the production order header. This is editable.

The user can change the start and finish date and the order quantity.

there is a SAVE button in the table tool bar.

What I want to happen is for the SAVE event to call the Change bapi with populated values from the table and make the change.

I cannot get this to work.

I've tried a data store and Input thingies - all to no avail. (I'm a beginner!)

Appreciate any help

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 04:34 PM

    Hi Simon,

    Connect the table to the change Bapi and pass the values. Ensure that the line connecting the table and bapi is called save. Also, if you can let us know what problems are you facing and if this works for you or not?

    Cheers

    Nidhi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I managed to get it to work by adding a popup and following the example in the documentation. I'm sure there would be a better way but for the purpose of prototyping it was satisfactory

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 09:06 PM

    I followed the documentation for adding a popup to the iview. The getlist bapi results table is editable with some custom fields added to hold the original data (unchanged). the user selects the line and changes the data, then clicks the SAVE button added to the table toolbar. This callse the popup which contains the CHANGE bapi. I added a second results form to grab the original data, and changed data. Then a new field 'LOG' and a formula to write a message ' Quantity changed from '& @orig_value &' to ' @Target_quantity

    Add comment
    10|10000 characters needed characters exceeded