Approval Template by Gross profit Percentage for entire Document
I'm trying to figure out how to create an approval template that would require an approval if the entire Sales order falls below a minimum gross profit percentage. I did find a built in function that I can require approval if any single line items drop below minimum, but I haven't been able to find a way to either select the gross profit percentage or access the needed fields to calculate the GPP.
Thanks in advanced
Hi Nick
You can give an approval template of the gross profit percentage at the document level in the sales order but not at the row level, it will suit if the condition one to one relationship exists. Thought on the queries and formatted searches might help.
HTH
Thanks & Regards
baskar
Similar Messages
-
Sales Analysis - Gross Profit Percentage
Hello,
This is a very basic question that hopefully somebody can help me with.
I ran the Sales Analysis by Customers --> Orders --> for a specific customer. When I look at the detailed report of the Sales Analysis for this particular customer there are two orders. I'm confused by how SAP is calculating the gross profit percentage.
For example, one of the invoices has a sales amount of $76,160.00 and a gross profit of $22,580.00. The gross profit percentage on the analysis is 42.143.
Shouldn't the GP % really be 29.648%? I used the following formula to calculate this: (Gross Profit/Sales Amount)*100.
What formula is SAP using?
Thank you,
AmandaI get it. It's calculating, however, it's setup on that tab.
I've been able to calculate both percentages now.
Thank you so much for your help. I knew it had to be basic!
Thanks!
Amanda -
Table containing the gross profit variables for an invoice
I would be grateful if anyone knows the name of the table that holds the gross profit figures for an invoice as my client has an invoce showing incorrect gross profit figures
Thank you
For you help
ElaineHi Elaine,
Gross Profit figures are based on values stored in the INV1 table (fields GrossBuyPr, GrssProfit, GrssProfSC, GrssProfFC, GrossBase). Then the Gross Profit is computed based on the method set in AdministrationSystem initializationDocument Settings General Tab.
Regards,
Vítor Vieira -
Change profit center for accounting document on item line
HI
I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?HI,
possible reasons are :
In GR document profit center pulled from PO Material :
If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
If you have ordered without material code, than check cost center assigned Profit center by 1KE4 -
Gross Profit Calculation for Documents
Hi,
Can anyone tell me the SQL for calculating the Gross Profit for a document? I have a requirement to create an alert when the Gross profit % is below 20% or greater than 70%.
Many Thanks
MartinTry this:
SELECT T0.DocNum, T0.CardCode, T0.DocDate, T0.DocTotal, T0.GrosProfit, (T0.GrosProfit/T0.DocTotal) * 100 'Profit%'
FROM ordr T0
WHERE (T0.GrosProfit/T0.DocTotal > 0.7) OR (T0.GrosProfit/T0.DocTotal < 0.2)
You can replace ordr with some other table if you do not want to calculate sales order. -
Approval Template based on overdue invoices for a Region
Hi,
We have set an approval template for all overdue invoices which should go to the repsective sales managers for approval.
We have setup two approval templates one for Central region and one for NES region.
The template involves running of the following query and going to the respective manager for approval, however this does not work.
When we create a seperate location wise approval template it works:
Please check and let me know the error if any:
SELECT DISTINCT 'TRUE' FROM OINV T0 and OCRD T1 WHERE T1.CardCode =
$[$4.0.0] and T1.U_AT_PC = 'NES' and T0.DocDueDate <= Getdate() AND T0.DocStatus !='C' AND $[ORDR.CARDCODE] = T0.CARDCODE
Regards,Hi Gordon,
Thanks for your reply!
Actually, we had created the following query as per our requirement for all overdue invoices:
SELECT DISTINCT 'TRUE' FROM OINV T0 WHERE T0.DocDueDate <= Getdate() AND T0.DocStatus !='C' AND $[ORDR.CARDCODE] = T0.CARDCODE
( here the customer name in the order should be equal to the Invoice Table Customer code )
and the location wise query:
SELECT 'TRUE' FROM OCRD T0 where T0.CardCode =
$[$4.0.0] and T0.U_AT_PC = 'NES'
When i tried using this query with the Overdue invoice query the same order had to be approved by the manager twice, which is not acceptable.
The problem in using the location wise approval template with the query, was that the "Confirm Credit Line Deviation" prompts up every time we try to enter a Sales Order.
Whereas we wanted an alert to be prompted to the sales manager once any sales order is entered however if the SO is above the credit limit the sales manager should know about it, which can be achieved if we use the overdue invoice query correctly.
I tried clubbing both the above queries together,but it doesn't work.
Is there a way where you could use one query with an IF clause saying that if the UDF field is U_AT_PC= "NES" then go to NES sales manager if U_AT_PC="Central" then go to Central sales manager.
Please revert
Regards -
Need Report for gross profit anaylsis for the month
Hi gurus,
i need this report coding as the client has not provided me much information regarding this.selection screen.Company code ,plant code,materialcode,material type,period,fiscal year.this report format should be in alv .
Sp pls send me the coding for this.
Urs
pradeepCheck below transaction codes and it may be useful
Customer Analysis- Sales - MC+E
Customer Analysis- Cr. Memo - MC+I
Deliveries-Due list - VL04
Billing due list - VF04
Incomplete Billing documents - MCV9
Customer Analysis-Basic List - MCTA
Material Analysis(SIS) - MCTC
Sales org analysis - MCTE
Sales org analysis-Invoiced sales - MC+2
Material Analysis-Incoming orders - MC(E
General- List of Outbound deliveries - VL06f
Material Returns-Analysis - MC+M
Material Analysis- Invoiced Sales - MC+Q
Thanks
Seshu -
Select same fill color/stroke color but not for entire document
As the title imply's, I am wondering if there is a way to use the "select same fill color" and/or "stroke color" for just a group of objects in a document as opposed to document-wide.
Thanks for any help you can provide!
TonyDid you make the group into an isolation group?
( in the Control bar.)
Or else you can select the objects you want to change, then Select Inverse and lock or hide.
Isolation groups are usually handy for this kind of work though. -
Printing blank pages for entire document
I can see the PDF from within the browser or in Adobe Reader. It also shows in the thumbnail in the print dialog box. But, it prints black pages for each page of any of my documents. From within the web browser (Firefox 3.02 or IE 7), print preview shows it as blank also. I can print form other applications. This is using Adobe 9.0 on Windows Vista. Version 8.0 also stopped working recently, so I upgraded to version 9 to try and fix this issue.
Hi Sanjeev,
Generally, if the report display properly in the browser, it should be also work well when we print the report. And I can’t reproduce the scenario in my own environment. As to this issue, I recommend that you can try to run it in compatibility mode or use
IE explorer to print the report.
If this issue still exists, please try to update the report viewer control to latest release and check this issue again.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hi Experts,
Can you describe to me the GP concept in B1 ? is it changed from old version to newest version ?
Pls advice
Rgds,
RKHi,
Check the help document for gross profit i.e
SAP Business One lets you calculate the gross profit according to the method you define during application configuration. The gross profit for each document row is calculated and then totaled for the entire document.
To calculate the gross profit in a sales document, from the menu bar choose Goto Gross Profit .
Note
Gross profit calculation is only active if you have selected the Calculate Gross Profit checkbox in Administration System Initialization Document Settings General .
End of the note.
Gross Profit of Order Window Fields
Note
This topic includes explanations of some of the fields and other elements in this window.
End of the note.
Base Price By Displays the base price in accordance with the price list.
The default value is defined in Administration System Initialization Document Settings General Calculate Gross Profit Base Price Origin .
If required, you can choose a different price list.
Other additional prices are:
Last Purchase Price u2013 the last price at which you bought the item.
Last Evaluated Price u2013 the price calculated in the last run of the Inventory Valuation report.
Item Cost u2013 the current item cost in the relevant warehouse; see Item Master Data Inventory Data .
Gross Profit SAP Business One calculates the difference between the sales price and the base price for each item in the sales document. If the result is negative, the row is highlighted in red.
Profit % SAP Business One calculates the gross profit in percent.
When you configure the application, you can choose between two different calculation methods:
The gross profit can be displayed on the basis of the ratio of the gross profit to the sales priceof the item.
The gross profit can be displayed on the basis of the ratio of the gross profit to the cost priceof the item.
If you change data in this window, confirm your changes by choosing Update and OK.
Note
When you configure SAP Business One, you can set it up so that an internal mail is sent automatically to specific users when a particular gross profit is exceeded.
End of the note.
Note
If you manage stock using perpetual inventory and the base price calculations are set to Item Cost, the application recalculates the base price if the item cost changes when you copy a base document to a target document.
End of the note.
Note
If you manage perpetual inventory and use the FIFO valuation method, the application always takes the cost of the next available layer, regardless of the quantity.
End of the note.
Example
Qty = 15 Cost = 12 oldest layer (next layer to use)
Qty = 20 Cost = 40
Qty = 10 Cost = 9
If the quantity is 40, the item cost that SAP Business One uses for the gross profit calculation is 12.
End of the example. -
Negative Gross Profit figure - Sales Analysis by Employee
Forum,
I have a system on 8.81 PL08. When running the sales analysis by sales employee and select one employee in particular the gross profit figure is showing a negative value.
Why would this be negative?
The system is currently configured as follows:
GP calculated - Profit/Base Price
The block negative stock option is also selected.
Regards,
JuanHi Juan,
Negative value in the gross profit is due to wrong gross profit calculation in the document. If you get detail of the transaction, you will know why.
Thanks,
Gordon -
Approvals for Service Document
Experts,
I am trying to write a query to use in an Approval Template, that will activate when the user enters an AP Invoice with a document type of Service.
Thanks,
PeterGordon,
Thanks for the quick response. Unfortunately, this query is still not working for me.
- Approval Procedures box is checked
- I'm entering the service AP Invoices logged in as the Originator on the Approval Template
-AP Invoice is selected on the Documents tab
- One Stage is set up
- On the Terms Tab, Undefined Type is checked by default, and the query is selected in the Query Name section
- The document Adds as normal, and there is nothing in the Approval Status Report
Peter -
Triggering of Workflow for park documents based on Document type.
Hi,
I have activated workflow for park documents but it is triggering for all document types. Client dont want workflow for Customer park documents.
I assigned SA document only in "release approval path" but it is triggering for all document types.
Please help me.
Thanks.
AzeemHi Azeem,
We have the same requirement. Would you mind sharing how you were able to accomplish this?
Thank you,
Mark. -
Plant and Profit center wise Turnover and gross profit for the Month for s
Hi
We need a report Plant and Profit center wise Turnover and
gross profit for the Month for selected month and GL's
We are using new GL. but our bi system old version.
SAP_BW -- 7 Patch:SAPKW70015
BI_CONT - 703 Patch:SAPKIBIIP7
Do you have any idea or experiences which data source and data target required to full fill this requirement?
Thanks
Ramana PHi
You need to check if you really the report Plant wise and if yes, then check if the Accounting Transactions are maintained at Plant Level in your source system i.e. in R3.
Ideally it should be Business area or Functional Area or Controlling area which are maintained in Accounting Transactions. You will also the relevant details for these Characterisitics + Profit Center in the NEW GL Accounting data sources.
Cheers
Umesh -
Project with profit center was not created for entire period
Hi everybody,
I need a help with a problem here.
The alert mesage "project with profit center was not created for entire period" was displayed.
Then I searched for the creation dates and the profit center was created before the project gets its firsts postings. Therefore, some line itens don't exist in profit center (ledgers).
My two questions:
The first one, is it possible to input line itens in a retroactive way?
Everytime I need to use the project master data this alert is displayed. How can I fix avoid this message?
Thanks,Hi,
Regarding your issue, it is theoretically possible to reverse all settlements up to the start of the project and then to settle again it
is a must to check in standard if the profit center is valid from the project start date onwards.
Check the attached note 1048945.
The system generates error message KM700 ('Profit center <PRCTR> does not exist for <date>') when you enter a profit center on a project definition if the profit center is not valid in the entire period between the basic start and the basic finish date of the project definition . However, only one warning message should only be generated in this case.
regards
Waman
Maybe you are looking for
-
Report showing open PO's or Orders?
I am trying to find reports in B1 AP and RM modules that will show me all open purchase orders or sales orders. Any suggestions?
-
Consistent gets and physical reads
Hi all, I am tuning a DM SQL query, by comparing execution plans with STAR TRANSFORMATION enabled or disabled. I got the following results: STAR TRANSFORMATION ON 74889 consistent gets 254365 physical reads STAR TRANSFORMATION OFF 1945892 consistent
-
I am currently working on a german report. I need to display the currency values in german format. For example if we have "2,345,223.55" it needs to be displayed as "2.345.223,55". the source of these values are formula and summary columns. I have tr
-
When im rent a movie and I go out to home and return again to see my movie is lost...this problem is with the new update!
-
Although I use H.264 video encoding in Lightroom 3b, importing the resulting video into iTunes 9 gives me a message, "Sorry, iPod touch can't read this format." At the Genius Bar in an Apple store, I was told thru a messenger, "That's because of how