Skip to Content
0
Former Member
Oct 12, 2009 at 12:58 PM

Error "Specify account number" during PRELIMINARY_POSTING_FB01

709 Views

Dear All,

I am trying to post FI document in FB01 through PRELIMINARY_POSTING_FB01 F.M.

I am passing following data to it.

*Populate the header

  • Company code

ls_bkpf-bukrs = ls_posting2-bukrs.

  • Year

ls_bkpf-gjahr = ls_posting2-budat+0(4).

  • Document Type

ls_bkpf-blart = p_blart.

  • Posting date

ls_bkpf-bldat = ls_posting2-bldat.

  • Document Date

ls_bkpf-budat = ls_posting2-budat.

  • Period

Is_bkpf-monat = Is_posting2-monat.

*currency

Is_bkpf-waers = is_posting2-waers.

*Item data

*posting key

is_bseg-bschl = is_posting-bschl.

*Account

is_bseg-hkont = is_posting-hkont.

*amount

is_bseg-wrbtr = Is_postng-wrbtr.

After executing this it gives error

"Specify account number"

Is there any sollution for that......

Regards,

Amar