Default value in MIGO
Hi Experts,
Can anybody please tell me,
How I can maintain default plant & storage location in MIGO Where tab.
Whenever I entered in MIGO. In Where tab page there are Plant & Storage Loc. field.I want these field defulted i.e Plant -- 1000
Stor loc. --- 0002
Where I can make setting.
Please help.
it depends on the transaction you are posting:
For GR against PO, it calls the value from the PO, for storage location to be defaulted in PO for the plant, you can set storageLocation for EP in MRP 2 view.
For GR against a Production/Process order, you can maintain the storage location default data in Production storage location field in MRP 2 view.
however if you want the values to be defaulted in all transactions, reports, including the PO creation etc, you can set default for users in the in SU3 transaction--> default values
maintain
PARAMETER ID parameter value
WRK plant code(eg. 1000)
LAG storage_loc(eg. 002)
Similar Messages
-
Unlimited Delivery Indicator in relation with Default values in MIGO screen
What is the relation of 'Unlimited Delivery Indicator' in PO with 'Porposed All Items Indicator' in Default Values of MIGO?
Case:
PO created with quantity 100. GR is done for 100 quantity. If 'Porposed All Items Indicator' is set system allows to receive more than PO quantity in GR.
Its behavior is same as Unlimited Delivery Indicator in PO.'Porposed All Items Indicator' Indicates that items with quantities of zero are also suggested upon goods receipts with reference to purchase orders.
use:No more goods receipts are expected for items that have a quantity of zero, but they are possible. Items with quantities of zero may occur after partial deliveries or reversals, for example.
You can set this indicator if you often have to enter additional quantities to purchase order items that are already completed.
'Unlimited Delivery Indicator' the delivery quantity is not limited
Regards,
Pramod -
Default value in MIGO transaction for PLANT specific
Hi Experts,
I am looking for default vaule in MIGO transaction.
Whenever goods receipt is entered for one particular PLANT ,i want vaule to be dafaulted in Quantity tab No.of container unit value to be PC for english and ST for german.
Is is possible to achiece by creating new role ? if then how ?
Note : It is for PLANT specific and for only one user.
Thanks>
Dhina wrote:
> Is is possible to achiece by creating new role ? if then how ?
This is not possible using security. You will be able to do it via some form of customisation but you need to judge whether is it worth it. -
How to set default values in MIGO transaction
Hi,
I am using ZXMBCU02 Userexit to change the storage location as some default value 'SDW2'.
code is as follows
select single werks
into v_werks
from ekpo
where ebeln = i_mseg-EBELN.
if sy-subrc = 0.
if v_werks = '2204'.
i_mseg-LGORT = 'SDW2'.
SET PARAMETER ID 'LAG' FIELD i_mseg-LGORT.
endif.
endif.
Actually while debugging, control is going to the above program but amd unable to change the values.
Am i using the correct userexit, or is there any problem with my code.
Thanks,
Ravi.Hi,
Instead of using user exit, I may advice you to use the MB_MIGO_BADI, In this badi you can check the value of storage location,
and you can restrict user to change the storage location other than desired storage location,
May this will help you.
Regards
Rani -
Hi,
I'm geting wrong excise values during migo- excise capturing,
Base price - 1000
BED - 16% - 160
Ed cess 2% - 3.20
Se cess 1% - 1.60... this is the normal flow, where mine is flowed like
blw;
Base price - 1000
BED - 16% - 174
Ed cess 2% - 3.20
Se cess 1% - 1.60
pls tell me how to correct it..condition record is the one possibility for this.
check the excise defaults in CIN setting i think there u have maitained the rs.14 as values colounm instead of 14% BED condition
Again check same in J1ID
the excise rates for chapter iD
regards,.
sujit -
Default Value is not getting displayed in SUN ONE Ldap
Hello,
I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed.
We need the default value to run our applicatin. Can anyone help me for this issue
Regards,
K. Senthil KumarHi anandkumar,
I belive this issue can be resolved by changing the Query proprties for the perticular field.
Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
__Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
Hope this helps you!!
Best Regards,
Maruthi -
How to load a default value in to a column when using sql loader
Im trying to load from a flat file using sql loader.
for 1 column i need to update using a default value
how to go about this?Hi!
try this code --
LOAD DATA
INFILE 'sample.dat'
REPLACE
INTO TABLE emp
empno POSITION(01:04) INTEGER EXTERNAL NULLIF empno=BLANKS,
ename POSITION(06:15) CHAR,
job POSITION(17:25) CHAR,
mgr POSITION(27:30) INTEGER EXTERNAL NULLIF mgr=BLANKS,
sal POSITION(32:39) DECIMAL EXTERNAL NULLIF sal=BLANKS,
comm POSITION(41:48) DECIMAL EXTERNAL DEFAULTIF comm = 100,
deptno POSITION(50:51) INTEGER EXTERNAL NULLIF deptno=BLANKS,
hiredate POSITION(52:62) CONSTANT SYSDATE
)-hope this will solve ur purpose.
Regards.
Satyaki De. -
Assigning a default value to a field
Hello Everyone,
Could you please tell me how to assign a default value to a field in a transparent table, so that while creating an entry even if we don't enter the value, a default value will be assigned.
Thanks,
Anbu.Like this
DATA: BEGIN OF itab OCCURS 0,
field1 TYPE c VALUE 'X'
field2 TYPE c,
END OF itab.
append itab.
append itab.
You will have by default X set in both rows for field1.
Regards
Marcin
PS: Ooops I just noticed you meant transparent table but I wrote about internal one. As long as you maintain that table using maintenance view you can use event 05 - When Creating a New Entry and set fixed value for a field there. So whenever you create new entry it will receive that value.
Edited by: Marcin Pciak on Jun 23, 2010 8:57 AM -
SQLLDR - how to set a default value for an empty string
I'm using SQLLDR to load data from a flat file on Oracle 10g 10.2.0.4 EE, Linux RHEL 4 update 6. Seems like my question is simple, but darned if I can't find the solution.
My source file (comma delimited extracted form a different RDBMS) has some (not all) rows where the output for a string is "", and not NULL. How do I check for empty string and add a default value in the control file? The target column is non-nullable
Here's my current control file - however, the column attributeName where sometimes the source record is "" does not get evaluated as NULL.
load data
infile 'mydata.del'
badfile 'mydata.bad'
discardfile 'mydata.dsc'
into table mydata
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
(l_metadata,
company,
className,
attributeName "decode(:vc_attributeName,null, 'none')",
attributeDefault)
{code}
When I tried decode with "", I received the following error:
{code}SQL*Loader-350: Syntax error at line 11.
Expecting "," or ")", found ", 'none')".
attributeName "decode(:vc_attributeName,"", 'none')", {code}
This does not work either:
{code}
load data
infile 'mydata.del'
badfile 'mydata.bad'
discardfile 'mydata.dsc'
into table mydata
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
(l_metadata,
company,
className,
attributeName NULLIF attributeName = BLANKS ,"decode(:vc_attributeName,null, 'none')",
attributeDefault) I get the following in the log:
Table COMPANYMETADATA, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
L_METADATA FIRST * , O(") CHARACTER
COMPANY NEXT * , O(") CHARACTER
CLASSNAME NEXT * , O(") CHARACTER
ATTRIBUTENAME NEXT * , O(") CHARACTER
NULL if ATTRIBUTENAME = BLANKS
SQL string for column : "decode(:attributeName,null, 'none')"
ATTRIBUTEDEFAULT NEXT * , O(") CHARACTER
Record 1: Rejected - Error on table COMPANYMETADATA, column ATTRIBUTENAME.
ORA-01400: cannot insert NULL into ("SRV5"."COMPANYMETADATA"."ATTRIBUTENAME")
{code}
Any help is appreciated -
Edited by: kpw on Feb 9, 2009 11:10 AMHello,
I just loaded following data successfully in my_data table using the same control file I posted. Yes it will evaluate "" as null and replace with none, remember in control file you have this option, "optionally enclosed by '"'.
#my_data.dat
"myname1", "attribname1"
"myname2", "attribname2"
"myname3", "attribname3"
"myname4", ""
#my_data.ctl
load data
into table my_data
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
my_name char(30),
vc_attributeName "decode(:vc_attributeName,null, 'none', :vc_attributeName)"
{code}
Here is the output log file
{code}
Control File: my_data.ctl
Data File: mydata.dat
Bad File: mydata.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table MY_DATA, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
MY_NAME FIRST 30 , O(") CHARACTER
VC_ATTRIBUTENAME NEXT * , O(") CHARACTER
SQL string for column : "decode(:vc_attributeName,null, 'none', :vc_attributeName)"
Table MY_DATA:
4 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 18560 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 4
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Mon Feb 09 18:17:35 2009
Run ended on Mon Feb 09 18:17:36 2009
Elapsed time was: 00:00:00.98
CPU time was: 00:00:00.10
{code}
Hope this helps clearing your dobuts
Regards -
Multiple Default Values in a Multi-Select LOV Parameter?
Hi,
I have a report in BI Publisher standalone version 10.1.3.4. The report has a list of values called org_lov. This lov is attached to a multi-selection p_org_code parameter from which it is desirable to also have multiple default values.
For example, if org_lov has the following values:
100
101
102
103
104
105
106
I would like to have 3 default values and have 100, 101,105 as the defaults if the user doesn't specifically select anything from the LOV. So far my testing has only allowed a single default value.
Here are my settings:
Data type = string
Multiple Selection = checked
Can select All = checked (all values passed)
On the Default Value field, I have tried the following:
1. 100, 101,105
2. [100, 101,105]
3. '100', '101','105'
4. (100, 101,105)
5. ['100', '101','105']
6. ('100', '101','105')
I don't need these default values highlighted in the LOV, I just need it passed correctly to the query (a data template).
Thank you in advance for any input.Hi,
Sorry for the delayed reply. I tried what you suggested but the problem is that by having the "Multiple Selection" property of the parameter unchecked, the result is that it allows the user to only have a single value passed. The user wants the option to select multiple values AND also have the multiple default values.
Thanks anyway. -
Default value of BeX customer Exit variable not Displayed in WeBI??
Hello Experts,
We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
and we are on SAP BW 7.1 and BOXI 3.1 SP4.
Regards,
Vipul
Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PMHi,
See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
WebI will prompt when executed, but the default values calculated by the user exit - do not appear.
Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
Cause
This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
Characteristic variable > processing type > Customer Exit is "Supported, without user entry"
--> This should be understood as meaning "User will not be shown a prompt"
regards,
H -
Why the default value is not the Oracle recommended?
Why the default value is not the Oracle recommended?
In Oracle 10g, the default alocated unit of Oracle ASM is 1MB. But the Oracle ducumentation states that "To ensure a higher probability of one
logical I/O resulting in no more than one physical I/O, the minimum stripe depth should be at least twice the Oracle block size". ---See Performance Tuniing Guide (10g10.2 Page8-3.
It's inconsistent. What is right way?>
Why the default value is not the Oracle recommended?
In Oracle 10g, the default alocated unit of Oracle ASM is 1MB. But the Oracle ducumentation states that "To ensure a higher probability of one
logical I/O resulting in no more than one physical I/O, the minimum stripe depth should be at least twice the Oracle block size". ---See Performance Tuniing Guide (10g10.2 Page8-3.
It's inconsistent. What is right way?
The default database blocksize of 10g is 8k.
>
8 * 128 = 1024
128 >= 2
At least twice the size does not mean exactly the doubled size.
There is no contradiction between the documentation and your observation in this case.
Kind regards
Uwe
http://uhesse.wordpress.com -
Default Value in a DFF is not getting populated in Self Service Page
I had an issue in Self Service Page.
In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
But this field is not getting populated with the default values.
But this is working fine in Forms , i.e the default value is populated in forms.
Why the default value is not populated in Self Service Pages?
For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
Context Code : GB_CODE
Segment : "Enter the Group"
and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
In forms if am not entering any value, then its defaulted to 'XXXXX'.
But in Self Service this is not happening.
Can anybody help me out...Actually, I have narrowed down the problem. It is not quite the same.
DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
Any thoughts?
Thanks much! -
SUN ONE Ldap - Default value is not getting displayed
Hello,
I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
The default value for the attribute has been given in the SUN ONE Ldap. But it is not getting displayed in our application.
Can any one help me in this for this issue.
Regards,
K. Senthil KumarI assume that you are referring to a brand new field on the second step that was not on the form of the first step. If this is the case, then you should put the field in a hidden block of the first steps form. Default values and Auto-population from shells/single record BPs only occur of the create step, even if they are not used on that step. As long as you put them on the create step (even in a hidden block) they should initialize.
-
It's important to remember that DEFAULT values are only used when a column isn't specified in an INSERT or MERGE, or when the DEFAULT keyword is used. If you don't explicitly declare a DEFAULT value, Oracle implicitly defines the default value to be NULL, and the DEFAULT keyword will even work with such.
Does say this, does the possibility Exist to for example insert a default value 0 in a column (datatype number) (Default value 0) without using trigger and column is specified (e.g. I don't know from front-end if is specified)?
Thanks in advance to allI don't know a lot about Forms, but if it will generate in insert statement like this:
SQL> CREATE TABLE t(a NUMBER, b NUMBER DEFAULT 0 NOT NULL);
Table created.
SQL> INSERT INTO t VALUES (1,NULL);
INSERT INTO t VALUES (1,NULL)
ERROR at line 1:
ORA-01400: cannot insert NULL into ("OPS$ORACLE"."T"."B")then yes, unless you can control the insert statement, you will need to use a trigger. The explicit NULL in the VALUES list will override the default.
John
Maybe you are looking for
-
Trying to reduce and organize photos on my Hard Disk
For the most part I have been keeping my photos on my working hard disk with only certain collections off line, but the hard disk is filling up more than I want. I have duplicates and unneeded photos. 1. Must I delete them only from the "PHOTOS" at t
-
Hi all I have A view invoice_track i want to check the code of this view please guide me how i will check Thanks And Regards Vikas singhal
-
Finding Codes are not listed in input help - EWM Quality Inspection
Hi All I have defined below objects Catalog Catalog filter Finding type Defect codes Also mentioned catalog filter & finding type in inspection rule. However, when I create a finding in inspection document I am not able to see codes in input help. Sy
-
Incomplete "authentication level" property support on iOS/Mac clients
When "authentication level:i:0" property is present in RDP file, client shouldn't show warnings regarding RDP server identity. Such warnings could appear when untrusted certificate is used on RDP server or when "RDP Security Layer" is used/configured
-
Is there a way to have iPhoto automatically put date of import in the info block?