Application Development 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: 

Payment Block Bseg-zlspr field to be set to 'R' using Function Module

Former Member
0 Kudos

Hi all,

My requirement is, based on the given document number, company code,Fiscal Year , I need to set the value 'R' for the payment block field

( Bseg-zlspr ) for the transaction FB02. I tried almost all the function modules

BAPI_ACC_PYMNTBLK_UPDATE_POST

FI_DOCUMENT_CHANGE

TR_LOAN_UPDATE_ZLSPR_IN_FI

BAPI_ACC_DOCUMENT_POST

FI_ITEMS_MASS_CHANGE

But not of them are worked, some Function modules are giving message type as success, but not updating BSEG-zlspr table.

Some are throwing error as field Bseg-zlspr is not found in screen 0300 in program s......,   some are throwing error as following.

Kindly let me know if u have any solutions.

Thanks in advance

JV

4 REPLIES 4

Former Member
0 Kudos

In business object BSEG method "DocLineAccounting.PaymentBlockReset" a

function module "PR_WF_PAYMENT_BLOCK_RESET" is used. Try it out if it helps. 

Former Member
0 Kudos

Hi, Did u check the BTE/FM- OPEN_FI_PERFORM_00001820 ? I hope this should help

0 Kudos

I had the same scenario and I recorded the FB09 transaction code and entered the R in the payment Block.

Once the invoice posted from MIRO we can not change the invoice to update the payment block we have to take the Accounting document number and update the payment block as R.

Thanks

Naresh N

0 Kudos

Hi Naresh,

I am not supposed to use BDC.

Please let me know any BAPI and the parameters to be passed.

Thanks in advance

JV