How to restrict value of materila in a PR created from PS to 1 Rupee
Hello Gurus,
While creation of material PR from P, system is picking value either info record or material master. How can we restrict value of materila in a PR created from PS to 1 Rupee?
Nagaraj
Hi,
On costing variants(OPL1)->valuation varient u can define which would be picked for planing, there give top priority for "Plan price 1"
To get plan price 1, you have to update on material master(mm02) on costing 2 tab as 1 rupee for all required materials.
hope this would help
regards,
SL
Similar Messages
-
How to restrict values of Dimensions in Webi report prompt
Hi
I need to create a WebI report for a set of Business users. We have several thousands of Agencies. Business Users want to see only the agencies they work with (about 100) in the prompt. This way they need not go through thousands of agencies they dont work with. I tried to use List Of Values option but that didnt give me desired result. Please let me know how to restrict values in prompt to few values from the n number of values available in database.
Thanks in advance.Hi,
there is no such step-by-step!
I would encourage you to consult documentation and search for terms 'row level restriction' in the help guides.
Practice makes perfect
Good luck
H -
How to restrict values displayed using a select-options
Can someone please tell me how to restrict values displayed using a select-options.
Example- in my table I have 100 entries. However when the user will click on the required field- I want to be display only 25 options based on a given value of another field in the table.
Thanks,
Mahesh.get the screen value for the selectd field using the fm
DYNP_VALUES_READ.
for that value filter the internal table values and pass the table to f4 help of the field.
below code will help u
write the f4 help for the field.
At Selection Screen on value request *
F4 help for Corporate
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CORP.
Get Corporates for selected division
PERFORM GET_CORP.
PERFORM F4HELP_CORP.
*& Form GET_CORP
Get the corporates for the selected division
There are no interface parameters to be passed to this routine
FORM GET_CORP .
Table for conglomerate
DATA:
LT_CONG LIKE STANDARD TABLE OF FS_CORP,
Fields of current screen
LFS_DYNPREAD TYPE DYNPREAD,
Table for current Screen fields
LT_DYNPREAD LIKE STANDARD TABLE OF LFS_DYNPREAD.
LFS_DYNPREAD-FIELDNAME = 'P_DIV'.
APPEND LFS_DYNPREAD TO LT_DYNPREAD.
Get selection screen value for division
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = SY-DYNNR
TABLES
DYNPFIELDS = LT_DYNPREAD
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11.
IF SY-SUBRC EQ 0.
READ TABLE LT_DYNPREAD INTO LFS_DYNPREAD INDEX 1.
IF SY-SUBRC EQ 0.
P_DIV = LFS_DYNPREAD-FIELDVALUE.
ENDIF. " IF SY-SUBRC EQ 0
ENDIF. " IF SY-SUBRC EQ 0
REFRESH T_CORP.
Get the conglomerate for the selected division
SELECT KUNNR " Conglomerate
FROM KNVH
INTO TABLE LT_CONG
WHERE HITYP EQ C_HITYP
AND VKORG EQ C_VKORG
AND VTWEG EQ C_VTWEG
AND SPART EQ P_DIV
AND DATAB LE SY-DATUM
AND DATBI GE SY-DATUM
AND HKUNNR EQ SPACE.
IF SY-SUBRC EQ 0.
SORT LT_CONG BY KUNNR.
DELETE ADJACENT DUPLICATES FROM LT_CONG
COMPARING KUNNR.
Get the corporates for the selected conglomerates
SELECT KUNNR " Customer Number
FROM KNVH
INTO TABLE T_CORP
FOR ALL ENTRIES IN LT_CONG
WHERE HITYP EQ C_HITYP
AND VKORG EQ C_VKORG
AND VTWEG EQ C_VTWEG
AND SPART EQ P_DIV
AND DATAB LE SY-DATUM
AND DATBI GE SY-DATUM
AND HKUNNR EQ LT_CONG-KUNNR.
IF SY-SUBRC NE 0.
CLEAR: SSCRFIELDS.
MESSAGE I531(0U) WITH TEXT-005.
STOP.
ENDIF. " IF SY-SUBRC NE 0
ELSE.
CLEAR: SSCRFIELDS.
MESSAGE I531(0U) WITH TEXT-004.
STOP.
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " GET_CORP
*& Form F4HELP_CORP
F4 help for corporate
There are no interface parameters to be passed to this routine
FORM F4HELP_CORP .
F4 help for corporate
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'KUNNR'
DYNPPROG = 'Z_EXCESS_USAGE'
DYNPNR = '1000'
DYNPROFIELD = 'P_CORP'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = T_CORP
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
Do nothing
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " F4HELP_CORP -
How to restrict values of characteristics in Bex
Hi All,
I want to restrict values for a particular characteristics starting from ZABC* in Bex without writing CMOD ABAP code
For Ex
ZABC123
12656
ZABC234
So in the report o/p shd be
ZABC123
ZABC234Hi Roshan,
I don't understand well your issue, but I will try to answer to you with two possible solutions anyway.
You can use the variable not in the characteristic filter but in each index. For example, if you have two indexes to be displayed in your column structure, try to filter them with the characteristic value variable. In this case you can probably see all of the characteristic values but for only ones that start from ZABC* you can see KFs values.
According to an another my supposition, you can use an exception (there is a dedicated tab when you restrict your characteristic). You can find more informations reading the following link:
http://help.sap.com/SAPhelp_nw70/helpdata/en/43/21b4cd14cd06f4e10000000a422035/content.htm
Hope it helps.
Best regards.
Simone. -
How to restrict users to not default layout while creating a user specific?
Hi all,
I have a problem with frequent changes in report layout setting. When users trying to create a user specific layout in the window "Default" is set, out of "User specific" & "default" checkbox defaultly, so users saving the layouts. so it's overwritting on existing layout. we are ossing the old data. how to restrict end users to create new one with out changing the existing one.How to change that default check in "Default" check box to user specific defaultly. where i have to do settings for this. Thanks in advance.
PradeeshHi ,
My problem is still not resolved. I tried applying the people picker property and set a specific field(an email id field) to be available to only admins. Now the field is not visible to the normal users but only admins which is good but that email field
should be able to take normal users as wel as admin's email ID. currently due to the people picker property it only takes admin's ID and not normal user's ID - which is not as per expectation.
What this email ID field does is - when a normal user is logged in he/she wont see this field in that view. But when an admin logs in he/she can switch to admin view and see this field . The admin can put any user's ID in this field and pull out the required
resource's Time Report for modification.
Please let me know how do i overcome my problem. Detailed step description will be very helpfull .
As per Cameron's suggestion (add a rule on the "additional admin section") , i am not sure how exactly that is done. Would help a lot if i got to know how this works.
Regards,
Guru -
How to restrict the the oreder reason list while creating sales order
Hi gurus,
Can anyone suggest me
how to restrict the Order rerson list
while creating the sales order in VA01
Thanks & Regards
kalyan.hi,
Try this exit:
Enhancement MMFAB001 User exit for generation of release order
Thanks,
AMS -
How do I update interactive links across a document created from importing other indd pages?
Hello! First time writing up a query to please bear with me!
Situation
- I am creating singe page templates for various uses (cover page variations/index page variations/content page variations/etc…)
- The index page has all the chapters listed which are prepared to be linked interactively
- All the other pages have a single drop down interactive menu at the top which effectively have the same links as what the index page offers
The idea is for the client to then create a document by pulling in the individual pages he requires at that moment (it is for client presentations… sales pitches, etc.).
Problem
- Not all the projects they will create with these individual pages grouped up will be the same. Some will have longer menus, others fewer pages, others longer titles, etc…
- The client has very limited indesign knowledge so cannot be expected to update multiple areas of layout/code etc.
- It can be imagined that they can learn how to fix one set of links (say, index page) after they have updated the content, BUT then this would have to reflect across the rest of the document's top menu items...
To summarise
As you may have guessed it, the idea is for the client to have a sexy clean design with interactive menus which vary slightly from document to document (which they have created from single indd pages grouped together (not in a book though)).
They would implement their text/image changes to the template elements and then export the whole thing as an interactive PDF with the menus (index and top) linking to the right (updated) places. They don't have the time or the knowledge to go nuts changing all the links everywhere...
Should I just inform the client that they should either crash learn indesign or forget it? Are they dreaming?
I hope someone out there has some pearls of wisdom for me!!!
Thanks!In Pages '09 copy and paste the Thumbnails.
In Pages 5 you will just have to copy and paste the content and fix up the layout in the new document.
Peter -
InfoView - How to Restrict values of Month Dimension Combo Box
Post Author: alexrox
CA Forum: Publishing
Product: Business Objects Enterprise XI R2
Version: XI R2
Patches Applied:
Operating System(s): Linux RHEL 4 x86
Database(s): Oracle 10gR2
Error Messages:Steps to Reproduce:
Hello, we are using Business Objects Enterprise XI R2 in the company I work, and we are facing a problem in some web intelligence reports.Our BO version is in Spanish, so maybe I do not translate some BO terms properly into English.
We have the "Time" class in the Universe we use, and in that class, we have the "month" dimension.
When we create some reports in InfoView, we can use the "month" dimension to display the results of that month (dragging and dropping that dimension in the "Analysis Context" Area).
The user can choose values in the "month" dimention through a combobox in the "analysis context" area. The problem is that Infoview allows the user to select the value "all the values" of that dimension, I mean, all the months, so that the results of the report are according to the "automatic aggregation" calculated of the values of that dimension (all the months).
But, we do not want to allow the user to select that value (all the values) of that dimension, because it causes that the report displays incorrect results (we have some percentages that have incorrect values in the aggregation, for example). I hope that you understand the problem I have tried to explain.
My question is how can we restrict so that the combo box (of the month dimension at the analysis context area ) does not allow to select "all the values"?
Is it possible? If so, do we have to make a change in the universe or is it a restriction of the web intelligence repport?
Thank you very much!
Alejandro Usero RuizPost Author: jsanzone
CA Forum: Publishing
Alejandro,
In your posting, quote "(we have some percentages that have incorrect values in the aggregation, for example).", I'm wondering if you are calculating the percentages within your universe or not? I.e. do you have a universe object that in essence is doing the math? If so, I might suggest that you not do it this way (even though in total aggregation calculations this will produce a valid result), but in disaggregate calculations (during the users "slicing and dicing") the percentages are not re-calculated by the BusObjects tool because it thinks that the data it received from the SQL output is good to go, and this is where the incorrect values in the aggregation start to show up. We had this problem too, so we ceased from calculating at the universe level and built a local variable to the report, thus BusObjects will recalcuate the percentage properly for each level of aggregation that user selects. The downside to this approach is that every report that has percentage calculations will require the local variable to be built for that report. Even users who build their own reports will have to build their own local variable to compute the percentage for their reports. The upside is that the calculations will be correct every time. -
How to restrict value set to a certain responsibility
A group of users need access to add values to a value set. We dont want them to access all available value sets. So how can I restrict the responsiblity to access only one value set? can we create a function or something and pass the value set name? or does it need form personalization?
Thanks.I don't think it's possible adding parameters to the form function. So, you would need to use form personalizations or add some code to the CUSTOM.pll. Another possibility would be to use lookups instead of value sets. Lookups can be restricted using form function parameters.
Hope it helps. -
How to restrict values and apply condition for a characteristic in a query.
Hi,
I have to add two customer class(characteristic) fields to my query which is available as a navigational attribute in my multiprovider ( from which my query is built ).
One field should give the values directly from master data. The values would be PV, CV, IT, OT. The other field should give only PV and CV based on the condition - Except CV, all others (ie. IT and OT) should be converted as PV.
I like this to be achieved in the query level since i dont want to disturb the underlying cubes in the multicube.
So i have two questions.
1. How to bring two fields in the query for the same characteristic.
2. How to achieve the condition in a characteristic for second customer class field mentioned above.
Could somebody help me in solving this?
Thanks in advance,
SomenathHi Somenath,
you are absolutely right;)
Besides the Third step
Try to add two new Selections to your Structure as
New Selection1 -> Set the Customer Class value to fix 'PV'
New Selection2 -> Set the Customer Class value to fix 'CV'
<b>you have to add</b>
New Selection3 -> Set the Customer Class value to fix 'IT'
New Selection4 -> Set the Customer Class value to fix 'OT'
Fourth step
Hide these four selections
Fifth step: Add a new formula to your Structure
(Customer Class == New Selection3)* New Selection1(Customer Class == New Selection4)* New Selection1(Customer Class == New Selection1)* New Selection2+Customer Class == New Selection2)* New Selection2
Hope it helps
Gabor
ps: experts maybe suggest easier way... -
How to restrict values in one prompt based on value from another prompt
Hi
I have a requirement as follows. I have two fields (objects)
program code
contract number
one program code can have several contract numbers.
I need to provide prompts on Program code and contract number. when user selects one program from the prompt on program code then contract field should only show contract numbers belonging the program user selected.
Please let me know how to bring this functionality in Webi report.
Thanks in advance.Hi
if ur requirement is in query level its impossible.(i mean whn u click on programcode then u have to display in contract at query level)
if you want to display at report level then
The two objects Program and contract have a mapping then place a program object in query filter and use operator equal to and select prompt and run the query then it will ask you to select program .whn on choosing it you will get filtered contract numbers for that program in report level . There no need to use prompt for contract numbers object .
Hope this helps u
Thanks
sunil
Edited by: K.sunil on Nov 7, 2011 9:30 AM -
How to restrict Asset Books LOV in the Asset creating work bench
Currently when users try to create Assets, they are able to see all the Corporate Books in the Book field. We want to restrict this LOV to show only book/s relevant for that Operating Unit.
Regards,
RaviAsset Book security by responsibility is possible.
Please review the user guide/white paper.
Here is the note.
Subject: Attaching existing depreciation book to organization hierarchy
Doc ID: 139518.1 Type: BULLETIN
Modified Date: 22-OCT-2008 Status: PUBLISHED
This article is being delivered in Draft form and may contain
errors. Please use the MetaLink "Feedback" button to advise
Oracle of any issues related to this article.
Purpose
Security by book is new feature for Release 11i. The purpose of this document
is to describe how to attach existing depreciation book to asset organizations.
This can useful mainly for customers after upgrade to 11i.
Prerequisites
Following steps assume an Asset Organization is already defined.
Step by step instructions
1. Query for your Asset Organization in Organization Window:
Navigator -> Setup -> Security -> Organization -> Description
Select "Asset Organization: from "Organization Classifications"
2. When you are in the Organization form, click the Others button.
The Book Controls window will appear.
3. Query up the existing book that you wish to attach to the organization
or you can create New Asset book.
4. In order to save this book to the organization, the form trigger must recognize
that a change has occurred to the book information. To create a simple change
that will enable the Save function to work, enter the Description field and simply
add a space at the end
5. Navigate to the File menu and select File: Save. Although there is no visible
alteration to the book information, the form will now be able to save the book
to your organization.
RELATED DOCUMENTS
ORACLE APPLICATIONS WHITE PAPER Security by Book, from 24-MAR-2000
Oracle Assets Users's Guide, Setting Up Security by Book, page 9-60 -
How to bind value to lov based on the output from other lov
HI all, i have 2 message choice Lov, i am selected a value from the 1st lov based on this value i am a executing a query, i want to display one of the attribute value from the query result in the second LOV. i am getting the attribute value correctly but i dont know how to bind that(display) in the 2nd LOV(at runtime).
Read the dev guide LOV section, it should give you details about this implementation.
-
How to populate values in to drop down by index from modelnode
Hi
I have a dropdownby index and amodel node..model node contains text and value.which i need to be binded to dropdown text or value..and what is purpose of text and value..and is the code required to get texts populated into dropdown.
Thanks
RahulHi,
The dropdown is usually part of a form, where the selected values are used as form input. For WD it is the input for the backend function. E.g. when the user selects 'Netherlands' from a dropdown list with countries, the backend function should in most cases be filled with the country key, which is often '31' or 'NL' but not 'Netherlands'.
Now if you are using the dropdown for other purposes than as part of a form (e.g. when you want to change the data or view depending on the current dropdown value), the key is not used.
Hope this clarifies.
Good luck,
Roelof -
How to get value in previous column and another row from Matrix with Custom Code?
I want to calculate the value of tb_Open and tb_Close. I try to use custom code for calculate them. tb_close is correct but tb_Open is not correct that show value = 0 .
This is example report:
* I have 2 Dataset , Dataset1 is all data for show in my report. Dataset2 is only first Open for first month
* First value of Open is item field in Dataset2 and this value only for first month (january). But for other month Open value get from Close in previous month.
Detail for Red number:
1. tb_Open -> tb_Close in previous month but first month from item field in Dataset2
expression =FormatNumber(Code.GetOpening(Fields!month.Value,First(Fields!open.Value, "Dataset2")))
2. tb_TOTAL1 group on item_part = 1
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)))
3. tb_TOTAL2 group on item_part = 3 or item_part = 4
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) + ReportItems!tb_TOTAL1.Value )
4. tb_TOTAL3 group on item_part = 2
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) - ReportItems!tb_TOTAL2 .Value)
5. tb_Close -> calculate from tb_TOTAL3 - tb_Open
expression =FormatNumber(Code.GetClosing(ReportItems!tb_TOTAL3.Value,ReportItems!tb_Open.Value))
My custom code:
Dim Shared prev_close As Double
Dim Shared now_close As Double
Dim Shared now_open As Double
Public Function GetClosing(TOTAL3 as Double,NowOpening as Double)
now_close = TOTAL3 + NowOpening
prev_close = now_close
Return now_close
End Function
Public Function GetOpening(Month as String,NowOpen as Double)
If Month = "1" Then
now_open = NowOpen
Else
now_open = prev_close
End If
Return now_open
End Function
Thanks alot for your help!
Regards
Panda ALooks okay to me.
Perhaps the variables should be declared as public (?)
Maybe you are looking for
-
Hi all, I'm creating my first producer-consumer program, and I've run into a few problems. I have two producer loops (one is a pressure controller and the other is power reading loop). I've used queues to pass data into the consumer loop which reco
-
Hi All, I'm a seasoned user of Cisco networking products...however this is now in jeopardy...... as I'm driving myself crazy with a problem which is has become resident after upgrading to a CUWN soultion. The basis of my problem is Apple OSX clients
-
I am trying to forward an email I recieved with the hyperlink in tact. The forwarded email changes the hyperlink to the url. Any suggestions? Thanks, Susie
-
I paid for the Mountain Lion, was downloading perfect. When almost 1 gb of downloading was left then this error occured "The product distribution file could not be verified. It may be damaged or was not signed." and stopped downloading and now every
-
Hi - our software update server is missing OS X 10.9.5 update. The sync logs reflect that the files were downloaded but I do not see the update in the list of update. Where to I go to have the 10.9.5 patch listed in the Software updates? Thank you