How to Modify Smartform Methods in CRM 5.0
Hi,
I have to modify the CRM Sales Order Smartform which requires adding new fields to the existing layout,for which I will have to modify the Method .Kindly help me and provide me with a solution to populate new data in the standard layout.
The Class and Method are mentioned below:
Processing Class CL_DOC_PROCESSING_CRM_ORDER
Processing Method CRM_ORDER_EXEC_SMART_FORM
Thanks and Regards,
Faisal
you need to copy this class and make the changes..in the method.
Assign the new Z class, to the action profile.
Rgds,
Arjun
Similar Messages
-
Hi
I know scripts,I know how to create smartforms, but i don't know how to modify existing smartforms. I want total process like copy the smartform,where we have to write code,where we have to see the output each and every thing.
thankyouHi,
See all these links:
This is the Best link:http://www.****************/Tutorials/smartforms
steps:
1.goto smartforms.
2.copy the standard form into the Zsmartform.
utilities --->copy from clients.
3.make changes.
Smartforms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
Regards,
Kumar(Reward if helpful with points).
Edited by: shiva kumar on Apr 15, 2008 1:16 PM -
How to modify Smartforms & Script on new Macbook
Hi there
I am new to Macbook but i have install SAP JAVA GUI.
Able to work on SAP, but not able to work on SAMRTFORMS & SAP SCRIPT
Can any one tell me how to modify them on MACBOOK,
Thanks in ADVANCE.Hello,
unfortunately, authoring functionality for smart forms is only available in SAP GUI for Windows.
See [note 736147|https://service.sap.com/sap/support/notes/736147].
Best regards
Rolf-Martin -
How to upload a CRM sales order to R/3 after modifying some values in CRM
Hi All
How to upload a CRM sales order to R/3 after modifying some values in CRM ?
In other words
You have a Sales Order in CRM. While sending this Sales Order to R/3, we would like to modify certain values in the Order before it is replicated to R/3 . How do u do that?
Thanks
Jaman
Message was edited by: Sap_Crm_Guy
Message was edited by: Sap_Crm_GuyHi Jaman,
Try to have a look at the function group CRM_ORDER_API. In there you will find several useful functions. CRM_MAINTAIN_ORDER can most probably do what you want to do, but it is not simple to figure out how to use it as it is not very well documented.
There is a BADI called ORDER_SAVE with three methods that you can implement. This BADI allows you to manipulate the order before it is saved and before it is replicated to R/3.
Very best regards,
Anders Mørk -
How to modify a java method in Folder component
Hi,
I need to add some custom java code after a java method in Folder component (I am using UCM 10g, the java method is "buildResultSet" in service "COLLECTION_COPY_LOT").
I defined service handler as described in Bex's book. My static table is:
<@table custom_ServiceHandler@>
<tr>
<td>serviceName</td><td>handler</td><td>searchOrder</td>
</tr>
<tr>
<td>Service</td><td>myPackage.MyClass</td><td>1</td>
</tr>
</table>
Java code is :
package myPackage
public class MyClass extends ServiceHandler {
public void buildResultSet() trows DataException,ServiceException
............. mu custom code
m_service.doCodeEx("",this);
If a change java method to addFiles and in static table Service to DocService, when i execute Checkin_new service it executes my custom code. I tried to change to loadorder, but have no success.
Pls someone to tell me how can i modify this method or any other java method in "COLLECTION_COPY_LOT" service. Do i have to make some additional settings ? What other ways to modify java methods i should try ?
I hope someone who has done someything like this to help me out.
Thanks in advanceA service handler might be the right way to run some code at the end of a service call (another way would be to make use of filters).
First, make sure your static table is merged with ServiceHandlers.
Secondary, change your custom method name into one that is not already in the service definition of COLLECTION_COPY_LOT (preferably a unique method name like collectionCopyLotLastAction that describes its purpose) and remove the following line from your code:
m_service.doCodeEx("",this);Now create a service definition for COLLECTION_COPY_LOT in your custom component based on the original COLLECTION_COPY_LOT (copy paste from the original service definition) and add you own method collectionCopyLotLastAction as the last step in the service. Play with the load order to make sure CS is using your service definition of COLLECTION_COPY_LOT instead of the original.
regards,
Fabian -
How to Assigned smartform in CRM
Dear Friends,
Please guide me how to assigned smartforms (Order conformation) with driver program in CRM,
SanthiHi Shanti
You need to define action profile from CRM->Basic Functions->Actions->Actions in transactions->Change Actions and Conditions->Define Action Profiles and Actions (you can use profile ORDER_MESSAGES)
and then define condition for your action profile from the path CRM->Basic Functions->Actions->Actions in transactions->Change Actions and Conditions->Define Conditions
And then assign this action profile to your transaction type.
regards
M. -
How to Check product warranty in CRM based on R/3 invoice creation date
Dear all,
As per our client business process, for a sales product warranty starts once after creation of Invoice in ECC system. in that case, how to perform warranty check in CRM Complaints based on ECC Invoice creation date.
Please suggest me the standard SAP solution for this. Your help will be highly appreciated
Regards
Raghu ram
Edited by: Raghu Ram on Jan 11, 2010 7:24 AMHi Raghu,
This is pure development. But it is possible.
You need to use a function module to create warranty contract in CRM against to ECC invoice with the following prerequisites
1. Same SLA should be available in both ECC and CRM (In ECC there is no SLA concept, in that case u need to maintain SLA as text component in delivery/sales order or any Z transaction document, the same can be pulled into CRM warranty contract)
2. All the products sold in ECC should be having serial number during delivery process. Then the combination of product and serial number will be created an equipment master in ECC. This equipment master should be replicated to CRM as and when it is created in ECC.
3. The partners in equipment master should be same as in invoice or sales order document in ECC
4. Addiitionally, all the products in the ECC invoice to be replaced as service material with SCN item category (We used this logic), so you can use any other logic to get service line item. You can use any common service material also as line item.
5. Male the status profile settings to release the contract once it is created and saved in CRM
6. In the complaint or service request document, set the contract determination as Unique number (I think "D")
As standard, You can create wrranty contract and assign warranty master as and when ECC invoice is created by manual method.
Hope this development logic will be useful.
Regards,
Ram. -
How to modify the field lengh of file upload
Hi All,
I am facing a problem with u201Cuploadu201D filed length in BSP application.
When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file)
Now this field is appearing 20 char length
Now I want to increase the length of the upload field (Input field) to be 100 char so that the path is visible.
In the current application the file upload is being done through a structure (attributes)
In this structure the fields are like this
PAGE_NAME
ID
FOR
TAGS
ROW_INDEX
COLUMN_INDEX
OTR_NAME
REQUIRED_NAME
MAXLENGTH
SIZE
TABLE_NAME
ON_SELECT
VALUE
DISABLED
ONCLICK
TEXT
TYPE
Using this method:
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
RECEIVING
Element = lv_fileup.
bee_table->add ( level = 2 element = lv_fileup ).
This cl_htmlb_fileupload is named as class interface.
Which has the CLG_HTMLB_FILEUPLOAD (it is a class) it is defined in attributes.
In this class it has the attribute u201CSIZEu201D by default string 20.
Now I need to change this attribute length from 20 to 100
For this I copied the standard class CL_HTMLB_FILEUPLOAD into ZCL_HTMLB_FILEUPLOAD.
This ZCL_HTMLB_FILEUPLOAD contains all attributes of the standard class CL_HTMLB_FILEUPLOAD
Including the one class (CLG_HTMLB_FILEUPLOAD), this is defined as an attribute (ABOVE MENTIONED?)
This class is appearing in non editable mode, so I have copied this class into zclass (ZCLG_HTMLB_FILEUPLOAD).but still I am not able to edit the attribute called u201Csizeu201D
And also I am not bale to add the zclass in place of the ZCLG_HTMLB_FILEUPLOAD
Kindly tell me how to modify the length of the field u201Csize u201Cand also how to add the zclass in the attributes of one class (syntax)
Thanks in advance
Rambabu.AHi,
Class CLG_HTMLB_FILEUPLOAD is a class automatically generated when a BSP Element is created. You should not change/create such a class, unless by creating your own BSP Element.
As per your requirement, you can use the SIZE parameter of method factory:
ls_form_save-size = '100'.
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
Size = ls_form_save-size
RECEIVING
Element = lv_fileup.
Regards,
Tanguy -
How to modify a pod in dashboard component?
Hi
I am new to flex and programming in general. So please do forgive me if I do not express my query clearly or with the right info.
I am trying to build an application to show case photographs and one of the components I am using is the Dashboard built by WASI and can be seen here. It has several pods but I would like to have one of the pods load up with my own default position, width and height yet still retain the characteristics of minimizing, maximizing & drag and drop. Other than through the pods.xml file, I do not know how to modify (or which other file I should modify for that matter) so that when the application loads, it always starts with the particular pod at my desired height (top to bottom), width (about 1/4 of screen real estate) and position (left side of the screen)
Below is the pods.xml file and attached is the project zip file.
<?xml version="1.0" encoding="utf-8"?>
<!--
Used to specify the pod content in the dashboard sample app.
To keep the implementation straightforward, all of the data is
stored in this file rather than a database or separate XML files.
-->
<views>
<!--
<view> - Represents a tab.
id - Must be unique so state can be saved properly.
label - The label of the tab.
<pod>
id - Must be unique per view so state can be saved properly.
type - Type of pod content. Valid values are chart, pieChart, form and list. "chart" and "pieChart" each have drill downs to one level.
"chart" is a fixed drill down to 30 days in a month.
"pieChart" is a fixed drill down to four geographical regions.
title - The title of the pod.
dataSource - The xml to load for the pod.
selectedViewIndex - Sets the default content view for pod content with a view stack.
valueField - For chart pods, the field from the xml data to use for displaying the value. This field should be numeric.
categoryField - For chart pods, the field from the xml data to use for displaying the category.
dataTipUnitLabel - Rollover label used for displaying the units.
Label is delimited by "*" and places the first value before the unit and the second value after the unit. Ex: $50M.
dataTipLabelField - Rollover label field used for PieCharts.
labels - For form pods, used to label the fields.
dataFields - For form pods, used to assign the data fields to the form fields.
The second field should always be a date expressed in milliseconds since the epoch.
-->
<view
id="view0"
label="Sales">
<pod
id="pod00"
type="chart"
title="Yearly Revenue"
dataSource="data/revenue.xml"
selectedViewIndex="1"
valueField="value"
categoryField="month"
dataTipUnitLabel="$*M"
dataTipLabelField="month"/>
<pod
id="pod06"
type="pieChart"
title="Revenue by Region"
dataSource="data/revenue_by_region.xml"
valueField="value"
categoryField="region"
dataTipUnitLabel="$*M"
dataTipLabelField="region"/>
<pod
id="pod01"
type="chart"
title="Yearly Profit"
dataSource="data/profit.xml"
valueField="value"
categoryField="month"
dataTipUnitLabel="$*M"
dataTipLabelField="month"/>
<pod
id="pod02"
type="form"
title="To Do"
dataSource="data/tasks.xml"
labels="Name,Date,Description"
dataFields="name,date,description" />
<pod
id="pod03"
type="list"
title="Company News"
dataSource="data/news.xml" />
<pod
id="pod04"
type="form"
title="Sales Pipeline"
dataSource="data/pipeline.xml"
selectedViewIndex="1"
labels="Name,Date,Description"
dataFields="name,date,description" />
<pod
id="pod05"
type="chart"
title="Projected Revenue"
dataSource="data/projected_revenue.xml"
valueField="value"
categoryField="month"
dataTipUnitLabel="$*M"
dataTipLabelField="month"/>
</view>
Thank you very much for any help you may provide.
Best regards
Vaneryhi,
u may upload a file from the desktop in ur webdynpro .. thn u can save it in database and can download accordingly..
1.create a node 'FILEUPLOAD' with 2 attributes
a) FILECONTENT type XSTRING
b) FILENAME type STRING
2. Create a fileuplaod uielement
a) bind the data property with attribute 'FILECONTENT'
b) bind the filename property with attribute 'FILENAME'
3. Create a button 'UPLOAD'
a) create the action method for this button and save the contents of file in database
Data l_node type ref to if_wd_context_node.
Data l_stru type wd_this->elements_cn_fileupload.
l_node = wd_context->get_child_node( 'FILEUPLOAD' ).
l_node->get_static_attributes( importing static_attributes = l_stru ).
"save l_stru-fielcontent in database. Your file will be saved in the database in XSTRING format.
Now when you want to display this file;
1. Create a Node 'FILEDOWNLOAD' with 1 attribute
a) FILE type XSTRING
2. Create a filedownload uielement
a) bind the data property with the attribute 'FILE'
Fetch the file from database and set the File attribute of the filedownload uielemnt to display the file.
regards,
Amit -
How to modify the search results of the GUI for subscribing to calendars
How to modify the search results of the GUI for subscribing to calendars
Note:
<OL>
<LI>The following information applies only to iPlanet Calendar Server 5.0
Patch 3.
<LI>All of the cases for which the XSLT changes will work have not been
verified.
<LI>The following is only an example of an XSLT customization.
</OL>
The example below shows a sample customization of the
search_for_calendars
dialog. This customization will result in the Display Name being included as
part of the search results in the GUI, which would normally show just the
calendar ID. It will render the returned calendars in the following format:
<P>
Display Name - <I>description</I>
<P>
Normally, the format would be as follows:
<P>
Calendar-ID - <I>description</I>
<P>
</A>
The example consists of the following two files:
<P>
<OL>
<LI>search_for_calendars_common.xsl
(the entire XSLT file)
<P>
<LI>diffctx.txt
(the context sensitive diff patch file,
which basically shows only the changes that need to be made)
</OL>
<P>
<HR>
</A><B>
search_for_calendars_common.xsl</B>
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
- <!--
set the output properties
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
result-ns="http://www.w3.org/TR/REC-html40">
-->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
- <!-- set the output properties
-->
<xsl:output method="html" encoding="ISO-8859-1" />
<xsl:include href="data/common.xsl" />
<xsl:include href="data/i18n.xsl" />
<xsl:include href="data/date_format.xsl" />
<xsl:include href="data/dialog_tabs.xsl" />
- <xsl:template match="/">
<xsl:apply-templates select="calendar" />
</xsl:template>
- <xsl:template match="calendar">
- <xsl:choose>
- <xsl:when test="@top='true'">
- <xsl:variable name="Frame1">
<xsl:value-of select="frame[1]" />
</xsl:variable>
- <xsl:variable name="Frame2">
<xsl:value-of select="frame[2]" />
</xsl:variable>
- <xsl:variable name="Frame3">
<xsl:value-of select="frame[3]" />
</xsl:variable>
- <xsl:variable name="tab_value">
<xsl:value-of select="@tab" />
</xsl:variable>
- <HTML>
- <HEAD>
<xsl:call-template name="contextJavascript" />
<TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
</HEAD>
- <FRAMESET border="0" frameborder="0" rows="77,*,71">
<FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" src="{$Frame1}" />
<FRAME name="main" frameborder="0" src="{$Frame2}" />
<FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" frameborder="0" src="{$Frame3}" />
</FRAMESET>
</HTML>
</xsl:when>
- <xsl:when test="@view='searchProperties'">
- <xsl:for-each select="group">
- <xsl:if test="@name='searchProperties'">
<xsl:call-template name="search_toolbar" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='main'">
- <xsl:for-each select="group">
- <xsl:if test="@name='main'">
<xsl:call-template name="main" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='button'">
- <xsl:for-each select="group">
- <xsl:if test="@name='button'">
<xsl:call-template name="button_root" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:otherwise>
- <html>
What's this view? (search_for_cals.xsl) -
<xsl:value-of select="@view" />
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
- <xsl:template name="search_toolbar">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0" onload="window.focus()">
- <FORM>
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
</xsl:attribute>
<xsl:apply-templates select="formdata" />
- <CENTER>
- <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
- <TR>
- <TD align="center">
- <TABLE border="0" cellpadding="3" cellspacing="1">
- <TR>
- <TD colspan="4">
<FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
the calendar</FONT>
</TD>
</TR>
- <TR>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="which">
<OPTION value="name;calid">name or ID</OPTION>
<OPTION value="name">name</OPTION>
<OPTION value="primaryOwner">primary owner</OPTION>
<OPTION value="calid">ID</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="how">
<OPTION value="0">contains</OPTION>
<OPTION value="1">begins with</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
<INPUT type="text" name="what" />
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <INPUT type="button" name="find" value="Find">
- <xsl:attribute name="onClick">
<xsl:value-of select="./button[@name='find']" />
</xsl:attribute>
</INPUT>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>
</xsl:template>
- <xsl:template name="main">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0">
- <FORM name="form" method="post">
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:apply-templates select="formdata" />
<INPUT type="hidden" name="how" value="0" />
<INPUT type="hidden" name="which" value="name;calid" />
<INPUT type="hidden" name="what" value=" />
<INPUT type="hidden" name="selectedGroup" />
- <xsl:if test="(./calsearchresults/nomatch)">
- <!-- print no match found
-->
&nbsp;
&nbsp;
No Match Found
</xsl:if>
- <xsl:for-each select="./calsearchresults/searchresultcal">
- <P>
&nbsp;
&nbsp;
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <FONT size="{$font_size_big}" face="{$font_name}">
Owner:
<xsl:value-of select="@owner" />
<FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
</FONT>
Calendar ID:
<xsl:value-of select="@id" />
<BR />
</FONT>
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <xsl:choose>
- <xsl:when test="@subscribed='false'">
&nbsp;
&nbsp;
- <INPUT type="checkbox" name="calendar">
- <xsl:attribute name="value">
<xsl:value-of select="@name" />
</xsl:attribute>
</INPUT>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
</xsl:when>
- <xsl:otherwise>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
&nbsp;
(Subscribed)
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="string-length(@description) > 0">
&nbsp;
&nbsp;
- <FONT size="{$font_size_big}" face="{$font_name}">
<xsl:value-of select="@description" />
</FONT>
</xsl:if>
</FONT>
</FONT>
</P>
</xsl:for-each>
</FORM>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<P>
<A HREF="#back">Back</A>
<P>
<HR>
</A>
<B>diffctx.txt</B>
Index: search_for_calendars_common.xsl
===================================================================
RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
retrieving revision 1.1.2.14
diff -c -r1.1.2.14 search_for_calendars_common.xsl
*** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
--- search_for_calendars_common.xsl 2001/03/15 23:55:19
*** 182,188 ****
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@id"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
--- 182,188 ----
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@name"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
*** 190,196 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
</xsl:when>
<xsl:otherwise>
--- 190,196 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
</xsl:when>
<xsl:otherwise>
*** 199,205 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
--- 199,205 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
<P>
<A HREF="#back">Back</A>Maybe on the Google API s page?
-
Hello,
I have created a simple model class, controller class, and a view that was created using Scene Builder application. Though injection I've passed the model object to the controller and I'm able to handle events and call methods of the model. The problem is, I don't know how to modify the view. If I have some data that the model generates and would like to pass that to view to be displayed how do I do this? I seem to only be able to go in one direction.
D'Mita LevyYou can inject parts of the scene graph into the controller using the fx:id attribute (in FXML) and by annotating the appropriate fields with @FXML in the controller.
Your controller can then observe the model for changes in the data and call methods on the elements of the scene graph to modify it as necessary. In particular, if you can build your model with JavaFX properties, your controller can either register listeners with those properties, or bind properties of the scene graph elements directly to them.
See, perhaps, https://github.com/james-d/TicTacToe for an example. -
How to call java methods from different java file.
Hi, i create 2 files:
CircleCalculationMethod.java
Main.java
In Main.java, How can i call method in CircleCalculationMethod.java ?
Should i put everything in same folder ??
Should i do something like "import CircleCalculationMethod.java"
Should i do something like create a package
Thanks
P/S: i use Eclipse softwareAs I suggested in your OTHER threads - the BEST WAY to learn, and often the fastest, is to TRY THINGS yourself.
Just posting code you get from the internet and asking others to modify it for you won't teach you anything.
Go through The Java Tutorials. There are trails for ALL of the basic functionality that include working, sample code.
This is the trail on 'Packages':
Lesson: Packages (The Java™ Tutorials > Learning the Java Language)
And this is the one on 'Classes and Objects'. This trail includes sections for methods and how to define and use them.
Lesson: Classes and Objects (The Java™ Tutorials > Learning the Java Language) -
How to modify Ship-to address when adding item into SC
Hello,
I need to modify a Delivery address (ship-to) address of a shopping cart.
I tried to create a implementation of BADI BBP_DOC_CHANGE_BADI, method BBP_SC_CHANGE where I tried to loop at et_partner, searching for ship-to address partner (partner_fct = 00000027)
I updated the building, floor and room fields for this partner
<fs_partner>-building_p = l_usr_addr-building.
<fs_partner>-floor_p = l_usr_addr-floor.
<fs_partner>-room_no_p = l_usr_addr-roomnumber.
but it's ignored in Delivery address tab (the data is not shown) until I clear the ADDR_NO field:
CLEAR <fs_partner>-addr_no.
In this case the Delivery address tab displays correct data
But when this shopping cart requires to be approved (ie because of not enough spending limit of the requistioner), the Approver opens the shopping cart, the delivery address is OK. But when he choose Reject (or any kind of edit action), then click on Delivery address tab, all address fields are empty
Please suggest how can modify the Delivery adrress ?Hello Miroslav,
As you cleared ADDR_NO, address data for partner Ship-To are deleted: this is logic...
You need to populate correct ADDR_NO to your Ship-To partner.
Have a look at wiki below:
[Delivery Address in Shopping Cart - How does it work ?|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=230261594]
Regards.
Laurent. -
Is there a way to suppress calls to modify view method?
We have a WDP application which consists of a tabstrip with multiple tabs. We find that everytime we click on a tab, all the modify view methods in the other tabs get executed, even though it is not necessary.
This adds to response time BECAUSE WDP executes on the server and there are round trips to the server!
Is there a way to suppress this?Hi Yew
Why dont you find out which tab has been selected and execute only the relevant set of methods for the tab selected. Check this post for code samples on how to determine the selected tab
Re: How to get the name of a Tab at runtime
Regards
Pran -
How can Modify the Text of a MessageArea in a Application WD ABAP Standard?
Dear Experts.
How can Modify the Text of a MessageArea in a Application WD ABAP Standard?
I found the following link in the helpsap, but in this moment I don't know How found this text? and Modify this text with a new text.
http://help.sap.com/saphelp_nw70/helpdata/en/3a/f6ba42a950da11e10000000a155106/frameset.htm
The text of a MessageArea are in a table of configuration or can do the system for get this text and show in the application in the portal? How can get this and modify by a new text.
Please help me with a suggestions.
Thanks
Regards
Carmen G.Dear Kranthi..
The datas of the Application is the following:
General Information About the Application and Component
Application: FITE_REQUEST
Web Dynpro Component: FITV_FPM
Window Information: FPM_WINDOW
View Information: Layout_view
Information on Field
Field ID: HELPTEXT
Type of UI Element : Explanation
Attributes of UI Element
TEXT_DOCUMENT_NAME: FITE_FPM_REQUEST_GENERAL_DA
I dont found this method L_MESSAGE_MANAGER->REPORT_T100_MESSAGE.
Please can give more suggestions for found the method
Thanks in advance
Regards
Carmen G.
Maybe you are looking for
-
BADIs for MB11, MB1A, MIGO?!?!?
Hi friends, I've make an implementation for BADI definition "MB_DOCUMENT_BADI". This implementation will be called by MB11(MB1A, MIGO). I need to <b>cancel</b> a line item from input data (importing 2 itabs mseg & mkpf) before updating to system. M
-
Table and fields for tax details
Hi, I have to create one Finance module Report in which i want to display net amount without tax for one single line item which is open item for incoming customer invoice, the accounting department need to know the net value (without tax) . In tcode
-
Unexpected end of file when starting on WinNT 4.0
Hi folks, I have an 8.1.7 EE Installation on a notebook that works just fine as long as the notebook is connected to the network. However, when it is not connected to the network, I cannot even start my instance using svrmgrl. Starting svrmgrl just g
-
Import button is missing?
Where is the import button? My computer isn't showing it at all even after the new iOs upgrade and a full restart?
-
Will non-stock generally be posted through a goods issue? When I was running a MB51, I was having difficulty seeing anything other than receipts. Thanks, Rob