‎2009 Jan 14 6:30 AM
After completion of tcode F110 i.e. completion of a cycle of automatic payment transaction
Then we can see header text of created FI document number by using tcode fb03.
But the header text created through F110 has a concatenation of Run Date and Identification.
There is problem that how it can happen?
I have gone through all program code; there is no such direct coding for concatenation of header text, rather concatenate happens at different level of coding.
We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
Any one has any IDEA regarding this?
Thanks,
Suyog
‎2009 Jan 14 6:39 AM
Hello Suyog,
We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
I dont think you have F4 help for Doc. header text.
Anyways just to let you know, the doc. which is created after F110 is called Payment Doc & i think
header text created through F110 has a concatenation of Run Date and Identification
is how Standard SAP behaves.
What exactly is your question?
BR,
Suhas
‎2009 Jan 14 7:15 AM
hi suhas
thanks for reply,
1. After completion of Automatic Payment cycle using F110 then we can see created FI document using FB03
2. then at FB03 Doc.Header Text for that FI document is a combination of Run Date + Identification which we entered in F110.
Then My question is that can we change that Doc.Header Text at F110 level through coding or any other option.
i know that we can change that Doc.Header Text using FB02.
Thanks
‎2009 Jan 14 8:31 AM
Hello Suyog,
I think you can make use of FI-Substitution for this, trxn GGB1.
Application Area --> Financial Accounting --> Document Header.
Create your Substituon here. In the prerequisite you can give the Doc. Type & Transaction Code.
Tips: In our system for Pymt. Docs; Doc. Type(BKPF-BLART=ZK) & Trxn. Code(BKPF-TCODE = F110). You give these values in your substitution prerequisite )
Please search SDN for further details.
BR,
Suhas
‎2009 Dec 17 6:27 AM
‎2011 Nov 19 10:07 AM
FI Substitution in Accounting Document (Tcode: OBBH ) can solve this problem.
Do not forget to activate Document Header (FI-HDR) and
Prerequisite must be BKPF-TCODE = 'F110' instead of SYST-TCODE = 'F110'.
‎2011 Dec 27 5:48 PM
Hi
I'm not sure it's helpful answer. The code below shows the way to change FI document header text (BKPF-BKTXT).
tables: bkdf, bkpf, bsec, bsed, bseg, bset.
constants: c_bukrs type bkpf-bukrs value '11',
c_belnr type bkpf-belnr value '1900000001',
c_gjahr type bkpf-gjahr value '2011'.
data: t_bkdf type standard table of bkdf with header line,
t_bkpf type standard table of bkpf with header line,
t_bsec type standard table of bsec with header line,
t_bsed type standard table of bsed with header line,
t_bseg type standard table of bseg with header line,
t_bset type standard table of bset with header line.
start-of-selection.
* BKDF
select *
from bkdf
into table t_bkdf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BKPF
select *
from bkpf
into table t_bkpf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
loop at t_bkpf.
concatenate t_bkpf-bktxt '-R'
into t_bkpf-bktxt.
modify t_bkpf.
endloop.
* BSEC
select *
from bsec
into table t_bsec
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSED
select *
from bsed
into table t_bsed
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSEG
select *
from bseg
into table t_bseg
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSET
select *
from bset
into table t_bset
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
end-of-selection.
call function 'CHANGE_DOCUMENT'
tables
t_bkdf = t_bkdf
t_bkpf = t_bkpf
t_bsec = t_bsec
t_bsed = t_bsed
t_bseg = t_bseg
t_bset = t_bset
* T_BSEG_ADD =
.
hope it's help.
Peerasit