Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM PRELIMINARY_POSTING_FB01 do not transfer table BSEC into document

Former Member
0 Likes
1,146

Hello Experts,

I use Function Module PRELIMINARY_POSTING_FB01 to park document FI with One-Time Account.

There are no errors after execute the FM, but when I try post the parked document in fbv0 there are no information about vendor from BSEC table parameter.

Tables BKPF and BSEG are transfered very good.

I fill the following fields in the table BSEC (before executing): BUKRS  GJAHR  NAME1  NAME2  ORT01  LAND1  STCD1  XCPDK  SPRAS  ANRED

and field XCPDD in the table BSEG on the vendor (One-Time Account) line.

I do not fill EMPFG (which was filled in the table bsec when I posted document in fb01) but there are no Convers. routine.

Any idea?

Hello Experts,

I use Function Module PRELIMINARY_POSTING_FB01 to park document FI with One-Time Account.

There are no errors after execute the FM, but when I try post the parked document in fbv0 there are no information about vendor from BSEC table parameter.

Tables BKPF and BSEG are transfered very good.

I fill the following fields in the table BSEC (before executing): BUKRS  GJAHR  NAME1  NAME2  ORT01  LAND1  STCD1  XCPDK  SPRAS  ANRED

and field XCPDD in the table BSEG on the vendor (One-Time Account) line.

I do not fill EMPFG (which was filled in the table bsec when I posted document in fb01) but there are no Convers. routine.

Any idea?

1 REPLY 1
Read only

Former Member
0 Likes
621

In order to record the internal table data IT_BSEC must consider the following:

By filling the table IT_BSEC-BUZEI field must correspond to the same position of the CPD in the internal table IT_BSEG.

In the position of the internal table IT_BSEG that corresponds to the CPD have to fill in the field XCPDD with an X.