Skip to Content
avatar image
Former Member

bapi

hi experts

Using programming, i need to put value in confirmed quantity filed in va02 tr.code.

i can do this using BDC or BAPI.

Using Recording i tried to create BDC but it is not creating .

To put value in Confirmed Quantity using F.M. ->BAPI_SALESORDER_ CHANGE , what are the fields i need to use in this F.M.

with regards

m.rajarao

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 17, 2007 at 11:45 AM

    Hi,

    Sorry in that function module there is no any quantity field.so u have to check both of this option.

    Minimum entry:

    You must enter the order number in the SALESDOCUMENT structure.

    You must always enter key fields for changes.

    You must always specify the update indicator in the ORDER_HEADER_INX.

    2. Commit control:

    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

    Rewards if it is useful.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2007 at 11:45 AM

    hi Raja,

    Check this you will get some idea.

    SalesOrder.ChangeFromData

    Change Sales Order

    Functionality

    You can use this method to change or delete sales orders.

    You can change header, item, schedule line and configuration data.

    In general, note that you should:

    Only specify fields that should be changed

    Select these fields by entering an X in the checkboxes

    Enter a U in the UPDATEFLAG field

    Always specify key fields when changing the data, including in the checkboxes

    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.

    Maintain quantities and dates in the schedule line data

    Possible UPDATEFLAGS:

    U = change

    D = delete

    I = add

    Example

    Delete the whole order

    Delete order items

    Change the order

    Change the configuration

    Notes

    Minimum entry:

    You must enter the order number in the SALESDOCUMENT structure.

    You must always enter key fields for changes.

    You must always specify the update indicator in the ORDER_HEADER_INX.

    Commit control:

    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

    mandatory import parameters in FM

    <b>SALESDOCUMENT

    ORDER_HEADER_INX</b>

    tables:

    <b>RETURN</b>

    <b>Reward if Helpful,</b>

    Regards,

    Adithya M

    Add comment
    10|10000 characters needed characters exceeded