09-07-2014 12:53 PM
I run SE37, BAPI function module BAPI_fixedasset_change, I want to change description of asset, so i enter below attached, it says asset is changed, but when I go to AS03, the asset description is not changed, anyone can explain, how to run SE37 to make it changed?
09-07-2014 1:09 PM
Function Module Test Sequence - ABAP Development - SCN Wiki
Regards,
Philip.
09-07-2014 1:05 PM
Hi,
Take SE37-> Goto Menu "Function Module"-> Test->Test Sequences
Give both the function modules.
BAPI_FIXEDASSET_CHANGE and BAPI_TRANSACTION_COMMIT.
and then Execute and it will work.
Regards
Sajid
09-07-2014 1:08 PM
09-07-2014 1:09 PM
Function Module Test Sequence - ABAP Development - SCN Wiki
Regards,
Philip.
09-07-2014 1:22 PM
thanks, SE37 works. now I write in SE38 in ECC6
data:
Generaldata like bapi1022_feglg001,
Generaldatax like bapi1022_feglg001x,
return like bapiret2.
Generaldata-descript = 'test9'.
Generaldata-descript2 ='test10'.
Generaldatax-descript = 'X'.
Generaldatax-descript2 = 'X'.
CALL FUNCTION 'BAPI_FIXEDASSET_CHANGE'
EXPORTING
COMPANYCODE = '1000'
ASSET = '1000'
SUBNUMBER = '0'
GENERALDATA = generaldata
GENERALDATAX = generaldatax
IMPORTING
RETURN = return.
call function 'BAPI_transaction_commit'.
the program says: asset 1000 0 is not in company code 1000
but i can use se37 to change asset 1000 in company code 1000
it didn't work in SE38, why?
09-07-2014 1:30 PM
Regards,
Philip.
09-07-2014 1:34 PM
09-07-2014 1:39 PM
09-07-2014 1:40 PM
09-07-2014 1:48 PM
Hi experts, additional bug, user don't want to change upload file, they have assets like 1000, 100058, 10101245, I know asset number must be 12 didgits, is there any way we can change in the program?
currently in the program, we use
asset=record-anln1_001
anln1_001 is reading from excel file then populate to internal table/structure record, can we change the coding without modifying upload file?
09-07-2014 1:56 PM