Va02 date of releasing billing block new calculate of billing schedule
I create sales document type with billing block
Date of creating the sales document is also the date of calculating billing schedule
But after a will by releasing the block reason of the document (transaction VA02)
billing schedule is not changing
I want update: date of releasing billing block is the date starting of billing schedule
Is there any other way without using userexit?
And if not witch userexit is the best (MV45AFZB)?
Thanks
Rachmani Asher
HI,
If you want make as automatic block. you must needs to in user exit or else you make z item category for only that material and make it as incompletion log.
Regards
raj.
Similar Messages
-
Automatic Billing Block removal in Periodic Billing
Hi guys:
Is there a way to have the billing block removed (not manually) when we use periodic billing? We do not want to manually remove the block each month in order to do invoicing.
Thanks for the input
AaonAaon,
You seem to be using a standard business scenario. In case you have done the customization for Periodic Billing, and set up a billing plan type 02 (periodic), then you must have also set up the 'Next Bill date' routine there. Here, you specify the day of the month (or the date) on which you want your periodic bill to be generated.
Once these settings are in place, there is no need to put your orders on billing block. They will not bill until the date in the plan.
Is this not working in your case?
Ashutosh. -
Billing block in periodic billing
Hii all,
Need a solution for the following project scenario.
We have a scenario where periodic billing is involved through project.
In the sales order we assign the WBS element in account assignment. After assigning the WBS element, billing is blocked.
If we confirm the activity in project then the billing block in the sales order should be removed. But it is not removed. The same scenario works fine if the billing type is milestone billing.
Please suggest.Hi,
Are you asking about whole process of periodic billing or you just want to know where we put billing block and where we remove it.
I am considering you know how to set up periodic billing.
Now go to OVBJ and select your date category which is used for period billing
Over here you can set billing block for the periodic billing.
In OVBI you can find out your periodic billing plan and date category assigned to it.
For removing the billing block you have to go to VA02 and enter your document number.
Now go to Goto u2013 Header Data u2013 Billing plan.
Over here you have to remove your billing block one by one when your task is completed.
Then try to carry out billing document for that.
Hope so this will solve your query
Regards
Raj. -
Setting up multiple billing blocks for a CMR - Credit Memo Request
I am trying to set a billing block for a credit memo request. The item category in VOV7 configuration only allows you to set one. I need to be able to set any of them and for it to block. If we do not use one; the system allows the credit memo to get created. If we choose the one that we configured in VOV7 it allows us to only use that one. The client needs to be able to select any billing block from the drop down when creating a credit memo request in VA01 instead of just one specific one. Is this possible? If so, where would I do this?
Surprising! when a billing block is applied in the sales document, then the system will NOT allow to create the billing document(in your case credit memo). Can you check in t.code OVV3, the billing blocks are assigned to billing types? After assigning, create a new document and test. The path is SPRO->Sales and distribution -> billing->billing documents ->define blocking reasons for billing->assign blocking reasons to billing types.
Regards, -
After giving billing block in sales order still able to bill the document.
Hi gurus,
I created one milestone billing and assigned to item category and sales document type.
in billing plan i had given billing block and also 2 proposed dates.
now when i am creating sales document system is coping all the information from billing plan.
it has billing block also
but when i am creating billing document with referance to sales order its not blocking.
in copy control i made the same setting as we had in credit memo request to credit memo.
on credit memo request it is working properly but in my order its not working
so can any body will help where i was getting wrong.
regards
Raj.Hi,
I think system will not allow you to do billing.
Can you check billing block field in sales order Header / Item. Billing plan tab for your billing dates.
If billing block is there to billing dates, then you can't do billing.
Otherwise, do not maintain default billing dates in billing plan type OVBM. Try to maintain billing dates in sales order manually.
In sales order creation, go to billing plan tab enter billing date and %, system automatically defaults the billing block and billing type and billing amounts.
I hope you are using milestone billing percentage base.
Regards,
Chandra -
10.09.2008
Hi friends,
My Sales Orders have items with billing plan and normal items i.e items without billing plan.
When i put a billing block for items with billing plan then these items rightly dont appear in report vf04, but if a billing block is placed for items without billing plan then these line continue to appear in vf04. Why is the billing block not working in this case. Please suggest at the earliest.
Regards,
UdaynathThanks Sowmya for your reply. While executing vf04, i do select the option, but the materials without billing plan continue to appear in the list.
Regards,
Uday -
Billing Block for Credit/Debit Memo Can Be Removed Via TCode VA02
Dear All,
During the credit/demo memo request creation, there will be a billing block that will be released via tcode v.23. I realized that user is also able to release the billing block if refer back to the credit/debit memo request at tcode va02.
Kindly advise how can I prevent superuser/expert user from removing the billing block this way when they have to request for approval from their upper management to release the billing block ia v.23.
Appreciate all of your inputs on this enquiry.
Thank you in advance!
Regards,
YvonneHi Friend,
There are two solutions for this
1.
You can use USER EXIT USEREXIT_FIELD_MODIFICATION in MV45AFZZ and create one Ztable and add the user details .
This will restrict the users to change the Billing Block
Also search for the OSS notes for more info 208245
2.
Create Transaction variant in SHD0 FOR VA02 and make Billing block in display after creating the sales order.
Hope it is clear,
cheers,
santosh -
Billing block status field VA02
In VA02 where can i get the field of the user who changed the billing block status to NONE.
Hi,
Check this sample code..
PARAMETERS: P_VBELN LIKE VBAK-VBELN.
DATA: T_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE.
DATA: T_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
CONVERT TO INTERNAL ..
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = P_VBELN
IMPORTING
OUTPUT = P_VBELN.
SELECT * FROM CDHDR
INTO TABLE T_CDHDR
WHERE OBJECTCLAS = 'VERKBELEG'
AND OBJECTID = P_VBELN.
IF NOT T_CDHDR[] IS INITIAL.
SELECT * FROM CDPOS
INTO TABLE T_CDPOS
FOR ALL ENTRIES IN T_CDHDR
WHERE OBJECTCLAS = T_CDHDR-OBJECTCLAS
AND OBJECTID = T_CDHDR-OBJECTID
AND CHANGENR = T_CDHDR-CHANGENR
AND TABNAME = 'VBAK'
AND FNAME = 'FAKSK'
AND CHNGIND = 'U'
AND VALUE_NEW = SPACE.
IF SY-SUBRC = 0.
READ TABLE T_CDPOS INDEX 1.
IF SY-SUBRC = 0.
READ TABLE T_CDHDR WITH KEY CHANGENR = T_CDPOS-CHANGENR.
IF SY-SUBRC = 0.
WRITE: / 'USER NAME CHANGED BILBLOCK - ', T_CDHDR-USERNAME.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Thanks,
Naren -
New Billing block reason added
Hi Friends,
I have a minor query. There has been a new billing block reason added to the system and in transaction OVV4 it has been assigned to only credit memos. There are no documents or data available to find out who added this billing block reason to the system.
Without any of these available, is it possible in any way in SAP system to find out who had created this billing block reason ? Maybe a TR number or something for this ?
Any help is greatly appreciated.
Thanks
SaratGo to SE16, input E071 table and execute. There enter table name TVFSP against Object Name and execute. You will get the entire transport request lists for the changes made in OVV4.
G. Lakshmipathi -
Billing block removal in Billing Plan - Transaction VA02
Hi,
How can I remove the Billing Block in Billing plan for a single sales order? (header level)
What I need to remove/change to empty is the field FPLT-FAKSP (from Billing Plan tab) and not the FAKSK from table VBAK (in Billing Document tab).
Following example is only to remove the VBAK-FAKSK, but what i need is to remove the FPLT-FAKSP.
Please help.
Thanks
REPORT Z_BILLING_BLOCK.
PARAMETERS: p_vbeln TYPE vbak-vbeln.
DATA: l_header_inx TYPE bapisdh1x,
l_header_in TYPE bapisdh1.
DATA: lt_return TYPE STANDARD TABLE OF bapiret2.
update the flag.
l_header_inx-updateflag = 'U'.
l_header_inx-bill_block = 'X'. " Billing
l_header_in-bill_block = ''. " Remove Billing block.
Call the bapi.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = p_vbeln
order_header_in = l_header_in
order_header_inx = l_header_inx
TABLES
return = lt_return.
check for errors.
LOOP AT lt_return TRANSPORTING NO FIELDS WHERE type = 'A' OR type = 'E'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in updating'.
ELSE.
WRITE: / 'Billing block removed'.
COMMIT WORK AND WAIT.
ENDIF.Hi,
I don't want to use this is the sales order user-exit. What I really want is to have another different program running in background for example and removing this Billing Block (FPLT-FAKSP).
My code is only working for the billing block in Billing Document Tab and not for the one in Billing Plan.
Thanks a lot
Br
Anyone knows already a solution for this??
Edited by: Ninfx Ninfx on Feb 27, 2009 4:42 PM -
Release billing block in billing plan
I am using periodic billing plan and I would like that the billing block will be deleted automatically when the billing date arrives.
Does the standard system supports this feature and how?Hello,
I don't think the system will automatically remove the billing block from the plan an bill it. You may create a program to remove the billing block from the line items in a billing plan order with the help of an ABAP expert and schedule it accordingly.
So whenever the date comes, the system will remove the billing block and bill it.
Prase -
BUS2094 delete billing block error
Hi all,
We are executing standard workflow process for Credit Memo using BUS2094, we can be able to process the workflow till Releaser can release the Credit Memo, once its releases we are getting error " BUS2094 - Method Deletebillingblock can not be executed " Due to which this process can not remove Billing Block of the do
The same thing is working fine on Development server. we have checked the same scenario on Dev Server, its working without an error.
I would like somebody to help me in this matter.Hi,
1.Can you let us know that did you recently move any new version of workflow from DEV to QAS or PROD, if you have imported any new version of the workflow then try to refresh teh buffer by using txn SWU_OBUF.
2. Check for the user authorizations who is initiating the process If anything is missing then assign the respective authorizations.
3. Make sure the workflow template agent assignment is made as General task you can do this from PFTC transaction.
4. Missed out to ask you to check the workflow log. It helps you to understand whether the problem lies in the workflow or with the data in the system.
Regards
Pavan
Edited by: Pavan Bhamidipati on Nov 29, 2011 12:34 PM -
Unable to remove billing block from an Sales order.
Hi Team,
I'm cleaning return order that still blocked from long time ago till 2009 and I have a few of them that I cannot release the block because I'm getting an error message and don't allow us to get into VA02. Error--(Date 01/03/0001 is before the beginning of factory calendar XC). I tried to remove factory calendar from customer master but still I am getting an error message. so is there any standard programme to remove the block or any other method ?
Thanks
SitsThe problem here is not that you cannot remove the block but that the document cannot be edited in general. My guess is that some change occurred in the system since the documents were created (either configuration, master data or a new user exit).
If the document cannot be modified in VA02, I doubt it would be possible to modify it in any other transaction (because they all, essentially, end up calling the same functionality). I would suggest to debug the code to see where exactly the message occurs. It may also be possible to bypass the message in debugger and proceed with the change. I wouldn't recommend this as general practice, but it might work as an exception.
Also you might want to consider archiving with deletion instead (use Search), if the documents are very old. -
Hi All,
How I can put Billing Block in specific SD Document
(Sales Order), after Invoicing (Invoice/Credit Memo/
Debit Memo) Completed for the Document.
Purpose is, after this Block, there will NOT be possible
to do any Invoice or Collection from Customer.
Regards/RezaHi,
There are two ways.
1)Goto VOV8 T.Code and select your order type.
Put value for the field billing block under billing tab in the deatils screen.
Save.
After that when creating a new document there will be a block for you which will not allow you tocreate a invoice unless the authorised persons remove this block.
2)After creating the order,Goto VA02 and enter the order number.
Put billing block in the overview screen manually.
Save.
After that when creating a new document there will be a block for you which will not allow you tocreate a invoice unless the authorised persons remove this block.
Pls check whether the blocking reasons are defined in customization or not.
If not then maintain using "OVV3" T.Code.
And then assign them.
Now try with theoptions that are provided.
Regards,
Krishna. -
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
Maybe you are looking for
-
My itunes library has duplicated all of my music and would take me hours to delete one by one. What is a quick easy way to delete over 2,500 duplicates?
-
How to execute the process chain using function module
Hi, How can we execute the process chain when there is any process failed. For ex. when we are running many processes. when loading fails in local process chain, after fixing this error, how can we execute the rest of processes. Can we execute the re
-
Change from working offline to online
I keep getting the message that I'm working offline how can I change this to online. I can't print from adobe reader, or word.
-
Kernel Panic After Installing Tiger 10.4.10
My copmputer randomly started give me kernel panic sign while i was running the newest version of leapord. The apple hardware test came up negitive but my computer would randomly start afterwords. I tried reinstalling Tiger once, and I just repartiti
-
Seeking advice on used Macbook Pro
Hi. Have a pretty simple question that some of the experts here might have an opinion on. I'm looking for a used Macbook Pro 17-inch for portable video/photo editing (Final Cut Studio, After Effects, Photoshop, etc.). I have my eye on two MBPs at the