How to create a new Node and bind it to the wdContext root at run time
Hi experts,
Does anyone have sample code about 1) adding a new node to the root context, 2) give it a name and 3) referring to this newly created node with the conetxt path?
Thanks
Armin,
I am trying to do this and keep getting erro about incompatible class:
wdContext.getNodeInfo().addChild("DynamicNode",
mymodel.class,
true,
CMICardinality.ONE,
CMICardinality.ZERO_TO_ONE,
true,
wdContext.getContext().getStructure("com.my.structure") );
IWDNode node = wdContext.getChildNode("DynamicNode", 0);
IWDNodeElement e = node.createElement(an_instance_of mymodelObject());
node.addElement(e);
Can I do it this way?
Similar Messages
-
How to create a new node and its subnodes(zreports) in Transaction SRET
Hi Expets,
My requirement is to create a new node and subnodes(zreports) in the Transaction SRET.
Where as i am able to create a subnode(zreports) under the existing node but not able to create a New Node and
Subnodes(zreports) under it.
To create the subnodes(zreports) i used Transaction SERP and i was able to create the new node in SERP but not able to find it in SRET.
So please help me out.
Thanks,
KrishnaDear Pushpa,
Transaction Code :SHD0 is working fine.
Please accept my sincere thanks for your sharing your Knowledge.
I am able to fulfill my
Regarding the enhancement, I have not tried.
Once I will complete, I will award the fulll marks to you.
With Best Regards,
Raghu Sharma -
How do I create a new account and get stuff from the old account to the new account
How do I create a new account and get stuff from the old account to the new account
There are instructions on this page for creating a new account : Set up an Apple ID in iTunes
Or if you don't want to give credit card details : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method
But you won't be able to transfer purchases from your old account to it, all content that you download from the store will remain tied to the account that downloaded it. -
How to create a new 'id and type rect' in _edge.js from your stage in javascript
how to create a new 'id and type rect' in _edge.js from your stage in javaScript
_edge.js is an object file their is any way to create ?
if i run this script "alert(Stage);" in creationComplete
i will get
i have little idea on object example
var obj = {car: "honda city"};
obj.bikes = {model: "suzuki"};
alert(obj.bikes.model);
Anyway thank u vivekuma for ur kind reply! -
How to create a new variant and a job sheduled to use it for the exisisting programs
Hi
1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
standardized format. The list data is displayed as a table on the screen.
The ALV Grid Control offers a range of interactive standard list functions that users need
frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
export list (in different formats), and so on. These functions are implemented in the
proxy object class. You as the programmer have the possibility to turn off functions not
needed. In most cases the implementations of the standard functions provided by the
control are sufficient. However, if required, you can adjust these implementations to
meet application-specific needs.
You can add self-defined functions to the toolbar, if necessary.
The ALV Grid Control allows users to adjust the layout of lists to meet their individual
requirements (for example, they can swap columns, hide columns, set filters for the
data to be displayed, calculate totals, and so on). The settings (list customizing) made
by a specific user are called a display variant. Display variants can be saved on a userspecific
or on a global basis. If such display variants exist for a list, they can be offered
to the user for selection. If a display variant is set as the default variant, the associated
list is always displayed based on the settings of this variant.
2. REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY
REUSE_ALV_FIELDCATALOG_MERGE
REUSE_ALV_COMMENTARY_WRITE
3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
7.fieldcat-fieldname
fieldcat-ref_fieldname
fieldcat-tabname
fieldcat-seltext_m
5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
The report output can contain up to 90 columns in the display with the wide array of display options.
<b>The commonly used ALV functions used for this purpose are;</b>
1. REUSE_ALV_VARIANT_DEFAULT_GET
2. REUSE_ALV_VARIANT_F4
3. REUSE_ALV_VARIANT_EXISTENCE
4. REUSE_ALV_EVENTS_GET
5. REUSE_ALV_COMMENTARY_WRITE
6. REUSE_ALV_FIELDCATALOG_MERGE
7. REUSE_ALV_LIST_DISPLAY
8. REUSE_ALV_GRID_DISPLAY
9. REUSE_ALV_POPUP_TO_SELECT
Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
But either no.7 or No.8 is there in the Program.
<b>
How you call this function in your report?</b>
After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
Then use follwing function module.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'Prog.name'
I_STRUCTURE_NAME = 'I_ITAB'
I_DEFAULT = 'X'
I_SAVE = 'A'
TABLES
T_OUTTAB = I_ITAB.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC .
ENDIF.
ENDFORM. " GET_FINAL_DATA
The object F_IT_ALV has a field, the activity ACTVT, which can
contain four permitted values: 01, 02, 03 and 70. Each of the
activities 01, 02 and 70 controls the availability of particular
functions (in the menu and the toolbar) of the ALV line item list:
a) 01: "Settings -> Display variant -> Save..."
b) 02: "Settings -> Display variant -> Current..." and
"Settings -> Display variant -> Current header rows "
c) 70: "Settings -> Display variant -> Administration..."
Activity 03 corresponds to the minimum authorization, which is the
most restricted one: The user can only select layouts which have
been configured already. In particular, all of the other functions
named above are inactive with activity 03.
Now if you want to permit a user to change the column selection and
the headers as well as to save the layout thus created, for example,
but if you do not want to permit the user to administrate the
layouts, you grant him or her the authorization for activities 01
and 02.
Check this link it will be mosty usefull for u
http://www.sap-img.com/fu017.htm
Reward all helpfull answers
Regards
Pavan -
How to create a new Characteristic and Key figure ?
Hi !
I am newly trying to learn APO DP and Could anyone please explain how to create a new Characteristic and Key figure in Demand Planning Administrator workbench[ RSA1] with steps?Hi,
Instead of RSA1, use RSD1 to create Characteristics & Key figure.
1. Go to transaction, select radio button for respective info object i mean Char ot key fig.
2. Enter name of the same & click on create transaction.
3. Suppose it will ask for APO or BW then select APO for key fig. so some new functionality come in to key fig. like key fig. fixing etc.
4. always copy new key fig. or characteristics from standard.
5. after creation activate the key figure.
Hope this steps will help you to create Char. & key fig.
Regards
Sujay -
How to create a new UoM and assigning it to characteristic?
Hi,
How to create a new UoM and assigning it to characteristic?
i want to enter cost ( in rupees and laks) against a counter
but for that counter charecteristic required and for taht charecteristic unit of measure Rs and Laks are not defined in the system.
So please help me ....Hi,
Use T Code CUNI
Enter Unit of Measurement as RS and Text as Ruppes
Commercial and Technical Display is same as RS
Numerator is 1
Denominator 1
Exponent 0
Save
Thanks
Raj -
How to create a new tag in page properties in the sidekick of geometrrix page
how to create a new tag in page properties in the sidekick of geometrrix pagesame as basic, advanced, blue print??
Hi prachi,
Is it tag OR Tab ? Seems like you are looking for Tab. Look at [1] & overlay to custamize per your need. Or define at your page component.
[1] /libs/foundation/components/page/dialog/items/tabs/items
Thanks,
Sham -
How to create a new workspace and change the name of the existing
Hi,
can any one help me how to create a new workspace in application express 3.1 on XE DB and how to change the name of a existing workspace.
thanks
JanaJana,
This is discussed at length in the User's Guide. See the section "Creating Workspaces".
To rename a workspace using the admin application, edit the workspace attributes and type a new name in the field where the old name appears, then Apply Changes.
Scott -
How to create a new account and copy all settings?
I think my main user account is corrupted. So I want to create a new account and copy all of my settings, files etc..and more than likely piecemeal just incase my settings are what is corrupted. That way I can isolate the problem.
I don't plan to delete the main account until satisfied and I also have my Time Machine backup plus my SuperDuper backup.
I can/should be able to figure out how to create the new account, but I am very unclear on the best/easiest approach to copy in my iTunes files and settings, applications(is this even an issue), address book, email, etc? I should be able to find most everything underneath my home account folders but what else am I missing here? I don't want to find out the hard way.
Please share some advice or perhaps a link/FAQ on how to approach.
Thanks in advance.
--Mickeyuse this [link|http://discussions.apple.com/message.jspa?messageID=6185507].
-
How to create a new master and working repository
We have a working env - with master and working repositories .
we have solution for this env .
I want ti create a new environment for a new version - and to create new master and working repository from the old environment .
I tried several options but with no success .
Please help me to understand how can this be done ?
Thanks
TamarWhat options have you tried with no success ?
Do you want to selectively release / migrate code from one env to the new one or will a clone of the working environment be sufficient? If you clone - you wont be able to selectively move updates across. -
How to create a new transaction and add it to Area Menu
Hi.
I have to create a report and run the report using the Tcode and Tcode has to be added in the Area Menu at the initial screen.
Please tell me how can i do that.
Thank you in advanceYou can add additional menu transaction in the SAP main menu without affecting the original SAP default area menu S000.
For example, you have created a transaction code called ( z123 - ABC Own Report ) and you want to insert it under Logistics. The specific user will be able to access ABC Own Report by clicking Logistics -> ABC Own Report.
Steps :-
Goto Transaction SE43 - Area Menu
Click the copy button. Copy from S000 to ZXXX
After copying, click Change (area menu ZXXX)
Double click on Logistics and add in your transaction code in the AreaMenu.
Remembers to Activate it.
Next Goto Transaction SU01 - Maintain users
Type in the user name and click the Defaults button
Type in the area menu (ZXXX) in the Start Menu field.
Click Save
The user will be able to see the additional transaction on the next logon.
The CUA area menus are converted to tree navigation in Release 4.6A. The menu contents are automatically copied into a new data structure in Upgrade to Release 4.6A or higher. You can edit Area Menus with a new maintenance interface (Area Menu maintenance transaction: SE43 ).
Reporting Tree Integration - Only transactions could previously be put in Area Menus. From Release 4.6A you can also put all the types of reports which are in reporting trees, in Area Menus. The system automatically assigns a transaction code to call the report from the menu. If you have already put the report in another Area Menu, no new transaction code is generated, the unique transaction code already assigned is used.
You can create Area Menus from complete reporting trees with the migration transaction RTTREE_MIGRATION . The report transaction codes are generated automatically.
Reporting trees can only be displayed. They cannot be maintained. To modify the contents of reporting trees, you must convert them with the migration transaction. You can then modify the contents with the Area Menu maintenance. -
How to create a new user and group on command line?
Hi,
I am trying to install INN, the news server on OS X.4.8 (non-server), but it requires me to create a user and group, both called 'news'.
I know this has something to do with using Netinfo to create them, but I am logged in remotely via ssh and I can't use Netinfo Manager.
How do I create new users and groups via the command line.
Thanks for any help.
PowerMac G5 2x2.7GHz Mac OS X (10.4.8)I've put some shell scripts that do this here,
and descriptions
add_user
addgroup -
How to create a new database and use it?
Hi there,
I have so many tables in the current database that i'm working on. When i start to create a new table such as employee, student, person...etc it doesnt allow me to create them becuase it says the tables exists. Even when i use the drop command to drop the tables, doesn't help. So most of the time i have to create a table with postfix of 1, 2 to the table name.
Therefore i need to create a database for every project that i do.
How do i create a new database?
Then how do i use the database that i just created?
Then how do i find the out whats the database that i'm currently working on?
Thanks!
Message was edited by:
dingdong
Message was edited by:
dingdongA database is a physical set of files that contains many schemas. Each schema has a one to one relationship with database users, so to create a new schema you create a new database user.
e.g.
CREATE USER fred IDENTIFIED BY fredspassword;Then, by logging on as fred you can create all the new tables you like as that user, in that users schema.
If you create a new database then you will find you cannot access functions/procedures, packages, tables etc. that exist in another users schema without creating a database link to the other database that contains them.
If you just create a new schema, you can more easily get at other users schema objects (tables, packages etc.) by referencing them with the users name e.g. JOE.TABLE1 providing that user has given permission for your user to access them. You can also create synonyms that allow you to reference other users schema objects as if they exist in your own e.g. you can have something called TABLE1 in your own schema that is in fact referencing JOE.TABLE1.
Message was edited by:
BluShadow
remove quotes from password. oops! thanks padders -
How to create a new track with existing changes in the production
Hi
I need to create a new track for the ESS package with the existing changes that we already made to the ESS package. We already have a development track and the customisation to the ESS package has been already done in that track. Now my requirement is to create a new track ( DEV, CONS, TEST and PROD) with DEV having all the existing changes we made. In short how do I import the SCA's from development track PROD to the new track DEV. We are on NW2004 SPS20.
points rewarded for helpful answers
Thanks
SherilParam
Have you done the import in DEV and CONS and then Assembled .. ?
If yes then go to /usr/sap/jtrans/CMS/archives/.......... -> check for the track name and then the last .SCA file in it . Copy that SCA file in the /usr/sap/jtrans/CMS/inbox and go to the new track and configure the checkin to inbox ... You should see the SCA in there ... check those in and you are ready to have those SCA in your Production track ..
If no then you need to know the NWDS functions .. I shall send you the details to bring the incomplete changes (not assembled) to new track .. let me know if the first one worked ..
Thanks
Rahul
Maybe you are looking for
-
When I downloaded a movie it is not showing up on my TV what am I doing wrong??
after I downloaded a movie it is not showing up on my TV ...it seems I can only watch it on my computer...what am I doing wrong?
-
My iphone 3g is not charging and the middle button has stoped working please help. My phone has no power now an i need help
-
How can I delete preinstalled apps in iOS 8?
The iOS 8 terms and conditions state: "If you do not wish to use a Preinstalled App, you can delete it from your iOS Device at any time." [1] However, I am unable to delete the Newsstand app or other preinstalled apps from my iOS device. Why? [1] las
-
Availability check in purchase requisition
Hello, I am trying to use the availability check button that exists on the purchase requisition screen ME51N. This button currently when clicked on does nothing. I am familar with the way availablity check works and I have read the other thread that
-
JEditorPane slow HTML parsing and GUI lockup
Hi, I use a JEditorPane to display HTML page. If the page is relatively small, everything is ok, but with big pages (about 1 Mb) it takes a huge amount of time to load (actually, to parse) the page. And the main problem is that user interface locks a