BADI to set the billing block in sales order
Hi Friends,
I am trying to set the billing block at the item level while creating or changing the sales order if the selling price of the item is below the cost price. I have implemented the following code in the BADI BADI_SD_SALES. Even I tried the same code in the user exit include MV45AFZZ. It is not working in both the cases. what could be the issue. please advice.
FIELD-SYMBOLS : <fs_vbap> TYPE vbapvb.
LOOP AT xvbap ASSIGNING <fs_vbap>.
<fs_vbap>-faksp = '01'.
ENDIF.
solved. used BADI_SD_SALES
Similar Messages
-
Setting up Billing Block for SALE ORDER during Invoice cancellation
Hi,
I have a requirement where in i need to set the billing block(VBAK-FAKSK) while saving Invoice cancellation document. Please suggest some user exit or BADI during Invoice save so that i can set the billing block in sale order header data.
Thanks in Advance,
Raghav
Moderator message: please do your own research before asking.
Edited by: Thomas Zloch on Jan 12, 2011 2:59 PMHi,
You can try TCode V.00
This transaction when executed will give you the list of all the sales documents blocked for delivery per sales organization. There are various other criteria which might be useful. This transaction will allow you to edit each sales document.
If this is not the one that you want, then perhaps you might have to develop one.
Thanks
Mukund S -
To delete the Billing Block in Sales order
Hello Experties,
When i'm going to create a SO there is default Billing block for to Check Credit/Debit moemo.
I want to delete this block with SAPCE (In background process). is there any USEREXIT or FM to solve this problem.
Thanks in Advance!!
TR,
Vijay
Edited by: Vaijeenath on Feb 10, 2009 7:51 AMHi,
Check with this FM
SD_WF_ORDER_DEL_BILLING_BLOCK -
Removing of billing block in Sale Order through workflow
Hi all,
I want to remove the billing block in sale order when the person approves suing user decision step in workflow .
ANy idea would be great ...
Regards,
VenkiHi Surjith,
task is not for the billing process ....
and here my big problem is that i was unable to call the custom method in worklofw ....
So attachment is not working in workflow only it works while testing if i pas the key value .
Here my requirment is to remove the billing block if the person approve in decision step ...
Deepa,
Can u tell me how to call a custom method here i am using standard BUS2032 in my task.
already i have BO with custom method but i dont know how to call it when the transaction get executed ....
Thank u for ur reples...
Regards,
venki -
Mass Removal of Billing Block at Sales Order item level
Dear Experts,
Does any one know how to remove billing block at sales order item level at mass level ?
Is there any standard t code for the same. Kindly let me know the same
thnx in advanve
regards,
SagarHi Sagar Wagh,
I want to make a little correction,
Go to T-code V.23
Give your criteria like
Sales organization
Distribution channel
Division
Then in the last of screen there is check box Delete billing block
check this box and excute
System will ask you
Do you really want to delete billing
blocks for all docs. to be selected?
Click at yes
System will show you the list of all documents
Select all and Click at Delete billing block
System will delete the billing block in one go from all the documents.
Regards,
MT
Edited by: M T on Feb 23, 2010 6:03 PM -
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 -
Problem in changing Billing Block for sale order.
I need to change the Billing block of the particular sale order ,I am using BAPI_SALESORDER_CHANGE and populating sale order and billing block in the respective structure .The billing block is not getting changed.
Thanks
RaviTry to use CRM_STATUS_CHANGE_INTERN if it's system status
and CRM_STATUS_CHANGE_EXTERN if it is user status -
Automatic removal of billing block in sales order
Hi Friends,
I want to remove billing block in the sales order automatically (by system) when I click the PGI for the relavant delivery document. I hope this is not possible through standard. If not please guide me how to solve this issue.
Thanks
KumarHi,
Please ask ABAPer to write a program(event program) to delete a billing block.
As and when you click the PGI button for your delivery in "VL02n" T.Code,the PGI will be done in standard.Simultaneously,billing block is to be removed.Means the entry from the field "VBAK-FAKSK" is to be removed.
If the billing block is also present at the item level too even it has to be removed.Means the entry from the field "VBAP-FAKSP" is also to be removed.
Regards,
Krishna. -
Restrict Billing Block in Sales order
I have a question. We can apply Billing blocks on Header and Item level in a sales order 'OR' document.
we blocked an User from removing Billing block for Object V_VBAK_ATT ACTVT 43 on a Sales order for both Header and item level.
She gets 'Authorization block' when she double click on item --> Billing documents--> and remove billing block (Field VBAP-FAKSP)
But, Issue is, on the Sales overview screen of the sales order, she scrolls towards the right of the item and removes Billing block on Item. This time she's able to save the document and NO authorization block message.
I checked , both are same field, as it should be, VBAP-VAKSP.
Can you please advise?Hi
you can have the billing blick in order type ( VOV8) or in the billing type
is it possible for you to have a different billing type
in the sales order type you can have the billing block as default and incase if you want to service it you can remove it in the sales order
or you can block the dealer for the sales area in xd05
and when ever you want to service unblock it
reward if it helps -
Billing block in Sales Order - Config (or) Security
Hi,
Is there SAP standard config settings to control who can remove the Billing block on the sales order ?
Or it needs to be done by security ? and how ? Any simple techniques ?
Regards,
RonHi,
We cannot control the authorisation for removing this billing block through configuration.
For this we have to control either by giving/removing the authorisation for VA02 T.Code or by writing a customised program.
For this customised program,please ask your ABAPer.
We have to develop a function module and link it to the program.
Regrads,
Krishna. -
Hi Gurus,
I have a question. We can apply Billing blocks on Header and Item level in a sales order 'OR' document.
Security blocked an User from removing Billing block on a Sales order for both Header and item level.
She gets 'Authorization block' when she double click on item --> Billing documents--> and remove billing block (Field VBAP-FAKSP)
But, Issue is, on the Sales overview screen of the sales order, she scrolls towards the right of the item and removes Billing block on Item. This time she's able to save the document and NO authorization block message.
I checked , both are same field, as it should be, VBAP-VAKSP.
Can you please advise?
Thanks
NidhishHi
This is weird. This authorization object should stop removing billing block from header, item and overview screen. It is working fine for item and header but in overview its not. I have tested it and searched for some SAP note but couldn't find one. I thought this is SAP bug and there must be some SAP note but I couldn't find one. May be there is some note. You can also try to find one.
We can control this using screen variant or using MV45AFZB USEREXIT_CHECK_VBAP but this is not the satisfactory solution as this must be done in standard system. Now if this is urgent, you can use any one technique from these two otherwise I would suggest you to raise an OSS note to SAP and see what they answers. This should be done after searching SAP notes. May be
Lakshmipathi G could comment on this or provide some note.
Thank$ -
Retrigerring the delivery block for sales order after change.
Dear All,
I have a scenario, When we are creating FOC order, automatically Delivery Block is
appeared. After an authorised person releases the order, the Delivery is
made against it.
Now if the order is released and any amendment is made in the order, FOC
order should get back the Delivery Block status automatically.
Thanks,
Ani.Hello,
I have a scenario, When we are creating FOC order, automatically Delivery Block is
appeared. After an authorised person releases the order, the Delivery is
made against it. Now if the order is released and any amendment is made in the order, FOC
order should get back the Delivery Block status automatically.
The best option of meeting your requirement is using a User exit which would put a Delivery block when the Sales Order details are changes.
USER EXIT --> USEREXIT_SAVE_DOCUMENT_PREPARE
Kindly try out this exercise with the help of a ABAPer and close this thread if your query is answered.
Regards,
SARTHAK -
Automating delivery blocks in sales orders
Hi,
We have a delivery made with ref to a sales order. The goods are third party warehouse managed.When the goods are no longer needed, a third party warehouse sends an idoc in our system. This idoc deletes the delivery in our sap system and as soon as the delivery is deleted, the system also puts a delivery block(VBAK-LIFSK) in sales order at header level so that no further deliveries are made with ref to sales order.
There is an issue at present that this delivery block is not set in sales order when the delivery is deleted.
could anybody pls help where the code might have been written to automatically put the delivery block in sales order when the delivery is deleted.
regardsHi,
Just code the delivery block logic in DO user exit MV50AFZ1 routine "userexit_delete_document".
Thus, when DO deleted then system will auto set delivery block to SO.
Hope this help.
Cheers, -
Tcode in blocking a sales order
hi experts,
is there a transaction code that can block a sales order?
Points for the helpful ideas.
Thanks!Hi Maui,
It would be nice if could clearly tell what is the business requirement. Sales order could be blocked for several reasons:
1. you can put a delivery block / billing block in sales order, you can have Header & Item Blocks
2. You can assign reaosn for rejection at Item level in sales order
3. you can block customer sales areas using customer block
4. you can have sales order blocked due to credit reasons
etc
Rewrad if it helps
Regards
Srini
Maybe you are looking for
-
I just put itunes upeate 11 on and now itunes will not run. I get an error that sys iTunes has stopped and windows is sutting it down. I reinstalled 10.7 and it will not run eather now.
-
Thanks first. How to generate a daily report automatically? we can generate a report using sqlplus spool command, the problem is I need a daily one automatically generated. any ideas?
-
Paying Foreign Currency Invoice with Functional Currency
Hi, Can anyone advise if I am able to pay a foreign currency invoice using functional currency in AP? Eg. if my functional currency is USD and invoice is in GBP, how can I pay in USD against the GBP invoice? Thank you and God bless you.
-
Best Oracle product to connect to mobile device apps
Our company has a large ERP system in Oracle that we are looking to access from a simple app written for the iPad/Iphone. What Oracle product do we need to accomplish this? I'm a long-time Oracle developer, but previously I've only hooked Oracle to o
-
Hi, how can I handle an ALV when no context data exists? Should it be disabled or is there an attribute like 'ON_NO_DATA' or something like that? During program flow I can happen that the binded context node could be empty. Any solution for that? Reg