Display all quantity values, buy sales want highest value in same report
Hi
I have slares do num , and item and qty and sales cal month
if i execute based on month i need get top sales value ( i mean higherst values for that report) and quantity need show all values?
if i apply condition top 1 for sales its effecting qty also?
ple let me know what is solution for this, ?
Hi Suneel,
Try with this.....
Keyfigure -
> properties----->calculate single value as---> maximum.
check here....
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1f/25883ce5bd7b1de10000000a114084/content.htm
Hope this will help you.
Thanks,
Vijay.
Similar Messages
-
I need to display all the previous months sales.
Hi Gurus,
I have a requirement were i need to display all the previous months sales.
i.e if a user enters sept 2011, then in report it should display from April 2011(which is the first month of fiscal year).h
and also it should display total sales in another column till that month.
Regards
ArunHi,
Part 2 and Part 3 of the document.
Link: [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f002c608-2533-2c10-25a1-d0e7f7b5b662?QuickLink=index&overridelayout=true]
Link: [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f?QuickLink=index&overridelayout=true]
Documents by 'Surendra Kumar Reddy Koduru' are always useful. Try to go through all of them.
All the best!!! -
Display all pending quotation on sales opportunity window
how display all pending quotation of that customer on sales opportunity window through navigation arrow?
Hi,
Run below query in query generator first and save it under query manger. Open sales opportunity and run saved query to get list of open sales quotation.
SELECT t2.docnum
FROM OOPR T0
JOIN OPR1 T1 ON T1.OpprId = T0.OpprId and T1.ObjType='23'
left join OQUT T2 on t2.DocEntry = T1.[DocID]
left JOIN QUT1 T3 ON T2.DocEntry = T3.DocEntry
where T2.[DocStatus] = 'o' and t2.cardcode = $[OOPR.cardcode]
Thanks & Regards,
Nagarajan -
DP91(RRB) Restrict DMR Billing value to Sales Order Net Value
Hi Experts,
My Requirement is, while creating a DMR using transaction DP91 (Resource Related Billing), I need to restrict the DMR value to the sales order Net Value. i.e If there are already billed DMR'S we should check all the billing documents value, sum it up with present DP91 billing value (Say X). Check it against Sales order net value.
IF Sales order net value is more than already billed value or to be billed value(X), then optimize the DIP items within available billing value (Planning to use bin packing algorithm) and postpone remaining items for next billing cycle.
If Sales order net value is less than already billed value or to be billed value(X), postpone all DIP items for next billing cycle ie dont allow any billing.
I found the Enhancement AD010007 Change DI Processing Information (EXIT_SAPLAD15_015). But it triggers for each item and here sales order related data is not available neither all DIP item data. All DIP data is flowing from WBS assigned in Sales Order item into DP91.
Regards,
MaheshHi,
You can make use of data transfer routines in copy control from billing document to sales document.
Data transfer routine - 403 (FV45C403) is used for copying billing plan dates from from a reference billing document into the target document. This routine can be assigned to the FPLA copy rules for the item category from a billing document to a sales document.
You may enhance this routine to add net value field to be copied into credit memo document. In your case, net amount (100) can be pulled from invoice into credit memo document.
Regards,
Vaibhav -
IN which table stores the Value of sales orders Net Value
IN which table stores the Value of sales orders Net Value
Hi Lakshmi,
Check Following Tables:
CRMD_PRICING_I
CRMM_PR_SALESA
CNCCRMPRSAP00090
Reward Points if Helpful.
Srini. -
OBIEE11g display two x- axis and one y- axis in the same report
Hi All,
Please help me in displaying the two x-axis in the chartview of Same Report.
These two x-axis are having two different scales..
Can we do it in OBIEE or not ? We can do this in Excel..
Thanks in Advance
SrinivasSrinivas,
showing 2 X-axis is not at all possible in OBIEE, if you want to show 2 Y'axis then select 2 measures and convert them into combo (Bar-Line) chart. Also these 2 axis won't be visible in case of only Line chart or Bar chart.
Regards,
Jitendra -
Need selection screen values in Search help user exit in same report
Hi Experts,
I am using Logical Data Base PNP.
Created a custom search help to validate the records for IT000 based on the selection screen dates.
Enter the DATEs for Data Selection Period and Person selection period in the selection screen.
When I for search help for PERNR field in the same report, I need the selectin screen DATE values to be in user-exit of search help.
This will help me in validating the records for specific employees within the date range of given DATE in selectin period.
As of now it's picking the employees based on the DATE selection of selection screen,
Regards,
PrasadHi,
Go Ahead as mentioned by Satyesh T - (Option two).
Reading Select Options from DYNP_VALUES_READ
reffer the above link for getting more clarity for using 'DYNP_VALUES_READ'
Regards.
Arun -
Query to display one row per group based on highest value
I have the following table and I want to be able to create a query that displays only the highest number based on a group. (see below)
Acode
aname
anumber
a
Jim
40
a
Jim
23
a
Jim
12
b
Sal
42
b
Sal
12
b
Sal
3
Acode
aname
anumber
a
Jim
40
b
Sal
42Multiple ways
using aggregation
SELECT Acode,aname,MAX(anumber) AS anumber
FROM table
GROUP BY Acode,aname
using subquery
SELECT Acode,aname,anumber
FROM table t
WHERE NOT EXISTS (
SELECT 1
FROM table
WHERE Acode = t.Acode
AND aname = t.aname
AND anumber > t.anumber
using analytical function
SELECT Acode,aname,anumber
FROM
SELECT *,ROW_NUMBER() OVER (PARTITION BY Acode, aname ORDER BY anumber DESC) AS Rn
FROM table
)t
WHERE Rn = 1
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Display all Acct_No's in a subject line of a Form_letter Report.
Hi Everyone,
I have a problem in the reports.
I have created a report which involves a 'Form_Letter' & 'Tabular' Styles.
In the Subject line of the form_letter_text there is a field selected from database-table-column that is as below:
Sub: Issue of Interest certification against ACCT No.:&<ACCT_NO>.
The above &<ACCT_NO> populates the 'Acct No', when enter the Customer_ID in the report parameter:
This works fine if a customer has only one Acct_No.
The problem arises when a customer has more than one Acct_No.
If a Customer has more than 1 account number; say 3 Accounts;
then in the Subject line, 3 Acct_No's should be displayed.
But I'm getting different letter for different 'Acct_No' in 3 different pages.
I want it to display only 1 page instead of 3pages.
All the Acct_Nos of that particular Customer_ID must be displayed in the Subject_Line when i run the report.
Can anybody help me with this?
Thank You.You can use LISTAGG in Oracle 11g:
with accounts as (
select 'acct1' acct_no from dual
union all select 'acct2' acct_no from dual
union all select 'acct3' acct_no from dual)
select listagg(acct_no, ', ') within group (order by acct_no)
from accounts
ACCOUNTS
acct1, acct2, acct3 -
* in batch field is not displaying all batches based on criteria
Hi Experts,
I've done necessary configuration for batch determination. whenever am issuing goods using MB1A or MIGO, if I put * in the batch field, system is automaticlly selecting the batch . Eventhough that batch number is correct ,but I need, the system to display all possible batches and I want to select the same. how to achieve this.
thanks,
satishHave you maintained any characteristics for batch determination.
If not, then system will not be differentiate between two batches and will pick up any batch when you put *.
However if charactertics are mainatined, system will be allow you to determine batch when you click drop down on batch ni.
Hope this clarifies all your queries.
Regards
Bhavesh Mistry -
BDC(to display all the errors)
Hi Experts,
I am uploading data from flat file to sap application by using bdc call transaction method. My flat file is in Txet format.
Now i want to display all the errors which are nor processed.
The error report should be line no.of error record,error message and the records which are uploading.
i am using bdcmsgcoll structure.but it is not having the fields which are required for me. will suggest me with coding how to do it.
Thanks in advance,
MythilyHi,
By using function module FORMAT_MESSAGE
Here is a sample code:
LOOP AT t_message INTO fs_bdcmsgcoll.(T_message is a type of bdcmsgcoll)
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = fs_bdcmsgcoll-msgid
lang = sy-langu
no = fs_bdcmsgcoll-msgnr
v1 = fs_bdcmsgcoll-msgv1
v2 = fs_bdcmsgcoll-msgv2
v3 = fs_bdcmsgcoll-msgv3
v4 = fs_bdcmsgcoll-msgv4
IMPORTING
msg = w_message
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE:/ w_message.
endif.
endloop.
Hope this solves the issue, let me know if any queries.
Regards,
Rajani -
ASCP should plan production of all lines of a Sales Order in the same IO
Requirement details:
1) We are running an ECC plan in OPM environment (Constrained Classic)
2) There are 20+ manufacturing plants – all are equally capable of manufacturing any item
3) Sourcing rules define the sequence in which plants should be loaded (first plant X, go to plant Y when capacity in plant X is full. Go to plant Z when capacity in plant Y is full… and so on.)
4) Sales Orders are entered in a fashion where 1 SO = 1 container.
5) There are 5-20 lines per sales order (for items A, B, C, D etc). Together, these items constitute a full container load (FCL)
6) The composition of this FCL will vary from one Sales Order to another (e.g., customer 1 takes items A,B,C; customer 2 takes A,B,D; customer 3 takes A,B,C,D)
7) To avoid transfers between plants, all lines of one SO should be assigned to same plant for production – even if that means delaying the shipment. The container will be loaded in that plant itself – instead of transferring it to a distribution center.
As per our understanding, ASCP does not support such a requirement. We attempted the following:
1) Defined following profiles:
MSC: Maximum number of planned orders per demand = 1
MSO: Maximum Demands per Group = 1
MSO: Maximum Demands per Slice = 1
2) Defined Demand Priority Rules:
Schedule Date – 1
Sales Orders, Forecasts & MDS Entries Priority – 2
3) If there are 10 SOs with the same Scheduled Ship Date, they were given Planning Priority as 1, 2, 3 … 10
4) All lines of a sales order were assigned the same ship set.
With all the above settings, we could not achieve our goal. Any suggestions from the ASCP Gurus?Hi Navneet,
Thank you for your reply. To answer your queries:
(1) We have a dummy inventory org mentioned as ship-from org in all SOs (calling it 'dummy' - as physically there is no such IO). This is done because the marketing team does not know from which IO material will be shipped (we do not have GOP in scope).
(2) Sourcing rules mention that a demand in the dummy IO can be met by orgs X, Y, Z etc (each one with 100% allocation, ranks 1, 2, 3 etc). There are no sourcing rules for transfers between X, Y and Z.
(3) The intent is to fulfill a SO from single org with none of the items internally sourced from other orgs.
Regards,
Parikshit -
Displaying All Values from a Multiple Value Parameter
Hi,
Using XI, I have a parameter field that allows the user to enter multiple values Eg. 01, 02, 13, 14. I want to create a formula to display all the values the user has selected.
Is there a way to do this?
Thanks,
Brianjoin({?Parameter},",")
creates a string with the items in your parameter separated by commas -
How to display all value of metadata from nodes collection model in content presenter template
Hi All,
first of all the new look of OTN is great.
coming to problem i am facing (i dont know whr to ask here or in portal forum).
i am creating a content presenter template to display list of items.
now as per requirement i need to create a drop down to filter the list.
now while check- in a file author would choose a value in one metadata field lets say xCategory(which is a single select list).
i have to display similar category list on portal to allow user to filter list.
i could hv used view of xCategory but problem is files are targeted to role using ACL. so u see i cant display all category to all users.
also customer wants this whole thing to be Dynamic i.e. they can add value of xCategory later that to could be only for specific role (on portal it should be role specific , author can see whole list not a problem there).
so what i think is if content is given as search result so the category. so now if i can get the all xCategory metedata from 'nodes' collection model in template i can create drop down with out having any additional bean.
somthing like this
#{nodes.xCategory} (but this one is not correct).
please suggest me any solution.
thanks
-someshHi,
you can do all of what you said with JSF. ADF Faces provides drag and drop functionality (have a look at the Web Developer Guide) that allow you to move nodes within a tree. The drag and drop framework sends an event notification to the server with a reference to the changed node.You can also have context menus on a tree node to help users creating, deleting and editing a tree nodes. JavaScript isn't required at all, even if you wanted to drag and drop a row in a table on top of a tree node to create a new tree node.
I just finished a book project in which we explained this usecase. As soon as I find the time, I'll follow up with a blog entry on this as it seems to be a common requirement. However, as mentioned, the web developer guide on OTN explains drag and drop in ADF Faces pretty well.
However, if you choose the "Search" link above, choose JDeveloper and ADF as the product to search for and type drag and drop as the search string, then you get lots of code sample posted in the past to this forum
Frank -
How to Add a New Filter Value in BEx WAD to Display All Result
Hi experts,
I want to add a new filter value in BEx WAD to display all data records. The scenario is as follows:
The status field can have two values: Active ("A) and Inactive ("I").
But the requirement is to have a third value to display all the data records (Active + Inactive). E.g. the value can be "G". The purpose is to increase the understandability for report users.
Does anyone have an idea?
Regards,
JoonHi Vineet,
thanks for your reply. The problem is that there are only 2 values available for this Characteristic: "A" or "I".
The requirement is to have a third value "G" (instead of the default "All Value") due to historical reason, because all future report users have been working with R/3 reports for quite some time and they are accustomed to using "G" for displaying all values.
Is there any possibility to realize this?
Thanks,
Joon
Maybe you are looking for
-
Apple Start page no longer works with Safari 1.3.2?
I just set up an iBook G3 with Mac OS X 10.3.9, with all updates, and opened Safari, which is set to got to the Apple Start page initially: http://www.apple.com/startpage Safari loads the page, but two areas are blank: the "Hot News Headlines" in the
-
Apple TV2 Just Disappeared from Remote app on iPad and iPhone after latest Remote app update
I Have used Remote app on my iPad and iPhones to control my ATV1, ATV2, and ATV3 for years. After the latest Remote app update ATV2 has disappeared from tRemote, and I can no longer find a way to connect it. Any advice about this?
-
Does anyone know how to fix my problem so I can do stuff with my email? Thank you so much
-
One of my apps (condition report app) has decided to only display on the top right hand corner which is only a quarter of the screen, not sure what has happened as i have not changed any settings went to go into it one day and it was just like it. Pl
-
Issue with informatica 8.1.1 sp4 installation
Hi All, Here is the Issue. I am trying to install informatica server 8.1.1 SP4 patch and already installed informatica server 8.1.1. After installing 8.1.1 SP4 patch few minutes, it asking for insert new media. "Pls insert new disk1 or select Browse