Exit for Billing document
HI ,
I need an enhancement point for billing document creation.
SAP uses FM RV_INVOICE_DOCUMENT_ADD to determine the invoice number using Function Module NUMBER_GET_NEXT.
I need an enhancement point immediately after the standard SAP invoice number has been determined where I can put my own code and use
Hi
See in customizing (trx SPRO):
Sales and Distribution->System Modifications->User Exits->User exit for billing
Max
Similar Messages
-
User exit for billing document when released to Accounting
Hi Expert,
we have a requirement, where the new output type has to be triggered automatically when the billing document is released to accounting while creating invoice in VF01.So to achieve the same what should be our approach?
Thanks in advance.
Moderator message: please do more research before asking, show what you have done when posting again.
Edited by: Thomas Zloch on Jan 27, 2012Hi Ivano,
I resolved my issue.
I apply the note 339928 deactivating the new cancellation procedure.
Thanks & Best regards,
Ciao,
MaxD. -
F4 help for Billing document in vf02
Hi All,
In Sales scenario of free samples,after creating the billing document with net value as zero(as it is free sample).
I am new to ABAP.When i am going to VF02 Transaction and I press F4 help for Billing Document,it gives the error 'No values found'.
So,I checked the table VBRK for Billing document Numbers.But records are there in that table.
I checked whether there is any User exit or BADI.But I did not find any User exit or BADI related to this issue.
Please,Let me know what i have to do.
Kind Regards,
Gopal.KHi,
For VF02/ VF03 the search help [ Collective srch hlp VMCF] > VMCFA Billing documents still to be passed on to accounting
has data selection Selection method M_VMCFA it is a data base view with selection conditions
VBRK RFBSK EQ ' ' OR
VBRK RFBSK EQ 'A' OR
VBRK RFBSK EQ 'B' OR
VBRK RFBSK EQ 'F' OR
VBRK RFBSK EQ 'K' OR
VBRK RFBSK EQ 'L' OR
VBRK RFBSK EQ 'M' OR
VBRK RFBSK EQ 'N' OR
VBRK RFBSK EQ 'G' AND
VBRK FKTYP NE 'R'
Could be your billing document is not matching the selection criteria and please try to find out the condition on which it is giving the message by putting a break on message , could be
vbtyp_fakt(8) value 'MNOPSU56',
IF vbrk-vbtyp NA vbtyp_fakt.
MESSAGE e041 WITH vbrk-vbeln.
ENDIF. -
Hi Gurus,
There are some fields in material master record,if that fields are incomplete the accounting document will not generate after saving the billing document.In FI if comitment item is not creared the accounting document will not generate. Is there any userexit to stop the saving of billing document in both the cases. Please give me some hint,points will be awarded.
Regards
ChetanHi Chetan,
Please try with these User Exits
User Exits For Billing
o USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
The internal number range used in the standard system is specified
in the billing type table and can be changed in this user exit. This
user exit is only called when the billing documents is created.
o USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program
RV60AFZZ)
In this user exit additional fields for account determination that
are not provided in the standard system are copied into
communication structure KOMKCV (header fields).
o USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
In this user exit additional fields for account determination that
are not provided in the standard system are copied into
communication structure KOMPCV (item fields).
o USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program
RV60AFZC)
Depending on the number range, table TVFKD is used to set the
billing date (country-specific requirments in Italy).
USEREXIT_NUMBER_RANGE is automatically deactivated when this user
exit is being applied.
o USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created.
It is used to provide the header and the item of the new billing
document with deviating or additional data.
USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
Printing the item line of a billing document can be supplemented or
changed.
USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Printing the header line of a billing document can be supplemented
or changed.
User exits in program RV60AFZD
Short descriptions of the user exits are contained in the program:
- USEREXIT_RELI_XVBPAK_AVBPAK
- USEREXIT_NEWROLE_XVBPAK_AVBPAK
- USEREXIT_NEWROLE_XVBPAP_AVBPAK
following user exits are available in report SAPLV60B for transfer
ccounting (function group V60B):
EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the
accounting document. For example, you can change the business
transaction, "created on" date and time, the name of the person who
created it or the transaction with which the document was created.
EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting
document. This exit is processed once the ACCIT structure is filled
in with data from document header VBRK.
EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use
exit 003 to influence the ACCIT structure.
EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add
information to a GL account item (such as quantity specifications)
with this exit.
EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account
item, you can add to this data with this exit.
EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan
parameters in the GL account item.
EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and
ACCHD
After the accounting document is filled in with data, you can use
exit 008 to change the document once again.
EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines
before they are created.
EXIT_SAPLV60B_0011: Change the parameter for cash account
determination or reconciliation account determination
You can use this exit to change inbound parameters in order to
influence account determination.
I hope it will help you,
Regards,
Murali. -
Change Condition Record for Billing Document
Hi All,
I want to change the condition value(0) for billing document, if condition record statisfy some checks.
Which user exit I have to use to change the condition records while saving the billing document.
Thnaks
MugunthanHi,
You have to create a new VOFM pricing routine to change the value
Thanks,
Naren -
How to determine number range for billing document based on company code ..
Hi Friends!!
can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
Amit...plz help me!!Hi Amit,
1. Define different Billing Document number ranges in SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
e.g.
NO. From number To Number Current number Ext
A1 0930000000 0930999999
A2 0940000000 0940999999
A3 0950000000 0950999999
2. Define a Ztable ZNUMB_RANGE as follows
Comp. Code | Tax departure country | Billing Doc Type | Number Range
100 IN F2 A1
200 IN F2 A2
200 US F2 A3
3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
If found pass this number range value to us_range_intern.
us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
Let me know if you are clear.
Thanks,
Mandar -
Number ranges for billing documents
Our client has got 130 plants (105 are depots and 25 manufacturing plants) ) from which sales transactions are handled.
There is a legal requirement that billing documents should have separate number ranges for a particular depot / plant. We have adopted the following method: -
- SAP standard number range object (transaction VN01),
- Customized table wherein we mapped billing document types, plant and number range object,
- User exit RV60AFZZ (Form Userexit_Number_range) to determine the number range during invoicing.
We have consumed almost all of the possible number range object combinations (starting from AA to ZZ and 01 to 99) due to the huge number of plants.
For the new depots, how to set up the number range objects for billing documents (example: is there any way by which this object can be made as three digits)?
With best regards,
S VijiWe have not done such thing.
But you can change it from 2 digit to 3 digit using access key. Which should be the last option.
Look for option like creating customized number range object (instaed of using RV_BELEG which you are currently using). RV_BELEG is used for number ranges for Order, delivery in addition to billing. So the new number range object should also be able to provide number range for that.
Also try make the current number = 0 of "consumed" no range and then delete the number range and recreate it (using VN01 or SNRO object RV_BELEG) -
Print Excise invoice in Series grp 111 using J1IP for Billing document 1234
Dear Gurus,
I have an issue in which I create Sales Document>>Delivery Document and after that if I save my Billing Document a message pops up like:
Print Excise invoice in Series grp 111 using J1IP for Billing document 12345
And Excise Invoice gets generated automatically without J1IIN, to which I can view in the display mode in J1IIN.
I wish to Create Excise Invoice by using T Code: J1IIN not automatically.
I have checked all the number ranges and search the forum extensively but couldnu2019t found a possible solution.
Please help me!
Regards,
AshuHi,
Create Excise Invoice Automatically
Instructs the system to automatically create an outgong excise invoice immediately you create a commercial invoice or a pro forma invoice.
The system creates the excise invoice in the background.
Dependencies
If you want to make use of this function, you must also define the default plant, excise group, and series groups in Customizing for Excise Duty, by choosing Business Transactions -> Outgoing Excise Invoices -> Maintain Default Excise Groups and Series Groups
SPRO>Logistics General>Tax on Goods Movement>India>Basic Settings-->Maintain Excise Groups.
Under the Outgoing Excise invoice tab there is a check box (Excise invoice during billing)
Regards,
Saju.S -
Number Range (series) for Billing Document (F2) and Excise Invoice
Hi All,
I want to know how the number ranges / number series is defined for billing documents (F2) and excise invoice, for India business scenario.
In India, the excise invoice is given to the customer so that he can the excise duty/ cenvat. This invoice acts as the Tax invoice (having all pricing elements apart from excise duty) against which customer outstanding is considered. That is, the payment due will be tracked against this Tax (excise) invoice.
But in SAP, the accounts posting is done (customer a/c debited) when we creaate and post the billing document (type F2). Hence, the outstanding amount is tracked against the billing document created. This billing doc/invoice will have all the pricing components like price, discount, freight, etc apart from excise duty.
The excise invoice is created separately....with ref to the above billing doc....for posting the excise duty.
If the number ranges for billing document and excise invoice are different then it is difficult to trace the outstanding amount from a particular customer on the basis of excise invoice created in the system.
Can somebody provide inputs/solution on this?
Thanks indvance.
Rgds,
AmitHi Saurabh,
My question is not how to define number range for billing doc and excise invoice? i mean what procedure / tcode to be used for the same?
My question is whether we need to define same number range for Billing doc (F2) as well as Excise Invoice.
For example: number range 1000 to 1999 --- same for F2 and excise invoice....
Lets say billing doc 1000 is created. Further, when we create excise invoice w.r.t. this billing doc....the excise invoice created will also need to be 1000. ....so that we can identify that against this excise invoice, we need to collect the payment from customer.
If the number ranges for billing doc and excise invoice are different, then it is difficult for the user to trace the outstanding payment .....because genarally the excise is treated as Tax invoice by companies in India ...(so that the customer can claim the excise duty....when he purchases the goods from the company).
Whereas the customer account is hit when the billing doc is posted .....hence i feel, we need to keep the same number range for billing doc and exice invoice.
Hope the question/scenario is clear now.
I would appreciate the inputs on the above, from the consultants/experts who have worked on SAP implementation projects in India.
Rgds,
Amit -
No tax information exists for billing document
Hi
We have a problem. In our scenario, we create a service order followed by service confirmation and bill from service confirmation. All prices including taxes are maintained in r/3. prices and taxes are picked in the service confirmation also.
When we create an invoice from crm (CRM billing), the correct price and tax is picked . But when we try to maintain billing documents, we get an error as follows.
" No tax information exists for billing document 90000108-0000000010, condition type JIVC". Document are not getting posted to R/3.
JIVC is the tax condition type created in r/3 and downloaded to crm. GL account determination settings have been maintained in CRM.
However when i do a billing in CRM without tax, accounting documents are generated and hitting the right GL account. Also, when we do a billing in in r/3, the tax is hitting the right GL account.
I have not maintained any TTE settings in CRM. Are TTE settings required at all in this scenario? If so could you inform what needs to be done.?
We are on CRM 5.0 and R/3 4.7.
Thanks and regards
BhaskaranHi Bhaskaran,
In CRM according to the taxes there r two ways of calculation,
in ur scenario u r using the R3 billing so it according to downloading of condition types and cond records it will shows the taxes in the invoice
if u r maining u need to call the TTE
i hope u r with indian client if follow in backend
check these settings in R3
TAXINN (India):
Following are the condition types:
Define New Condition Type
IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Types > Maintain Condition Types (V/06)
T.Code - Details of Condition Types
V/06 JIVP copy of JLST (A/R VAT Payable) & change condition category to D & Access Sequence MWST
V/06 JIVC copy of JLST (A/R CST Payable VAT) & change condition category to D & Access Sequence MWST
OBQ1 - JIVP copy of JLST (A/R VAT Payable)
OBQ1 - JIVC copy of JLST (A/R CST Payable VAT)
Define Account Key JN6,JN7 & JN8 (T.Code: OBCN & also in SD)
IMG> Financial Accounting> Taxes on Sales and Purchases> Basic Setting> Check & change setting for Tax Processing (OBCN)
IMG> Sales & Distribution> Basic Function> Account Assignment / Costing> Revenue Account Determination> Define & assign Account Keys> Define Account Keys.
and check the proper condition records r downloaded or not check middleware settings for that.
If u r doing CRM billing i am not sure of indian client, as i know u need to do maintain the Pricing procedure in CRM also and u have to call the TTE
Regards
Manohar -
Maintain output condition table for billing documents
Hi
I need to create new output condition table for billing document with the key combination of "Billing type and Export Indicator". In Field catalog: Messages for billing documents I am able to find field Export Indicator but the same field i am not able to find creation of new condition table (V/63).. Kindly let me know is there any settings required to show the same in V/63.
Thnaks
SrinivasHi Ram
The filed already is there in in structure" KOMKBV3" ....
Thanks
RAO -
How to see the change logs for billing document
Dears,
Could you please how to see the change logs for billing document.
My client is using ECC 6.0 & if i use VF03 > Environment > changes > does not show the changes i had made.
Thanks in advance
Ranjanhello, friend.
you should be able to see changes done after the initial creation and saving, by going thru Environment > Changes. try it again, and this time make sure that changes were done to the billing document prior to posting to accounting.
normally, when configuration of Billing is done correctly, there will be little or no instances of changing anything in the Billing document, as saving the document after creation will post this to Accounting. of course, inclusion of a posting block in the billing type will provide you the opportunity for changes.
regards. -
Using Save_text for Billing Document
Hello,
I've created BDC program to create Billing Documents in SD. I will be required to use the function module "save_text" to upload the long text. However the long text does not get updated. I've tried calling the save_text and this time the long text gets uploaded. Does anyone know why this is happening?
Thanks
GladysThis is my code. I've used the very same codes for creating sales order, delivery note and quotation and it works. Somehow it just doens't work for Billing document.
form save_header_text tables text_line using tdid.
DATA : HEADER LIKE THEAD.
data: v_function(1).
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = record-billdoc
IMPORTING
OUTPUT = record-billdoc.
header-tdname = record-billdoc.
header-tdobject = 'VBBK'.
header-TDID = record2-tdid.
header-tdspras = 'E'.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = header
INSERT = 'X'
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = 'X'
LOCAL_CAT = ' '
IMPORTING
FUNCTION = v_function
NEWHEADER =
TABLES
LINES = text_line
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
hi all ,
is there any standard sap script and its print program for billing document (sd).
and how to find the standard scripts for a particular requirement.
regards
reenahi,
Script is RVINVOICE01
Driver program is : RVADIN01.
goto trns NACE select the application and click on the output types button and
click on the output type and select processing routines...
regards,
priya. -
Set up output condition for billing document.
Hi, experts,
I wanna email billing document to our customers, how can I set up this output condition for billing document?
Thanks for your help.You can maintain masterdata for the email outputs for billing application in VV31.
You can change the same or display in VV32 and VV33 respectively.
Tcode for maintaining output masterdata
For sales orders, VV11, VV12, VV13
For deliveries VV21, VV22, VV23
For invoices VV31, VV32, VV33
Reward points please!!!
Message was edited by:
Navaneetha Krishnan
Maybe you are looking for
-
Caller Display no longer working
I have had Caller Display since our exchange was updated to System X - must be 20 years (it used to be called CLI when I worked for BT) and it has always worked perfectly. A few weeks ago, it stopped working and seems to be beyond BT's capability to
-
Associating artwork with songs without embedding images in song files
Is it possible to associate artwork with songs in iTunes without embedding images in song files? I'd like to see album covers in iTunes but don't want to waste the storage space on my iPod. Thanks
-
Executable JAR using JDeveloper
Hi, I created a very small Desktop Application using JDeveloper. What I want to do is to create an executable JAR file. I mean, is there any option in this tool like the one in Eclipse. Once executable JAR is created, I must be able to run it just by
-
Getting that little icon next to the web address..
Hey everyone.. Im using Dreamweaver 8, and I was wondering if there is a tool that allows me to insert a small little icon next to an internet browsers web address (ex: the little "Y!" to the left of the address bar, or better yet, the little macrome
-
I have had the same settings on Safari since the dawn of Safari. This happens randomly, so something within the code of a window must be controlling it. When I control-click a link and "open new window" it normally, 500 times in a row, will open in f