cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity field BSEG-MENGE not getting updated

Former Member
0 Kudos

Hi,

We are posting debit memo to customers. The requirement is BSEG_MENGE field should get updated with the billed quantity for a specific account. So we are exploring to use user exit EXIT_SAPLV60B_004(SDVFX004). In this exit in debugger we tried to manually change values for the field xaccit-menge and xaccit-xmfrw. Though the values are entered, they are not updated in the posted accounting document. When we tried to change other fields like xaccit-ebeln or xaccit-xref1, they are getting updated anyabody who can help on this is most welcome. WE are currently on ECC 6.0 version.

With regards,

Suresh E

Accepted Solutions (0)

Answers (1)

Answers (1)

fernando_evangelista
Contributor
0 Kudos

Hi Suresh,

Check the following link:

Also the following information should help you.

In the SAP Standard the quantity (field BSEG-MENGE) is not updated i

FI documents which are created from SD billing documents. The quanti

is not necessary in the FI documents.

Please check note 608340 where this is explained.

Another option to this modification note will be the use of a user

exit to get this.

1. Use user exit EXIT_SAPLV60B_004.

Refer to the following correction.

...

IF XKOMV-KOAID = 'B'.

XACCIT-MENGE = XVBRP-FKIMG.

ENDIF.

2. Refer to table TTYPV.

Check that in TTYPV no entry for field BSEG-MENGE is maintained.

Remark ad 1.:

The query for 'XKOMV-KOAID = 'B'' causes the system to transfer the

quantity for every billing item exactly once, that is in the G/L

line item belonging to the pricing condition.

If you need the quantity in all G/L account line items, that is also i

the lines for sales deductions, then the query for 'xkomv-koaid = 'B''

is not necessary.

P.S. check also note 301077 which lists the User exits for the

Interface to accounting.

This will transfer the values to the accounting interface and will

update both BSEG and FAGLFLEXA table.

I hope I could be of assistance,

Kind Regards,

Fernando Evangelista