How to Revise the Variable of Profitability Analysis (KE31)
Hello SAP Gurus,
How do I revised the "variable" of the Profitability Analysis? I just need to add a variable...
Thanks in advance.
Hi,
Get in TCODE KE35 i.e. form definition... now select u r row or column where u want to add the variable... when u get in for characteristics u selected, second icon enables u to create new variable.. U just tick this and system will enable u define new one or to select existing variable.
Regards
Sudhakar Reddy
Similar Messages
-
How to use the variables used in the message mapping
Hi ,
In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping .
I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF .
Please guide me how to use the variables declared in the JAVA section in the message mapping .
Thanks
Anita YadavAnita,
I have worked on the Global variables and i found no issues. Make sure that the variable is declared in the Declaration Section and then initlaized in the Initialization section.
If you declare a variable in the Declaration Section ,
int i;
then in any udf you can use if directly. No need to re declare the variable in the UDF. If you do this, then it becomes a local variable.
Regards,
Bhavesh -
How to clear the variable value in session store?
I'll try to build form for search. There are LOV and
search button on form. When user don't select anything then push
search button, I'd like the report to show query everything. I
mean the report will show like condition where id like '%'.
And I send variable between form to report by using session
store.
I select nothing in LOV but value that return by LOV is
not null. It's in stead of old value of LOV.
Please tell me.. How to clear the variable value in
session store? I'd like to set it to null. If you have greater
way to do like this, please tell me.
Thank you.Please suggest on this..
Thanks. -
How to display the variable content in message?
Hi anybody
please let me know How to display the variable content in message?
please send few lines of sample code to understand that
thanks in advanceHi,
Check out the link
http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
REPORT Y9020027 LINE-SIZE 130. "Release 3.1G, 4.5A
BREAK-POINT.
MOVE: 'TESTREPORT for "ASSIGN FFeld+o(l) TO " '
TO SY-TITLE.
Declaration of variables **********************
FIELD-SYMBOLS <FS1>.
DATA: FFELD8(8) TYPE F VALUE '1022333'. "Unusual: Explicit 8 bytes
*DATA: ZFELD1(2) TYPE N. "Here slack bytes are (DW border)
"necessary
"If you like computing error, please uncomment the above
DATA: FFELDX(8) TYPE F VALUE '7777777'.
DATA: FFELDA(8) TYPE F VALUE '7333213'.
DATA: NFELDX(400) TYPE N.
DATA: OFFX(4) TYPE I VALUE 160.
DATA: LENX(4) TYPE I VALUE 8.
Main Section *******************
SKIP.
WRITE: /5 'Example 1 **** inadmissible ASSIGN ***' COLOR 6.
WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
ASSIGN FFELD4+1(3) TO <FS1>.
ULINE.
SKIP 2.
SKIP.
ASSIGN FFELD8+8(8) TO <FS1>. "<-- Assigning of variable FFELDX !!
BREAK-POINT.
WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
COLOR 3.
WRITE: /5 'Example 2'.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDX :', FFELDX.
ULINE. SKIP 2.
SKIP.
ASSIGN FFELD8+16(8) TO <FS1>. "<-- Assiging a few FFELDA to <FS1>
BREAK-POINT.
WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
COLOR 3.
WRITE: /5 'Example 3'.
WRITE: /10 'Content of FFELDA :', FFELDA.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDA :', FFELDA.
ULINE. SKIP 2.
BREAK-POINT.
DO 4 TIMES.
ASSIGN FFELD8+OFFX(LENX) TO <FS1>. "Zuordnung auf OFFX zu <FS1>
WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
COLOR 5.
WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of NFELDX145(40) :', NFELDX145(40).
ULINE. SKIP 2.
ADD 8 TO OFFX.
ENDDO.
Subroutines *******************
Display of data fields and field symbols *
FORM DISPLAY-FFELD USING FFELD FNAME.
WRITE: /10 'Content of', FNAME, ':', FFELD.
PERFORM FELDEIGENSCHAFTEN USING FFELD.
WRITE: /10 'Content of <FS1> :', <FS1>.
PERFORM FELDEIGENSCHAFTEN USING <FS1>.
ADD 111 TO <FS1>. "<-- Das Feldsybmol wird verwendet
WRITE: /10 'ADD 111 TO <FS1>'.
ULINE.
WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
WRITE: /10 'Content of <FS1>', 35 ':', <FS1>.
ENDFORM.
Determination of field properties (only for information) *
FORM FELDEIGENSCHAFTEN USING ALLG.
DATA: FLAENGE(2) TYPE N.
DATA: FTYP(1) TYPE C.
DATA: FOUT(2) TYPE N.
DATA: FDEZ(2) TYPE N.
ULINE.
DESCRIBE FIELD ALLG LENGTH FLAENGE.
WRITE: /10 'Field length :', FLAENGE.
DESCRIBE FIELD ALLG TYPE FTYP.
WRITE: /10 'Field type :', FTYP.
DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
WRITE: /10 'Output length :', FOUT.
DESCRIBE FIELD ALLG DECIMALS FDEZ.
WRITE: /10 'Decimals :', FDEZ.
SKIP 1.
ENDFORM.
END OF PROGRAM ************************************* -
How to create the variable variant in process chains for ip
how to create the variable variant in process cahins for ip
Hi venky,
check these links
http://help.sap.com/saphelp_nw70/helpdata/EN/c0/980398e58611d194cc00a0c94260a5/content.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/c0/98038ce58611d194cc00a0c94260a5/content.htm
bhaskar -
How to get the variable value in description if I am writing a condition
I have created a query for TOP N Customers and
and for N I am passing as a varaible
& I want the same value to be displayed in the description
I tried a lot but I dont know how to do it
can any one tell me the solution for this
Thx & regardsHi,
You have to define a Text Variable of type customer exit and pass the value of the Variable you have created for the condition in the Exit Code.
You have to use the correct I_Step = *.
Cheers.
Ranga. -
How to use the variable value "ALL"
Hello all,
I'm trying to use the value "all" for a selection variable in a Web Interface so that to have no restrictions for that specific variable and that all the rows are shown on the interface.
Unfortunately it does not seem to be working because when I select the value "all" the system seems to go back to the latest rows saved under a specific value for that variable and does not show all the rows saved under any variable's value.
Anyone knows how to make this work? One option is to remove the variable from the web interface altogether, but that's my last option.
Thanks in advance.
Best regards,
FrancescoHi Francesco,
why is leaving out the variable your last option? If you want to select "all" then you don´t need a variable.
Cornelia -
How to change the variable value in fox formula?
Hi All,
Please help me achieve this scenario,
in the variable selection screen , i wil give some i/p like, calyear(0calyear) = 2008.
In planing function using FOX formula, i must be able change the variable value to 2009.
Will it be possible to achieve this, can we change a variable value using FOX formula, if possible
please let me knw how to achieve this.
Thanks n Regards,
Priya.Hi Priyadarshini,
i dont know what is your requirement exactly.If you can give a better explanation of ur requirement we can help you. But to answer your question yes we can get new values for the variable in the planning function.
for this you need to couple the planning function together with the planning filter in a planning sequence. This planning filter should have the variable that you wanted to change. In the WAD when you want to call this planning sequence there is an option to call variable screen. If you enable this, it will pop up the variable screen to get this value again.
Guess this was helpful.
Regards.
Shafi. -
How to restrict the variables in BPS
Hi experts,
I have a problem with restricting the variables in the BPS function.
In the planning area, I have created a characteristics variable with user define value (input allowed by user) replacement type.
Yet, in the planning folder, it seems that I can only select either a single value (for example material 1000) or a range of values (for example material 1000 to 5000).
I can't choose several single values (for example 1005, 1020, 1030).
Since I need this functionality, do you maybe know how to solve this problem?
Thank you very much.BPS variables does not allow the choice of multiple single values, you can choose a single value OR a range of values. This issues has been brought up with SAP Development.
If you need single values or a complete range of values, you can add each single value as a fixed value and the range as another fixed value that can be selected. You can select each single value individually or the whole range (or any subranges you specified) but not multiple selections of single values.
In user definted variable if you check input allowed by users, you can add some values and the users can add more but then they could potentially go into material numbers they should not get access too.
Hope it helps.
Regards -
How to populate the variable created in start routine to a field.
Hi
I have created a variable ZCUST in the Start routine and I have written some code to populate this value. Now there is a field in the update rules, Z_YTCUST. I want to assign the result of the variable created in start routine to this field. How can I go abt doin this? I have tried but for some reason the result shows 0.
Thank you.Hi,
Make sure the variable used in the start routine is a global variable. then assign the value u get it from the start routine in the update rule result field. -
How to convert the Variable with soap header to non soap variable.
I am working on a customized flow simialr to ProcessSalesorderFulfillmentJMSCOnsumer and Requestor ABCS. I dont have the PIP codes for the Requestor adn JMS Consumer. i built my own Requester ABCS and JMS Consumer. When i am trying to send message from JMS Consumer to Requestor ABCS in a variable with a SOAP:Env and SOAP:body inside.
Becoz of this i was not able to put a condition in my bpel flows. If i put a condtion on this variable like switch inputvariable:part:OrderType='NEW' and it was failing with selection failure. I tried copying the variable to a new variable and then to check the condition still it does not work for me. How do i convert the SOAP Message Variable to Non SOAP Message Variable.
Can i know the message put by SIebel in JMS Queue was it SOAP converted adn then how they are going to handle in Process Sales order Requestor ABCS.HI,
In JMS Consumer of order to cash pip, Instead of using a schema reference they use a Envolpe.zxsd file which will take care of conversion adn then other artibutes are mapped in a transformation file.
Please take an export of jms consumer in jdeveloper and reverse engineer the code of JMS COnsumer Service.
Envelope_To_ListOfSWIOrderIO is the xsl whcih converts the message in AIA Queue to a message in a SOAP. Please look into the transformation.
Thanks,
Venugopal sss Raja -
How to include the variable as a part of the sqlStatement in doGet Servlet
How can I get the variable empnum as a part of the sqlStatement. I am getting an error.
String empnum = req.getParameter("empnum"); --Works
out.println("THE empnum IS : " + empnum); -- Works
String dsJndi = "jdbc/OracleCoreDST"; -- Works
String sqlStatement = "select from HR_TABLE where HR_EMP_NUM=empnum";* - Works if empnum is hardcoded.
Thanks so much for the help in advance
KAThanks John..! Opened my eyes ;)
Was a bit reluctant with the users repeated basic questions - my bad and apologies.
It should have been
String sqlStatement = "select * from HR_TABLE where HR_EMP_NUM=?";
PreparedStatement pt = c.prepareStatement(sqlStatement);
pt.setInt(1, Integer.parseInt(empnum));
ResultSet rs = pt.executeQuery();though the 1st solution works..!
regards,
~K -
How to get the variable set by c:set in Scriptlet ?
Hello,
I set up some variables by <c:set> and struts tag <bean:size>, and the values should be considered as integers. How can I use the variables in math expression?
When I try to use the variables in scriptlets, I got compile errors in the getAttribute lines.
My code:
<bean:size id="listSize" name="list" /> <c:set var="pageSize" value="${20}" />
<c:set var="pageBegin" value="${param.pageBegin}" />
<%
int ls = (Integer)pageContext.getAttribute("listSize");
int ps = (Integer)pageContext.getAttribute("pageSize");
int totalPages = (int)Math.ceil((double)ls / ps);
%>xiaoxuan_li wrote:Hello,
I set up some variables by <c:set> and struts tag <bean:size>, and the values should be considered as integers. How can I use the variables in math expression?
When I try to use the variables in scriptlets, I got compile errors in the getAttribute lines.
My code:
<bean:size id="listSize" name="list" />
<c:set var="pageSize" value="${20}" />
<c:set var="pageBegin" value="${param.pageBegin}" />
<%
bq. int ls = (Integer)pageContext.getAttribute("listSize"); \\ int ps = (Integer)pageContext.getAttribute("pageSize"); \\ int totalPages = (int)Math.ceil((double)ls / ps);
%>I finally find the errors, I change the getAttribute() lines to the following, and the program runs well, although I'm still curious of if there is a better way to get the value of totalPages by using JSTL tags, instead of scriptlets.
<%
bq. {color:#ff0000}Number {color}ls = {color:#ff0000}(Number){color}pageContext.getAttribute("listSize"); \\ {color:#ff0000}Number {color}ps = {color:#ff0000}(Number){color}pageContext.getAttribute("pageSize");
%> -
How to show the variable values in key format in the information tab
Dear all
in the information tab of the query, we can see all the filters and the variable value. But we can only see the infoobject <b>text</b> of this variable, how can we do if the user needs to see the <b>key</b> of this variable?I've referred to the Web API, and find a way to display some specified variable, but since this is the standard webtemplate and we need to show all the possbible variable used in the query. Anybody has better solution?
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="StaticFilter"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
<param name="DATA_PROVIDER" value="DP"/>
<param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&key=722"/>
<param name="GENERATE_LINKS" value=""/>
<param name="WIDTH" value="330"/>
<param name="ELEMENT_TYPE_100" value="VARIABLE_KEY" />
<param name="ELEMENT_NAME_100" value="0P_WBSO"/>
<param name="ELEMENT_TYPE_101" value="VARIABLE_KEY" />
<param name="ELEMENT_NAME_101" value="0P_PRJ"/>
ITEM: FILTERS
</object> -
How to identify the variable processing type
Hi Experts,
How to find the details of the variable whether it is filling with user exit or replacement path
Say i have a variable xxx , how to identify the above details.
Thanks,use RSZGLOBV table in VNAM give your variable and VPROCTP will give you processing type
Maybe you are looking for
-
Weblogic 9.2 ESB integration with Websphere MQ 6.0 throws MQJMS1016
Hi We have setup a Websphere MQ integration where we have a weblogic server as the client. The MQ setup is a clean MQ installation no WAS is installed. Here are the MQ information OS: Windows 2003 R2 Entreprise
-
How good is the earthing of the Macair?
Hi all! This is my first ever posting and I doner the answer to my question. I just bought a brand new latest mac air 13" with all the trimmings. When I plug the air into the mains and if you use your finger and rub around the aluminium casing I can
-
Vendor Email - Field where stores
Hi Friends, Can any body tel where Email field store. In Me22n in adress tab. If we click adress detail push button. there is a field cal Email. where this field stores. I checked some tables like ADRC, ADR2, ADR3 I am not able to find. If i change t
-
HI, At the the of MIGO posting .One FI document will create. Please let me know how will appear the text in FI document. Where we have to put text in MIGO screen and any other setting from FI side . I have tried all MIGO screen text but in FI documen
-
Error in Adding the sample Portlet Provider
I got the congratulation !! after testing the JSP "http://ltree1:80/servlets/sample, but I'm getting the following error when I try to add the SampleWebProvider The error is : Error: An error occurred when attempting to call the providers register fu