How to Create a Selection Variable for restricting the querry output
Hi Gurus,
I have created a query in query designer on a Multiprovider and the output of the query is a Formula in a structure which calculates a % value, the client is looking for entering a range of number during the query selection screen and the output should be restricted to the given selection values.
Can any one tell me how i should create a selection variable that would take the input from the user during the query selection screen and then restrict the output to that value which user specified.
Is there a need to write any customer exit or is there any alternative way to make the query work as the requirement is.
I hope this explains my problem but if any questions please let me know so that i can give u specific information.
Thanks,
Nisha.
Hi Nisha,
Firstly, in order to restrict the query output by a key figure value, you will need to create a condition on that key figure. This is done in the query deisgner. Now when you are creating the condition you can also use user entry variables (formula variables with user entry) to let the users enter the value that they want to see.
See here for more details:
http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/content.htm
Hope this helps...
Similar Messages
-
How to Create a selection variable for Fiscal period/year range
How to Create a selection variable for Fiscal period/year range. The idea is to filter the query results using a fiscal period/year range user input rather than a full fiscal year input.
Hi Priya,
Open the query in a query designer -> in the left hand side you would find the fiscal year period under the time dimension -> right click -> create variable -> create the variable.
The better option would be use any of the SAP provided variable. You would find them under the Fiscal year period in the left hand side in the query designer.
Bye
Dinesh -
How to create a 0FISCPER variable for [last period of current year]
Hello,
Can anybody tell me how to create a (exit) variable for the last period of the current year, based on 0FISCPER ?
Based on a single value, user entry variable based on 0FISCPER.
I did not find any standard (business content) variables for this.
Can anybody tell me whether the following alternative works:
variable 0P_BA102 (last period pervious year) with offset of +12
Kind regards.Hi,
It should work.
You can refer to the following link:
http://help.sap.com/saphelp_sm32/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
Regards,
Amit -
How to create column selection variant for VA05?
Hi Experts,
How do I create column selection variant for VA05?
Thanks,
SachinHi,
Goto SU3, enter user name and press enter
goto parameters tab, enter parameter ID SD_VARIANT_MAINTAIN and parameter value 'A' and save.
Now check in VA05, you will get save button in active mode.
Regards,
Chandra -
How to create a custom variable for a Label?
i need my label to store a string variable in it, do you know i can create a custom variable for it.
i mean for example if it's name is "StoredString" i can access it in my code by "label1.StoredString" just like "Label1.text" or something like that.Thanks for pvdg42's help.
Hi soorena12,
Based on your issue, I suggest you can try the pvdg42's suggestion check your issue in your side.
If it still could not help you solve this issue, I suggest you can tell me which kind of application you create the label in the VS IDE?
What language you use to create for your application?
If you have any update message about your issue, please tell us.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to create boolean selection variable
hi experts,
i need a selection variable (which can be a boolean).
depending on the value of ythis variable, i would like to adjust calculation of number of worked days in the month with taking/or not into account current day in this calculation...
i already implemented exit for this calculation, but i don't know how to create this variable without changing anything in the infocubes...
any idea?....
DevHi,
once u solved it with your own please post it...share the knowledge to others who are facing the same issue.
Thanks,
Chinna. -
How to create a text variable for Calender Yr/Month depending on the prompt for calendar year
Hi everyone
Please assist on this issue:
i have created a Bex report that has an offset for 12 months from the current calender month, i tried to use text variables to replace the calender months but i just learned now text variables from Bex dont work in BO, so I would like to create a prompt in BO to enter Calendar Year and then based on the input(Calender Year) the Webi report must display a 12 months for that Year.
Please also indicate where exactly i have to click in order to get that "Helpful icon " when the my issues have been resolved, because i searched it and havent seen it anywhere on the communications
Thanks in Advance
OleHi Gill
In BO I recieve my all months for existing data and when i create a prompt for Calender Year the months in the report still has those text varibale for exampl if i enter 2011 on the prompt the text remains for the year that was already there wen i created my text variable... so its not dynamic.....
So if i have text variables in Bex it will display like this in Webi in which it wont change if i put in 2011 as input for the prompt... -
How to create own Selection Parameter for ME2M list
Dear Sir,
We use ME2m tcode for getting list related to Purchase Order . We have been told that we can create our own "SELECTION PARAMETER" for ths report . Kindly guide us as what steps need to be done for this pl .
With Thanks and Regards
Sonia Mittalyou can also set a variant for the existing / default ME2M screen
fill all the required entries then click on GOTO >>Variants >Save as Variant
next time when you run T code ME2M, you can select the variant and run the t code
hope this will help you -
How to create a 'System'variable to identify the system from merged dimension
Hi,
I have a webi report with merged dimensions on users and
roles. Users and Roles are coming from 3 different systems (ECC,BW,BOBJ). Now,
I don’t have the system field available in the queries to filter by the system.
So, I would like to create a variable for system where I want to be able to
identify the system (like ECC,BW,BOBJ) based on the merged “Role” dimension.
Could someone tell me , if it is possible to do that? And if so, how do I do
that? (I tried, but it's not working for me) I really appreciate your help.
Thanks,
Charvi.HI,
You can not use inlist operator here.For inlist static values are required for comparison.I know this is not a solution for you.
For to use match operator you have to use multiple else-if conditions.I know this is time consuming but if you can not do anything from BW side then use like below formula.
=If(Match([Role];"FRP.*")) Then "ECC" ElseIf (Match([Role];"HRP.*")) Then "ECC" else"BW"
Add more conditions in the formula and if you are sure in your report there are only three type of roles.Then define condition only for ECC and BW systems in the variable and rest mark as else BO.
Thanks,
Amit -
LSMW me51n, how to create one PR document for all the records in the file
HI all,
I need to create LSMW for t-code me51n -Create Purchase Requisition. I`m using Bapi BUS2105, method CREATEFROMDATA, idoc message type PREQCR, basic type PREQCR03. The problem is that the LSMW is creating different idoc and different PR document for every record in the source file. My requirement is to create one PR document for one source file (Every source file is different Purchase Requisition) . I`m trying to do this with writing some code(global functions ) in the 'Mapping and conversion rules' events - BEGINOF_TRANSACTION_, ENDOF_TRANSACTION__..., but i`m not very sure what exactly i`m doing .
Please help me resolve this problem, any help will be appreciated .
Best regards, Emil Milchev.Thank you for you answer.
But I have found faster way of doing it - two source structures, one HEADER and ONE ITEM.
HEADER: one empty text field and identificator for it.
ITEM: everything else.
Then everything was just fine, i`ve mapped the different IDOC segments by PREQ_ITEM fields (equal values in the source file : 10-10-10..., 20-20-20,.... etc.) and put all required fields for my LSMW
SOURCE FIELDS:
Z_ME51N_V2 - MASS_UPLOAD - CREATE create
Source Fields
UPFILE upload file
IDENT C(010) ident
Identifing Field Content: header
TEXT C(001)
UPFILE2 123
IDENT C(010) ident
Identifing Field Content: item
BSART C(004) Document type
BANFN C(010) Purchase requisition number
BNFPO_FOR_MAP N(005) Item number of purchase req. for MAPPING acc.
BNFPO N(005) Item number of purchase requisition
KNTTP C(001) Account assignment category
PSTYP C(001) Item category in purchasing document
MATNR C(018) Material Number
WERKS C(004) Plant
LGORT C(004) Storage Location
MENGE N(013) Purchase requisition quantity
EKGRP C(003) Purchasing group
KONNR C(010) Number of principal purchase agreement
KTPNR N(005) Item number of principal purchase agreement
LIFNR C(010) Desired Vendor
FLIEF C(010) Fixed Vendor
AFNAM C(012) Name of requisitioner/requester
PREIS AMT4(011) Price in purchase requisition
ABLAD C(025) Unloading Point
WEMPF C(012) Goods Recipient
PS_POSID C(024) Work Breakdown Structure Element (WBS Element)
KOSTL C(011) COST_CTR v bapito ?
NAME1 C(040) Name1 - Name of an address
NAME2 C(040) Name2 - Name of an address 2
STREET C(060) Street
DELIVERY_DATE C(008) Date on which the goods are to be delivered
TEXT C(132) item text
STRUCTURE RELATIONS :
Structure Relations
E1PREQCR Header segment <<<< UPFILE upload file
E1BPEBANC Transfer Structure: Create Requisition Item <<<< UPFILE2 123
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt <<<< UPFILE2 123
E1BPEBANTX BAPI Purchase Requisition: Item Text <<<< UPFILE2 123
E1BPESUHC Communication Structure: Limits <<<< UPFILE2 123
E1BPESUCC Communication Structure: Contract Limits <<<< UPFILE2 123
E1BPESLLC Communication Structure: Create Service Line <<<< UPFILE2 123
E1BPESKLC Create Comm. Structure: Acct Assgt Distr. for Service Line <<<< UPFILE2 123
E1BPESLLTX BAPI Services Long Text <<<< UPFILE upload file
E1BPMERQADDRDELIVERY PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPMERQADDRDELIVERY1 PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPPAREX Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT <<<< UPFILE2 123
MAINTAIN FIELD MAPPING AND... :
the MAPPING between two IDOC`s segments:
In first segment:
E1BPEBANC Transfer Structure: Create Requisition Item
Fields
PREQ_NO Purchase requisition number
Source: UPFILE2-BANFN (Purchase requisition number)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_NO = UPFILE2-BANFN.
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO (Item number of purchase requisition)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_ITEM = UPFILE2-BNFPO.
In second segment :
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt
Fields
PREQ_NO Purchase requisition number
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO_FOR_MAP (Item number of purchase req. for MAPPING
Rule : Transfer (MOVE)
Code: E1BPEBKN-PREQ_ITEM = UPFILE2-BNFPO_FOR_MAP.
After that everything was OK . -
How to create a global property for all the reports in Oracle BIP
Hi,
I am a new guy to Oracle BIP. I have a set of reports which is running perfectly. But now, I have to create a property something like this:
If(bproperty)
else
I do not want to have a property for each of the reports but this should be a global one for all the reports.
Please help. Your help is greatly appreciated :)
Thanks,
KarthikHi,
I am a new guy to Oracle BIP. I have a set of reports which is running perfectly. But now, I have to create a property something like this:
If(bproperty)
else
I do not want to have a property for each of the reports but this should be a global one for all the reports.
Please help. Your help is greatly appreciated :)
Thanks,
Karthik -
How to create a Node variable without fetching in Char Restriction.
Hi Expert - I got the refrence from this thread - [Hierarchy variables in webi / Universe;
to create a node variable for hierarchies.
Requirement - the characteristic on which you want to create a node variable must not be in Default section and in Free Characteristics Restriction
But - if we fetch any characteristic in free characteristic then it will appear in Default value section. I donu2019t want that , I donu2019t want that in Default Value section. how can i get this ?
Also I need to create a node variable on profit center characteristic it without fetching it into Free Characteristics Restriction, Can I do this? How ?Hi Ingo - Thanks for your valuable input.
After putting much efforts - here is result. I fixed my hierarchy , means now there is no hierarchy variable , And i just create a node variable by putting it into Bex characterstic restriction. - But it looks like this in Universe.
LovHierNodeL00 G/L Account
LovHierNodeL00 G/L AccountBase
LovHierNodeL01 G/L Account
LovHierNodeL01 G/L AccountBase
LovHierNodeL02 G/L Account
LovHierNodeL02 G/L AccountBase
LovHierNodeL03 G/L Account
LovHierNodeL03 G/L AccountBase
LovHierNodeL04 G/L Account
LovHierNodeL04 G/L AccountBase
Is this correct- ?
What i feel is correct - it should look like this -
LovG/L Account Node Variable
LovG/L Account Node VariableBase -
How to create a new row for a VO based on values from another VO?
Hi, experts.
in jdev 11.1.2.3,
How to create a new row for VO1 based on values from another VO2 in the same page?
and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
How-to declaratively create new table rows based on existing row content (20-NOV-2008)
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
I have tried:
1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
3.add: Create insertinside Createwithparams->Nameddata(amount),
4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
java.lang.NumberFormatException: For input string: "Amount"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
Can anyone give some suggestions?
Thanks in advance.
bao
Edited by: user6715237 on 2013-4-19 下午9:29Hi,CM,
I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
My principal requirement is as follows:
1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
--so it's better to implement it in UI rather than in EO.
2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
--little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
In order to get full information for the requirements of my use case, can take a check at:
How to set default value for a VO query bind variable in a jspx page?
(the end half of the thread: I have a more realworld requirement similar to the above requirement is:
Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
Regards
bao
Edited by: user6715237 on 2013-4-19 下午11:18
JAVE->JAVA -
Hi Experts...
Can you please explain me how to create a Text variable...
In my Cube i had 3 different date fields....
and as per my requirment i need to create a rolling report for which will display data for 6 months rolling.
As the date field which i need to use is not mapped to Time Char's (Cal Year,Cal Month...etc)
For that reason i created below customer exit variable and used offset variables to achieve the rolling 6 months report
Code used for Customer Exit VAriable:
WHEN 'ZC_Cmonth1'. " Current Cal Month Car Expiry
IF i_step = 2.
CLEAR l_s_range.
determine date
LV_SYDAT = SY-DATUM.
LV_YEAR_ACT = SY-DATUM+0(4).
LV_MONTH_ACT = SY-DATUM+4(2).
Set begin date of intervall
CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '01' INTO LV_DATE_LOW.
Set end date of intervall
CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '31' INTO LV_DATE_HIGH.
Fill ranges-tab with: include all values between beginning of year
and actual date
CLEAR E_T_RANGE.
CLEAR L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
L_S_RANGE-LOW = LV_DATE_LOW.
L_S_RANGE-HIGH = LV_DATE_HIGH.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
Now i need to create TEXT VARIABLE that will display the Month Name in the column name
Please update in detail step how to create a Text VariableIn your specific requirement select the which ever the keyfigure you want to analyse, go to edit mode of keyfigure propeties there select the newvariable type and create the Text variable by maintaining the proper offset start and length and also maintain the in whcih format u want see the month name in column headers. Maintain the Text format or key format. it totally depends on u r requirement.
Hope it will help ful for u.
Bye,
Chandu. -
How to create a daily report for sales order
hi
how to create a daily report for sales order. what fields it must consists of. what are the tables it need?Hi
You have to use the sales order tables VBAK,VBAP and VBEP
So keep date field on selection screen
and treat this date as Order creation data audat field in VBAK.
based on this fetch the data from VBAK and VBAP with the following fields like
VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS etc and display in the report
<b>Reward points for useful Answers</b>
Regards
Anji
Maybe you are looking for
-
How to do it in multi-record block
Hi all, i have 1 text items in a multi-record block number of record displayed 10 and i have values like 100 , 50, 30 in first 3 records and in 5th record i want to put some value like 20 then i want to calculate all values like 100 + 50 + 30 +20 = 2
-
Is there a way of making Search be for exact string match?
When I generate a help system (RoboHelp 7), and search on, say, "contact type", the system returns a list of topic links of topics that contain the word "contact" or the word "type". What I'd like is for it to do as PDF search does and return only to
-
Maybe I don't understand quizzing in captivate 6?
In my project I have several quizes that I don't really want to score but I still want the user to get feedback on right or wrong answers. Also they don't have to actually answer the quiz. They can skip ahead or leave the quiz and go to another page.
-
OSX Mavericks Keeps Restarting at Random Times When Connected with External Monitors
Starting today, my MacBook Pro started crashing with the below panic report. It appears to only happen when I connect external monitors to the Thunderbolt port. I've been using multiple monitors for the last 6 months without issue. Thanks in advance.
-
The map on find my iphone appears in several disjointed segments rather than a whole
On my Acer laptop the map on Find my Iphone appears as several disjointed segments rater than a whole map What's causing this