03-06-2012 12:08 PM
Hi,
I need to find a function module or BAPI which I can use to change the payment method on an accounting document line item (BSEG-ZLSCH). I have searched Google and these forums and have tried using FI_DOCUMENT_CHANGE but I got an error saying it couldn't find the document to change, I don't think I gave it enough information but I'm not sure what else I could pass to it. I've also looked at BAPI_DOCUMENT_CHANGE2 but couldn't work out how to use it.
So, could anyone tell me what I need to pass to FI_DOCUMENT_CHANGE apart from:
I_AWTYP = BKPF
I_AWKEY = accounting doc number
I_AWORG = company code
I_KUNNR = customer number
I_BUZEI = acc doc item no
T_ACCCHG-FDNAME = ZLSCH
T_ACCCHG-NEWVAL = C
Or tell me another FM or BAPI to use?
I want to avoid doing a recording if possible.
Thanks,
Gill
03-06-2012 1:05 PM
03-06-2012 1:05 PM
03-06-2012 1:16 PM
Thank you so much.
I solved this by using FM FI_ITEMS_MASS_CHANGE.