cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding mandatory fields, Context Objects and Fault Message Types

Former Member
0 Kudos

Hi All,

1) I am creating a structure with fields "Name", "Street" and "City". While creation i want to make "Name" fields as mandatory. Is it possible. If so how to achieve this.

2) What is the purpose of Context Object and in which situation we will use this.

3) What is the purpose of Fault Message Types and in which situation we will use this.

4) I am doing file to file scenario, at sender side i have set the adapter as file and transport protocol as "FTP" . It is asking for "Server", "PORT" and "Login Details". What is this FTP, for this do i need to take any login details. I am totally not aware of FTP, could please explain more about this.

Kindly look into the above points and respond point by point.

Thanks in advance.

Regards,

Prem.S

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi prem,

<b>1) I am creating a structure with fields "Name", "Street" and "City". While creation i want to make "Name" fields as mandatory. Is it possible. If so how to achieve this.</b>

give occurence 1..unbounded. for the field name.

<b>2) What is the purpose of Context Object and in which situation we will use this.</b>

If u have multiple receiver system then to determine the reciever u can use context object.....

the alternative of context objetc is X-Path...

Check out these

http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm

/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object

Here is a scenario where context objects were used for BPM

Get the details here:

http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm

Technical Context Objects :

http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm

A list of the Technical Context Objects names can be found here:

http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm

Difference between context object and x-path:

<b>3) What is the purpose of Fault Message Types and in which situation we will use this</b>

whenever u want to catch some exception u can use fault message types.Just for a example u r sending some data to SAP system.But due to some reason the R/3 system is down.so in this case if u have implemented fault message ..u can get a error message specifying r/3 is down....

Fault message implementation.

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

How to Guide

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f...

<b>4) I am doing file to file scenario, at sender side i have set the adapter as file and transport protocol as "FTP" . It is asking for "Server", "PORT" and "Login Details". What is this FTP, for this do i need to take any login details. I am totally not aware of FTP, could please explain more about this.</b>

there are two transport protocol for File adapter

1)FTP(File transfer protocol)

to know abt FTP check here

http://help.sap.com/saphelp_nw04/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/content.htm

2)NFS(Network File System)

in server :Enter the host name or IP address of the FTP server.

in PORT:Specify the port number of the FTP server.

The default is the standard port for the FTP server (21)

check here

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Regards

BILL

<b>***reward with points if ity helps u!!</b>

Former Member
0 Kudos

Hi

1.if you want any field to be mandatoy then you put occurence for that field as 1..1

2. for context object you can refer to the following link

http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/frameset.htm

3.please refer tothe following link for the fault mesage type

http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/frameset.htm

4.first to use the FTP you have to install a FTP server, you can use your machine as a FTP server just by installing the FTP

Parameters for FTP Adapter::

1.server.it will be your FTP server address

2.Port:it will be FTP server port no

3.Directory:just give a directory name that you want to give

4.username: give the same user name as you have created in the FTP server.

5.Password:give the password

if you still face the problem please reply me bcak.

Thanks

Rinku