How to use a sap scripts for multiple languages
hi gurus
what are main events in that are used in ALV reports.........
regards
baskar
Hi Bhaskar,
in the alvs these are the main events.
1.slis_t_listheader,
2.slis_t_fieldcat_alv.
3.slis_t_sortinfo
4.slis_t_events
5.slis_t_print_alv.
6.slis_t_layout_alv.
and also used these two events.
1. top-of-page.
2.top-of-list.
Similar Messages
-
How to use the same script for multiple buttons
Hi,
I've only just started using flash so any help would be great!
I'm creating a blockbusters type game, I have a grid of 20 buttons and I need them (individually) to turn blue on click and red on double click. I've managed to do it with the first one using this code;
var clicked:Boolean = false;
bn1.addEventListener(MouseEvent.CLICK, bn1click);
function bn1click(event:MouseEvent):void {
clicked = true;
var newColorTransform:ColorTransform = bn1.transform.colorTransform;
if(clicked){
newColorTransform.color = 0x064258;
bn1.transform.colorTransform = newColorTransform;
bn1.doubleClickEnabled = true;
var doubleclicked:Boolean = false;
bn1.addEventListener(MouseEvent.DOUBLE_CLICK, bn1dclick);
function bn1dclick(event:MouseEvent):void {
doubleclicked = true;
var newColorTransform:ColorTransform = bn1.transform.colorTransform;
if(clicked){
newColorTransform.color = 0xac1e23;
bn1.transform.colorTransform = newColorTransform;
Now I'm having trouble getting the same to work for the rest of the buttons, they are each named bn2, bn3 etc. They need to work individually and remain blue/red once clicked. I've tried listing them as addEventListener commands but not having a great deal of success!
Any help would be greatly appreciated, thanks!
TomoOne way to do this is to use arrays to keep track of the buttons and their properties.
var buttonList:Array = new Array(bn1,bn2,bn3);
var clickedList:Array = new Array();
var doubleClickedList:Array = new Array();
//then use a for loop to assign the functions and properties for each button:
var thisMany:int = buttonList.length; // this will give you the number of items in the buttonList array
for(var i:int = 0; i<thisMany; i++) {
buttonList[i].addEventListener(MouseEvent.CLICK,btnClick); // assign the click function to each button
buttonList[i].addEventListener(MouseEvent.DOUBLE_CLICK,btnDClick); // assign the double click function
clickedList.push(false); // add a false value for each button to this array
doubleClickedList.push(false);
buttonList[i].doubleClickEnabled = true; // set the double click property for each button
function btnClick(event:MouseEvent):void {
var thisButton:int = buttonList.indexOf(event.target); // figure out which button was clicked as an item in the array
clickedList[thisButton] = true; // change the value in the array
var newColorTransform:ColorTransform = buttonList[thisButton].transform.colorTransform;
if(clickedList[thisButton]){
newColorTransform.color = 0x064258;
buttonList[thisButton].transform.colorTransform = newColorTransform;
function btnDClick(event:MouseEvent):void {
var thisButton:int = buttonList.indexOf(event.target);
doubleClickedList[thisButton] = true;
var newColorTransform:ColorTransform = buttonList[thisButton].transform.colorTransform;
if(doubleClickedList[thisButton]){
newColorTransform.color = 0xac1e23;
buttonList[thisButton].transform.colorTransform = newColorTransform;
Now you can have any number of buttons, just add their instance names to the array at the top. -
How to use one email adress for multiple recipients
Hello,
I'd like to know how to use one email adress for multiple recipients.
this would be very useful or projects. for example;
if i send one mail to [email protected], all people in this project get an email.
I will add the people in this project myself.
I know it is possible, but I don't know how to do it ;-)
please help me!Hope this help.
_http://technet.microsoft.com/en-us/library/cc164331(v=exchg.65) .aspx -
Printing sap script for multiple customers
Hi,
I have a requiremnt to print the form for multiple customers. How should i use the sap script function modules? i.e. in which sequence?
for example customer A has 5 pages. customer B has 4 pages.
after printing 5 pages of the customer A, it should print 4 pages of the customer B.
regards,
CKTo print accroding to your requirment you should modify your driver program like this...
Sort <Internal table by KUNNR.
LOOP AT <internal table>
AT NEW KUNNR. "Customer..
**Call Function module OPEN_FORM
END AT.
AT END OF KUNNR.
***Call function CLOSE_FORM
ENDAT.
***Call all your Write_FORM
ENDLOOP.
Regards,
SaiRam -
Is it possible to use same sap script for different comp code with difflogo
I have 3 company codes. I need to use same sap script to all but each company code has different logo. I dnt want to go for 3 different sap script. Is it possible to change in coding
like this
If comp code = '100'
print ' logo1'
If comp code = '200'
print ' logo2'
If comp code = '300'
print ' logo3'
in same sapscript.If yes how ?Hi,
Yes you can do it.
In Sap Script use:-
/: If Comp code='100'
INCLUDE ZHEX-LOGO100 OBJECT TEXT ID ST LANGUAGE EN
/:Elseif comp code = '200'
INCLUDE ZHEX-LOGO200 OBJECT TEXT ID ST LANGUAGE EN
/:Else
INCLUDE ZHEX-LOGO300 OBJECT TEXT ID ST
LANGUAGE EN
/:Endif
I hope this helps,
Regards
Raju Chitale -
How to use 1 apple id for multiple deivces
How do I use 1 apple id for multiple devices. My son just got new ipod and wants to imessage, but when he does it shows it is from me.
Thank you
-
How to create a sap script for sales order header items?
Hi friends i am totally new to scripts i have got a task where i have to create a sap script for sales order header items details, the clue that i have got is to create using MEDRUCK but i have got no idea please can any body help me with this task with any sample sap script?
Points will be rwwared with out fail Thks in advance.Hi,
The Standard Form NAme is RVORDER01
Regards
Sandipan -
How do use the same crop for multiple images.
I have a number of images that I want to use the same crop on. Instead of go through the whole slow process for each image is there a way to use the same crop for all of the images?
And in iPhoto there was a way to copy the adjustment settings to multiple images, I can't see how to do that in aperture.Use the "Lift&Stamp" tool:
Crop one image.
Lift the crop using the "Lift" tool.
Select the other images.
Stamp the crop adjustment to all of them.
But caution: By default "Lift" will copy all Metadata tags and all adjustments, but the gps data. If you only want to transfer the cropping rectangle, deselect all lifted items but the crop adjustment before stamping.
Regards
Léonie -
How to use single web form for multiple secure zone signup?
I have multiple secure zones in my website. I want to sell membership of secure zones to users of my website. I want, users signup for multiple secure zone of their choice and submit payment. Is it possible if can you please explain a bit or refer me to an doc about it.
Thanks a lot for your time,I realize this isn't likely, but do you know of a way to allow the user to select the secure zone to be registered (e.g. from a list of multiple secure zones or entering ID of one sz into a text input) from within a single web form? I wonder if this can be passed in through a parameter in the action URL or through a special system field.
Thanks -
How to use Same Inspection plan for Multiple Plants?
Hello,
When I create a Process Order for material (M1), release and save it for a Plant A then I get the Inspection lot automatically.
Now I have another Plant B that we have created. We would like to use the same Inspection plan that has been created for Plant A and M1
So in the changed mode(QP02) of the Inspection plan for Plant A in the material assignment tab I added the Material M1 and the Plant B. I am assuming this means when I create the Process order for M1 in Plant B then it should use the same Inspection plan.
But when I create the Process Order for M1 for Plant B, release and save it then it does not created the Inspection lot automatically(though I can create Inspection lot manually)
Can you tell me if there is setting that will allow me to create the Inspection lot automatically on saving the Process order which should use the Inspection plan that I just assigned.
And also let me know if there is a better way to handle same Inspection Plan for same material but multiple Plants.
Thanks
SAP Fans...Dear,
For your message my understanding is that you are not getting Inspection lot created in Plant"B". Inspection lot for a material would get created based on the Inspection Setup for the material master "QM View", so compare the QM for the material in both plants and correct it for Plant "B".
Probably I feel Inspection Setup is not complete for the material in Plant "B" - Generally when extending material by copying referance, in the QM view you need to click the Inspection Setup Button, for the data to be copied...otherwise it does not copy the Inspection setup from the referance plant.
Regards,
Prasobh -
How to use single JSP page for multiple users.
Hi ,
I am doing messenger kind of program using JSP and tomcat server.
When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
how can i do that one . can any one guide me .
Thanks in advance.SuneelGoodatJava wrote:
Hi ,
I am doing messenger kind of program using JSP and tomcat server.
When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
how can i do that one . can any one guide me .
Thanks in advance.HTTP is a request/response protocol. You can't do what you're suggesting without "pushing" what you type to all the other users. That's not the way HTTP works. Maybe an applet and servlet.
% -
How to use one af:query for multiple VOs
Hi all,
How can we use an af:query component to query on multiple VOs?
Think of a page with search area and a tabbed pannel with two tables based on different view objects.
Any ideas?
Thanks
Version
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60
Edited by: Barbara Gelabert on 28-dic-2010 6:55Hi Santosh,
Not yet implemented, but I was thinking on overriding the query listener and creating a view critera on the second view object as a copy of the first one. That involves capturing operands, operators and values set and then applying the criteria and executing the query.
Anyway, in case you don't need complex operators in the search area but can add them as where clauses to the query statement, you can use search forms instead of query components as Shay Shmeltzer suggests in [url http://blogs.oracle.com/shay/2010/12/combining_multiple_queries_and.html?goback=.gde_1002457_news_308820955]his post.
Regards,
Barbara -
How to use one Account dimension for multiple account structures
We are implementing a HFM application to replace two general ledger applications, one being Corporate and the other a new subsidiary. We need to maintain both of the chart of accounts and their unique rollup structures. We are facing the difficulty in attempting to combine the two chart of accounts into one HFM Account Dimension because a few of the subsidiary accounts have the same account numbers but they are meant different things.
Question:
How can we set up two distinct account structures in HFM and also have the subsidiary accounts rolled into the Corporate accounts for consolidation reporting?
Appreciate your help.Hope this help.
_http://technet.microsoft.com/en-us/library/cc164331(v=exchg.65) .aspx -
How to use simple values services for multiple rows ina table
Hi Frnds...
As per my requirment i need to use SVS for multile rows in a table.
The coding goes like this for getting single attribute which is directly under root context.
objSimpleValueSetCurr = wdContext.getNodeInfo().getAttribute("ctx_attribute");
(this is only for context attribute directly placed under root context in the view controller.)
We need to use value node and a value attribute inside this node. And retrieve the same. so need help regarding the code changes.
Regards,
SudeepHi ,
I had tried out your suggestion. Its not working.
The code goes like this, but the data is not getting populated.
"controller_curr" is the value attribute under the node "InitTable" in the controller which is further mapped to view controller with the same structure.
The data is geting printed through the message manager just before the line
divSMT.put(currency,currency); in this code, at the end.
But "divSMT.put" is not able to populate the data.
_________START________
public void currency( )
//@@begin currency()
IWDMessageManager msg = wdComponentAPI.getMessageManager();
ISimpleTypeModifiable objSimpleTypeCurr = null;
IModifiableSimpleValueSet objSimpleValueSetCurr = null;
String currency=null;
String bandg = null;
Z_Bapi_Get_Curr_Rate_Input authCurrDet = null; //for FCURR
Try
authCurrDet = new Z_Bapi_Get_Curr_Rate_Input();
wdContext.nodeZ_Bapi_Get_Curr_Rate_Input().bind(authCurrDet);
wdContext.nodeZ_Bapi_Get_Curr_Rate_Input().currentZ_Bapi_Get_Curr_Rate_InputElement().modelObject().execute();
IWDAttributeInfo objSimpleValueSetCurr1 = wdContext.nodeInitTable().getNodeInfo().getAttribute("controller_curr");
ISimpleTypeModifiable countryType = objSimpleValueSetCurr1.getModifiableSimpleType();
IModifiableSimpleValueSet divSMT = countryType.getSVServices().getModifiableSimpleValueSet();
int sizeofCurrencyFCURR = wdContext.nodeOPCURROutput().nodeIt_Curr_Rate().size();
msg.reportSuccess("SizeofCurrency FCURR : "+sizeofCurrencyFCURR);
for(int i=0;i<sizeofCurrencyFCURR;i++)
currency = wdContext.nodeOPCURROutput().nodeIt_Curr_Rate().getIt_Curr_RateElementAt(i).getFcurr();
msg.reportSuccess("Currency : "+currency);
divSMT.put(currency,currency);
catch(Exception e)
//@@end
_________END________
Please look into the issue.
Regards. -
How to write SAP Script for AP/AR?
Hi,
I would like to know how to prepare a SAP Script for AP/AR. Can anybody help.
Thanks
STHi,
I would like to know how to prepare a SAP Script for AP/AR. Can anybody help.
Thanks
ST
Maybe you are looking for
-
Compatability with 10.4.3
This happened on both my tower and my notebook. My DVD Studio Pro was working fine but since I've upgraded to 10.4.4, the program starts but doesn't let me open a project. After three attempts it totally freezes and I need to force quit. Any ideas? T
-
10/21/2010 Update - Netflix/Silverlight no longer work on 2008 Mac Pro
After performing the latest update tonight I can no longer watch video "instantly" (streaming) from Netflix. After manually trashing and installing the latest Microsoft Silverlight internet plugin, Netflix thinks it is an O/S issue. This is the error
-
Somehow, the help files are not opening anymore. It opens the help viewer, but it is blank. I see the help files in the DW8 folder. How to reconnect? (The Flash, FW, and Contribute help works) Thanks so much, Hope
-
Siri's voice just says everything that i touch. The voice says the numbers i touch but the numbers dont show up on the screen so i cant make phone calls! what is going on??
-
Book displayed properly in Book Proofer but not on iTunes
Last month, I successfully delivered book content onto the iTunes book store. I created the book in Pages and exported it as an ePub. Before delivering the content, I did as suggested in the Publisher's Guide and checked the book's formatting using B