07-11-2007 1:58 PM
hi can anybody tell me that i want to develop a screen after combining few screens of call management iw51. how this bapi i.e. bapi_servnot_create is helpful?????
and yes how to run this bapi from se37 i m not able to give proper data for this.
what is objectkey and object id .. please somebody help me out..... urgent..
07-11-2007 2:05 PM
07-11-2007 2:05 PM
07-11-2007 2:57 PM
sir i have seen that before but it is of no use to me i need it for iw51 transaction and yes can you tell me how this bapi will help me in creating notification and service order screen in one screen.???
07-11-2007 2:06 PM
Hi,
Refer to OSS note 437878 and 575065 tHEN
First read the documentation of this BAPI
FU BAPI_SERVNOT_CREATE
____________________________________________________
Text
Create service notification
Functionality
This BAPI enables you to create a new service notification. This allows you to create certain fields from the notification header, items, causes, tasks, activities and also long texts for them. Partners can also be maintained.
Notes
Errors are returned in the parameter RETURN.
Technical note
The sort field must be filled in order to create items, causes, task or activities. When creating a cause the sort field for the item must also be filled.
When creating a long text the fields OBJTYP and OBJKEY must be filled. OBJTYP can contain the following values:
1. QMEL - notification header
2. QMFE - notification item
3. QMUR - notification cause
4. QMSM - notification task
5. QMMA - notification activity
OBJKEY must contain the corresponding sort field for the above values. The combination of sort field item/cause, item/task or item/activity must be unique within the same notification. If you leave the sort field blank and OBJTYP = QMEL, the long text is created for the notification header.
An external reference key can be transferred by the field REFOBJECTKEY. The links between external reference keys <-> R/3 keys are returned within export table KEY_RELATIONSHIPS. If the fields SENDER, REFOBJECTTYPE and REFRELTYPE are filled, it is possible to create an object link at notification header level.
Parameters
EXTERNAL_NUMBER
NOTIF_TYPE
NOTIFHEADER
TASK_DETERMINATION
SENDER
ORDERID
NOTIFHEADER_EXPORT
NOTITEM
NOTIFCAUS
NOTIFACTV
NOTIFTASK
NOTIFPARTNR
LONGTEXTS
KEY_RELATIONSHIPS
RETURN
Exceptions
Function Group
IQS6
<b>Reward points</b>
Regards
07-11-2007 3:00 PM
Hi Amit,
<b> Terms : </b>
Object type
Business object type
SAP business object type</b>
<b>Defintion:</b>
Generic definition of business objects. Describes the general characteristics and common attributes of instances of SAP business object types.
<b> Terms : </b>
Business object
Business object instance
SAP business object instance
<b>Defintion:</b>
One instance of an SAP business object type
<b> Terms : </b>
BOR
Business Object Repository
<b>Defintion:</b>
Central repository within the SAP System containing all the SAP business object types and SAP interface types together with their definitions and methods.
<b> Terms : </b>
BAPI
Business Application Programming Interface
<b>Defintion:</b>
Standardized programming interface that enables external applications to access business processes and data in an SAP System.
BAPIs are defined in the BOR as methods of SAP business object types that carry out specific business functions.
BAPIs are implemented as RFC-enabled function modules and are created in the Function Builder of the ABAP Workbench
<b> Terms : </b>
Interface type
SAP interface type
<b>Defintion:</b>
Definitions of attributes, methods and events grouped together in one context.
An object type can support one or more interface types. The functional group of associated attributes, methods and events defined for the interface type together with their interfaces are used by the object type and are inherited by the respective subtypes of the object.
<b>USE:</b>
SAP has introduced object-oriented technology by making SAP processes and data available in the form of SAP business objects.
External applications can access SAP business objects through standardized, platform-independent interfaces - die Business Application Programming Interfaces (BAPIs). The SAP Business Objects and their BAPIs provide an open, object-oriented view of the business processes and data in an SAP System.
<b>Reward pts if found usefull :)</b>
Regards
Sathish
07-11-2007 3:06 PM
hi satish taht's fine dear can you tell me that how it will help me in building a screen..???
07-11-2007 3:08 PM
Hi Amit,
These fields can be filled if a reference object is known to which
the notification is supposed to refer to.For example this reference
object may be an already existing notification or a service process
from a CRM system.REFOBJECTTYPE corresponds to the BOR object of the
reference object.REFRELTYPE must be contained in table ORBRELTYP and
allowed for the object and reference object pair.
Example:The reference object is a service notification with number
4711:
SENDER : Field 'Logical system' from table T000
REFOBJECTTYPE : BUS2080
REFOBJECTKEY : 000000004711
REFRELTYPE : REFZ.
<b>There are two BAPI's that I am currently aware of that can process Notification tasks.</b> These are BAPI_SERVNOT_CREATE and BAPI_SERVNOT_MODIFY_DATA.
and also following fm
CHECK WITH THE FOLLOWING FUNCTION MODULES
BAPI_SERVICENOTIFICAT_CREATE - CREATE SERVICE NOTIFICATION
BAPI_SERVNOT_DEL_DATA - Delete Items, Causes, Activities, Tasks, Partners of the service notif.
BAPI_SERVNOT_GET_DETAIL Get details about a service notification
BAPI_SERVNOT_MODIFY_DATA Modify a service notification or associated subdata
BAPI_SERVNOT_POSTPONE Postpone service notification
BAPI_SERVNOT_PUTINPROGRESS Put in process a service notification
BAPI_SERVNOT_SAVE Save service notification
<b>Reward pts if found usefull:)</b>
Regards
Sathish