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,
Imran
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
Similar Messages
-
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 -
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 -
Link Between Service Notification and Sales Order
Hi All,
In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
Please guide me.
With Regards
Vinu.NHello Vinu
For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
That is a solid link right there.
I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
Hope this helps. -
Service Notification and service order in ISU
Dear's
I want to know that how to configure Service notification and service order in ISU and in ISU their is any posibility if i put a note with meter reading the notification is auto genrate?
Witing for your positive responce
Regards,
Syed Zahoor AhmedCheck out [Work Management Help for ISU|http://help.sap.com/saphelp_utilities472/helpdata/en/c6/4dc955eafc11d18a030000e829fbbd/frameset.htm].
Then you can go to your sandbox SPRO and try the configuration.
For note question, I am not sure whether I understand it correctly. If you want to automatically create MR from the note that you put in notification. There is not configuration for that. you need an enhancement.
Chaiphon -
Archive service notification and service orders
Hello
We need to remove few service notification and service orders from the system.These were created by mistake and now we want to remove those orders and notificaiton from the system
Please explain with required transactions.
Regards
SantoshCheck preconditions for archiving notification :
1) The notification has been marked as u201Ccompletedu201D in Change Notification.
To archive notifications, go to transaction SARA. The archiving object for Notification is NM_QMEL.
Click on the Write button in the initial screen of Archive Administration to start an archive session of archiving notifications.
RQARCNMA u2013 Archive Notifications
RQARCNMD u2013 Delete Notifications
hope that your problem will be solved. -
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 -
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 -
Call transaction skip first screen and fill a field
Hi,
I have got a requirement where need to call transaction VA01 by filling the fields on the first screen like order type, sales area using set parameter IDs and need to skip first screen. There is additional requirement apart from this where I need to fill the field 'Proforma' with some value 'X' in the header 'Additional data A' while calling transaction VA01.
Is there any shortway to do this without using BDCdata?
Thanks
SDHi,
I had this kind of requirement earlier. But in my case I need to pre populate several values and then show the screen for user input. Here is my suggestion for you. Follow below code for filling BDC DATA internal table and call transaction in "E" error mode. This should show the screen finally for user input. In this code find for "?" and replace it with your field name and field value. Remember to check validity of screen # and names with you system.
Thanks,
Amara.
Moderator message - Please respect the 5,000 character maximum when posting. Post only the relevant portions of code. Do not use code tags to format text
Edited by: Rob Burbank on Dec 22, 2010 6:08 PM -
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 -
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 -
Deadline Monitoring doesn't create Notification and System Cond Field
Hi Gurus,
I have created a job schedule for IP10 (program RISTRA20) and this week it created 140 new Work Orders.
However, it didn't create Notification and all the System Condition Field were in blank in different result than we got last week execution.
Any idea what happened?
Thanks,
MichelHi All,
In fact I just checked the settings you suggested but all the parameter were set up correctly.
PM01 M1 Assignment of Operations to Maint. Plan Notifications Active
PM02 M2 Assignment of Operations to Maint. Plan Notifications Active
PM03 M3 Assignment of Operations to Maint. Plan Notifications Active
PM04 M1 Assignment of Operations to Maint. Plan Notifications Active
PM05 M3 Assignment of Operations to Maint. Plan Notifications Active
PM06 Assignment of Operations to Object List Entries Inactive
PM07 Assignment of Operations to Object List Entries Inactive
PM08 Assignment of Operations to Object List Entries Inactive
And regarding the syscond field, I saw the in the Task List it's BLANK as well. So, I assume it pulls from the Task List into the WO.
But still wondering about the Notification issue.
Thanks again!
Michel Khouri -
Control/Default values in Service Notifications and Service Orders
Hi all,
When in transaction IW52 and IW32 I know you can maintain a set of default values for when you are either creating a Service Notificaiton and/or a Service Order.
My scenario is as follows:-
User 1 has a set of default values and it contains Work Centre A. User 1 then creates a Service Notification.
User 2 has a set of default values and it contains Work Centre B. User 2 then reviews the Service Notification created by User 1 and wishes to create a Service Order.
When User 2 creates the Service Order, the default value for the Work Centre is using User 1's Work Centre (Work centre A) and not their own Work Centre of Work Centre B?
What is stopping User 2 picking up their own Work Centre of Work Centre B when they want to create a Service Order from a Service Notification?Gary,
The order takes its data from the notification (which got it from USER1's defaults).
What you need to do is change the notification work centre to that of USER2's preferred default value.
There is no standard setting for this. However, all is not lost. It may be possible by misuing one of the order user-exits
PeteA -
How to link Service Notification and Quotation
Hi Guys,
My business scenario is migrating Quotation.
The source file will be the flat file.First, service notification needs to be created and then quotation need to be created based on that.All these things I need to do through BAPI.
I have tried using Bapi's in the following order.
BAPI_SERVNOT_CREATE
BAPI_SERVNOT_SAVE
BAPI_TRANSACTION_COMMIT
The above sequence creates Notification.
Then I am creating Quotation with the Notification number using
BAPI_QUOTATION_CREATEFROMDATA2
BAPI_TRANSACTION_COMMIT
After creating Quotation ,when I check VBAK , Notification number is present.
But when I check QMEL , VBELN (Quotation number ) is not present.
In other way,In Transaction VA22 , I am not able to see the Sales order(Quotation) number next to Sales.Ord button.
How to solve this issue.
Thanks in advance.FORM link_notification_quotation .
DATA:wtl_notification_db_table LIKE qmel OCCURS 0,
wsl_notification_db_table LIKE qmel.
IF NOT wtg_longtext[] IS INITIAL.
SELECT * FROM qmel INTO TABLE wtl_notification_db_table
FOR ALL ENTRIES IN wtg_longtext
WHERE qmnum = wtg_longtext-notif_no.
LOOP AT wtl_notification_db_table INTO wsl_notification_db_table.
READ TABLE wtg_longtext INTO wsg_longtext WITH KEY notif_no = wsl_notification_db_table-qmnum
BINARY SEARCH.
IF sy-subrc = 0.
wsl_notification_db_table-vbeln = wsg_longtext-quot_no.
MODIFY wtl_notification_db_table FROM wsl_notification_db_table.
ENDIF.
ENDLOOP.
MODIFY qmel FROM TABLE wtl_notification_db_table.
ENDIF.
ENDFORM. " link_notification_Quotation
Sorry for the late reply.Now only i am checking this.Hope you will get some idea from this.But I am sure that this is not the correct way. -
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
Maybe you are looking for
-
Best Practice for Migrating code from Dev to a fresh Test ODI instance
Dear All, This is Priya. We are using ODI 11.1.1.6 version. In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just
-
I can not access Calender. Keep getting blocked by message. The server responded with error. Access to account "virgin net" is not permitted. The server responded: "403" to operation. CalDAVAaccountRefreshQueueableOperation.
-
Copy and paste has stopped working in all applications.
It looks as if the text is being copied, and it looks as if there is somwething to paste in the Edit dropdown window - but nothing appears when you do paste. Also, the 'Undo' button appears in the edit window, as if it has pasted...
-
I used to be a frequent user of iTunes radio but it no longer works for me. I can't play my old stations and I can't add stations without getting an error message that the station is temporarily unavailable. It's been doing it for weeks now. I've upd
-
No data in BI DEMO Cubes?
We are into the demo phase of the project and we planned to show some queries using the data from the DEMO cubes provided by SAP. We just installed Purchasing cube 0D_PU_C01 from the Business Content and it went fine but NO DATA was installed. a) Are