2015 Apr 15 7:09 AM
Hello experts,
In ML81N (Creation of service entry sheet).
I need to display an error message while saving the service enetry sheet based on the WBS elemet of the serive(Line item).
Please suggest me user exits that will satisfy the above requirement.
Thanks in Advance.
Regards,
Dorababu P
Hello experts,
In ML81N (Creation of service entry sheet).
I need to display an error message while saving the service enetry sheet based on the WBS elemet of the serive(Line item).
Please suggest me user exits that will satisfy the above requirement.
Thanks in Advance.
Regards,
Dorababu P
2015 Apr 15 7:35 AM
Hi Punugoti,
All Enhancement Details for ML81N. Go to SMOD ->Select Component -> Display ->Double Click om Function module -> Include Program is an User Exit . you can use as per your requirement.
Enhancement | Description |
| SRVDET | User screen on tab strip of service detail screen |
| SRVEDIT | Service list control (maintenance/display) |
| SRVENTRY | Unplanned part of entry sheet (obsolete since Rel. 3.1G) |
| SRVESI | Data conversion entry sheet interface |
| SRVESKN | Set account assignment in service line |
| SRVESLL | Service line checks |
| SRVESSR | Set entry sheet header data |
| SRVEUSCR | User screen on entry sheet tabstrip |
| SRVKNTTP | Setting the account assgnmt category when reading in, if "U" |
| SRVLIMIT | Limit check |
| SRVMAIL1 | Processing of mail before generation of sheet |
| SRVMSTLV | Conversion of data during importing of standard service cat. |
| SRVPOWEB | Purchase order for service entry in Web |
| SRVQUOT | Service export/import for inquiry/quotations |
| SRVREL | Changes to comm. structure for release of entry sheet |
| SRVSEL | Service selection from non-SAP systems |
| SRV_FRM | SRV: Formula calculation (obsolete since 4.0A!) |
| INTERFAC | Interface for data transfer |
Thanks
2015 Apr 15 9:58 AM
Hello Ranjeet,
Thanks for the suggestions.
I treid the exit Seivice line check(SRVESLL), But it is triggering every time if we press enter also.
The variable sy-ucomm is not having the function code related to SAVE.
it is getting changes to ENTE. So i am unable restrict by using the function code also.
Please suggest me how can i trigger the exit only while saving the service entry sheet.
Regards,
Dorababu P
2015 Apr 16 5:31 AM
Hi Punugoti,
Please try SRVESSR for header level activity.
Thanks,
2015 Aug 24 3:44 AM
Hi Punugoti,
Could you please share how you resolved this issue as I have the same requirement?
regards
Julian
2015 Aug 24 7:37 AM
Hi,
I have resolved the issue by implementing an enhancement in include LMLSRF0F.
Loop through XESSR. Select data from EKKO and EKPO where XESSR-ebeln = ebeln AND ebelp = XESSR-ebelp. Read table XESKN for WBS element.
cheers
Julian
2015 Sep 08 1:13 PM
Hello Julian,
I have used the FM: EXIT_SAPLMLSP_030 to display the error mesage.
it will get trigger for each and every line item in the service entry.
It may help you, Please check.
Regards,
Dorababu P
2015 Aug 24 7:41 AM
2015 Nov 18 10:45 AM
Hello Dora Babu,
Could you please post how u have solved this issue
Thanks in advance!
Jagadeesh Eluru
2015 Nov 19 10:28 AM
Hi Jagadeesh,
Activate customer exit - MBCF0002 and set a break point.
When post the service entry sheet, it will trigger.
Now you can write a code.
Arivazhagan S
2015 Nov 19 10:35 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |