WD ABAP: Need beginner help on TREE UI ELEMENT
Hi all,
I'm struggling with the Tree element in Webdynpro (ABAP!).
Can anyone provide me with a help/tutorial/examplecode on how to correctly bind a tree to context, and how to fill the context
I have an IT with a field (int) that descibes on what level the item has to go into the Tree.
i hope i can use this to populate the context
example IT:
0 my cars
1 trucks
2 red Dodge
2 blue RangeRover
1 sportscars
2 red ferrai
2 blue porsche
Tina,
This is indeed what i needed.
Thank you!
point awarded
Joris Bots
PS.
Here a link to the document described by Tina:
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf</a>
Message was edited by: Joris Bots
Similar Messages
-
Need F4 Help for custom container element based on partner type
Hi Friends
I am displaying customer details in custom container .In that custom container I have a field Partner number,Partner type etc etc..
I included F4 help for partner number field, In that I referenced the following field.Now its coming perfectly.
wa_cat1-f4availabl = 'X'.
wa_cat1-ref_table = 'KNA1'.
wa_cat1-ref_field = 'KUNNR'.
But as per my requirement, customer wants to get the different F4 help when the partner type eq "Contact Person".
Rest of the partner type(Ship to party, Sold to party,Reseller, End user) should show the above one.
So I dont know, where I have to change, because in the field catelod level there is no option to control particular type in the column.
Kindly help me on this.
Thanks
GowrishankarHi Jose
Thanks for your Input.I created Event Receiver than Defined and implemented a method to get F4 help for customer number and email id field.Already F4 help is available for Email ID.Now I want to Include the F4 help for partner number field, it will call the search help based on partner type.I can able to get the partner number field search help, but F4 help is not working for email id.
I am not sure some whee its over writing some values or I am not sure.If I comment partner number F4 help class, I can able to get the F4 help for email address.
Plz guide to me to fix the same.
Thanks
Gowrishankar -
Help needed in constructing a tree
Help needed in constructing a tree. I was wondering if some one can suggest me how to add messages in the second column for both the parent node and child elements.
I was able to create a tree succefully, but want to add some description in the second column for the first column elements, for both parent and child elements.
Please suggest me how to add the arrays to second column for parent and child nodes.
Solved!
Go to Solution.
Attachments:
Tree_fix.vi 15 KBThe Child Text parameter is the one you are searching for. It accepts a 1D string array for the following columns.
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Absolue beginner need your help with basics of shell / applescript and xode
Guys,
I'm an absolute beginner in both xcode and applescript trying to wrap a few shell commands with some basic graphical elements.
I will need your help after 2 days of tests and un-successful trials.
Trying to display "$ifconfig en0" shell results into a text box.
Here is what I'm doing:
property networkif : missing value
property dhcpview : missing value
set the dhcpview to do shell script "/sbin/ifconfig " & networkif
I can't have this accepted:
set contents of text field "hmmm" to "DHCP " & dhcpview
hmm is the name I have set under Interface Builder to a text box (NSTextView object)
Xcode compiler returns me an error :
ToolAppDelegate.applescript:99: error: A “"” can’t go after this identifier. (-2740)
Command /usr/bin/osacompile failed with exit code 1
while doing this is absolutely working but on a separate popup window:
display dialog " Here is your IP address in ALU's network: " & dhcpview
I have no clue what I'm doing wrong.It looks like you are trying to use *AppleScript Studio* syntax in an AppleScriptObjectiveC project - the way you connect the user interface items to your script is different in the new framework. If you are creating a new ASOC project, take a look at MacScripter's entry level tutorial AppleScriptObjC in Xcode for some examples.
-
Beginner to iDVD, needs basic help to get started
I am in need of help. I want to make DVDs of my old 8mm tapes. I have a Sony 8mm video camera. What do I need , like adapters, cables or cards to make this happen. I have iDVD on my system, but have never attempted anything like this before. I just recently purchased this computer. Can ya'll help me get started?
ThanksCharley,
Read this:
http://www.macworld.com/2004/05/features/fromvhstodvd/index.php
You'll just use your Sony8mm like the VHS deck.......
John B. -
Beginner in java and need your help about DES
hello,
I m a new guy in java programming and learn from many books.I m making a website and portal right now and dying need your help about DES.my portal (using java) requires somebody to make a login name and a password.I m done with the server and client things and rite now stuck with this "DES" stuff.
so I make some conditions and algorithm below..
1. when a user login,the password is encrypted.at this point,cleartext(id) and encryption (M,N) are involve.
2. then the key is changed based on algorithm.
3.the key changed by key(id) is received and the original text should be encrypted.
the algorithm
1. the original text x1.x2.x3.x4.x5.x6.x7.x8 (64 bits)
2. encypt the password
a. Each character is changed into an int type by the ASCII code, and let the 1st bit be an odd number parity bit.
b.The 1st bit of the 1st character in (IP) is set to '1', and the 8th bit of the 8th character as '64'.
c.the rest (IP) is like this
1 2 3 4 5 6 7 8
0 # 58 50 42 34 26 18 10 2
8 # 60 52 44 36 28 20 12 4
16 # 62 54 46 38 30 22 14 6
24 # 64 46 48 40 32 24 16 8
32 # 57 49 41 33 25 17 9 1
40 # 59 51 43 35 27 19 11 3
48 # 61 53 45 37 29 21 13 5
56 # 63 55 47 39 31 23 15 7
d. and lastly,from above,,it should be done like this
1 2 3 4 5 6 7
0 # 40 8 48 16 56 24 64 32
8 # 39 7 27 15 55 23 53 31
16 # 38 6 26 14 54 22 52 30
24 # 37 5 25 13 53 21 51 29
32 # 36 4 24 12 52 20 50 28
40 # 35 3 23 11 51 19 49 27
48 # 34 2 21 10 50 18 48 26
56 # 33 1 20 9 49 17 47 25
e. key y1,y2,y3,y4,y5,y6,y7,y8 (64bit)
f. generate the key based on ID
a. Each character is changed into an int type by the ASCII code, and let the 1st bit be an even number parity bit.
b.the process is repeat again.
anybody has an idea to help me with the sample program?
thanks in advance...just ask about a simple program how to receive a
password from somebody and change it to a key..and
then confirm it with DES.Once again I have a problem understanding what you are asking.
Are you trying to use the password as a key to encrypt some 'standard thing' and place this encrypted value in a database? If so then look in the JCE for 'password based encryption' such as PBEWithMD5AndDes. This seems back to front to me but I can see nothing wrong with the approach since the 'standard thing' you would encrypt is in effect a key. If this is for a commercial application then I would find a security expert to evaluate your proposal!
In my experience it is more normal to encrypt the user's password with DES and store the result in the database. To do this just look in the JCE for DES encryption and consider using DES with CBC and PKCS5 padding. Also, consider encrypting the concatenation of the user's 'user name' with the password as this will (almost certainly) avoid having two encrypted values in the database that are the same even if two users have the same password.
For both of these you might consider using Base64 or Hex to turn you encrpted bytes into ASCII characters before trying to store them in your DB. -
BW error. Need urgent Help( I will give out full points).
We have BW version 3.1 and content 3.3.
We are doing loads to ODS and getting oracle partition error. It gives Oracle partition error ORA-14400. inserted partition key doesn't map to any parititon.
The exception must either be prevented, caught within the procedure
"INSERT_ODS"
(FORM)", or declared in the procedure's RAISING clause.
o prevent the exception, note the following:
atabase error text........: "ORA-14400: inserted partition key does not map to
any partition"
nternal call code.........: "[RSQL/INSR//BIC/B0000401000 ]"
lease check the entries in the system log (Transaction SM21).
ou may able to find an interim solution to the problem
n the SAP note system. If you have access to the note system yourself,
se the following search criteria:
The termination occurred in the ABAP program "GP3WRFMGVS1D8IW16LLGSL4QQKH " in
"INSERT_ODS".
he main program was "SAPMSSY1 ".
he termination occurred in line 41 of the source code of the (Include)
program "GP3WRFMGVS1D8IW16LLGSL4QQKH "
f the source code of program "GP3WRFMGVS1D8IW16LLGSL4QQKH " (when calling the
editor 410).
rocessing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the
rocedure "INSERT_ODS" "(FORM)" but was not handled locally, not declared in
the
AISING clause of the procedure.
he procedure is in the program "GP3WRFMGVS1D8IW16LLGSL4QQKH ". Its source code
starts in line 21
f the (Include) program "GP3WRFMGVS1D8IW16LLGSL4QQKH ".
Please help me guys. I will award points for good answers.Dear Sir,
Now I have got the problem like yours (load to ODS and ORACLE partition error ORA-14400 with INSERT_ODS). Tell me, please - did you solve this problem?
Can you recommend me something? What did you do with partitions?
Help me, please - I need urgent help too.
GLEB ([email protected])
P.S. Sorry for my English, I havent got any language practice for a long time. -
Need Some help in Developing an ALV report ..Plz help me
Hi Experts I am basic learner to ABAP Here I need some help in developing a Delivery *** Invoice Report....Please help me by spending a little time..
Tables are VBAK VBAP LIPS LIKP and Document floe table is VBFA
SELECT VBELN VKORG VTWEG SPART
FROM VBAK
INTO TABLE I_VBAK
WHERE VBELN IN S_VBELN.
IF I_VBAK IS NOT INITIAL .
SELECT VBELN POSNR MATKL POSAR WERKS
FROM VBAP
INTO TABLE I_VBAP
FOR ALL ENTRIES IN I_VBAK
WHERE VBELN = I_VBAK-VBELN.
ENDIF.
IF I_VBAP IS NOT INITIAL.
SELECT * FROM LIPS
INTO CORRESPONDING FIELDS OF TABLE I_LIPS
WHERE VGBEL = VBAP-VBELN
AND VGPOS = VBAP-POSNR.
ENDIF.
IF I_LIPS IS NOT INITIAL.
SELECT VBELN VSTEL VKORG KUNNR
FROM LIKP
INTO TABLE I_LIKP.
ENDIF.
Moderator message : Outsourcing is not allowed, don't expect others to correct your source code. Thread locked.
Edited by: Vinod Kumar on Aug 1, 2011 5:43 PMhi ,
Look in this link
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm</a>
Regards
Renjith Kumar -
Need some help with a program Please.
Well, im new here, im new to java, so i need your help, i have to make a connect four program, my brother "Kind of" helped me and did a program for me, but the problem is i cant use some of those commands in the program and i have to replace them with what ive learned, so i will post the program and i will need your help to modify it for me.
and for these programs, also i want help for:
They have errors and i cant fix'em
the commands that i've leaned:
If statements, for loops, while loops,do while, strings, math classes, swithc statement, else if,logical operators,methods, one and two dimensional arrays.
Thanx in advance,
truegunner
// Fhourstones 3.0 Board Logic
// Copyright 2000-2004 John Tromp
import java.io.*;
class Connect4 {
static long color[]; // black and white bitboard
static final int WIDTH = 7;
static final int HEIGHT = 6;
// bitmask corresponds to board as follows in 7x6 case:
// . . . . . . . TOP
// 5 12 19 26 33 40 47
// 4 11 18 25 32 39 46
// 3 10 17 24 31 38 45
// 2 9 16 23 30 37 44
// 1 8 15 22 29 36 43
// 0 7 14 21 28 35 42 BOTTOM
static final int H1 = HEIGHT+1;
static final int H2 = HEIGHT+2;
static final int SIZE = HEIGHT*WIDTH;
static final int SIZE1 = H1*WIDTH;
static final long ALL1 = (1L<<SIZE1)-1L; // assumes SIZE1 < 63
static final int COL1 = (1<<H1)-1;
static final long BOTTOM = ALL1 / COL1; // has bits i*H1 set
static final long TOP = BOTTOM << HEIGHT;
int moves[],nplies;
byte height[]; // holds bit index of lowest free square
public Connect4()
color = new long[2];
height = new byte[WIDTH];
moves = new int[SIZE];
reset();
void reset()
nplies = 0;
color[0] = color[1] = 0L;
for (int i=0; i<WIDTH; i++)
height[i] = (byte)(H1*i);
public long positioncode()
return 2*color[0] + color[1] + BOTTOM;
// color[0] + color[1] + BOTTOM forms bitmap of heights
// so that positioncode() is a complete board encoding
public String toString()
StringBuffer buf = new StringBuffer();
for (int i=0; i<nplies; i++)
buf.append(1+moves);
buf.append("\n");
for (int w=0; w<WIDTH; w++)
buf.append(" "+(w+1));
buf.append("\n");
for (int h=HEIGHT-1; h>=0; h--) {
for (int w=h; w<SIZE1; w+=H1) {
long mask = 1L<<w;
buf.append((color[0]&mask)!= 0 ? " @" :
(color[1]&mask)!= 0 ? " 0" : " .");
buf.append("\n");
if (haswon(color[0]))
buf.append("@ won\n");
if (haswon(color[1]))
buf.append("O won\n");
return buf.toString();
// return whether columns col has room
final boolean isplayable(int col)
return islegal(color[nplies&1] | (1L << height[col]));
// return whether newboard lacks overflowing column
final boolean islegal(long newboard)
return (newboard & TOP) == 0;
// return whether newboard is legal and includes a win
final boolean islegalhaswon(long newboard)
return islegal(newboard) && haswon(newboard);
// return whether newboard includes a win
final boolean haswon(long newboard)
long y = newboard & (newboard>>HEIGHT);
if ((y & (y >> 2*HEIGHT)) != 0) // check diagonal \
return true;
y = newboard & (newboard>>H1);
if ((y & (y >> 2*H1)) != 0) // check horizontal -
return true;
y = newboard & (newboard>>H2); // check diagonal /
if ((y & (y >> 2*H2)) != 0)
return true;
y = newboard & (newboard>>1); // check vertical |
return (y & (y >> 2)) != 0;
void backmove()
int n;
n = moves[--nplies];
color[nplies&1] ^= 1L<<--height[n];
void makemove(int n)
color[nplies&1] ^= 1L<<height[n]++;
moves[nplies++] = n;
public static void main(String argv[])
Connect4 c4;
String line;
int col=0, i, result;
long nodes, msecs;
c4 = new Connect4();
c4.reset();
BufferedReader dis = new BufferedReader(new InputStreamReader(System.in));
for (;;) {
System.out.println("position " + c4.positioncode() + " after moves " + c4 + "enter move(s):");
try {
line = dis.readLine();
} catch (IOException e) {
System.out.println(e);
System.exit(0);
return;
if (line == null)
break;
for (i=0; i < line.length(); i++) {
col = line.charAt(i) - '1';
if (col >= 0 && col < WIDTH && c4.isplayable(col))
c4.makemove(col);
By the way im using Ready to program for the programming.You can't really believe that his brother did this
for him...I did miss that copyright line at the beginning when
I first looked it over, but you know, if it had been
his brother, I'd be kinda impressed. This wasn't a
25 line program. It actually would have required
SOME thought. I doubt my brother woulda done that
for me (notwithstanding the fact that I wouldn't need
help for that program, and my brother isn't a
programmer).I originally missed the comments at the top but when I saw the complexity of what was written then I knew that it was too advanced for a beginner and I relooked through the code and saw the comments. -
Tutorials and Documentation on Tree UI Element for ABAP
Hi Everyone,
I am having trouble finding documentation or tutorials on creating Tree structures in web dynpro for ABAP.
Basically, I need some tutorials on using the "Tree" UI Element. Also, how would I go about adding Check Boxes to such a control? For example, someone would like to select the lowest item in a Tree using a check box.
Tank you.
Christiaan.Hi
>a) How to check or how to write the code to check whether the current selected node is first level or second level or third level etc from the above example tree structure
In the context node you have to have attribute level (integer). When you populate context nodes for the tree you have to set correct value 0, 1, 2, ... for the attribute. Then it'll be easy for you to read the value and understand what is the level.
>b) How to insert a node only at the first level , second level and third level i etc from the above example
It slightly depends on whether you use recursive nodes or not. But in general it's simple - just create a new element in the corresponding node
>c) How to delete only leaf node . i have a requirement which says that i can delete only leaf nodes , if i delete a node which having children then it should not allow to me. i can delete a node which is not having any child
IWDNode node;
if (node.getChild("<child node name>").size() <= 0) {
// leaf node
>4) How to rename any node, once user selects any node then on click of any button then popup opens which retrieves the current textvalue of a node and user have an inputfield where he enters then on click of save then that new textvalue needs to be updated to the selected tree element
Just bind the text property of a tree item to some node attribute (let say NAME). The just update a value of the attribute.
BR, Siarhei -
Hi.. Need ur Help
Hi
Please tell me details steps in ALE and Idoc .. i am very new and need ur help plz tell in details with example..
thanks..Hi,
ALE
check url
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/ale/configuration.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapdevelopment.co.uk/training
And also u can get lots of inof from the below link.
http://www.sapgenie.com/ale/why_ale.htm
IDOC
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
How to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
go trough these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
Check these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
Please check this PDF documents for ALE and IDoc.
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
Regards,
Priyanka. -
I need one helps I am implementing a tree of navigation of km with java vestibule and have a problem, when I request to him to this that orders with respect to a metadata or reality with any criterion this always takes the folders and it orders them and later it takes the Links and you order them, and the truth that I need that it does not make that distinction single that orders by the metadata that does not take in whatever if it is Link or folder
here the code goes that I am using to see if to somebody something is happened to him:
import bean.NavigationTree;
import com.sapportals.htmlb.TreeNode;
import com.sapportals.htmlb.enum.ResourceType;
import com.sapportals.htmlb.page.DynPage;
import com.sapportals.htmlb.page.PageException;
import com.sapportals.portal.htmlb.page.JSPDynPage;
import com.sapportals.portal.htmlb.page.PageProcessorComponent;
import com.sapportals.portal.prt.component.IPortalComponentContext;
import com.sapportals.portal.prt.component.IPortalComponentProfile;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.component.IPortalComponentResponse;
import com.sapportals.portal.prt.component.IPortalComponentURI;
import com.sapportals.portal.prt.session.IUserContext;
import com.sapportals.portal.security.usermanagement.IUser;
import com.sapportals.wcm.repository.ICollection;
import com.sapportals.wcm.repository.IProperty;
import com.sapportals.wcm.repository.IPropertyName;
import com.sapportals.wcm.repository.IResource;
import com.sapportals.wcm.repository.IResourceList;
import com.sapportals.wcm.repository.PropertyName;
import com.sapportals.wcm.repository.ResourceContext;
import com.sapportals.wcm.repository.ResourceException;
import com.sapportals.wcm.repository.ResourceFactory;
import com.sapportals.wcm.repository.ResourcePropertyComparator;
import com.sapportals.wcm.repository.enum.OrderType;
import com.sapportals.wcm.util.uri.RID;
//import com.sapportals.wcm.util.usermanagement.WPUMFactory;
Title: Navigation in KM repository with DynPage and JSP<br>
Description: Basic navigation.<br>
Copyright: Copyright (c) 2006<br>
Company: AGILE<br>
@author Juan Solar
public class Neo extends PageProcessorComponent {
public DynPage getPage() {
return new NeoDynPage();
public class NeoDynPage extends JSPDynPage {
public String pathInitial = "/documents/eo";
public String pathDocument = "";
private String kmNavigation = "";
private String kmViewDoc = "";
// private String pictFolder = "/irj/portalapps/com.sap.portal.pcm.admin.plainfolder_converter/images/folder.gif";
public IPortalComponentRequest request;
public IPortalComponentResponse response;
public IPortalComponentProfile profile;
private NavigationTree treeBean;
private IUser user;
private IResourceList reslist;
private int nodeCount;
String TITLE = "TOrder";
String NAMESPACE = "http://sapportals.com/xmlns/cm";
String selectedTitle = "";
public void doInitialization() throws PageException {
request = (IPortalComponentRequest) this.getRequest();
response = (IPortalComponentResponse) this.getResponse();
treeBean = new NavigationTree();
IPortalComponentContext myContext = request.getComponentContext();
profile = myContext.getProfile();
IPortalComponentURI componentURI =
request.createPortalComponentURI();
componentURI.setContextName("com.sap.km.cm.navigation");
kmNavigation = componentURI.toString();
componentURI.setContextName("com.sap.km.cm.docs");
selectedTitle = "";
kmViewDoc = componentURI.toString();
nodeCount = 0;
try {
// pathInitial = profile.getProperty("pathInitial");
// user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
user = getPortalUser(request);
ResourceContext ctxt = new ResourceContext(user);
RID rid = RID.getRID(pathInitial);
IResource resource =ResourceFactory.getInstance().getResource(rid, ctxt);
ICollection collection = (ICollection) resource;
reslist = collection.getChildren();
} catch (Exception e) {
response.write(e.getMessage());
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
TreeNode root = new TreeNode("rootNode", "root");
// List tmp=(List)root;
// Collections.sort(tmp);
root.setOpen(true);
try {
add_node(reslist, root);
} catch (ResourceException e) {
e.printStackTrace();
treeBean.setOutput("");
treeBean.setTree(root);
// set bean in servlet request - it will be used by the jsp afterwards
request.getServletRequest().setAttribute("neoTreeBean", treeBean);
this.setJspName("neotree.jsp");
private String getSelectedTitle() {
return selectedTitle;
// public String getSelectedTitle(){
// Esta es una funcion alternativa para porder cambiar el criterio de ordenamiento del recurso lista
private void sortResouceList(IResourceList resourceList,String orderBy) throws Exception {
//create property names to index properties
IPropertyName iPropSort = new PropertyName("http://sapportals.com/xmlns/cm", orderBy);
// create a comparator to order the resource list
ResourcePropertyComparator rRPC =new ResourcePropertyComparator(iPropSort, true);
// order the resource list
resourceList.sort(rRPC);
private String getPropertyValue(IPropertyName iname,IResource resource)throws ResourceException {
String value = "";
// String namespace = "http://com.sap.netweaver.bc.rf.sample/xmlns/sample";
// String name = "Order";
// IPropertyName propertyName = new PropertyName(namespace, name);
IProperty property = resource.getProperty(iname); //propertyName
if (property != null) {
// property exists
value = property.getValueAsString();
} else {
// property is not set for this resource
return value;
@param reslist IResourceList
@param root TreeNode
private void add_node(IResourceList list, TreeNode parentNode)
throws ResourceException {
//new add_node().doit();
String title;
String name;
String label;
String path;
IResourceList tmpreslist;
ICollection tmpcollection;
IPropertyName iProperty;
try {
sortResouceList(list,"displayname"); //, "Order"
} catch (Exception e) {
e.printStackTrace();
boolean first = true;
for (int i = 0; i < list.size(); i++) {
IResource tmpres = list.get(i);
String rType= tmpres.getResourceType();
iProperty = new PropertyName("http://sapportals.com/xmlns/cm", "displayname");//, "Order"
try {
name = tmpres.getName();
title = tmpres.getDisplayName();
title = (title.equals("") || title == null) ? name : title;
path = tmpres.getAccessRID().getPath();
if (tmpres.isCollection() && !tmpres.isHidden()) {
tmpcollection = (ICollection) tmpres;
// if (tmpcollection.getChildren().size() > 0) {
TreeNode node = new TreeNode(Integer.toString(nodeCount++),title,parentNode);
node.setTooltip(name); //
// if (order==null || (order!=null && order.equals(""))) {
// label = "<a class=urLnk href=\"javascript:nada();\" onclick=\"alert('";
// label ="Folder "node.getText()+" has not set the Order Metadata!! "; // path;
// label += "');\">" + node.getText() + "</a>";
// node.setText(label);
// } else{
tmpreslist = tmpcollection.getChildren();
add_node(tmpreslist, node);
} else {
if (first) {
label = "<a class=urLnk href=\"javascript:nada();\" onclick=\"goNavigate('";
label += path;
label += "');\">" + parentNode.getText() + "</a>";
parentNode.setText(label);
first = false;
TreeNode node = new TreeNode(Integer.toString(nodeCount++),title,parentNode);
node.setTooltip(name); //
label ="<a class=urLnk href=\"javascript:nada();\" onclick=\"goNavigate('";
label += path;
label += "');\">" + node.getText() + "</a>";
node.setText(label);
} catch (Exception ex) {
IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
// href=\"javascript:void(0) "<a target=\"itoptarget\" href=\""kmViewDocpath+"\"
Returns the IUser object.<br><
@param request
@return user
public IUser getPortalUser(IPortalComponentRequest request) {
// user = WPUMFactory.getServiceUserFactory().getServiceUser("service_user_id");
IUserContext uc = request.getUser();
user = (IUser) uc.getUser();
return user;Click here for information. If you can't get the answers emailed to you for some reason(the email may take a few hours to arrive), contact the iTunes Store staff via the link in that article.
(87419) -
Moving from Oracle to SAP--need your help
Dear All SAP Professionals
I have 6 years experience in Oracle Development (forms&reports); and i intend to start my new path with sales and distribution in SAP ERP v.6.
So i need your help where to start? which tutorials & docs? , and i want to study also ABAP
Regards
Mohamed 3amer>
Julius Bussche wrote:
> Alternately you can ask a few hundred basic interview questions in the forums and see how others like it...
>
Hmmm. -
Hello ,
I need some help with JTree
I'm writing an aplicaion that includes JTree , but Default JTree is not enough cause near to each intersection (not leaf) I need to display square with different color , I don't care if the square will replace the icon of tree or will be located close to the text (intersection name)
I don't know how to do it exactly
Please help me!!
Thanks a lot!more easy with UIManager, put it at the beginig of your application:
UIManager.put("Tree.closedIcon",
new ImageIcon(gifp + "folder.gif"));
UIManager.put("Tree.openIcon",
new ImageIcon(gifp + "folder_open.gif"));
UIManager.put("Tree.leafIcon",
new ImageIcon(gifp + "puntaflechaamarilla.gif"));
UIManager.put("Tree.expandedIcon",
new ImageIcon(gifp + "arbol-menos.gif"));
UIManager.put("Tree.collapsedIcon",
new ImageIcon(gifp + "arbol-mas.gif"));
where gip is the gif's path. -
Need Flash Help - configuring AIrtight Simple Viewer Pro
I need some help configuring the Airtight Interactive simple viewer pro, which requires flash. I am a complete beginner with flash, and I am reluctant to undertake the learning curve, though I am very tech saavy.
My ideal would be to locate someone who could do this FOR me, though resources are very limited for this project. Any suggestions of where I might connect with someone interested in doing this?
Alternately, I could undertake it myself, with someone qualified to coach me rather thouroughly through the whole process. That could be offline, or here where others could benefit from the thread. If someone offers this, I will post the precise details of what I need. The project is medium challenging, not extremely complex, but more than very basic.
Many Thanks.Hi:
When you create the simpleviewer slideshow with iPhoto's plugin there should be a folder created on your HD that contains the items seen in the screenshot below:
The folder was named simpleviewer because that's what I named it during the export from iPhoto. That's the same folder as I refer to as "Slideshow folder". It can be whatever you name it when exporting from iPhoto. Upload that folder to your iDisk/Web/Sites folder as shown below:
In the iFrame code use the following URL to the index.html file inside the simpleviewer folder:
http://web.me.com/YourMMe_AccountName/simplerviewer/index.html
That should do it.
Maybe you are looking for
-
Badi and Business event( Urgent)
Hi experts, I am new to badi and business event 1120P. Please post how this business event exactly comes in to picture in this badi. also how to find this business event? And also Post the logic or code. The requirement is given below . Pls Pos
-
APPLE ,and ITUNES and IPHONE 4S WANT TO FORCE ME TO UPDATE
When i go to 3G or WIFI , itunes or the iphones 4S on settings have a red dot......to update i dont want to update to 5.0.1 because it can be worse............can not put OFF that notification. i dont understand that APPLE did a statement that 5.0.1
-
What is wrong when you try to open a new tab, but the new tab does not appear?
I have been trying to open up multiple websites by using the "open a new tab" button. When I do this, no new tab appears. Please help.
-
When i try to set up an accout it comes up with an error 403 forbidden
just set up my printer and am trying to set up my eprintcenter account and it tells me that there is an ajax 403 forbidden. what do i do?
-
HT4061 IMessage activation states error, try again later
This IMessage thing on my IPad has started, now won't let me message from the IPad. It asks for me to sign in, then states an error has occurred and to try again. Can IMessage be deleted, and go back to the old way? Anyone having the same problem