Remove Billing Block on a Sales line item with Billing Plan
Hi All,
I need to remove/clear <b>Billing Block</b> on a sales order line item which as been attached to billing plan. Sales order line item can have more then one <b>Billing Plan</b> line item. Based on <b>billing date</b> I want to remove Billing block. Any hints or direction much appreciated. Thanks in advance.
Kind Regards,
Tim
Hi,
Use the BAPI BAPI_SALESORDER_CHANGE to remove the billing block in the sales order line item..
Pass the item number ORDER_ITEM_IN parameter
Pass the item number, UPDATEFLAG = 'U', BILL_BLOCK = 'X' in the ORDER_ITEM_INX parameter..
Thanks,
Naren
Similar Messages
-
How is a Billing Block on a Sales Order manually removed?
Hi friends,
I want to know,How is a Billing Block triggered on Sales Order due to pricing intolerances is manually removed,even if the intolerances are not corrected.
Regards,
Imran.u have to check ur config setttings , it depends ?
Regards
Peram -
Billing Block status in Sales Order doesn`t change with change in Item Cat
Hi Experts,
I have a peculiar problem once I am creating a Contract. In the contract I enter a material with default item category (with Milestone Billing Plan & Billing Block assigned to it),but once I change this Item Category to the other item Category (having No Billing Plan & No Billing Block assigned to it), then the Original Billing Block in the contract for this material does not disappear(the vice-versa of this scenario is not there).
Request for your help on this issue.
Thanks,
VivekHI
Check controls of document in VOV8 any billing block is assigned for the document.
Regards
santosh.A.R -
I have a problem regarding sales order line item with confimed quanity
Hi Experts,
I have a problem regarding sales order line item with confimed quanity with '0' with delivery block but confirming the sales order quantity once the order is released from credit check.
The situation arises as per the below scenarios.
Scenario - 1 - When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx and the order is set with credit check. Once the order is relased from the credit check. The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
Scenario -2- Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
Maintain the stock for the line item 2 ( 5 Pcs).
Once the order is released from the credit check. Then for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
Can you please help me how to solve this issue.
Looking forward for your reply.
Thanks and Regards,Hi,
I agree with your point. In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check. Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5, But it should set to Zero quantity. Quatity should not be get confirmed it should be Zero Quantity.
Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok. But we dont want to remove the - Confirmation Block tick mark
Please any one can help me if you have any solution to solve this problem.
Thanks and Regards. -
Extra accouning line item in billing document with zero value
Hi,
I am using TAXINN procedure, the following accounting document has been generated during billing.This accounting document contains an extra line item with zero value.
However, There is no necessary for this line item with zero value. Can you tell me how to remove this line item?
000 50 VAT Payable A0 0.00
001 01 Sale within state A0 1,212.00
002 50 Sales f/goods-Dome. A0 1,000.00-
003 50 ED Collected Clr. A0 160.00-
004 50 ED Collected Clr. A0 3.00-
005 50 ED Collected Clr. A0 2.00-
006 50 VAT Payable A0 47.00-
Thanks,
KanhuHi
Check if there is any summarization active for billing documents generated through SD. The path for the same is:
IMG>Financial Acxounting>General Ledger Accounting>Integration>Sales & distribution
Check for table VBRK
Regards
Sanil K Bhandari -
Is it possible to have more than one Tax code per line item in Billing docu
Is it possible to have more than one Tax code per line item in Billing document ?
Hi,
I have a different perspective there.
If an item is applicable for two different taxes which are represented by two different tax condition types and these tax conditions are configured in the tax procedure, FTXP and so on....then these two condition records can have two different tax codes.
We actually have this scenario in EU now, where EU talks about service tax in 2010 apart from the normal VAT. So now we have MWST and ZWST(Say)
Now there are some materials which come with a service associated with it. So a service charge is also levied when the material is sold. So the material price will become applicable for VAT and the service charge becomes applicable for service tax. In this case, the tax classification of the customer will have two entries in sales orders updated in the fields VBAK-TAXK1 and VBAK-TAXK2 based on the sequence number of these condition types.
Now based on different tax classification of the customer, we have 2 different tax codes representing different %of tax.
Hope it helps -
Can we change pricing date for line item in billing
Hi Expert,
Can we change pricing date , while raising inoice for particular line iteamHi,
We can not change the pricing date for perticular line item at billing document level, the only option is we can enter the required date at the time of invoice creation in VF01 screen.
If your requirement is copying the same pricing date that is entered at sales order, then do the following.
Go to T Code:VTFL and choose your DElivery Type and Billing Type, then choose your item category and then change the pricing type as 'D' .
Regards,
Pasapula. -
BAPI_BILLINGDOC_CREATEMULTIPLE u0096 Duplication of line item in billing docume
Hi All,
I am using BAPI <b>BAPI_BILLINGDOC_CREATEMULTIPLE</b> to create billing document. Creation of billing document is fine, but issue is I am passing individual line item along with <b>quantity</b> to be billed. But whats happening is if I got 3 item line in sales order with quantity 1-3-5, billing document getting created 3 quantity 1, 3 quantity 3 and 3 quantity 5. So I end up with 9 line item on billing document which is incorrect.
Please see the code below which I am using, can anyone tell me what I am doing wrong here. I basically need to create 3 billing line item with respective quantity I pass. Any hint is much appreciated. Thanks in advance.
Regards,
Tim
loop at GT_INIT_ITAB2 into GS_INIT_ITAB2.
select single * into gs_vbak
from vbak
where vbeln = GS_INIT_ITAB2-VBELN.
select single * into gs_vbap
from vbap
where vbeln = GS_INIT_ITAB2-VBELN AND
posnr = GS_INIT_ITAB2-posnr.
select single * into gs_mara
from mara
where matnr = gs_vbap-matnr.
refresh GT_BILLINGDATAIN.
GT_BILLINGDATAIN-SALESORG = gs_vbak-vkorg.
GT_BILLINGDATAIN-DISTR_CHAN = gs_vbak-vtweg.
GT_BILLINGDATAIN-DIVISION = gs_vbak-spart.
GT_BILLINGDATAIN-DOC_TYPE = GS_INIT_ITAB2-auart.
GT_BILLINGDATAIN-ORDBILLTYP = p_fkart.
GT_BILLINGDATAIN-SOLD_TO = GS_INIT_ITAB2-kunnr.
GT_BILLINGDATAIN-ITEM_CATEG = GS_INIT_ITAB2-pstyv.
GT_BILLINGDATAIN-REQ_QTY = GS_INIT_ITAB2-kwmeng.
GT_BILLINGDATAIN-SALES_UNIT = gs_vbap-vrkme.
GT_BILLINGDATAIN-CURRENCY = gs_vbak-waerk.
GT_BILLINGDATAIN-SHORT_TEXT = 'Test'.
GT_BILLINGDATAIN-BILL_DATE = gl_date.
write GS_INIT_ITAB2-afdat to GT_BILLINGDATAIN-BILL_DATE ddmmyy.
GT_BILLINGDATAIN-BILL_DATE = GS_INIT_ITAB2-afdat.
GT_BILLINGDATAIN-PRICE_DATE = SY-DATUM.
GT_BILLINGDATAIN-REF_DOC = GS_INIT_ITAB2-VBELN.
GT_BILLINGDATAIN-DOC_NUMBER = GS_INIT_ITAB2-VBELN.
GT_BILLINGDATAIN-ITM_NUMBER = GS_INIT_ITAB2-POSNR.
GT_BILLINGDATAIN-ORIGINDOC = GS_INIT_ITAB2-VBELN.
GT_BILLINGDATAIN-ITEM = GS_INIT_ITAB2-POSNR.
GT_BILLINGDATAIN-NO_MATMAST = co_x.
GT_BILLINGDATAIN-COUNTRY = 'AUS'.
GT_BILLINGDATAIN-MATERIAL = gl_matnr.
GT_BILLINGDATAIN-TAXCL_1MAT = '1'.
GT_BILLINGDATAIN-REF_DOC_CA = 'C'.
append GT_BILLINGDATAIN.
endloop.
Prepare for BAPI call
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
EXPORTING
CREATORDATAIN = GS_CREATORDATAIN
TESTRUN = co_x
POSTING = co_x
TABLES
BILLINGDATAIN = GT_BILLINGDATAIN
CONDITIONDATAIN = GT_CONDITIONDATAIN
CCARDDATAIN =
TEXTDATAIN =
ERRORS =
RETURN = GT_RETURN
SUCCESS = GT_SUCCESS
clear gl_return.
loop at GT_RETURN.
if GT_RETURN-type EQ 'E' OR
GT_RETURN-type EQ 'A'.
move: GT_RETURN to gl_return.
exit.
endif.
endloop.
if gl_return is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = '1'
IMPORTING
RETURN = gt_return_commit.
endif.Hi,
Check this code...For creating billing document from sales order..
TABLES: vbak.
PARAMETERS: p_vbeln LIKE vbak-vbeln OBLIGATORY,
p_fkart LIKE vbrk-fkart.
DATA:
s_vbsk LIKE vbsk.
DATA:
xkomfk LIKE komfk OCCURS 0 WITH HEADER LINE,
xkomv LIKE komv OCCURS 0 WITH HEADER LINE,
xthead LIKE theadvb OCCURS 0 WITH HEADER LINE,
xvbfs LIKE vbfs OCCURS 0 WITH HEADER LINE,
xvbpa LIKE vbpavb OCCURS 0 WITH HEADER LINE,
xvbrk LIKE vbrkvb OCCURS 0 WITH HEADER LINE,
xvbrp LIKE vbrpvb OCCURS 0 WITH HEADER LINE,
xvbss LIKE vbss OCCURS 0 WITH HEADER LINE.
SELECT SINGLE * FROM vbak
WHERE vbeln = p_vbeln.
IF sy-subrc <> 0.
MESSAGE s208(00) WITH 'Invalid vbeln'.
LEAVE LIST-PROCESSING.
ENDIF.
CALL FUNCTION 'RV_INVOICE_REFRESH'
EXPORTING
with_posting = 'B'
TABLES
xkomfk = xkomfk
xkomv = xkomv
xthead = xthead
xvbfs = xvbfs
xvbpa = xvbpa
xvbrk = xvbrk
xvbrp = xvbrp
xvbss = xvbss.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln TYPE vbeln,
posnr TYPE posnr,
END OF t_vbap.
SELECT vbeln posnr INTO TABLE t_vbap
FROM vbap WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
Fill the values.
xkomfk-mandt = sy-mandt.
xkomfk-vbeln = p_vbeln.
xkomfk-posnr = t_vbap-posnr.
xkomfk-vbtyp = vbak-vbtyp.
xkomfk-seldat = sy-datum.
xkomfk-fkart = p_fkart.
xkomfk-fkimg = '1.000'.
xkomfk-vrkme = 'EA'.
APPEND xkomfk.
ENDLOOP.
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
vbsk_i = s_vbsk
with_posting = 'B'
IMPORTING
vbsk_e = s_vbsk
TABLES
xkomfk = xkomfk
xkomv = xkomv
xthead = xthead
xvbfs = xvbfs
xvbpa = xvbpa
xvbrk = xvbrk
xvbrp = xvbrp
xvbss = xvbss.
READ TABLE xvbfs WITH KEY msgty = 'S'.
WRITE:/ sy-subrc.
WRITE:/ xvbfs-msgv1,xvbfs-msgv2,xvbfs-msgv3.
Thanks,
Naren -
Multiple line item in billing but only one line item in accounting document
Hi Everyone,
I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
(1) Sales order has 2 line items.
(2) Billing document is only ONE and has 2 line items
(3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
My requirement is
Accounting document should have 2 line item of customer - Debit
Customer - Debit (amount of first line item)
Customer - Debit (amount of Second line item)
Sales - Credit
How can it be done ?
Regards,
ManishHi,
This is the SAP expected behaviour
As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
For example, you should have a condition table in FICO as follows.
Sales org/ Account key / Customer
For this condition table, the entries shoudl be as follows.
5110/ERS/Customer A GL ACCOUNT IS 5000100
5110/ERS/Customer B GL ACCOUNT IS 5000200
In this case, there will be 2 entries for the invoice instead of just one line entry. -
In sales order item level billing tab
in sales order item level billing tab you have nine fields for payment terms
i want to know from where is the payment terms coming in the fields , i have checked that whatever payment term is there in SP/SH/PY they are not getting updated in the nine fields
can anyone tell wat is the possible ways to fill these tabsHi,
Payment terms are coming from Customer Master on Sales order , I did checked by removing the payment terms from customer master and created the sales order were it has not defaulted. Updated the Customer Master with Payment Terms and created the sales order now Payment terms got defaulted.
Regards
Raj -
Total line items in billing document
Dear Fnds,
I want to Find total line items in Billing document VBRk-posnr
Thanks in advance
Regards
raj.Hi,
You can get the line items details in internal table then write the following command:
DESCRIBE TABLE itab LINES lv_lines.
In Lv_lines you will get the count for that Sales Order Number (VBELN).
Hope this may be useful..
Regards,
Prashant -
How to capture Ord-related bill.st. in a sales document item
Hi Experts,
Just want to know how will i able to capture the value of the Ord-related bill.st. in a sales document item.
Here's to give you example.
- Go to VA03 and type in a credit memo req.
- Double click on first item material.
- Go to "Status" tab and you will see the "Ord-related bill.st. under Processing status.
I want to capture the value found to this and display it in my report but I have no idea what table maintain this.
Hope you can help me with this ASAP... Sorry for the rush..
Regards,
YuHi Both,
Thanks for this! I already saw this one but I'm doubting at first if this is correct.
Nevertheless, thanks for all your answer. =)
Appreciate your help! =)
Regards,
Yu
Edited by: Aura Yu on Sep 16, 2010 12:37 PM -
Direct sales line items not appearing in VF04 even if MIRO document created
Hi,
Some of the direct sales line item are mysteriously not appearing in VF04, even though the MIRO for the PO related to it is done. In some cases all the items of sales orders are not appearing in VF04 , in some cases it is happening randomly. Such items can be process manually through VF01 . Also if report SDVBUK00 is run , these line items are seen in VF04.
Kinldy reply .
MamtaDear Uday Kumar Narayanappa ,
I think as a consultant you have the say in deciding how the things should be mapped in SAP than the USER.
I dont find any reason other than having the same user id being shared between multiple users (and hence variant cannot be used).
Anyways try this.
Make a Z program copying VF04 .
Give the Tcode which is agreeable for the users.
In that Z program , write a code NOT TO CONSIDER documents of type ZNEW.
Now limit the authorisation of this new program only to those users who doesnt not want to deal with ZNEW.
Hope it helps.
Thanks & Regards,
Hegal K Charles -
How to pull PO line item with "Block" indicator
Hi all
In ME2N, how do I pull all the PO line items with the "block" indicator set?
I couldn't find a field in dynamic selection.
Thanks in advance!HI,
1. In ME2N -
>Go to EDIT menu and then select Dynamic Selections (Shift+F4).
Next select Purchasing Document item and double click on deletion indicator.
Select the indicator and excute.
Hope it helps..
regards -
How to read product characteristics of a line item in Billing document?
Hi Friends,
I need to read the product characteristics of a line item in Billing document. Can you please help me with which tables or function modules I should use?
Thanks in advance.
Regards
Jaker.Hi,
Use the following BAPI's:
BAPI_OBJCL_GETDETAIL
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
Regards
ANJI
Maybe you are looking for
-
SAP GUI 7.10p15 weird problem on FB70
Hi all, We upgraded SAP GUI 7.10 to patch level 15 from patch level 14 using the install server on our Windows XP machines. A weird problem seems to appear since then on FB70. You press once or twice the ENTER key, without filling any field on the sc
-
Hello all, what is the use of lookup in apps. what concept is consider behind it ? i am not able to add new country . please reply with proper navigation. in Application developer responsibility application->lookup->application object library Thanks
-
It also useless when I use equalizer
-
Packet-Delay and Reordering with a SG200-18-Switch
Sometimes we see an issue that the switch delays a fragment up to one millisecond. And the delay may cause reordering... We are using a "SG200-18 18-Port Gigabit Smart Switch" with the following Version: Software Information Firmware Version (Active
-
DVDSP3 all messed up! plus menu question
Ok, i've been using Dvd Studio Pro since it came out. This is the first time I have had any problems with it. First of all, it keeps crashing, no reason. Second, now now video will play in the viewer. Third, Items on my menu seem to be locked and i c