Invoice item pricing
Hello,
Is there a function module to obtain the pricing conditions of an invoice item?
Thank you
Nuno SIlva
Hi,
RV_INVOICE_PRICE is FM.
Regards,
If helpful reward with points(Don't forget).
Similar Messages
-
Link between SD invoice item and corresponding accounting document item
Hi,
I have a problem regarding the link between the items of an SD invoice ( or
credit note ) and those of the corresponding accounting document. There's a
custom report which extracts information about each credit/debit note
produced within a certain period. This program has recently failed due to a
particular case: a credit note was generated starting by two note requests;
in other terms, cardinality: 1:N exists between the credit note and the
request document. Currently, the program generates duplicated records in
this case, because of the following schema:
-> main loop on VBAK data ( request document header data )
-> inner loop on BSEG data ( accounting document items );
our current access criteria in reading tb_bseg is only:
... where tb_bseg-belnr = tb_vbrk-vbeln.
Providing that tb_vbrk-vbeln doesn't differ and that both tb_vbak and tb_bseg
contain two records ( the two requests the first and the two accounting
document items the second ), the program fails as follows:
° first request -> two lines
° second request -> two lines.
Is there any way to link each invoice item with the corresponding credit
note item?
Thanks in advance to all of you.
Adrian.Hi,
I have a problem regarding the link between the items of an SD invoice ( or
credit note ) and those of the corresponding accounting document. There's a
custom report which extracts information about each credit/debit note
produced within a certain period. This program has recently failed due to a
particular case: a credit note was generated starting by two note requests;
in other terms, cardinality: 1:N exists between the credit note and the
request document. Currently, the program generates duplicated records in
this case, because of the following schema:
-> main loop on VBAK data ( request document header data )
-> inner loop on BSEG data ( accounting document items );
our current access criteria in reading tb_bseg is only:
... where tb_bseg-belnr = tb_vbrk-vbeln.
Providing that tb_vbrk-vbeln doesn't differ and that both tb_vbak and tb_bseg
contain two records ( the two requests the first and the two accounting
document items the second ), the program fails as follows:
° first request -> two lines
° second request -> two lines.
Is there any way to link each invoice item with the corresponding credit
note item?
Thanks in advance to all of you.
Adrian. -
How to get the Shipping status of a Invoice items in SAP?
Hi All,
Is there any way to get the Shipping status of a Invoiced Item ?
While i extracting Sales Invoice lines,i can get the shipping method and the shipping date,how can i confirm whether the item is shipped or not?.
Is there any table which contains the shipping status or any column in Invoice lines(INV1) which contains the shipping status?
Please help me to come out from that problem
Thanks
JanakiRamanHello Gilbert,
The column what you specified INV1.TRNSCODE is to know how the shipping was done. My question, Is there any field to specify the material was shipped or not?
Thanks
Janakiraman -
Error in characteristic derivation at the level of the invoice item when re
We are implementing the SAP project for just one small private medical Center which includes mainly outpatient cases in different medical Clinics (different departments in the same medical center) .For example: Radiology center/department, cardiology center Obstetrics center and so on.
We have defined each center/department as a different profit center.
Some of departments are subdivided to several medical organizational units; each unit represents a different cost center at the same profit center/department.
A case-based order (internal CO orders relating to a patientu2019s case) is created in the background when the patient is admitted
The same patient can get services from few organizational units (in ISH)/cost centers at the same visit/case and that's why it is important to collect revenue and costs at the same case based order. The revenue is posted to the case base order by using billing in the ISH module and the costs by internal activity allocation.
We have assigned IS-H services to activity types in Controlling; the services transfer to the case based order. CO-relevant services are posted from IS-H to cost centers in CO and within internal activity allocation, allocate them to the case-based order.
For example:
X ray service assigned to Technician minutes activity type.
Each X Ray service takes 20 minutes of Technician (Qty Cnv Facto=20 MIN)
The service transfer is preformed automatically at final billing.
We have implemented Case Costing Level 2 in order to analyze case costs in CO-PA.
We want to have the ability to derive the profitability analysis characteristics at the level of a line item in the case, for example: we want to define a service or the preformed organizational unit as a characteristic in PA.
We are not sure what the best feasible solution for this requirement is.
We investigated few alternatives:
1. We have defined the case based order as real order with a settlement rule to a profitability segment. Revenue and Costs are posted to the cased based order and then settled to the profitability analysis. We eliminated this alternative because we didn't find any way to distribute revenue and case costs to PA between the different "line item characteristics" (for example: different services in the case).
2. After eliminating the first alternative we tried to change the solution.
We have dealt with revenue and costs separately.
1. Revenue: In the "configure revenue accounting" We flagged the Post to Prof.Segment checkbox, the patient billing module attempts to determine a profitability segment in CO for each invoice item and to post the revenue to it. The system determines the profitability segment using the characteristics of the patient and case data we defined.
We are using ISH_CHARACTERISTIC_* functions for characteristic derivation but we couldn't derive user defined characteristics which are defined at the level of the invoice item. (For example: billable service in the case or preformed organizational unit for each service.).We didn't succeed to it by using the ISH_CHARACTERISTIC_* functions.
2. Costs:
We tried to posts case costs (internal activity allocation) directly to profitability analysis, this way we hope to have the ability to derive characteristic of the line item.
We know that when we use transaction: KB21N for internal activity allocation and we define two receivers, internal order and profitability segment- In case the order will be statistical the true posting will be to profitability analysis segment.
Therefore we have defined the case based order as statistical order.
We want to intervene in the automatic creation of account assignment lines by enhancement NHCO0001 IS-H: Create account asgmt. line during CO transfer.
The transfer program creates for CO-relevant services account assignment lines for Assignment rules.
But-We didn't find any way to do it, because the profitability segment object is missing in enhancement NHCO0001.
As an alternative we tried to use User-Exit in the profitability analysis valuation (transaction: ke4u) but also with no success. (Enhancement COPA0002).
Could you Please advice what to do,I didn't succeed in my ideas and investigations.
Thanks
Yael Jacobi
Controlling ConsultantHI Claudius
Thanks for your answer, I will try to discuss it again with my customer to understand weather he really needs/wants a profitability analysis on service level.
I processed also an inquiry within the Service Remote Consulting according , I will let you know their answer as well.
I have additional issue to discuss with you , please let me know wheatear you can help me.
There are internal service sales between different departments in the same medical center. For example: Radiology center/department sells X-rays services for the cardiology center. We need the ability to sell a service to a different department in a different price than to an external payer/customer/insurance provider.
Is it possible to implement profit center transfer prices along with the ISH_CO integration?,
How is it getting along with the posting of internal activity allocation when services transfer to Controlling?
At standard the costs are allocated (by means of internal activity allocation) between profit centers. The responsible cost center (assigned to the performing organization unit) is credited and the case based order (which is assigned to different profit center) is debited.
Is it possible to implement transfer prices in case the performing organizational units are connected to the same profit center? (because some of departments are subdivided to several medical organizational units; and each unit represents a different cost center at the same profit center/department).
Do you recommend defining a different profit center also for each sub-department?
Do you have any other proposed solution for this issue?.
Thanks,
Yael -
Function module to retrieve the account number linked to an SD invoice item
Hi all,
I should retrieve the gl account number linked to a certain SD invoice item. The
program starts from VBRK and VBRP data. Is there a function module which
enables to get it starting from these header lines? I already used the function
module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
doesn't seem to function properly ( the export table TKOMV doesn't contain a
value for the SAKN1 field ). For the invoices for which the function isn't able to
retrieve the account number, the standard accounting analysis functionality returns
the following message: account determination carried out via KOFI type. So I'm
searching for a function module that's able to retrieve the account number in these
cases also.
Thanks in advance.
Adriano.Dear Adriano,
Try with Function Module 'SD_DETERMINE_ACCOUNT_INVOICE '.
Additional Info:
BAPIs related salesorder:
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
FM:
MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
SD_SALES_ORDER_STATUS_WWW for complete details including the delivery information.
Hope this will help.
Regards,
Naveen. -
Function module to retrieve the account linked to an SD invoice item
Hi all,
I should retrieve the gl account number linked to a certain SD invoice item. The
program starts from VBRK and VBRP data. Is there a function module which
enables to get it starting from these header lines? I already used the function
module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
doesn't seem to function properly ( the export table TKOMV doesn't contain a
value for the SAKN1 field ). For the invoices for which the function isn't able to
retrieve the account number, the standard accounting analysis functionality returns
the following message: account determination carried out via KOFI type. So I'm
searching for a function module that's able to retrieve the account number in these
cases also.
Thanks in advance.
Adriano.Hi
Try using FM SD_DETERMINE_ACCOUNT_INVOICE or WLF_INVOICE_ACCOUNT_DETERM.
Thanks
Sandeep
Reward if helpful -
Hi there
I am in urgent need for a report to be run at day end which states all Invoiced Items and Credit memos -
Thank you
RukshanaHiya
isnt there a standard transaction code i could use for this other than defining a query
thank u,
Rukshana -
I need to find the field that has invoice item unit price. I know NETWR is net value, but I am looking for unit price of each item.
Hi Megan,
It should be VBRP-CMPRE and NOT VBRK-CMPRE.
This field value (VBRP-CMPRE) should be equal VBRP-NETWR/VBRP-FKIMG.
Regards,
Ferry Lianto -
Remove pymt blk-Item specified for invoice reference is not an invoice item
Hi Gurus,
we have posted the credit note with reference to the invoice which has block set "A" (blocked for payment).
Therefore credit note has inherrited the payment block from the invoice.
We have manually removed the payment block from the credit note and clreared it.
Now when they manually trying to remove the payment block from the invoice, it is issuing the follwing error message:
"Item specified for invoice reference is not an invoice item"
Does this mean that we need to set the payment block A to the credit note and then try to remove it from the invoice?
Please assist.
thanks - AnilHello,
This seems to be a configuration issue or you might be entering the wrong details.
This is a standard transaction. IF you feel there is nothing wrong, then search for OSS notes on http://service.sap.com to see if there is a solution to this problem.
cheers,
sushil joshi -
Hi Gurus!!
I need an urgent info!
I have a pricing procedure on CRM I cannot change and my requirement is:
I need to copy Net Value 3 in the pricing procedure on the Net Value field (that it is actually being filled with Total from the Pricing Procedure).
Can you help as soon as you can?
Reward points...Sure - on the item pricing tab i need to have the NetValue3 (from the condition tab) copied over the NetValue field in the picing tab where actually the pricing procedure is copying the TotalValue from the condition. The point is that - it'd be very easy changing it via changing the pricing procedure, but what i need is NOT to change the pricing procedure. So, is there a BADI i can use?
-
Need tables for tracking Invoice Items back to the Batch Numbers/Item codes
Trying to build report to show the Inventory movement from a Sales Invoice Item back to the source items and the Batch Numbers for assigned along the way. Having problems finding all the tables to connect the Batch information to the Invoice information.
In B1 under batch management I can see fields that belong to tables RBTN, RITL and OBTN but I can only find OBTN in Crystal.
Are these tables hidden for some reason or are they Temporary tables that B1 creates when opening the form/report.You may check this: Re: To what table are Batch# saved to with SAP 8.8
-
Is it possible to split invoice Item category wise?
Is it possible to split invoice Item category wise
In trx VTFA (if your billing is sales order based) choose your billing type and SO type, there select your item categories and there select the field VBRK/VBRP data. In that field you will see the currently used routine. With the help of your ABAP guy create a copy of that routine under a different number and add your lines of code. Let's say you use routine 001.
FORM DATEN_KOPIEREN_001.
Header data
VBRK-xxxxx = ............
Item data
VBRP-xxxxx = ............
Additional split criteria
DATA: BEGIN OF ZUK,
MODUL(3) VALUE '001',
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
END OF ZUK.
ZUK-SPART = VBAK-SPART.
ZUK-VTWEG = VBAK-VTWEG.
VBRK-ZUKRI = ZUK.
ENDFORM.
This is how it should look after modification:
Header data
VBRK-xxxxx = ............
Item data
VBRP-xxxxx = ............
Additional split criteria
DATA: BEGIN OF ZUK,
MODUL(3) VALUE '001',
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
PSTYV LIKE VBAP-PSTYV, <- New line
END OF ZUK.
ZUK-SPART = VBAK-SPART.
ZUK-VTWEG = VBAK-VTWEG.
ZUK-PSTYV = VBAP-PSTYV. <- New line
VBRK-ZUKRI = ZUK.
ENDFORM.
After this routine is created and activated place it as the default copy control routine instead of the old ones -
HI Friends,
I have just given all values in VA01 not saved at tht time and before saving i go the Extras -->Output ---> Header -> Print Preview----> i got the form then i back to the screen ... now i save sales order but it giving error " Item Pricing error" if i click on item pricing error button it goes to the sap first screen.
could you please help me in this......
Regards
Venkat bodduMay be fault items where there is no pricing or so.
Check all items and reprice them before save. if they are ok then go to MV45AFZZ and check save document prepare and save document user exits for the message. Also check form and print program.
Last but not least, get the message number and class for the message then go where used list for that message.
Mostly, this message is populated in user exits. -
I have a basic foundation question which is kind of confusing me. Can anyone explain the difference between header & item pricing in sales order/ delivery.
Does it differentiate based on header and item condition types ..and is it like by looking the field used in access sequence(which can have a mix of item and header fields) can one say if a condition type is header or item right??? thanks.Hi Umakanth,
As you know , these condition types used to meet the certain conditions of the business interms of pricing is concerned.
we have different types of conditions,
Condtion type may have,
Header condition (no access seq): this type of condition is allowed to whole document.-this wont appearsin item level
*Item Condition ( access seq will be assigned) : its specific to item
*Header/Item Condition ( no access seq):Manual entry-header condition, applicable to all items, nothing but the amount entered will be copied in all items in the document.appearsin item level.
Groud Condition/Header Condition ( no access seq):
Manual entry- amount entered distributed in all items -
proportionately.appearsin item level.
Hope it helps -
Change A/C Assignment in Invoice item (Ref: Q4-2)
Dear Sirs,
To let A/C Assignment of an invoice item changeable when executing Invoice Verification using MIRO, there must be two conditions as below u2013
1) No valuated goods receipts are defined for PO
2) A/C Assignment is allowed to change for A/C Assignment Cate. in customizing
However, how to change settings for the above two conditions ?
Many Thanks,
KH FongDear Sirs,
Thanks for your reply.
For Condition 1 - No valuated goods receipts are defined for PO, I could then change the A/C Assignment ("K") in Invoice item after inputting "Multiple A/C Assignment" in PO item to let the item become "GR Non-Valuated" and executing GR for the item. My question is that is "Multiple A/C Assignment" the only way to let the PO item become "GR Non-Valuated" ?
For Condition 2 - A/C Assignment is allowed to change for A/C Assignment Cate. in customizing (Maintain Account Assignment Categories), is it controlled by the indicator - "AA Chgable at IR" ? For example, the indicator is checked for "K - Cost center".
Tks,
KH Fong
Maybe you are looking for
-
Multi language AddOn I will like to know were can I find information on how to make a AddOn multi language available. Best regards. Edited by: Jose Villarreal on Apr 21, 2008 5:27 PM
-
I have old email address's I used for iTune music purchases and cannot change password on several old accounts. Now some of the music I purchased I can not download and authorize it on my device. What can I do password security does not match my birt
-
"median count" in a single group by query
Hallo following problem: i use a single group by query to analyze a data table. like "select avg(parameter1), sum(parameter2), count(case when...end) from datatable where ....". Following problem: I want a median of a count without rewriting the quer
-
Defining IP's for multiple sites.
Here is the layout of the site. Port 80 - www.example.com - 1.1.1.1 - Apache IP set to ANY - WORKS fine from outside Port 443 - www.example.com - 1.1.1.1 - Apache IP set to ANY - WORKS fine from outside Port 443 - admin.example.com - 1.1.1.2 - NO Ext
-
Problem in setting image in setbouns size
hai to all iam new to core java i created an application with 4 fields and 1 button name is browse. my problem is image i want to set full image within specified setbounds it is possible in core java thanks please help me