cancel
Showing results for 
Search instead for 
Did you mean: 

double invoice for the delivery

chetan_b
Active Contributor
0 Kudos

Hi friends,

I have the following issue.

1.one delivery created (PGI) content 2 materials .

2.then bill created (VF01) for that delivery then system auto. created 2 billing docu. (one for each material).

3.due to incorrect rate one of above billing docu. is cancelled.

4.when the user posted the correct billing docu. with reference to the delivery then the system again created two 2 billing docu..one is for the cancel and second is double billing docu. which is for the second material in delivery.

can you please help me wwhy the system is created billing for the material which is not cancelled and how I can prevent this.?

Regards,

chetan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear chetan,

I think , there is a check for billing happened or not , is missing in copying requirement .

Goto delivery to billing , select the item category and check the copying requirements for the following check,

data : zvbeln like vbfa-vbeln.

select vbeln from vbfa into zvbeln

where vbelv = likp-vbeln

and posnv = lips-posnr

and vbtyp_n = 'U'.

if sy-subrc = 0.

select single * from vbrk into ivbrk

where vbeln = zvbeln

and fksto ne 'X'.

if sy-subrc = 0.

sy-subrc = 4.

"collect the error message or give error message here.

exit.

endif.

endif.

this is a check for pro-forma invoice made or not.

take ur ABAPer help and do it.

saravanan

Edited by: k saravanan on Jul 29, 2008 12:50 PM

jpfriends079
Active Contributor
0 Kudos

Hello Chetan,

Kindly check your copying control settings for Delv. Doc to billing doc.

As per standard, the item in delv doc once referred does not get copied other doc. And I would request you to check you delivery doc doc flow thoroughly.

Take care.

JP.