임시전표를 치면 정보가 들어가는 테이블
VBSEGK - 구매처 전표정보가 있음.
VBSEGS - 구매처 정보를 제외한 상대 계정들이 있음.
아래 두 테이블은 정보가 들어가지는 않드라구요.
업그레이드 되면서 안쓰는 테이블인가요?
VBSEGA
VBSEGD
==========================================================================
현재 임시전표정보를 가져올때 아래 펑션을 사용하는데 용도를 좀 설명해 주셨으면 합니다.
data: t_fvbkpf like table of fvbkpf with header line,
t_fvbsec like table of fvbsec with header line,
t_fvbseg like table of fvbseg with header line,
t_fvbset like table of fvbset with header line.
call function 'PRELIMINARY_POSTING_DOC_READ'
exporting
belnr = i_belnr
bukrs = i_bukrs
gjahr = i_gjahr
tables
t_vbkpf = t_fvbkpf
t_vbsec = t_fvbsec
t_vbseg = t_fvbseg
t_vbset = t_fvbset
exceptions
document_line_not_found = 1
document_not_found = 2
input_incomplete = 3
others = 4.