cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong posting keys when using VF01

0 Kudos

Hello all,

when I´m creating a Billing document ( VF01 ) the FI document it´s deriving wrong postings keys, 01 or 11 in customer line, instead 09 / 19 (special ledger).

Ex: FB03

Itm PK BusA Acct no. Description Tx Amount in

001 01 920002 Test Customer SJ 172.203,38

002 50 4201000004 Material from Operator SJ 86.101,69-

.....

I have made the following configuration:

SPRO > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define and Assign Pricing Procedures

View: V_T683S

U App Proc. Step Cntr CTyp Description From To Man. Mdt Stat Print SubTo Reqt AltCTy AltCBV ActKy Accrls

A V ZPB097 300 ICMI Price+Tax (for NF) 290 290 2 923 Z85

Then in VKOA:

View: C005

App CndTy. ChAc SOrg. ActKy G/L acct Prov.acc.

V KOFI PCXX 1001 Z85 4201000004

V KOFK PCXX 1001 Z85 4201000004

And in OBXW I have this:

Description Transaction Posting Keys

Customer Item on Outgoing Invoice AGD 01/11

G/L Account Item on Outgoing Invoice AGS 40/50

Customer item with special G/L indicator AGX 09/19

How can I associate my SD config with FI config, in other words, how I can link Account Key (ex: Z85) with OBXW (ex: AGX transaction)?

Tks a lot.

Leonardo

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Leonardo José Franca Silva,

You need to chec the following areas

1. In Pricing procedure check whether you have assigned appropriate account keys to the Condition types accordingly.

2. Execute VKOA - T code for Account determination, Check whether you have assigned G/L Account to the Account keys.

3. Execute Tcode OBYC and Check GBB - offsetting entries and check the assignmnet accordingly,

4. Check the posting keys.

Regards

Sathya

Former Member
0 Kudos

Post key of SD account key is not configured. It is fixed by sap.You can read SAPLV60B. In the program , you can find the following code in accounting_head_line

FORM accounting_head_line.

..........

IF vbrk-vbtyp CA 'NO46'.

xacccr-wrbtr = xacccr-wrbtr * -1.

xacccr-skfbt = xacccr-skfbt * -1.

pos_netto = pos_netto * -1.

tax = tax * -1.

ENDIF.

CLEAR xaccit-shkzg. " determined by FI

IF xacccr-wrbtr LT 0.

IF vbrk-fktyp = con_fktyp_p.

xaccit-bschl = con_bschl_19. " '19'

ELSE.

xaccit-bschl = con_bschl_11." '11'

ENDIF.

IF xacccr-skfbt GT 0.

xacccr-skfbt = 0.

ENDIF.

ELSE.

IF vbrk-fktyp = con_fktyp_p.

xaccit-bschl = con_bschl_09.

ELSE.

xaccit-bschl = con_bschl_01.

ENDIF.

IF xacccr-skfbt LT 0.

xacccr-skfbt = 0.

ENDIF.

ENDIF.

............

endform.

Edited by: Jack Wu on Apr 9, 2009 1:30 PM

Former Member
0 Kudos

I would use on of the SD/FI exits in rv_accounting_document_create function module or use enhancements available in SD/FI interface - SAPLV60B (depending on the release level you are on) to set correct posting key. You can set special ledger indicator there as well.

Edited by: Siarhei Mahulenka on Apr 8, 2009 7:30 PM

raghavendra_praveen
Active Contributor
0 Kudos

Hi

Check in FBKP - posting keys.

Thanks

Former Member
0 Kudos

hello, friend.

the account determination settings in SD (using VKOA) only directs to which GL accounts the revenue, taxes, deductions and surcharges should be posted to.

the posting keys as you mentioned are FI in nature. i believe these keys can be configured to be proposed with reference to the FI-Accounting document type. this responsibility belongs to the FI consultant.

regards.