‎2011 Mar 16 1:53 PM
Hi ABAP Gurus,
Can you kindly provide the FMs and/r BAPIs that I can use to change the value of RBKP-ZLSPR (Payment Block)? If possible, can youi also provide sample code for this? Thank you.
***Previously, I was able to modify the value of BSIK-ZLSPR using FM FI_DOCUMENT_CHANGE. But it seems that the said FM, does not work for RBKP-ZLSPR
Best regards
‎2011 Mar 16 3:15 PM
Hello Brando,
Try using FM BAPI_INCOMINGINVOICE_SAVE. Payment block is in import field PMNT_BLOCK in structure HEADERDATA.
You would call BAPI_INCOMINGINVOICE_SAVE like you would call any other function module. Do not forget to call function module BAPI_COMMIT afterwards.
Kind Regards,
Rae Ellen Woytowiez
Edited by: Rae Ellen Woytowiez on Mar 16, 2011 4:16 PM