Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module or BAPI that will update RBKP-ZLSPR (Payment Block)

Former Member
0 Likes
1,411

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

1 REPLY 1
Read only

former_member182010
Active Participant
0 Likes
656

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