‎2005 Apr 18 5:03 PM
Hi,
Has any one used the bapi BAPI_CHARACT_CHANGE?
I am trying to use this BAPI to insert characteristic values and desccriptions? After passing the parameters, the return parameter gives me correct messages that The characteristic has been changed. But there are no changes in the Database.
CALL FUNCTION 'BAPI_CHARACT_CHANGE'
EXPORTING
charactname = 'AMTER'
CHANGENUMBER =
keydate = sy-datum
TABLES
charactdetailnew = w1
charactdescrnew = charactdescrnew
charactvaluesnumnew = charactvaluesnumnew
charactvaluescharnew = charactvaluescharnew
charactvaluesdescrnew = charactvaluesdescr
charactrestrictions = charactrestrictions
return = return.
Thanks,
Manish
‎2005 Apr 18 5:07 PM
‎2005 Apr 18 5:31 PM
Hi Brad,
Thanks for the reply. I am using the
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
RETURN =
after calling my BAPI for change. ´But still its not working. I dont get anything in the return parameter of BAPI_TRANSACTION_COMMIT.
Best Regards,
Manish
‎2005 Apr 19 8:29 AM
Hi Manish,
If you are calling these BAPIs via SE37, you will need to create a <b>TEST SEQUENCE</b> (menu Function Module->Test->Test Sequences). This means that you call both BAPI's in the same Logical Unit of Work. Calling them one after the other in SE37 will not work.
Alternatively you could code the calls one after the other in a test ABAP.
Personally, I think the test sequence is easier.
Hope that helps.
Cheers,
Brad