cancel
Showing results for 
Search instead for 
Did you mean: 

How to get BKPF Tcode when running program SDBILLDL as a background job

ab_ab
Active Participant
0 Kudos

We are on SAP ECC 6.0 and plan to create billings using program SDBILLDL as a background job. However, when this is done, the FI table BKPF for the invoice posted, is not updated with a transaction code, that is, the field BKPF-Tcode is BLANK.

When the same program is called in foreground using VF04, the BKPF-TCODE field update with VF04.

Is there any way I can get TCODE field updated when running the billing job in background?

Thank you,

Asheesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member183879
Active Contributor
0 Kudos

Hi,

While creating invoice document, only VBRK and VBRP are udpated. BKPF and BSEG are updated only during accounting document creation, which is not in SD domain. You can find out this table in the creation of accounting document tcode ( I think it is FB01). If you debug in that transaction, you will get BKPF, BSEG and one of BSID or BSAD.

Hope this helps

Answers (0)