How to use function to Post with Clearing - Partial Pymnt with FB05
I am write a function to post with clearing - partial pymnt or Res. Items with FB05, but there is no any BAPI to do that, and I find the function POSTING_INTERFACE_CLEARING.
but it seems that the function is only for Post with Clearing-Standard Screen, how to use that function to post with clearing - partial pymnt or Res. Items???
If you post partiall payment you don't clear the invoice. Just post a normal item and fill the connection with the invoice, filling fields rebzg, rebzj, rebzz.
PERFORM fill_ftpost using:
'P' '3' 'BSEG-BSCHL' '15', "
'P' '3' 'BSEG-HKONT' customer_id ,
'P' '3' 'BSEG-WRBTR' tmpt,
'P' '3' 'BSEG-GSBER' it_pozkli-gsber,
'P' '3' 'BSEG-SGTXT' 'Patial payment',
'P' '3' 'BSEG-REBZG' it_pozkli-belnr,
'P' '3' 'BSEG-REBZJ' it_pozkli-gjahr,
'P' '3' 'BSEG-REBZZ' it_pozkli-buzei.