on 07-29-2008 7:06 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.