Profitability analysis using sales order data
Hi all,
I'm looking for a report or ideas on how I can get a report showing the gross contribution based on information as shown on the conditions tab in the sales order.
What I'm trying to achieve is either a 'live' review of profitability for each line item on a sales order, or a daily report so we can identify any materials sold below our benchmark gross contribution.
I'm be interested to hear of any other users that have implemented something similar and how this has worked for them.
Many thanks,
Greg
Yes of course.
Here they are:
SELECT 1 as RecordKey, 'C.06160' as CardCode , 120 as series , GETDATE() as Docdate, GETDATE() as DocDuedate
SELECT 1 as RecordKey, 'HBBC-001' as ItemCode , 1 as Quantity , 215 as Price , GETDATE() as Shipdate, GETDATE() as RequiredDate
Aris
Similar Messages
-
Fetching the sales order data using both system status and user status
Hi,
Could any one tell me how to fetch sales orders using both system status and user status.
My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
Early replies are appreciated.
Thanks
TanveerHi,
The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
Regards,
Dipesh. -
FM to get the sales order data using GI as input
Hi Friends,
I am looking for a way to read the sales order data (document no. )using the Goods issue document no as my input.
basically reading the Docflow in the opposite direction i.e GI -> SO .
If you can suggest a FM which can do so it would be really helpful.
Thanks,
Poonam.Hi Poonam,
Not FM but I can tell you the Std. way.
Go to SE16 --> Table VBFA --> Enter your goods movement document list in field "Follow-on doc." --> In the feild "Prec.doc.categ." --> choose "C Order" --> Execute
Hope it helps,
Regards,
MT -
Using of sales orders data in CRM in Trdade promotion managemnet?
hai
can we use the sales orders data in CRM for the cubes Trade promotions management in BW-BPS for calucating the uplift volume?
can any body tel me how this uplift volume calculates.Hi Kallis ,
Refer this
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fbiw%2fs-u%2ftrafficLightsforTradePromotion.pdf
or just search for Traffic lights for Trade Promotion on home page of SDN with options as all to get the PDF version.
Assign points if it helps
Cheers
Raja -
Hello,
I'm seeking to enable in BI a Cost Analysis Scenario with repect to the <b>Sales Orders</b>. That is, something similar to the analysis you can easily perform in the R/3 area <i>Accounting -> Controlling -> Product Cost Controlling -> <b>Product Cost by Sales Order</b></i>.
For instance in standard report KKBC_KUN, you can choose a sales order number and get all the <b>cost elements</b> related to that sales order, with the corresponding costs.
I have examined the following objects provided by the BW's Business Content:
- <u>InfoCube 0PC_C01</u>: it contains only the costs related to <b>production orders</b>, and not the costs associated with sales orders.
- <u>InfoSource 0CO_OM_CCA_9</u>: it seems interesting, in fact it delivers some header and line item data of the <u>Controlling Object Document</u>. Unfortunately it doesn't deliver the crucial characteristics <i><u>Controlling Object</u></i> and <i><u>Controlling Object Type</u></i>, which I definitly need for enabling my analysis scenario!!
(By the way, are these 2 characteristics delivered by the BC? There exists a 0COSTOBJ characteristic, but it's not used by any object in the flow afterwards. Moreover, I can't find a standard DataSource in R/3 which I can use to load either its attributes or its texts, and see what data enter it..)
Business Content for Product Cost by Sales Order), but none could help me.
It seems really weird that it's not possible to carry out a <b>Cost Analysis by Sales Order</b> in BW, so if anyone has some suggestion it'll be very appreciated indeed.
Thanks & Regards, DavideI eventually found the following SAP Note. No BCT for this analysis scenario....
<b>Note 584791 - BW-BCT-CO: Costs not extracted on sales orders</b>
<b>Symptom</b>
In R/3, costs are posted directly to sales orders. The costs have to be analyzed in the BW system. In the standard system, however, this data is not extracted into the BW system.
<b>Other terms</b>
0CO_OM_OPA_1; 0CO_OM_OPA_6
<b>Solution</b>
1. There are currently no DataSources for costs on sales orders in the standard BW Business Content. Unfortunately, there are currently no resources scheduled for a new development in this area either.
2. Therefore, the DataSources and the Business Content must be created in the customer project within the framework of consulting as a customer solution concerning the generic extraction options of the BW Service APIs or function modules you have programmed yourself for extracting data.
3. Technical background information about costs on sales orders:
The transaction data is available in the following R/3 tables
COSS and COSP - Totals records or COEP - Line items.
This concerns records for the VB* object numbers.
The master data of the sales orders is contained in the VBAK and VBAP tables.
The 0CO_OM_OPA_1 and 0CO_OM_OPA_6 DataSources only extract costs for orders with master data in the AUFK table. These types of requests always have OR* object numbers. Therefore, these DataSources cannot be used for sales orders.
However, you may be able to assign requests from the AUFK table (for example, maintenance orders or production orders) to a sales order through the AUFK-KDAUF table field. -
Change of partner analyse in sales orders
Hello,
I changed the partner analyse for sales orders and added a new mandatory partnerrole.
In new documents the partner analyse works fine, but in the existed sales documents I cant´t see, that a mandotory role is missing.
How can I see that this role is missing in the exsting documents???
Thanks for info
NicoleYou can create a custom report but there is no standard way to do this.
When a document is created in SAP, it is a "snapshot" of that configuration, master data, and information as it exists when the document is created. On the SD side there are a few things you can influence, for example, SAP contains some standard tools for mass updating of pricing information. Most of the document exists in its unchanged state though.
You *may* be able to use VA05 and do this (although I doubt it, no system in front of me right now). Other than that transaction or a custom report there really aren't a lot of options.
If you are familiar enough with the tables, you can do a "quick view" or an ABAP Query to get the info. However the SAP partner table is recursive so to avoid getting lots and lots of duplicates you will either have to add some code to a full query, or do offline manipulation of the data.
If you're looking for soild SAP experience to help through some of these hurdles, please contact me.
Bill Wood - President
R3Now Consulting
http://www.r3now.com SAP thought leadership!
Platinum SAP Solutions
(704) 905 - 5175
http://www.linkedin.com/in/billwood -
Account determination analysis in sales order
Hi there,
in a sales order processing (VA02/VA03) I'd like to know which accounts will be determined prior to invoincing it.
I find the "account determination analysis" tool through the menù path: "Environment" -> "Analysis" -> "Account Determination" (FCODE = 'KTPR'), but it shows an empty screen
The same tool shows the desired data during an invoice processing (VF02/VF03).
How can do to see the account determination analysis in sales order processing, and not in invoice processing ?
This tool shows an empty screen even if the order is invoiced, or not.
So I'm asking: which is the meaning of this tool inside sales order processing ?
Hope I've explained correctly my problem.
Thanks in advance.
AndreaHi Nagaraj,
the sales order amount is > 0, but the account determination analysis tool still show me an empty screen
It seems this tool runs only into invoice processing.
I try to follow the ABAP debugger and at a certain point it uses the "account determination procedure" (KOFI00), that in the sales order is missing ... maybe this is the problem ...
Best regards
Andrea -
Results analysis for sales orders- actual costs/ revenues - (kka3-kkak)
Hi, i have a problem when I execute the individual results analysis for sales orders (kka3) I can see actual revenues and actual costs, however when I execute the collective processing (kkak) for the results analysis I don´t see these (actual revenues and costs). Is it normal? How can I see these in the collective processing?
Could be one of these possibilities:
1) Controlling Area set is wrong
2) You're input parameters are insufficient to get that sales order. Check Order Type etc you input in the main screen
3) The master data is wrong which is not allowing the link to the Sales Order. You would have to check each field thoroughly.
You will have to probably do a lot of checks before you resolve this. This isn't normal btw....you should see all Sales Orders
Assign Points if useful.... -
Hi,
Can any one please help on identifying the table used for retrieving Open sales order data for a particular period, My requirement is to take the Volume of open sales order for Data migration volume assessment
Please help on this
Thanks
Rajesh.Rhello, friend.
a standard transaction is VA05 or VA05n to check on open orders.
if you need to check the database tables, you can check sales order status/header thru table VBUK. for item level, use VBUP. you will find fields such as reference status, delivery status, etc.
regards.
jy -
Results Analysis on Sales Orders
Hi Fellows,
When i am running the results analysis for Sales orders using KKAK transaction , I do not wish to see the WIP items with 0 Values.So i selected the option " Hide Orders with 0 values in Results List ".
However I am still getting the WIP items with 0 Value.
I saw the help for this and it says
" Note: In some cases individual objects may still appear in the list when both the column "Reserves for unrealized costs" (reserve for unrealized costs + reserve for complaints/commissions) and the column "Reserves for imminent loss" are a sum of multiple value fields and these value fields are checked individually for zero value ".
From the above, I came to the conclusion that the 0 value items may still come even if we check the box.
However from the above note, can anyone tell me where i can check the " Reserves for Unrealized Costs " and " Reserves for Imminent Loss " and also how can i know what are the value fields which are adding up to these columns.
Also it says the Value fields are individually checked for zero value.
Where can i see the Value fields associated with this Results Analysis and where can i see if the Value fields are assigned a value of zero.
Please let me know if you have any thoughts on this..
Thanks in advance..
SrikHi,
Check whether Note 501915 - Creation, cancellation, and usage of reserves would help.
Regards,
P.S: Please post this question in FI/CO forum so that you can get answers quickly. -
Credit card handling using sales order change BAPI
Hi all,
Currently, I am working on creating a custom BAPI for changing the sales order information. I am having a scenario where I need to handle multiple credit cards during the change of the sales order data. For example, if I have created a sales order with a credit card A and a bill amount of 100. Now, in the change BAPI, I need to handle the situation like I would be getting two credit cards data out of which I need to Bill against credit card A with 200 and credit card B with 300. I need to see the entries in the sales order processing in the following fashion:
During the creation:
Credit card type Credit card number Maximum amount Limit To
AMEX A 100 Flag checked
After performing change order:
Credit card type Credit card number Maximum amount Limit To
AMEX A 100 Flag checked
VISA B 300 Flag checked
AMEX A 100 Flag checked
Which implies that I am billing 200 against card A and 300 against card B.
I want to acheive this functionality. Can any one throw some light in order to accomplish my task?
Thanks in advance,
From,
Adithyai already used same But it's not working
s_order_header_inx-updateflag = 'U'.
Line items
REFRESH: i_order_item_in, i_order_item_inx.
LOOP AT t_data INTO wa_data.
LOOP AT t_data_item INTO wa_data_item WHERE vbeln = wa_data-vbeln. .
BAPISDITM
i_order_item_in-itm_number = wa_data_item-posnr.
i_order_item_in-profit_ctr = wa_data_item-profit_ctr.
BAPISDITMX
i_order_item_inx-itm_number = wa_data_item-posnr.
i_order_item_inx-updateflag = 'U'.
i_order_item_inx-profit_ctr = 'X'.
APPEND: i_order_item_in, i_order_item_inx.
ENDLOOP.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_data-vbeln
IMPORTING
output = wa_data-vbeln.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = wa_data-vbeln
order_header_in = s_order_header_in
order_header_inx = s_order_header_inx
behave_when_error = 'P'
TABLES
return = it_return
order_item_in = i_order_item_in
order_item_inx = i_order_item_inx. -
How to transfer Sales order data from R/3 to APO!!
Hi Techies,
I am in the process of moving some sales order data for a particular mat/loc combination in cfm1 after creating a integration model iam even activating even in R/3 but after doing this iam not able to view those sales orders in RRP3 t-code IN APO side.
Kindly let me know what is the procedure to transfer transactional data from R/3 to APO and to do enhancement in CIF which carries Transactional data .
Problem solving answers would be rewarded duly !!.
+PKP.Hi PKP,
The field SPEC_STOCK has the description "Key for Special Stock Section" and is linked to schedule line of the PO. This seems to be something linked to special stock, but I am not very sure about the relevance of this field.
I do not see any related field when I check the order in RRP3 or in RRP2. In standard SAP, you would only be able to use the fields that are already visible in APO. Otherwise you need to add the field to the standard SAP t-code display (read the value from SOMEWHERE and then display it in RRP3. This is possible using Badi /SAPAPO/RRP_IO_COL). Then only you can see the values which you have populated.
If this field SPEC_STOCK already has some functionality (which it should have, though I am not sure what it is), you might not be able to use it for other purposes (since system does some validations for certain fields).
You are updating the value for this field in IT_OUTPUT internal table, you also need to add an X in the corresponding field in the internal table IT_OUTPUTX.
You could try putting this X, so that your changes are considered in CIF, but I am not sure what the impact may be, and you could get a dump also possibly. Even otherwise, since this field doesn't seem to be visible against a PO in APO, I am not sure if this would be helpful for you.
As far as I could see, I did not find any standard field which could be helpful for you.
May be if you open a fresh thread and ask for advice on how to send any custom comments for PO to APO, someone could provide some inputs.
Thanks - Pawan -
BAPI for Create PO from Sales Order Data and POST GR from PO created
Dear,
Can u help me how to create BAPI for Purchase Order creation from sales order Data
what the bapi to Post GR from the PO created.
Regards,
ManojHello Manoj what you have to do to create PO from PR is that
1) Use BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
2) Use BAPI_REQUISITION_GETDETAIL to get PR items
3) Use BAPI_PO_CREATE1 to craete PO from PR then.
to create goods movement you can use
BAPI_GOODSMVT_CREATE
REWARDS IF USEFUL. -
How to get sales order data in R/3. Any FM?
Hi ,
Is there any FM in R/3 to get sales order data.
In CRM we use CRM_ORDER_READ to get the Header and Item details. Like wise FM in R/3 is required.
Actually I have to test 'Usage' in sales tab of VA01/VA02/VA03.
How to get the order details? what is the user exit for ORDER save?
If any body knows please do let me know.
Thanks and Regards
HarishHello Harish,
Please use BAPI_BUSPROCESSND_GETDETAILMUL to read details of sales order. This works as a remote enabled counterpart of CRM_ORDER_READ.
Similarly if you want to display sales order from R/3, use FM BAPI_BUSPROCESSND_DISPLAY.
Regards
Kaushal -
Exit for Moving sales order data to Purchase order
Hi All,
I have a requirement where sales order data needs to transferred to Purchase Order.
We have few custom fields in EKKO table YY SHIP_DATE, YYMOL etc....When a sales order 3rd party is created a PR is automatically created.Based on this PR(Purchase Requistion) we are creating a PO(Purchase Order) and the custom fields needs to be populated from the sales order.
I have checked the Exit V45E0001 Update the purchase order from the sales order.Its of no use for us as all our fields are custom fields..Please help..
Thanks.Hi,
>>>,if an error occurs while creating purchase order in ecc6.0
one very easy and all standard
set up workflow in receiver ECC and put a user group in WE20 for this logical system that receiver the sales orders
then in standard when there is an error with IDOC in the inbound
a mail will be send to the user group (and you can put as many users in this group as you wish) and they will all receive this error
this would be the easiest idea and all in standard
Regards,
Michal Krawczyk
Maybe you are looking for
-
When I scrolled text became very small and I do not know how to get it back to normal
I don't know what happened. I was moving my mouse over the screen and the text kept shrinking, until it's so small you can barely read it. I don't know how to get it back to normal size.
-
Transfering VHS & 8mm to disk - .avi, .mpg. or whatever
Looking to transfer old tapes to .avi files or Xvid, or .mpg from VHS and 8mm tapes. Not professional grade, I just have some old shows like New Yankee Workshop that I taped and I want to compress them and dump them to disk. I want small files, not f
-
Number range for payment advice note for Incoming payment
Hi Where do we maintain the number ranges for internal generation of payment advice note? Regards Sanil K Bhandari
-
Im a student and I do not own a credit card, I find out if i can use debit card instead of credit card to purchase apps.If the answer is yes can you explain how please. Thank you
-
Regarding inbound synchronous proxy
Hii All, Can anyone help me regarding inbound synchronous proxy (request-response scenario) Regards, Raj