2009 May 15 12:20 PM
HI Sdn,
is there any FM or BAPi to update RBKP and BSEG table in SAP.
please let me know
2009 May 15 1:17 PM
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.
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.
2009 May 15 12:45 PM
2009 May 15 1:14 PM
2009 May 15 1:17 PM
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.
2009 May 15 1:28 PM
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
2009 May 15 1:46 PM
2009 May 15 2:06 PM
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.
2009 Jun 14 3:43 PM
2010 Feb 02 2:52 PM
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
2015 Oct 09 9:50 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |