Updation/Creation of service notification
I want to create a service notification using transaction iw51& iw52. The notification has a few custom fields to be updated I am using BAPI_SERVNOT_CREATE to create the notification but i am not able to update the custome fields the BAPI doesnot have Extension_In/Extension_out fields also. I have tried using BAPI_ALM_NOTIF_DATA_ADD , BAPI_SERVNOT_MODIFY_DATA , BAPI_SERVNOT_ADD_DATA these too have the same issue. I want to know the BAPI which can be used for updating the custom fields
I am prefering to use BAPI instead of BDC.
Kindly Respond urgently.
Thanks.
Hi Ayushi,
In the Include MV45AFZZ you need to write you code.
First check for whcih service notification. I mean Notification Type.
Then use you BAPI if it is correct for the notification type.
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
notif_type = p_header-tables-mnmisc-notif_type
notifheader = p_header-tables-mnhead
task_determination = p_header-tables-task_determination
orderid = p_header-tables-mnmisc-orderid
IMPORTING
notifheader_export = l_head
TABLES
notitem = l_it_item " Since you dont have any items to create leave it blank.
notifcaus = l_it_caus " Since you dont have any causes to create leave it blank.
notifactv = l_it_act " Since you dont have any activities to create leave it blank.
notiftask = l_it_task " Since you dont have any tasks to create leave it blank.
notifpartnr = l_it_part "etc ditto
longtexts = l_it_text
return = l_it_return.
read table it_return index 1 / read table it_return TYPE = 'S'
if sy-subrc = 0.
lv_notNumber = MESSAGE_V1 / MESSAGE_V2 .
message 'Notification created' with lv_notnumber type 'S'.
endif.
The above logic is a Psuedo or a hint only. Hope this helps.
Thanks & regards,
Bhargav.
Finally in the user exit give the message
Similar Messages
-
BAPI to update ALNZN while creation of Service Notification
Hi Folks,
I want to update ALNZN ( condition after malfunction in system condition tab of IW22/IW52) using BAPI/FM while NOTIFICATION CREATION.
I tried with most bapi's mentioned below but all of these dont have field for system condition tab.
BAPI_SERVICENOTIFICAT_CREATE.
ALM_PM_NOTIFICATION_CREATE
BAPI_ALM_NOTIF_CREATE
BAPI_ISUSM_NOTIF_CREATEMULTIPLE
BAPI_QNOTIFCAT_CREATE
BAPI_SERVNOT_CREATE
BAPI_QUALNOT_CREATE
IWON_NOTIFICATION_CREATE
Please suggest standard method to create service notif along with QMEL-ALNZN
And also we need to update existing notif with same field, please suggest for NOTIFICATION UPDATE functionality as well
Thanks,
MozilaNot possible with BAPI.
Use BDC or direct update on QMIH table -
Creation of Service Notification No for SO.
Hi everyone,
I am working on the User Exit for the first time. Kindly help me out with the following requirement.
When a sales order is saved, create a service notification and link to the sales order header.
To fulfill this requirement we need to use the following:
Program SAPMV45A, Include MV45AFZZ, USEREXIT_SAVE_DOCUMENT
BAPI to create service Notification is : BAPI_ALM_NOTIF_CREATE
When the service notification is created, the following fields should be populated in the notification as the end result:
1. Sales Organization (VIQMEL-VKORG)
2. Distribution Channel (VIQMEL-VTWEG)
3. Division (VIQMEL-SPART)
4. Sales office (VIQMEL-VKBUR)
5. Sales Group (VIQMEL-VKGRP)
6. Notification short text should contain the sales order number (VIQMEL-QMTXT)
7. Sales Order (VIQMEL-VBELN)
The following fields should be updated in the sales order as the end result:
1. Notification number (VBAK-QMNUM)
I need to check if notification no. needs to be created or not. Also, the notification type should be valid. If not I need to throw a warning mess. but SO no. should be saved. if the condition is satisfied then BAPI should be called and notification no. should be created.
In case if BAPI fails then handling should be done with the help of the transaction SLG1.
Please provide me technical help.
Regards,
AyushiHi Ayushi,
In the Include MV45AFZZ you need to write you code.
First check for whcih service notification. I mean Notification Type.
Then use you BAPI if it is correct for the notification type.
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
notif_type = p_header-tables-mnmisc-notif_type
notifheader = p_header-tables-mnhead
task_determination = p_header-tables-task_determination
orderid = p_header-tables-mnmisc-orderid
IMPORTING
notifheader_export = l_head
TABLES
notitem = l_it_item " Since you dont have any items to create leave it blank.
notifcaus = l_it_caus " Since you dont have any causes to create leave it blank.
notifactv = l_it_act " Since you dont have any activities to create leave it blank.
notiftask = l_it_task " Since you dont have any tasks to create leave it blank.
notifpartnr = l_it_part "etc ditto
longtexts = l_it_text
return = l_it_return.
read table it_return index 1 / read table it_return TYPE = 'S'
if sy-subrc = 0.
lv_notNumber = MESSAGE_V1 / MESSAGE_V2 .
message 'Notification created' with lv_notnumber type 'S'.
endif.
The above logic is a Psuedo or a hint only. Hope this helps.
Thanks & regards,
Bhargav.
Finally in the user exit give the message -
Creation of Service Notification and filling certain fields
Hi,
I am trying to create a service notification document from inside dunning activity (TR FBVB).
The steps that I followed are
A custom FM is configured which is called after dunning event ISU_DUNNING_BLOCK_DEVICE_0350. This std FM creates a disconnection order number which can be seen via TR EC87. This EC87 transaction has a tab for service orders created via it.
The custom FM configured is called after standard FM is used to get disconnection order and then we are using FM ISU_S_DISCDOC_CHANGE. This FM creates the relevant service notification document for the disconnection order.
The problem we face in here is the equipment number, connection number, installation, material, serial number created via the FM ISU_S_DISCDOC_CHANGE is blank.
Our requirement is to have the service notification created via the above fields populated in it.
Kindly suggest is there any alternative to get those fields populated in the service notification (TR IW53)
Regards,
Imranhi eshwar
you can create service order by using the service notification,
create service notification using IW54 after entering the details select the Service notification in the menu and select the service order create OR press the Order buttom ,and enter the order type you want to create
hope this will clear you
regards
thyagarajan -
How to block a material that not to creation of service notification thru-IW51
Hi All,
I have tried in all over areas ( MM02 level and MM06 level ) to block a material that not to create service notification with that material but didn't get a solution.If any one knows solution for this kindly provide me.
"How to block a material that not to create a service notifcation thru IW51?"
Best Regards,
Narendra KonnipatiNarendra,
1. I do not see any possibility without using this exit. It is a very simple and effective thing for your ABAPer and you too.
2. In case of many Materials-Notification type combinations, you can maintain similar code by joining several elseif s.
3. Alternatively, you can maintain a Z Table as under:
QMART
MATNR
S3
10000000099999
S3
10000000099988
S1
10000000088988
S2
12000000088988
Means, for every Notification type there will be one or more prohibited materials. The coding will not be difficult, but will have around 15/20 lines.Finally, if you have to get your issue resolved, I feel this is the way and also easy way through your ABAPer.
Tell me in case of any further opinions.
Best of Luck
KJogeswaraRao -
Function module for creation of service notification in R/3
hi,
Can anyone plz tell me is there any function module available in CRM that will create service notification in R/3??Hi Anirban,
Use the bapi BAPI_BUSPROCESSND_CREATEMULTI to achieve the same.
<b>Reward points if it helps.</b>
Regards,
Amit Mishra -
Auto creation of service notification with service order
Hi all
Please let me know how can this achived.
1. When Service order is created automatically notification should create.
how can we do this, Please let me what is cutomization step for this.
2. Is it possible to generate the service order and notification automatically when sales order is created.If so how it can be achived.
regards
KrishAs stated above, its done through the Transfer of Requirements settings in the SD IMG
As an example lets look at the standard repair order - the links are:
Sales document item category IRRP
- Item Cat IRRP is linked to Requirements Type SERP (SD IMG->Determination Of Requirement Types Using Transaction)
-- Requirements Type SERP is linked to Requirements Class 204 (SD IMG->Define Requirements Types)
--- Requirements Class 204 is lined to order type SM03 (SD IMG->Define Requirements Classes)
PeteA -
Automatic creation of service notification for maintenance order
hi,
I created one new document type (SR) as service requestion in material management.
Then i create maintenance order for service and attached service master. System generated PR. Where document type to be given to get SR instead of PR.
Kindly explain
Regards
sathish. RHi,
Please check the indicatorsin Actual cost/cost sales and Valid recevivers in settlement profile.
If for cost center : 1 settlement optional is maintained in valid recevivers and also for order
and in actual cost/ cost sales: indicator to be settled in full is selected.
Also check Allocation structure too if you have assigned the valid allocation structure.
**check if you have assigned the valid settlement profile to order types.
*****Most important after doing all these settings you need to create new order. for same order you will not get the automatic settlement rule
Hope this helps.
Regards,
PMAddi -
Planner group is not updated in service notification using BAPI
Hi,
Planner group is not updated in service notification using BAPI BAPI_ALM_ORDER_MAINTAIN.
I have written the below code, but planner group is not updated in the service notification.
Please advice which parameters do i need to pass to update planner group in the service notification.
wa_methods-refnumber = '000001'.
wa_methods-objecttype = 'PARTNER'.
wa_methods-method = 'CREATE'.
wa_methods-objectkey = wa_subscr1-aufnr.
APPEND wa_methods TO i_methods.
wa_methods-refnumber = '000002'.
wa_methods-objecttype = 'HEADER'.
wa_methods-method = 'CREATE'.
wa_methods-objectkey = wa_subscr1-aufnr.
APPEND wa_methods TO i_methods.
wa_methods-refnumber = '000000'.
wa_methods-objecttype = ' '.
wa_methods-method = 'SAVE'.
APPEND wa_methods TO i_methods.
REFRESH i_partner.
CLEAR wa_partner.
wa_partner-orderid = wa_subscr1-aufnr.
wa_partner-partn_role = 'VW'.
wa_partner-partn_role_old = ''.
wa_partner-partner = wa_subscr1-parnr.
wa_partner-partner_old = ''.
APPEND wa_partner TO i_partner.
REFRESH i_planrgrp.
CLEAR wa_planrgrp.
wa_planrgrp-orderid = wa_subscr1-aufnr.
wa_planrgrp-plangroup = wa_subscr1-ingpr.
APPEND wa_planrgrp TO i_planrgrp.
REFRESH i_planrgrp_up.
CLEAR wa_planrgrp_up.
wa_planrgrp_up-orderid = wa_subscr1-aufnr.
wa_planrgrp_up-plangroup = 'X'.
APPEND wa_planrgrp_up TO i_planrgrp_up.
*----Change order details with Technician name
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = i_methods
it_header = i_planrgrp
it_header_up = i_planrgrp_up
it_partner = i_partner
return = i_return.
Thanks & regards,
KrishnaTry this way
CALL FUNCTION 'BAPI_SERVNOT_CREATE'
EXPORTING
* EXTERNAL_NUMBER =
notif_type = 'S3'
notifheader = ls_notif_h
* TASK_DETERMINATION = ' '
* SENDER =
* ORDERID =
IMPORTING
NOTIFHEADER_EXPORT = ls_notif_e
TABLES
* NOTITEM =
* NOTIFCAUS =
* NOTIFACTV =
* NOTIFTASK =
* NOTIFPARTNR =
* LONGTEXTS =
* KEY_RELATIONSHIPS =
return = lt_return
* IF lt_return IS INITIAL. " <<< Comment this lie
read table lt_return into ls_return with key type = 'E'. " << Change
if sy-subrc ne 0. " << Change
COMMIT WORK AND WAIT.
write: / ls_notif_e-NOTIF_NO.
ELSE.
LOOP AT lt_return INTO ls_return.
WRITE:/ 'errors'.
* ls_return.
ENDLOOP.
endif.
a® -
BAPI for Service Notification Creation (with address)
Hi Friends,
Could any one help and let me know if there is a BAPI which helps to create a Service Notification and has the capability to update the address fields in that Service Notification. I am aware of the BAPI "BAPI_SERVNOT_CREATE" but it does not have the capability to update the address fields (like name1, name2, street, city, region, email address etc). Thanks in advance.
Regards
SidRavi ,
Thanks for your passing me the bapi , when i use it the program goes to dump , its regarding the category , what has to be passed to the category ,
As of now i m passing Notification type , Requestor , Code grp and activity code.
Sorry for not Rewarding points in time , i was at lunch , -
Update default tile when Notification Service is WNS
Hi,
I have Windows Phone 8.1 Silverlight project.
When I using WNS (Notification Service) I cant update default tile.
When Notification Service is MPN I use:
var findTile = ShellTile.ActiveTiles.FirstOrDefault();
if (findTile != null)
findTile.Update(new FlipTileData
BackgroundImage = new Uri("isostore:/Shared/ShellContent/image123456789.jpg", UriKind.Absolute)
and everything works great.
How can I update default tile when Notification Service is WNS?I already know how :)
private async Task UpdateWideTile()
var tile = CreateWideTile();
Windows.Storage.StorageFile file = await Windows.Storage.ApplicationData.Current.LocalFolder.CreateFileAsync("myImage.jpg", Windows.Storage.CreationCollisionOption.ReplaceExisting);
using (var storageStream = await file.OpenStreamForWriteAsync())
tile.SaveJpeg(storageStream, 310, 150, 0, 100);
XmlDocument tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileWide310x150Image);
XmlNodeList tileImageAttributes = tileXml.GetElementsByTagName("image");
((XmlElement)tileImageAttributes[0]).SetAttribute("src", file.Path);
var tileNotification = new Windows.UI.Notifications.TileNotification(tileXml);
TileUpdateManager.CreateTileUpdaterForApplication().Clear();
TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification);
Hi undertaker,
I'm glad that you have solved it, thank you for sharing your solution here:)
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Creation of items in Service Notification
Hi,
I am trying to create a service notification document from inside dunning activity (TR FBVB).
The steps that I followed are
A custom FM is configured which is called after dunning event <u>ISU_DUNNING_BLOCK_DEVICE_0350</u>. This std FM creates a disconnection order number which can be seen via TR EC87. This EC87 transaction has a tab for service orders created via it.
The custom FM configured is called after standard FM is used to get disconnection order and then we are using FM ISU_S_DISCDOC_CHANGE to create a service notification from the disconnection order. This FM creates the relevant service notification document for the disconnection order.
The problem I am facing in here is the equipment number, connection number, installation, material, serial number created via the FM ISU_S_DISCDOC_CHANGE is blank.
Our requirement is to have the service notification created with the above fields populated in it.
Kindly suggest is there any alternative to get those fields populated in the service notification (TR IW53 to view service notification)
Regards,
ImranHi Imran:
Could you please Function Module ISU_S_DISCDOC_CREATE instead of
ISU_S_DISCDOC_CHANGE ?
Hopefully your problem would be resolved.
Regards
Shashi -
Why is creation of a service notification using BAPI not working?
I need to create a service notification.
I have found 2 BAPIs.
BAPI_SERVICENOTIFICAT_CREATE
BAPI_SERVNOT_CREATE
The code below using the second BAPI is not creating a notification and the return parm does not have any errors.
You can see it does a call to commit after the BAPI call
Perhaps I am missing something critical in the parms.
We are trying to creat a service type notification using equipment.
DATA ls_notif_h TYPE bapi2080_nothdri.
data ls_notif_e type BAPI2080_NOTHDRE.
DATA lt_return TYPE STANDARD TABLE OF bapiret2.
DATA ls_return LIKE LINE OF lt_return.
ls_notif_h-equipment = '10000044'.
CALL FUNCTION 'BAPI_SERVNOT_CREATE'
EXPORTING
EXTERNAL_NUMBER =
notif_type = 'S3'
notifheader = ls_notif_h
TASK_DETERMINATION = ' '
SENDER =
ORDERID =
IMPORTING
NOTIFHEADER_EXPORT = ls_notif_e
TABLES
NOTITEM =
NOTIFCAUS =
NOTIFACTV =
NOTIFTASK =
NOTIFPARTNR =
LONGTEXTS =
KEY_RELATIONSHIPS =
return = lt_return
IF lt_return IS INITIAL.
COMMIT WORK AND WAIT.
write: / ls_notif_e-NOTIF_NO.
ELSE.
LOOP AT lt_return INTO ls_return.
WRITE:/ 'errors'.
ls_return.
ENDLOOP.
Thanks.
ScottTry this way
CALL FUNCTION 'BAPI_SERVNOT_CREATE'
EXPORTING
* EXTERNAL_NUMBER =
notif_type = 'S3'
notifheader = ls_notif_h
* TASK_DETERMINATION = ' '
* SENDER =
* ORDERID =
IMPORTING
NOTIFHEADER_EXPORT = ls_notif_e
TABLES
* NOTITEM =
* NOTIFCAUS =
* NOTIFACTV =
* NOTIFTASK =
* NOTIFPARTNR =
* LONGTEXTS =
* KEY_RELATIONSHIPS =
return = lt_return
* IF lt_return IS INITIAL. " <<< Comment this lie
read table lt_return into ls_return with key type = 'E'. " << Change
if sy-subrc ne 0. " << Change
COMMIT WORK AND WAIT.
write: / ls_notif_e-NOTIF_NO.
ELSE.
LOOP AT lt_return INTO ls_return.
WRITE:/ 'errors'.
* ls_return.
ENDLOOP.
endif.
a® -
Creation of Repair Order (SD with reference to a Service Notification
Hi,
I hv a requirment to create a Repair Order(Sales Order) with reference to a Service Notification when a Purchase Order arrives via EDI / interfaces using CIP2SAP ( EXITS OR BADI ).
Pls suggest, if there are any user exit(s) to meet this requirement.
Thanks in advance
Regards
Anandif you want to have you can use the FM ALM_ME_GOODSMVT_CREATE
hope it helps -
Creation of service order and service notification
Hi guys,
Please any one help me how to create service order through service notification, and explain me the process.This is very urgent for me kindly help the same.
Reg
Eswar
[email protected]hi eshwar
you can create service order by using the service notification,
create service notification using IW54 after entering the details select the Service notification in the menu and select the service order create OR press the Order buttom ,and enter the order type you want to create
hope this will clear you
regards
thyagarajan
Maybe you are looking for
-
How can I make a filter in number app
How can I make a filter in a row in number apps? Sometimes i need to filter my name in a list from an excel sheet. What I need is to know if I van use data filtering in number app.
-
LV 8.5 installation error 10008
I have encountered this error code while installing LV 8.5 ======= .\LinkedDistribution.cpp(221): IInstallerError 10008 Fatal Error. Unable to launch the linked distribution National Instruments Device Drivers. Failed to start National Instruments De
-
I have the problem in Adobe Premiere elements 11 with bouncing text (efects "focus" and "blur"). You can see it on video: And if I used these effects, the program is unstable and falling (in editing the effects or in rendering process). Is it problem
-
Trash folder is empty. Same problem trying to delete messages from 'sent' folder Problem continues after computer restart.
-
Creative Cloud Set-up error 42
When attempting to download the Photoshop CC trial, I am encountering the following error shortly after running the CreativeCloudSet-Up.exe We've encountered the following issues Installer was unable to access a critical file/directory. Please try