Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 05, 2009 at 08:22 AM

    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

    Add comment
    10|10000 characters needed characters exceeded