Question:
HI Friends,
Can anyone tell me how to update the field ZLSPR of table BSEG? I've a 700 line abap program and I should include some logic in this program to make an entry into BSEG-ZLSPR. Is there any FM/BAPI available? Is BDC a healthy approach?. My team lead do not want me to use UPDATE statement....please help.
-Ash
Answer:
BDCs are perfectly healthy things to use, and is the only way I know of to change an FI document. You should never do direct table updates on SAP standard tables unless you completely sure that there are no other related tables that have to be updated at the same time (and even then I'd have doubts). Doing a direct update on BSEG would, I imagine, be disastrous since it is related to so many other tables, so your team lead is quite right to forbid you to do it.
Answer:
Shouldn't you be using a Substitution Exit in FI to update BSEG? I've certainly used it to update SGTXT for example.
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru