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

UPDATE table RBKP table with FM or BAPI

Former Member
0 Likes
5,362

HI Sdn,

is there any FM or BAPi to update RBKP and BSEG table in SAP.

please let me know

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,323

I have used BADI BADI_FDCB_SUBBAS01 to add a custom field in MIRO transaction and the custom field is getting stored in RBKP table.

I have used BADI BADI_FDCB_SUBBAS01 to add a custom field in MIRO transaction and the custom field is getting stored in RBKP table.

9 REPLIES 9
Read only

Former Member
0 Likes
3,323

hi ,

check out this linke

\

[;

please come again if not resolved.

Read only

Former Member
0 Likes
3,323

Try BAPI_INCOMINGINVOICE_CREATE for Invoice Receipt.

Read only

Former Member
0 Likes
3,324

I have used BADI BADI_FDCB_SUBBAS01 to add a custom field in MIRO transaction and the custom field is getting stored in RBKP table.

Read only

0 Likes
3,323

my requirment is to change the paymnet block filed depending up on the requirmnet.

so i need to update the ZLSPR filed based on the conditions.

ZLSPR exists in RBKP, BSEG tables

Read only

Former Member
0 Likes
3,323

G_BKPF_BSEG_UPDATE

Read only

Former Member
0 Likes
3,323

Hi Naresh,

Check this may be useful..

call function 'FI_DOCUMENT_CHANGE'

exporting

i_awtyp = 'BKPF'

i_awref = pass the document number

  • i_aworg = lv_aworg

  • I_AWSYS = ' '

  • I_KUNNR = ' '

  • I_LIFNR = ' '

  • I_OBZEI = ' '

  • i_buzei = bseg-buzei

  • I_BSEGC =

  • X_LOCK = 'X'

tables

t_accchg = lt_accchg

  • EXCEPTIONS

  • NO_REFERENCE = 1

  • NO_DOCUMENT = 2

  • MANY_DOCUMENTS = 3

  • WRONG_INPUT = 4

  • OVERWRITE_CREDITCARD = 5

  • OTHERS = 6

.

In the above fn. module under tables parameter pass the value like below:

lt_accchg-fdname = your Zfield name.. ( eg: 'ZTEST'. )

lt_accchg-oldval = give your old zfield value.

lt_accchg-newval = give your new zfield value to be updated.

append lt_accchg.

Read only

0 Likes
3,323

solved

Read only

0 Likes
3,323

Naresh,

Could you tell me how you solved this problem? I am having a similar issue.

I wish to update RBKP-ZLSPR.

Many Thanks,

Colm

Read only

0 Likes
3,323

Thanks, for the simple resolution

Saravanan Selvaraj