Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Explain the difference between two statement

Former Member
0 Likes
894

Hi All,

Can anyone tell me why brackets are used in one and no brackets are used in other ...

INCLUDE <ctldef>.

INCLUDE cnt4defs.

Thanks

8 REPLIES 8
Read only

Former Member
0 Likes
742

There isn't a different, but only:

- INCLUDE <ctldef>. -> It means it wants to call include called <ctldef>.

- INCLUDE cnt4defs. -> It means it wants to call include called cnt4defs

Message was edited by: max bianchi

Read only

Former Member
0 Likes
742

INCLUDE <icon>.

This we will use when we r going to include soem function in oops ALV.

Ordinary Include we will use to modularize the code.

U can have many includes in the program in which u can define data in one and u can create forms in the other like that.

Read only

athavanraja
Active Contributor
0 Likes
742

its simply becase the name of the include is

<ctldef> and in the other case the name is cnt4defs .

check it out in SE38

Regards

Raja

Read only

0 Likes
742

I know where to use and i know that it is basically including the program , what i need to know is why SAP is following 2 standards for creating the include ....

Rajiv

Read only

0 Likes
742

its just a different naming standard .

Regards

Raja

Read only

0 Likes
742

you also have includes like

>ICON<

Regards

Raja

Read only

0 Likes
742

if your question is answered , please close the thread.

Regards

Raja

Read only

Former Member
0 Likes
742

Hello friends!

I developed an application using JBoss-4.0.2. I got the .ear file from there and deployed it in WAS6.40 using "Deploy Tool".I am new to all this. I followed the following steps:-

1. Opened the deploy tool and created a new project with .dlp extension.

2.In the Deployer tab did the following:-

1. Chose Deploy -> EAR -> Load EAR. The File Chooser Window appeared and from the file system, selected the EAR file I wanted to load.

3. The EAR file and all of its components appeared on the Deployer tab as a tree.

4. In the deployer tab clicked on "connect" symbol in the tool bar and entered the following details:-

username - admin

password - *****

host - localhost

port - 50004

5.In the deployer tab Selected the ear file node which is loaded.

6.In the right pane, chose context tab.

7.Set the context root for the war files and pressed modify button.

8.Then with a right click on the loaded ear node in the left pane,selected "deployment"-->"deploy ear" from the context menu.

9.I got a message "Deployed Successfully" and then a message "Start the application y/n".

11.I Chose yes.

12.It gave the message "Application started successfuly". But no browser is opened.

13.So, i tried to open it from the browser using the URL "http://localhost:50000/<context-root>/"

But it is giving the following error:-

404 resource Not Found

The requested resource c:/usr/......./...jsp not found.

I verified the directory where the files are being deployed in the WAS (i.e in C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\)

The file is present.

What is the problem with my procedure?

Why am I unable to view the application in the browser?

Please tell me if there is any thing else to do.

Also suggest me if there is any other tool in Netweaver that fulfills my requirement apart from "Deploy Tool".

Any kind of help in this regard would be great.Please reply me soon.

Thank You,

Jyothsna.