User-Exit to cancel a Sales Billing Document
Hello,
When we try to cancel a Billing Document is there an indication field that specifies that the billing document is to be cancelled or we only can figure it out by the Billing Document type specified for the cancellation.
Thanks,
Alam.
Hi
If a bill is cancelled the field VBRK-FKSTO is setted to X.
U can find the number of the bill cancelled in the field VBRK-SFAKN in the bill cancelling.
Max
Similar Messages
-
What are the User Exit Available after saving a Billing Documents
Hi,
What are the User Exit Available after saving a Billing Documents
Regrds,
BinayakHi
Check the following Exits for VF01 Tcode
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V05I0001 User exits for billing index
SDVFX011 Userexit for the komkcv- and kompcv-structures
SDVFX010 User exit item table for the customer lines
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX001 User exit header line in delivery to accounting
Business Add-in
SD_CIN_LV60AU02 BADI for billing
VOR_WA_FAKTURA Billing before Goods Issue
Reward points if useful
Regards
Anji -
User Exit for Cancel in Sales Order
Hi ,
Can anybody tell me which user exit is fired when a sales order is cancelled?
I want to clear all the entries made in the additional data B tab which updates a custom table.
Thanks in advance.Hi Andrea,
That userexit is fired when we delete a sales document. But I want an exit which will be triggered when we cancel a Sales order while creating.
When I create a sales order through VA01 and give data in additional data B, and press the cancel button, the values in the tab are not getting cleared for the next sales order.
So I want an exit which triggers when pressing cancel button though VA01.
Thanks. -
User Exit on the save of Billing document (VF01)
Hello All,
I have a requirement where in during the creation of a billing document of a particular type i need to put in a block to prevent the creation of a accounting document and call a workflow to remove the block in the Invoice.
My requirement is that I require a user exit which is triggered on the save of the invoice document so that a call to the workflow can be done where in the runtime information of the document would be available in the workflow for further processing .
Helpful answers would be rewarded.
Thanks in Advance,
Sowmya.Hi,
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.
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).
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).
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.
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.
Refer the help
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
Regards
Kiran Sure -
User Exit to Change Item of Billing Document
While creation of Billing document, I want to change the value of one field in Item Level. i.e. Field is found under Item --> Item Purchase Order data --> Ordering Party --> Your Reference. This field want to change.
So, Can any one let me know, How is this possible (Userexit/BADI) to do.Go [here|http://help.sap.com/saphelp_46c/helpdata/en/18/f62c7dd435d1118b3f0060b03ca329/content.htm] to view documentation on user exits available for billing processing.
Hope it helps,
Brian -
User-Exit to cancel a Billing Document
Hello,
I need to cancel some other related documents at the time of cancellation of a billing document. What user exit would be the ideal one to do so.
Any help would be appreciated.
Thanks.
Alam.Hi,
Please check this user exits in program.
RV60AFZZ
RV60BFZA
Regards,
Ferry Lianto -
Error Message for the cancellation of paid billing document
Hi,
Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
Overview:
Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
Thank you and best regards.
RachelleHi Rachel,
You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
For this accouting document, Pass this to BSAD Table ( Customer clleared items)
If BSEG-BELNR = BSAD-BELNR and
BSEG-Acc.Year = BSAD-Acc,year )..
Then throw a error message and EXIT.
So for all the cleared docments , user can not cancel the invoices.
Regards,
Sai -
Block cancellation/creation of billing document on CLOSED posting period
Hi Experts,
Currently, user is allowed to cancel/create backdated billing document where period already closed, but it does not release to accounting automatically, due to the period has been closed.
When account user found out that the accounting document is missing for the billing document, they have to re-open the period and manual release it to accounting, in order to generate the accounting document.
Therefore, we need the billing document to be blocked for cancellation/creation on CLOSED posting period.
Is there any settings in stardard SAP to block cancellation/creation of billing document on CLOSED posting period?
would appreciate your inputs.
Thanks and Regards,
N.C.ReddyHi ,
We have blocked cancellation/ creation of billing document through below user exit. Below is the progran code also.
***INCLUDE RV60AFZC.
FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
Example: Number range from TVFK like in standard
US_RANGE_INTERN = TVFK-NUMKI.
*{ INSERT KPDK904773 1
*Block creation or cancellation of billing doc in closed period
DATA : gv_gjahr TYPE bkpf-gjahr,
gv_monat TYPE bkpf-monat,
gv_poper TYPE t009b-poper,
gv_bukrs TYPE t001-bukrs,
lv_gjahr TYPE t001b-frye1,
lv_monat TYPE t001b-frpe1,
gv_oper TYPE t001b-frpe1.
CLEAR : gv_gjahr, gv_monat, gv_poper, gv_bukrs.
gv_bukrs = vbrk-bukrs.
IF NOT likp-wadat_ist IS INITIAL.
*- First determine the Period of the Actual GI date.
CALL FUNCTION 'FI_PERIOD_DETERMINE'
EXPORTING
i_budat = likp-wadat_ist
i_bukrs = gv_bukrs
IMPORTING
E_GJAHR = gv_gjahr
E_MONAT = gv_monat
E_POPER = gv_poper
EXCEPTIONS
FISCAL_YEAR = 1
PERIOD = 2
PERIOD_VERSION = 3
POSTING_PERIOD = 4
SPECIAL_PERIOD = 5
VERSION = 6
POSTING_DATE = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CLEAR : lv_gjahr, lv_monat.
lv_gjahr = gv_gjahr.
lv_monat = gv_monat.
*- Once period is determine check whether Period is open or not for 'D' - Customer Account
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'D'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
*- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'S'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*- Check Billing Date period is closed or not
IF kom-fkdat is not initial.
clear : gv_gjahr, gv_monat, gv_poper.
*- First determine the Period of the Actual GI date.
CALL FUNCTION 'FI_PERIOD_DETERMINE'
EXPORTING
i_budat = kom-fkdat
i_bukrs = gv_bukrs
IMPORTING
E_GJAHR = gv_gjahr
E_MONAT = gv_monat
E_POPER = gv_poper
EXCEPTIONS
FISCAL_YEAR = 1
PERIOD = 2
PERIOD_VERSION = 3
POSTING_PERIOD = 4
SPECIAL_PERIOD = 5
VERSION = 6
POSTING_DATE = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CLEAR : lv_gjahr, lv_monat.
lv_gjahr = gv_gjahr.
lv_monat = gv_monat.
*- Once period is determine check whether Period is open or not for 'D' - Customer Account
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'D'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
*- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'S'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF kom-fkdat4(2) <> likp-wadat_ist4(2).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*} INSERT
ENDFORM.
FORM USEREXIT_FILL_VBRK_VBRP *
This userexit can be used to fill fields in VBRK and VBRP *
Be aware, that at this time the work areas KUAGV KURGV *
KUWEV and KUREV are not filled. *
This form is called from FORM VBRK_VBRP_FUELLEN. *
FORM USEREXIT_FILL_VBRK_VBRP.
Example: change Tax country
VBRK-LANDTX = T001-LAND1.
ENDFORM.
*eject -
User exit for saving a sales order
hi
wats the user exit when saving a sales order?Hi,
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
tables : modsap
tcode : cmod,smod
Reward if usefull -
How can we identify what are all user exits are there for sales orders,deli
Dear All,
How can we identify what are all user exits are there for sales orders,deliverys and invoices
thanks
nitchel vHi Nitchel
There are many ways to find out the user exits..
For example for VA01.
Goto Transaction ie VA01:
goto System-- Status
doubleclick on the program name ie SAPMV45A
SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
get the package name from here ie VA
note the package(VA) and get back to main screen
goto SMOD tcode and click on find button in the package spec giv the package name ie VA and execute it
you will find list of exits available
check out the exit that suits ur requirement
goto cmod and create a new project and implement in that user exit.
You will get the following exits in SMOD..
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly
V45L0001 SD component supplier processing (customer enhancements
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
For Delivery you will get .. here the package name will be VL.
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (h
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
For Billing VF01..Package is VF..
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
Or another way is ..
- Get the program name for that T-Code
- Go to that program
- In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
And also you can check in the tables in SE16 for user exits..
MODSAP - Stores SAP Enhancements
MODSAPT - Stores SAP Enhancements - Short Texts
MODACT - Stores Modifications
And there are other ways as well , pls check the forum for this ,
Regards,
Vvieks
Note : If you have any specific requirement then pls let us know , we will guide you -
User Exit for making the field Bill of Lading Mandatory in Delivery
Please suggest an User Exit for making the field Bill of Lading Mandatory in the Delivery document when we create an inbound delivery.
Hi,
I'm not sure, pls check these
USEREXIT_SAVE_DOCUMENT_PREPARE
EXIT_SAPLV46H_001
NOTIF_EVENT_SAVE
thanks
Mohanprabu C -
User exit MM06E005 - Customer fields in purchasing document
Hi,
I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a tab (customer tab) in that the value should get displayed.
likewise for each and every line items the value should keep on changing.
And
I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
Regards
ManojHi,
Indeed the exit which you have specified MM06E005 comprises the enhancement for customizing fields and screens associated with it. may be you might not have activated the screen associated with the exit. the screen might have been created but missed while activating.
Regards,
Jagath -
Customer wise sales billing document showing due amount
Hi Experts,
I need a report with following columns:
1. Customer No
2. Original Sales Billing Document No ( Final bill)
3. Original Sales Bill posting Date
4. Current outstanding/due amount
5. Original Payment Document No (to get the full or partial settlement)
I need the table relation with FI with corresponding Bill No ( SD & FI ) ref.
I'm waiting for your valued response.
Mahbub
Moderator message - please do not post your requirements and expect the forum to do your work.
Edited by: Rob Burbank on May 2, 2009 1:19 PM<< Cut and paste from http://www.sap-img.com/sap-sd/link-between-sap-sd-mm-and-fi.htm removed >>
Edited by: Rob Burbank on May 2, 2009 1:18 PM -
Block cancelling the cleared billing documents
Hi Friends,
Currently system is allowing to cancel the cleared billing document and business does want to do that, for example when F2 billing type document is cancelled then it is generating S1 type cancelled document.
I think I can prevent this by config ( in VOFA for billing type F2 under section cancellation>Copying requirements> assign 29.
And I need to do it for all billing types,
Now my queries are:
Do I need to do any config for cancelled billing type (S1) as well ?
Is there complication for doing that?
Whether I would be able to cancel the uncleared billing document in this way?
Or just I can proceed what I mentioned above.
Regards
AshuSo I do need to assign 29 in only billing document type F2;
is there any change required for cancelled billing document type (S1)?
Yes only in F2. Not in S1.
So if accounting document of billing type is showing as
cleared then only system will not allow to cancel it.
Will it allow to cancel the billing document if accounting
document ( of type F2) is showing as not cleared?
Yes that will allow you to do so.
Say, due some price change, you want to cancel an invoice with cleared accounting doc and you are using 29 in routine. Then in that case take use of Invoice correction request / credit memo request / debit memo request based on your business requirement.
Thanks & Regards
JP -
User exit for partner determination in delivery document
Hi,
Can some one suggest an user exit for partner determination in delivery document.
We have a scenario of excluding certain plants for few of the partner determinations in delivery document..
Please suggest
Regards
RavikumarHello Ravikumar,
Please ceck if these userexits help
Normally there are 2 userexits available in function kopierte_partner_pruefen:
- EXIT_SAPLV09A_003
- EXIT_SAPLV09A_004
Regards,
Raghavendra YN
Maybe you are looking for
-
How to get pivot table by using dates
Hi, How to get pivot table by using dates in column. Below is the sample table and its value is given. create table sample1 Order_DATE DATE, order_CODE NUMBER, Order_COUNT NUMBER Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) v
-
Can anyone tell me specific export settings to use for mpix pro? Or, settings in general for commercial labs? Thanks, Bill
-
HP Web print wont' install at Flock 2.5.5
Hello, I have tried to install the web page printing version: 4.6 (http://www.hp.com/global/us/en/consumer/digital_photography/free/software/smart-web-printing.html). However, after the installation, the web page printing add-ons is not listed at Flo
-
IOS 8 Batarya ve Türkçe uygulama eksikliği.
İyi günler , hepimizin en gelişmiş telefonu kullandığımız doğru fakat iOS 8 de dahi ne siri de ne iBook uygulamasında Türkçe olmaması Apple'a hiç yakıştıramadığım düzeltilmesini hemen istediğim konulardan sadece biri , arkadaşlar iOS 8 Uygulaması nas
-
Multiple audio tracks, how many can typically fit on a dvd?
Hi... I am working on a yoga video, which is planning to have approx 5 audio tracks for voice (planning to be randomized on playback) so the dialog stays more fresh. Ok.. Question is.. We also have a director commentary track.. So... Thats 6 tracks..