2008 Apr 30 11:05 AM
Dear Experts,
I m using a bapi 'BAPI_SALESORDER_CHANGE' in my program.It updates the internal table but it is not updating the database.So pls help us.
Thanks & regards
Alok Vishnoi.
Dear Experts,
I m using a bapi 'BAPI_SALESORDER_CHANGE' in my program.It updates the internal table but it is not updating the database.So pls help us.
Thanks & regards
Alok Vishnoi.
2008 Apr 30 11:09 AM
hi,
to update data base use
call function 'BAPI_TRANSACTION_COMMIT'.
reward if useful,
regards,
chandu
2008 Apr 30 11:23 AM
Hi
Chandu,
I had use call function 'BAPI_TRANSCTION_COMMIT' with message 'S' but still problem is same.
2008 Apr 30 11:35 AM
hi,
thr is no need to pass any paarmeters to the that bapi,
i think it may some othar prob
regards,
chandu
2008 Apr 30 11:14 AM
Hi Alok,
After calling this BAPI check the returns table whether u are getting any errors/aborts/dumps. If not then call the FM
BAPI_TRANSACTION_COMMIT.
eg:
CALL FUNCTION BAPI_SALESORDER_CHANGE.
READ TABLE i_return WITH KEY type = 'E'/'A'/'X'.
IF NOT sy-subrc IS INITIAL.
CALL FUNCTION BAPI_TRANSACTION_COMMIT.
ENDIF.
Thanks,
Vinod.
2008 Apr 30 11:27 AM
I had check the return table with all messages but still problem same.
2008 Apr 30 11:57 AM
Hi,
Just check whether you have set the simulation field in the importing parameters of the FM as 'X'.In this case it will run a simulation of the actual but not update the database.
Please check this.It might help.
Thanks,
Sandeep.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |