How to get default values while using the transaction "BP"
Hi Group,
I have a query on how to get default values while using the transaction <b>BP</b>?
The thing is:
when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
how can I achieve this?
So please kindly let me know the procedure to achieve this.
Thanks & Regards,
Vishnu.
Hi,
The events of BDT can be used to default some fields on creating a partner.
For this create a function module for ISDAT. attach that event in BUS7.
In the ISDAT funtion modulethe following code should be used.
For example to set the nationality:
I_BUSDEFAULT-NATIO = 'DE.
CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
EXPORTING
i_busdefault = I_BUSDEFAULT
Regards, Smita.
Similar Messages
-
Does anyone know how to get an ipad to use the wireless network from an airport?
Does anyone know how to get an Ipad to use the wireless network from an airport express?
By default, the AirPort Express will broadcast an unsecure wireless network with a Network Name of something like: Apple Network NNNNNN. Your iPad should "see" this network and be able to connect to it. Have you tried going through the iPad's Settings > Wi-Fi > Choose a Network... option. If so, does the AirPort's wireless network appear in the list of available networks?
Can other wireless devices connect to the AirPort's network? -
My iPhone gets really hot while using YouTube. Is/has anyone else experienced this? Should I be concerned?I did a search and only came up with threads talking about the phone getting warm while charging, my phone does not get hot/warm while charging, only when using YouTube and sometimes while using Safari. Any input will be greatly appreciated!
When connected via WiFi or EDGE or no difference.
My iPhone sometimes gets considerable warm when connected via EDGE with low reception but this is rare when connected via WiFi or with good reception. -
How to get default values on selection screen(multiple ranges)?
i want to know how to maintain default ranges in selection screen...like 2000 to 3000 and 7000 to 8000 and 11000 to 15000
all the above ranges must get by default how to provide those to selection screen by default...please give me idea...with example...Hi Suresh,
You can either use select-options or Ranges. If you want the selection screen to be displayed with allwoing user to enter values apart for the default ones use select options else use ranges. With ranges what ever values use hard code would be set and the end user will not be able to add any more values (or range of values).
Simply write the following code
tables : <name of the table from which the field belongs>
select-options <fieldname> for <tablename>-<fieldname>.
<fieldname>-sign = 'I'.
<fieldname>-option = 'BT'.
<fieldname>-low = '7000'.
<fieldname>-high = '8000'.
append <fieldname>..
similiarly add all the ranges that you need to include as default and in your select statement use the IN operator inthe where clause to include the range.
If using range replacethe select-option with the range statement.
Thanks. -
How to get SPOOL ID while using NEW-PAGE statement
Hi Experts
I am using "NEW-PAGE PRINT ON......PRINT OFF" statement to write directly in to the spool. while in this processing i want to get the SPOOL ID under which data is written. Is it possible? if yes, how ?
Thanks in Advance
MukundhanHi
Check the system field
<b>sy-spono</b>
for Spool ID at that place of code
Reward points if useful
Regards
Anji -
How to get Characteristic Values assigned to the line item of Sales Order?
Hi,
I want to get the Characteristic Values( Variant Configuration )assigned to First Line Item of Sales Order.
I was using the Fn. Mod.: VC_I_GET_CONFIGURATION_IBASE,
this fn. mod. giving all the Characters but not the assigned characteristic values.
Is there any other way to find characteristic values of sales order.
Thanks,
vinayak.
Message was edited by: vinayaga sundaramFor example, please see this example program.
It lists the characteristic names, the values, and the description of the values which are tied to a sales document.
report zrich_0001.
* Internal Table for Characteristic Data
data: begin of i_char occurs 0.
include structure comw.
data: end of i_char.
data: xcabn type cabn.
data: begin of xcawn,
atwtb type cawnt-atwtb,
end of xcawn.
data: xvbap type vbap.
parameters: p_vbeln type vbap-vbeln,
p_posnr type vbap-posnr.
start-of-selection.
select single * from vbap into xvbap
where vbeln = p_vbeln
and posnr = p_posnr.
clear i_char. refresh i_char.
* Retrieve Characteristics.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
instance = xvbap-cuobj
tables
attributes = i_char
exceptions
instance_not_found = 1.
loop at i_char.
clear xcabn.
select single * from cabn into xcabn
where atinn = i_char-atinn.
clear xcawn.
select single cawnt~atwtb into xcawn
from cawn
inner join cawnt
on cawn~atinn = cawnt~atinn
and cawn~atzhl = cawnt~atzhl
where cawn~atinn = i_char-atinn
and cawn~atwrt = i_char-atwrt.
write:/ xcabn-atnam, i_char-atwrt, xcawn-atwtb.
endloop.
Regards,
RIch Heilman -
How to get Bursting file to use the same template as selected by user
I have created an XML publisher bursting control file for a standard Oracle report Direct Debit letter.
The user wants to be able to select from a number of different letter templates which is ok except that the bursting control file is fixed to use one template.
How can I get the bursting control file to use the same letter template as selected by the user when running the report ?
I am using XML Publisher 5.6.3 with bursting patch.Try these following, which come to my mind now as of now.
In the bursting file, you can do the filtering and apply different template..
<xapi:template type="rtf" location="/usr/template1" filter=".//DIRECT_DEBIT[./parameter_or_element='first_template']"></xapi:template>
<xapi:template type="rtf" location="/usr/template2" filter=".//DIRECT_DEBIT[./parameter_or_element='second_template']"></xapi:template>
second option..
you can replace the element from the xml in the bursting control file.
${ELEMENT_NAME}
can be used in the template name i guess..
<xapi:template type="rtf" locale=""
location="xdo://AR.${SHORT_NAME}.en.US/?getSource=true" translation="" filter="">
</xapi:template>
But in this short name has to be in XML file...
I haven;t tried it...wil try it wheni get time.. -
How to Get Default Value of a Data Type in SQL Query.
Hi all,
I am creating a procedure which will take input the table name and Column Name.
In the Output i would like to have the data type and default value of that data type which will be used by a another procedure to blank the selected column in the database.
I tried with SET NULL on the column but as the database is of navision the table have property set to NOT NULL.
Here is what i have done till now.
Create Procedure Get_Column_type
@parm_table_name nvarchar(200),
@parm_column_name nvarchar(20),
@parm_result nvarchar(20)OUTPUT
AS
BEGIN
select @parm_result =
DATA_TYPE from INFORMATION_SCHEMA.COLUMNS IC
where TABLE_NAME = '[' + @parm_table_name +']' and COLUMN_NAME = '[' + @parm_column_name + ']'
END
GO
Now instead on write a case statement for so many data types in SQL, i was thinking is it possible someway that above procedure also returns the default value which i can set in another procedure.
Let me know if its possible or not? Thanks in advance.Do you looking for something like this?
create table t10 ( c int default 1)
SELECT so.name AS table_name,
sc.name AS column_name,
sm.text AS default_value
FROM sys.sysobjects so
JOIN sys.syscolumns sc ON sc.id = so.id
LEFT JOIN sys.syscomments SM ON sm.id = sc.cdefault
WHERE so.xtype = 'U'
AND SO.name = 't10'
ORDER BY so.[name], sc.colid
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
How to get cm:search to use the max attribute when creating the SQL query?
When we use the max attribute in the cm:search tag, it does not seem to honor the max attribute when creating the SQL query. However, the result returned from the tag is limited to the number specified by the max attribute. Then the tag seems to work as intended, but the performance will be sub optimal when the SQL query returns unnecessary rows to the application.
We use the cm:search tag to list the latest news (ordered by date), and with the current implementation we have to expect a decrease in performance over time as more news is published. But we can’t live with that. We need to do the constraint in the SQL query, not in the application.
The sortBy attribute of cm:search is translated to “order by” in the SQL query, as expected.
Is it possible to get cm:search to generate the SQL query with an addition of “where rownum <= maxRows”?Hi Erik,
The behavior of a repository in regards to the search tag's max results parameter is dependent on the underlying repository's implementation. That said, the OOTB repository in WLP does augment the generated SQL to limit the number of rows returned from the database. This is done in the parsing logic. This behavior may differ with other repository implementations.
-Ryan -
Getting Short Dump while using the FM"SAP_CONVERT_TO_TEX_FORMAT"
Hello Experts,
I am using the FM SAP_CONVERT_TO_TEX_FORMAT to convert the data in text format and use
that converted data to create the file on application server. When I used this FM to convert the data from T0599Z table then it's giving me dump for other tables it's working fine.
Can anyone suggest why this is happening?
ThanksCan you write the codes...
Try something of below sort..
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ',' "For CSV Files
TABLES
i_tab_sap_data = gt_outtab1
CHANGING
i_tab_converted_data = gt_outtab. -
How to restrict a user from using the transaction code SU01?
How can I grant a profile to a user with the profile SAP_ALL except running the transaction code SU01?
I know how to lock the transaction code using SM01 but is there any other way to do it.Go to S_TCODE
Double click on it and give the combinations like A* - X*
SU00
SU02 - Z*
Try this one definately it will work. -
How to get default value using VA
using jdev 11.1.1.6.2
I defined a transient attribute with a default expresssion as
oracle.jbo.Row r = getPayeeNameVA().first();
if(r != null)
return r.getAttribute("PartyName");
I have a VO named PayeeVO with a vc haiving one bind variable. This VO is used to create PayeeNameVA view accessor. In PayeeNameVA the default VC is shuttled and value is bound to one of the view attribute.
However, on running the app I get below exception. please advise
aused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: org.codehaus.groovy.runtime.typehandling.GroovyCastException, msg=Cannot cast object 'oracle.jbo.script.ExprEvalWrapper@3b50bd53' with class 'oracle.jbo.script.ExprEvalWrapper' to class 'oracle.jbo.Row'
at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1411)
at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1457)
at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1435)
at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1217)
at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2262)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1884)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1940)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:883)
at oracle.apps.afg.creditRules.model.view.CreditReceiversVORowImpl.getPayeeName(CreditReceiversVORowImpl.java:780)
at oracle.apps.afg.creditRules.model.view.CreditReceiversVORowImpl$AttributesEnum$2.get(CreditReceiversVORowImpl.java:39)
at oracle.apps.afg.creditRules.model.view.CreditReceiversVORowImpl.getAttrInvokeAccessor(CreditReceiversVORowImpl.java:830)
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:913)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1137)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:731)Hi,
apparently you access the wrong object, which is ExprEvalWrapper, and this cannot be cast to the Row object you really want to work with. I assume that Row is wrapped by this class. However, the ExprEvalWrapper is for internal framework use and the super class, which is org.codehaus.groovy.runtime.wrappers.PojoWrapper, exposes the getWrappeed method as a protected method. Without knowing your exact use case I think you will need to find another solution (e.g. expose a method on the entity impl class you then call from Groovy)
Frank -
Getting incorrect values while using getLineMetrics()
following e.g. finding x position of word "Adobe flex".
if container of TextArea is not scaled then its giving
correct value
but after doing zoomin/zoomout its giving incorrect value
Plz help me to figure out this.
Thanks
Kaushal
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function onClick():void{
cnvs.scaleX = cnvs.scaleY = 1;
cnvs.validateNow();
var obj:TextLineMetrics = ta.getLineMetrics(0);
lbl.text = "X: " + String(obj.x);
private function onZoom(val:Number):void{
cnvs.scaleX = cnvs.scaleY += (0.25 * val);
]]>
</mx:Script>
<mx:Button x="75" y="285" label="Find X"
click="onClick()"/>
<mx:Canvas x="75" y="10" width="382" height="201"
id="cnvs">
<mx:TextArea x="4" y="46" color="#000000" id="ta"
borderStyle="none" textDecoration="underline" text="adobe
flex"
fontSize="28" width="361" height="54" textAlign="center"/>
</mx:Canvas>
<mx:Button x="75" y="219" label="-"
click="onZoom(-1)"/>
<mx:Button x="123" y="219" label="+"
click="onZoom(1)"/>
<mx:Label x="159" y="287" text="" fontSize="13"
fontWeight="bold"
id="lbl"/>
</mx:Application>Yes number of pages are correct even though the values are different
If I drilldown these reports for week 04.2008 09.2008 by Sales office only and add the totals in Excel to double check then they are more or less the same. Then I drilldown by Sales Office, ASM, Week & Sub Trade Channel. Then export this into excel and add the totals to double check but then I get totally different amounts as to what they are supposed to be.
Please waiting for help
Thanks
S
Edited by: Shiva on Mar 6, 2008 12:52 PM -
Hi, i am getting an error while using the External Table.
Hi,
I am getting the below error. External table has been created successfully and when I read the data from the external table i get the below error. Can anyone give solution of this error.
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: unable to open log file EXT_ZPP0A871_6738.log
OS error Permission denied
ORA-06512: at "SYS.ORACLE_LOADER", line 19
Thanks,
HimanshuKUP-04063: unable to open log file EXT_ZPP0A871_6738.log
OS error Permission deniedThe error seems quite clear... what's you OS and Oracle version ? -
How to Pass a value while opening a transaction in ABAP
Hello Friends
I am trying to write a short BAPI to search a quotation number, since I didn't see any standard BAPI to do the same.
Here is what I want to do.
I want to write a program that valls VA23 with a specific QUOTATION NUMBER AND DO A SEARCH and give back the response if it found that document or not.
Any help will be highly appreciated.
Tks
RamHi Ram,
1) Declare a Variable with the typed of QUOTATION NUMBER type for example w_field.
2) Move some value as per your requirement to that variable (w_field).
3) Set the value of that variable to the SAP memory by SET PARAMETER ID .. statement.
DATA : w_field type <QUOTATION NUMBER type> .
MOVE <Value> TO w_field.
SET PARAMETER ID 'XYZ'
FIELD w_field.
Note : Here "XYZ" is the Parameter Id of the field QUOTATION NUMBER .
Maybe you are looking for
-
Time machine won't back up after Maverick install
Installed Maverick today on macbook pro, then have been unable to back up to Time Machine to my Western Digital 3TB drive. Last back up was successful just before install earlier today. Time Machine Error "Files can't be copied onto the backup disk
-
How to get Lion to communicate with WD
Is there a way to get Lion to communicate with WD Mybook world edititon ( manufacturer's firmware update won't help )
-
Dear all i get some template (written in html/css/javasciprt/jquery) from a web designer to create some wep application, i copy the html code and paste it inside an empty jsf page (inside >af:form) in oracle adf 11.1.2.1, and set the javasciprt and c
-
Searching / finding generic jpg file icons
I use the excellent Pinki utility (http://www.mkd.cc/pinki/) to replace generic jpg icons in the Finder with an image of the file contents. However, I have not yet discovered search parameter that will find all jpg files with generic icons. Is there
-
I ran into the issue of the 32-bit file not being recognized in LR 5.6
I ran into the issue of the 32-bit file not being recognized in LR 5.6 after it has been saved in PS. I tried every type of file I could save a file as in CC but none of them would be recognized or said it was corrupt. I had exported 3 files to Merg