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,
Imran
Hi Imran:
Could you please Function Module ISU_S_DISCDOC_CREATE instead of
ISU_S_DISCDOC_CHANGE ?
Hopefully your problem would be resolved.
Regards
Shashi
Similar Messages
-
Item Text in Service notification
Hi Expert,
I am working on Service notification, i am creating notification by using BAPI_ALM_NOTIF_CREATE, I an filling NOTITEM(Notification item for creation) table with valid REFOBJECTKEY and discription in DESCRIPT field. This is not updating the discription in line item. This is creating line item without text.
but for other notification type its updating the description.
Thanks
VikrantHow are you assigning the data? I don't see in your description if you are using the obligatory fields, and there's no single descript field.
This is the bapi template, as you can see notif_type and notifheader are obligatory, the rest is optional.
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
* EXTERNAL_NUMBER =
notif_type =
notifheader =
* TASK_DETERMINATION = ' '
* SENDER =
* ORDERID =
* IMPORTING
* NOTIFHEADER_EXPORT =
* TABLES
* NOTITEM =
* NOTIFCAUS =
* NOTIFACTV =
* NOTIFTASK =
* NOTIFPARTNR =
* LONGTEXTS =
* KEY_RELATIONSHIPS =
* RETURN = -
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 -
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 -
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 -
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 -
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® -
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 , -
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 -
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 -
Create multiple sales orders from single service notification?
Is it possible to create multiple sales orders from a single notification (IW51)?
We currently create sales orders directly within transaction IW51 (Create Service Notification). We kick off the sales order creation by pressing the "SALES ORD." button in the notification screen. We're now interested in creating a 2nd Sales Order which would tie directly to the same Service Notification. This is so that we can have the second order assigned to a different account assignment WBS (there are two different parties doing work on the service notification).
I assume you would have to go to VA01 to create the Sales Order, but am not sure how to tie it directly to the service notification from here. I treied to do a create with reference, but there is no ability to create with reference to a service notification.
Do I have to create a second service notification for the 2nd Sales Order for this to work? I want to avoid doing this if at all possible.
I'm running SAP R/3 Enterprise
Thanks for your help!Hi,
go to vtaa- copy controls for sales document to sales document.
select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
No need to change update document flow.
After setting zero in copy control that be told on above. create order with respective to the quotation.
After saving the order.
go to document flow to see the status in between quotation and order.
If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
Have a good day.. -
Automatic creation of Reservation for Service Order (Return and Repair)
Hi, Looking for your valuable help on Creation of Automatic Reservation
I am working on Return and Repair process at Plant.
1) So far
Service Notification > Repair Order > Return Delivery > Service order . has been done.
now requirement is when i am saving the service order for the Object (Fisnished Goods), in which components required for servicing of material are maintained, when i will save the order a Reservation for the same needs to be reaised to Warehouse automatically.
2) In Repair order all operation and components are not reflecting when i am selecting the line item and going to EDIT > Display Range > All Items in VA02 for which i need to do DP90.(Resource Related Billing)
Please hepl,
Thanks
SUDIP SINHAThanks for giving valuable answer,
what if in the service order i am replacing some spare parts along with services when FERT is not under warranty. How the cost will be transfered to invoice. In my case only one service is transfered.
i waqnted to transfer cost of components as well..
Thanks
SUDIP SInha -
Creation of maintenance order from notification
Hi experts,
Is there any standard settings available by which I can block to create maintenance order from a notification until & unless it's system status is "NOPR"?i.e when the system status of notification is OSNO ,system should not allow to create maintenance order.
Also in notification front page under TAB 10\TAB01(Notification1), I want to populate activites under screen area 015(item+cause) like object part,damage, cause code as my users do not want to enter the activities under tab 10\Tab12(Activities) due to the complexity it containes.
Would appreaciate of any suggestion pl
rgds
rajibHi Rajib,
First one:
Create a user status profile for the notification . In the initial status make it forbidden for the create of order. So as soon as you create the notification system will set to the initial status and will make it forbidden to create order at OSNO.
You have to assign this status profile to the notification type you want to do. Further you can make status profile in auhtorization control also.
refer the config path: Maintenance and Service Processing ->>Notification Processing>>User Status for Notifications>>Define Status Profile.
Second one:
In the config path
Maintenance and Service Processing>>Maintenance and Service Notifications>>Overview of Notification Type
select the notification type you want to include the activity code in the header data. click on Screen Structure for Extended View >> selec the 10\TAB01 add the 045 in the screen area , most possible it will be at 10\TAB01
Hope this will meet your requirement.
DP
Maybe you are looking for
-
When I first purchased my phone in January I had an email address of [email protected] but found that the phone and comline weren't talking to each other so I set up email [email protected] and everything worked perfectly -- calendar, e-mail, etc.
-
Can't see 'Local Variables' while debugging in Sun Studio 11
I am debugging a C/C++ application built with Sun Studio 11 running on Solaris 10. I load the application as always, set a breakpoint and run. The debugger stops at the assigned breakpoint as expected. The issue is that at this point there are no loc
-
Problem - Synchronize with Database
Need some help if anybody is out there JDeveloper 10.1.3.4 Java 1.5 BC-JSF I checked out my project and it worked just fine. Since i have altered one of my tables, I need to synchronize my entity object. I start the synchronization action - Synchroni
-
What is the burn/write speed of my built-in drive?
Hi - I know, dumb question: I just started working on someone's Dual 2 gig G5. Is the DVD capable of a burn speed above 4x? I know this is what is shows in when I go to burn, but I wanted to make sure I wasn't missing something... Thanks. Ron TiBook,
-
IS there anything equivalent to Forms' "Help -> Record History" in OAF Pages for end users to find the current records' Who column values?