cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

still unanswered

Former Member
0 Kudos

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