BAPI_ALM_ORDER_MAINTAIN - avoiding Notification creation
Hi Experts,
I am able to create a Work Order using BAPI_ALM_ORDER_MAINTAIN. It is creating a new Notification by default.
Even if I pass Notification number to the Object list it is creating a new notification along with the Notification number passed.
Is there any way that we can avoid creating the Notification?
Please advice.
Thanks in Advance.
-Chandra
Hi Venkat,
I could not find the solution to use the BAPI to create an Order for Notification.I ended up using the bapi to Notification the Order and using the BDC to create an order with reference to the Notification. This was the only solution i could come up with at the time.
Hope it helps!
D
Edited by: Danny Molepo on Nov 16, 2009 9:28 AM
Similar Messages
-
SD Billing - Avoid Cancellation Creation if Invoice has not been posted yet
Dear all,
I have noticed this problem in my company system.
Problem descripion:
- you creates an invoice and the system doesn't post it for any reason
- then you create the cancel of the invoice, BEFORE forcing the posting of the invoice
--> user creates Cancel, Cancel is not posted as well.
--> from now it is impossible to post both invoices: if you try to post the Invoice after the cancel creation, the VF02 recongnise that a CANCEL exists and do not allow for the posting
--> standard VFX3 doesn't signal this kind of not posted documents situation.
Ok, The right procedure for thes user should be: create invoice, if not posted then try to understand why not posted, and not CANCEL it.
But in this case VFK3 was not able to detect the invoice was not posted: it was not in the list.
So the 2 ways must be:
1) one possibility could be undestand in VFX3 could be enhanced: I checked in OSS but I didn't find anything.
2) other possibility: add a further check in interface between SD and FI in order to check if original invoice is not posted to FI and in this case block the cancel creation, as instead standard SAP does.
Could you please give me an idea on how it would be better proceed?
Thank You very much.
RaffaellaDear,
thank you for your feedback.
in VOFA the flag is not ticked.
The problem was that In VFX3 no data were found for the specified document (with all "Inclomplete Due To" check box flagged), even if invoice and relative cancel were already created, but not posted.
When we tryied to to post them, via VF02 for example, the system didn't warned anything specific and, doing the posting via debug, we discovered that the posting was stopped because VBRK-RFBSK = E = "Billing Document Cancelled".
So, forcing via debug that value = ' ', because of the urgency of Finance Office, we could invoice it and then do the same for its cancel.
So at the moment it is not possible for me to reproduce the error in the system.
The only workaround I can imagine, is to find a way to avoid cancel creation if invoice is not posted yet.
Do you think this is feasible way?
Thank You veyr much for your suggestions.
KR
Raffaella
Edited by: Raffaella Sacchetto on Nov 29, 2010 3:43 PM -
Label printing during notification creation
Hello Gurus - We are using an interface with a legacy system & when the users record the defects in Legacy, the interface will automatically create a defect notification in SAP. There is a requirement to print a label from SAP at the time of notification creation, to tag the defective item. Not sure how to achieve this. Any ideas or suggestions will be greatly appreciated.
Thanks,Hi Sujoy,
Create a Object Info key from OIMD.
Include all required information in this key.
Assign this key to PM Order & Notification type wish.
You can get the information as a POP up.
Regards,
Ramesh -
Avoid the creation of idoc Debmas with Change Pointers
Hi everybody.
Ive customized the creation of idoc debmas with change pointers.
In BD64 I´ve defined the distribution model but Id like to avoid the creation of the debmas idoc when an specific user has created/modified the custumer data.
How can I get this?
RegardsHello,
I would suggest to handle this issue with authorization check...
check the authorization object using SU53 and add a separate role for those specific user excluding those objects...
Thanks
K. -
PM Notification creation based on UD Code
Hi Seniors
I am new to PM/QM module and facing an issue while configuring UD code follow-up actions.
My requirement is once the Valution Code is set to "Rejected" in UD code then follow-up action should be generated and in this follow up action, couple of actions should take place :
1. Set the equipment status (QFOA_OBJECT_STATUS_SET). It is happening
2. Set the order status to TECO (QFOA_ORDER_TECHNICAL_COMPLETE). It is also happening
3. Creation of a Notification so that based on that notification, corresponding order followed with PR/PO to be created for procuring of the equipment.
I have also maintained PM notification type (which I want to auto create during inspection lot recording) in SPRO for respective inspection type level then also notification is not getting generated automatically.
I am not able to find out the way how to address Pt. No. 3. Kindly help
Thanks
Manmohan K BajajIf ud code is Accept then system not allow to post stock in block stock and if ud code is reject then system not allow to post stock in unrestricted.
Dear this can be achieved through UD code itself please check the assigned stock proposal to the ud code in QS51.
QS51 -> catalog 3, plant.
Look at the ud codes -> Here you can find a posting proposal for the UD.
Cheers
KK -
Urgent - Avoiding PO creation from SC
Hi,
I need to stop the PO creation in SRM & R/3.
Pls suggest.
Thanks,
Shah.Hi Kyamuddin
One option is to increase the approval level and see that the last approver do not apporve the SC and there by we can stop PO getting created for specific Prodcuct Category.
Other option is to change the Customisation settings in spro --SRM Server -- Cross-Application Basic Settings -- Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)
In this path for this option, here we maintain product category wise settings for backend documents you can change the 2 parameters
1 INC Proc - Always External Procurement
2 Ext Procument - Always Purchase REquistion
By this you can avoid creating PO temporary and then change the setting normal.
regards,
Nimish Sheth
Pls reward points for helpful answers -
Avoid automatic creation of purchase requisition for bom item N
Dear.
When I create a production order , for the components with bom item N the system create a purchase requisition. I need to avoid this automatic creation , do you know a solution to obtain this ?
Thanks.For the many people that have asked this question.
N item category in the BOM is always going to propose direct procurement. Through configuration I have not found a way to make it go away from the planned order. You can make it go away from the production order.
The IMG path:
Plant Maintenance and Customer Service
-> Maintenance and Service Processing
--> Maintenance and Service Orders
---> Functions and Settings for Order Types
----> Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval
Under the Res/PurRq -> Specify Never
In order make this setting effective, you must define the following
system message to error or warning, as it is stated on note 569984
Version Appl.A. No. Cat
00000000 C2 280 W
Please note that this setting is effective for reservations and
requisitions.
The best solution is to use BOM item category L with the bulk indicator set. You will not get any direct procurement proposals or planned orders and you can use long term planning to see the time phased MRP results. -
PM Notification creation using BAPI_ALM_NOTIF_CREATE Function module
Hi Experts,
I am creating PM Work order using Custom BAPI which is being invoked by third party system and Imports data from third party system,including the IT_OBJECTLIST.Custom BAPI would Validate the data and by calling the Satandard BAPI BAPI_ALM_ORDER_MAINTAIN it will create the PM Order.
Once the Order is created i am Calling the Function modules BAPI_ALM_NOTIF_CREATE,BAPI_ALM_NOTIF_SAVE,BAPI_TRANSACTION_COMMIT to create the Notifications for the Equipments in IT_OBJECTLIST structure imported by custom BAPI.
To my surprise this sequence of function modules are not creating any Notifications in the Objects tab in Order.where as i called the same sequence of function modules in a report Program which is successfully creating the notification.
i doubt calling BAPI function module to update Notification withing BAPI Function module may not work.
could you please help me how to proceed in this case.Hi,
The functional location affected is set to the reference f/l unless a different value is specified.
That field is not available in BAPI_ALM_NOTIF_CREATE, it is not available in the MODIFY bapi either - so not possible to create then modify.
You can set a value for the field in exit QQMA0025 / EXIT_SAPLIQS0_017. This is called by the BAPI but you would need to find a way to get the required value from your calling program into the exit.
-Paul -
Credit Management: Any setting to warn or avoid Project creation in PS
Is there any standard credit management setting that would warn or doesn't allow to save the creation of the project in PS , just like warning or stop from saving the service notification by credit management
Not sure why you're asking a PS question in the SD module...
To my (very limited) knowledge, there is nothing like credit management in PS. And how do you envision this would work? The project doesn't have any value per se, so what would you check against? Also Partner data in PS is optional, unlike Sold-to in SD, so there is hardly any link.
There are a bunch of user exits / BADIs available in PS, which could be used for additional data validation. -
Hi,
I am unable to associate the notification with the PM order while changing the order through BAPI_ALM_ORDER_MAINTAIN. The scenario is like following:
Order is already created & Notification is also created.
Now I am populating the Methods table as:
3. Passing the Notification no. in notif_no field of header table and 'X' in notif_no field of header_up table.
In the return table it shows that the order saved successfully but when we check it in IW32, the notification is not associated with it.
Please suggest.You might have missed some parameters, that is to be passed, means you have mistakenly commented any parameters that is not to be comment, please search in this forum you will get many threads, then see what is missing.
-
Notification creation using imrc0001 exit(ik11) but unble to get the status
Hai to all
i had used the exit IMRC0001 for the creation of notification if reading exceeds the upper range using fm
BAPI_ALM_NOTIF_CREATE
BAPI_ALM_NOTIF_SAVE
It is updated in table VIQMEL
but when i open tcode iw22 is giving me a error message
Object does not exist (status management)
Message no. IM258
Diagnosis
This refers to an error in central status management.
Task status
The central status management connection at task level will only be supported from Release 3.0.
For this reason, no task status is available for statuses created before changing to Release 3.0, and status change is therefore also not possible.
Procedure
In the case of task statuses of notifications in releases prior to 3.0:
When you save a notification you can create a status for the tasks.
In the case of notification or task statuses for notifications from Release 3.0:
Please refer to your system administrator.
i had applied the OSS NOTE 437878
then also iam unale to update the staus directly
when iam running the note program ZPMNOT_STATUS01 separetly with the created notification it is upadting the status.
how to update the status automatically
thanking you.HI,
See If this helps you...
DATA: it_bapi2080_nothdri LIKE bapi2080_nothdri,
it_bapi2080_notfulltxti LIKE STANDARD TABLE OF
bapi2080_notfulltxti WITH HEADER LINE,
it_bapi2080_notitemi LIKE STANDARD TABLE OF
bapi2080_notitemi WITH HEADER LINE,
it_bapi2080_notcausi LIKE STANDARD TABLE OF
bapi2080_notcausi WITH HEADER LINE,
it_bapi2080_notactvi LIKE STANDARD TABLE OF
bapi2080_notactvi WITH HEADER LINE,
it_bapi2080_nottaski LIKE STANDARD TABLE OF
bapi2080_nottaski WITH HEADER LINE,
it_bapi2080_notpartnri LIKE STANDARD TABLE OF
bapi2080_notpartnri WITH HEADER LINE,
it_bapi2080_notkeye LIKE STANDARD TABLE OF
bapi2080_notkeye WITH HEADER LINE.
ADD NOTIFICATION *******************
IF e_subrc = 0 AND e_msgty NE 'E'.
CLEAR p_qmnum.
SELECT SINGLE qmnum
INTO p_qmnum
FROM afih
WHERE aufnr = s_e1orhdr-aufnr.
IF p_qmnum NE space.
CLEAR it_bapi2080_notfulltxti.
REFRESH it_bapi2080_notfulltxti.
CLEAR it_bapi2080_notcausi.
REFRESH it_bapi2080_notcausi.
CLEAR it_bapi2080_notactvi.
REFRESH it_bapi2080_notactvi.
CLEAR it_bapi2080_notitemi.
REFRESH it_bapi2080_notitemi.
IF s_zin_tcs_servorder-fegrp NE space.
it_bapi2080_notitemi-item_key = '0010'.
it_bapi2080_notitemi-item_sort_no = '0010'.
APPEND it_bapi2080_notitemi.
it_bapi2080_notcausi-cause_key = '0010'.
it_bapi2080_notcausi-cause_sort_no = '0010'.
it_bapi2080_notcausi-item_key = '0010'.
it_bapi2080_notcausi-causetext = s_zin_tcs_servorder-ecomm.
it_bapi2080_notcausi-cause_codegrp = s_zin_tcs_servorder-fegrp.
it_bapi2080_notcausi-cause_code = s_zin_tcs_servorder-fecod.
it_bapi2080_notcausi-item_sort_no = '0010'.
APPEND it_bapi2080_notcausi.
it_bapi2080_notactvi-act_key = '0010'.
it_bapi2080_notactvi-act_sort_no = '0010'.
it_bapi2080_notactvi-acttext = s_zin_tcs_servorder-comnt.
it_bapi2080_notactvi-act_codegrp = s_zin_tcs_servorder-mngrp.
it_bapi2080_notactvi-act_code = s_zin_tcs_servorder-mncod.
it_bapi2080_notactvi-item_sort_no = '0010'.
APPEND it_bapi2080_notactvi.
CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_ADD'
EXPORTING
number = p_qmnum
orderid = s_e1orhdr-aufnr
TABLES
notitem = it_bapi2080_notitemi[]
notifcaus = it_bapi2080_notcausi[]
notifactv = it_bapi2080_notactvi[]
return = it_bapiret2.
PERFORM error_check.
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
EXPORTING
number = p_qmnum
TABLES
return = it_bapiret2.
PERFORM error_check.
PERFORM bapi_commit.
ENDIF.
ENDIF.
ENDIF.
NOTIFICATION OVER ************************* -
Avoid delivery creation from USEREXIT_SAVE_DOCUMENT_PREPARE
Hi guys,
I need to avoid the delivery creation, if certain condition occurs. How can I avoid that from the User Exit USEREXIT_SAVE_DOCUMENT_PREPARE?
ThanksHi,
Try this BADI LE_SHP_DELIVERY_PROC , it will fire PGI preparation. In that you can write code as your
requirement. I hope it will solve your issue.
Thanks & Regards
G.Vendhan. -
SAP ERP Quality Issue: Notification Creation Problem
Hello,
I'm testing the SAP mobile app ERP Quality Issue.
I've done the needed customizing in backend.
If I try to create a notification from the mobile app I've got this message:
Your Quality Issue cannot be created!
In iPad log I can see this error:
QualityIssue
31/05/12 10:43:45
Exception during parsing! - Collection Value is not a valid DateTime /Volumes/sapmnt/dewdfms0003/fa/src/MobileSuite/LWM_qualityissue_iOS/onDevice/LWM_qualityissue_iOS/1.0_REL/Mobile Quality Issue/Classes/../Connectivity.m:510
I don't understand why the app talks about DateTime if there are no datetime fields in the screen!
Does anyone have the same problem?
Thanks
PieroHello, Piero!
Have you solved this problem?
We have the same problem right now
and we are trying to find solution.
Could you please share your experience, have you succeed?
Thank you!
Best regards,
Konstantin Tomilov -
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 , -
Notification Creation through another Notification
Hi,
While creating a Notification with reference Notification, is there a way to have some fields initial.
I have one requirement that I need to create a new notification with respect to a certain completed Notification (Reference Notification at the time of creating a New Notification) which has some activity and tasks.
The New notification should not have those tasks and activities and some fields.
Is there a standard Function Module or User Exits for the above requirement?
Edited by: Karthic S on Dec 24, 2008 9:31 PMHi Karthic,
You will need to implement a screen exit if you want to add a new field to an existing screen, Following are the list of enhancements available for user subscreens for QM notifications
u2022QQMA0001 User subscreen for notification header
u2022QQMA0008 User subscreen for additional data for notification item
u2022QQMA0010 User subscreen for additional data for cause
u2022QQMA0011 User subscreen for additional data for task
u2022QQMA0012 User subscreen for additional data for activity
u2022QQMA0014 Checks before saving notification
u2022QQMA0015 Customer exit before calling up F4 Help for catalog
u2022QQMA0016 Function "User data" - menu "Goto -> Tasks"
u2022QQMA0017 Function "User data" - menu "Goto -> Activity"
u2022QQMA0018 Scheduling according to entry of priority
u2022QQMA0019 Default partner when adding notification
u2022QQMA0021 Function "User data" - menu "Goto"
u2022QQMA0022 Function "User data" - menu "Goto -> Cause"
u2022QQMA0023 Function "User data" - menu "Goto -> Item"
u2022QQMA0024 Deactivation of function codes in CUA menu
u2022QQMA0025 Default values when adding notification
u2022QQMA0026 Authorization check when entering notification transaction
u2022QQMA0027 Default values when adding task
See which one are useful to you
Suhas
Maybe you are looking for
-
Ever since I bought my ipod touch 4th generation, IOS 4G, 8GB in January 2011, it would not sync selected playlists. This is even when I have checked 3 things: 1. Under Summary/Options, I've checked "Manually manage music and videos" and "sync only
-
If i delet the current iTunes will my back up remain? My iTuness 11.1 download gets so far then an error occurs but when i follow instructions i just go round in circles. This IOS7 is crap
-
HT2486 I dislike address book because editing is impossible.
I click on the edit menu and the 'edit your card' remains inactive in gray and I'm stuck. Help? Elivia I have mountain lion 10.8.1 but it never worked before either. VERY FRUSTRATING
-
Re-install of photoshop cs5 problem
After a computer re-image due to virus I need to re-install photoshop cs5. I downloaded from my adobe account and the installer runs but nothing. no error message no install. please help
-
I need to print a monochrome logo in three different "fill rates" (not sure if I'm using the correct term). Anyhow, I have the original image drawn in Illustrator and opened it on Photoshop. Considering the original image has 100% fill rate, I need t