Hi Experts,
I am want to update item text in T-code FB02 or may be in FB09 so for this purpose I have recorded the transaction through SHDB but the screen where i need to change the item text changes every time in recording, I thought it may be happening due to change in Account type (BSEG-KOART) field but that was not the case. I have even tried FM FI_DOCUMENT_CHANGE to do the same but through this FM the item text is changed for few document only not for all.
{code}
CALL FUNCTION 'FI_DOCUMENT_CHANGE'
EXPORTING
i_buzei = indx " BUEZEI " Item number
i_bukrs = wa_fb02-bukrs
i_belnr = wa_fb02-belnr
i_gjahr = wa_fb02-gjahr
TABLES
t_accchg = t_accchg " Feild name to be changed, Old & New Value
EXCEPTIONS
no_reference = 1
no_document = 2
many_documents = 3
wrong_input = 4
overwrite_creditcard = 5
OTHERS = 6.
{code}