Skip to Content
avatar image
Former Member

No "Number of canceled bill" after canceling in Transaction VF11

Hi @ everybody,

I wrote a new ABAP-Program in our company, which check

in some cases, whether the field VBRK-SFAKN (Number of canceled bill)

is filled or not! So far so good, it works!

But now I have the problem, that the field VBRK-SFAKN is not allways filled,

when it should be filled! Normaly it should be filled, when the tuple is or stands for a

"canceled bill" (sorry for the bad english). In this case the field SFAKN contains

the Bill-number (VBELN) from the actually/originally bill!

The Bills will be cancelled over the transaction "VF11".

For me is the mystery, that sometimes the field is filled and sometimes not!

So...can somebody tell me, why the field SFAKN isn't filled in some cases?

It would be very nice....thanks!

Sincerely

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 15, 2007 at 02:48 PM

    Hi Sebastian,

    VBRK- is the Billing Document: Header Data

    When ever we sell to customer we dnt expect that customer would cancel the order. in 99% cases when we sell we will close the sale by getting money for the items sold.

    SO we create Order and do Billing (VF01) and the collect money and post the incoming payment.

    it is possible that in a day if I do 100 inovices out of which only 2% will be cancelled. Then If I have to cancel the Billing document I will take VBELN and then Go to Transaction VF11 and enter and save, this owuld create a new Cancellation document and this would have a seperate number which is stored in field SFAKN. SO all VBELN need not have SFAKN. Only a few VBELN will have SFAKN.

    Hope this clarifies..

    Reward if it helps

    Regards

    Srini

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey Srini,

      many many thanks for your fast answer!

      But I know, that only a few VBELN will have SFAKN.

      My Problem is, that I have VBELN in the system, which are be

      cancelled (over VF11) and have also NO SFAKN.

      They should be......but they don't!!! (And only a few of them!)

      best regards

  • avatar image
    Former Member
    May 15, 2007 at 03:01 PM

    still unanswered

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      SFAKN only fills in on the cancelled invoice (doc S1 in std) but only if you cancel the whole invoice, as of 4.5 you can cancel line items. In this case you have nothing.

      The invoice that gets cancelled (fully) gets a X in FKSTO in VBRK.

      points please