cancel
Showing results for 
Search instead for 
Did you mean: 

how to skip account key with a condition?

former_member1137458
Participant
0 Kudos
108

Condition type: VPRS

If billing type = 'XXX'

SKIP the account key, don't generate line items of account doc.

how to enhance or config to do?

Accepted Solutions (1)

Accepted Solutions (1)

gomatheeswaran_palaniappa
Active Contributor
0 Kudos

Hi,

Pl check if this way is easy for you.

Create another doc type ZPRS copying VPRS and pass the same value from VPRS to ZPRS. Assign an acct key to ZPRS and keep VPRS acct key as blank. Put a routine under requirement to execute this condition only if billing type = XX.

Regards,

P Gomatheeswaran

Answers (1)

Answers (1)

jpfriends079
Active Contributor
0 Kudos

Generally, VPRS is statistical condition.

And is not taken to any G/L account.

If in your case accounting entries are generated,

Then have look on your pricing procedure(V/08) for transaction.

Check for your requirement, you should have any Account Key against VPRS in the pricing procedure.

Regards

JP

former_member1137458
Participant
0 Kudos

by default is not taken to any G/L account.

Currently, I have assigned a Account Key XXX to VPRS .

But just want to specify are billing type to take it.

e.g.

ZX1 : taken G/L account (using account key XXX)

ZX2 : don't taken G/L account. (don't use )

how to enhance ?

jpfriends079
Active Contributor
0 Kudos

You can enhance this through writting a routine for Account determination.

To do this,

1. Check is their any requirement assign to CType KOFI in Account determination procedure KOFI00.

2. If a requirement is mention, say, 3 - Without CO acct.ass. or not, take assistance of an ABAPer in your team to write a routine to maintain your logic.

Regards

JP