BAPI_QUALNOT_ADD_DATA / BAPI_QUALNOT_MODIFY_DATA
Trying to update the material number using the BAPI's (BAPI_QUALNOT_ADD_DATA / BAPI_QUALNOT_MODIFY_DATA), somehow this field is not getting updated in the notification. I tried to check the batch field and it works fine for it. Any help or suggestion will be helpful.
Regards,
Swanand
Moderator message - Cross post locked
Rob
Similar Messages
-
BAPI_QUALNOT_MODIFY_DATA
Hi,
I am not able update material and vendor details using BAPI_QUALNOT_MODIFY_DATA and remaing data is updating.
Can anybody help me.Did you also call BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIT after BAPI_QUALNOT_MODIFY_DATA as written in the documentation ?
Regards,
Raymond -
How to create a task automatically in a qm notification during saving
Hello,
I'm looking for a way to create a special task in a quality notification when someone enters a certain partner role.
This partner role is optional, but once it is registered there should be an open task for him..
I tried it with exit EXIT_SAPMIWO0_020.
If the partner role is registered and the particular task does not exist, the new task is added via "call function 'BAPI_QUALNOT_ADD_DATA' ".
The problem is that this time, 'BAPI_QUALNOT_ADD_DATA' explicitly requires the following:
"Note: The changes to the message data is available only after the successful passage of the function blocks BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIT in the database."
When I use the two blocks in the Exit all other changes in the notofication is ignored.
What am I doing wrong? Or is there another solution?
Thanks for any guidance.
l-jHello Andrea,
I have tested the code given below to be pit in include ZXQQMU20 (same exit you are trying EXIT_SAPMIWO0_020). What it does at the Save event of Notification is: It adds a special task, when the user modifies the PARVW field of an existing task to a value 'Person Responsible (VW)' in the Tasks tab. . You can apply this to your requirement by modifying it suitably.
IF I_VIQMEL-QMART EQ 'Q1'.
FIELD-SYMBOLS: <FS_QMSM> TYPE ANY.
DATA: BEGIN OF I_QMSM OCCURS 10.
INCLUDE STRUCTURE VIQMSM .
DATA:END OF I_QMSM.
DATA: BEGIN OF IT_QMSM OCCURS 10.
INCLUDE STRUCTURE BAPI2080_NOTTASKI .
DATA:END OF IT_QMSM.
DATA:WA_QMSM LIKE IT_QMSM.
ASSIGN ('(SAPLIQS0)IVIQMSM[]') TO <FS_QMSM>.
I_QMSM[] = <FS_QMSM>.
LOOP AT I_QMSM.
IF I_QMSM-PARVW = 'VW'.
WA_QMSM-TASK_SORT_NO = '0001'.
WA_QMSM-TASK_TEXT = 'Test for Auto-inclusion of Taks'.
APPEND WA_QMSM TO IT_QMSM.
CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_ADD'
EXPORTING
NUMBER = I_VIQMEL-QMNUM
TABLES
NOTIFTASK = IT_QMSM.
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
EXPORTING
NUMBER = I_VIQMEL-QMNUM.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = ''.
ENDIF.
ENDLOOP.
ENDIF.
Hope this helps
KJogeswaraRao -
Function module for Mass uploadnotifications in Quality Management
Hi Experts,
I need function module for quality management which MASS UPLOAD THE QM NOTIFICATIONS.
ThanksHi,
For updation use BAPI_QUALNOT_ADD_DATA.
Hope it helps.
Regards
Hiren K.Chitalia -
Function Module to create Tasks in a Quality Notification
Hi,
I am trying to create Tasks in an existing Quality Notification through a program.
I have used 'BAPI_QUALNOT_MODIFY_DATA', 'BAPI_QUALNOT_SAVE' and 'BAPI_TRANSACTION_COMMIT', but it create any tasks in the given quality notification.
I am passing values to the following parameters in ''BAPI_QUALNOT_MODIFY_DATA" FM:
- NUMBER (Quality Notification Number)
- NOTIFTASK (Notification Task for Creation)
- NOTIFTASK_X (Change Indicator for Notification Task)
I am getting this error message in BAPI's RETURN internal table - "No changes made" (Message ID: IM and Message No: 407).
Can anybody suggest me where am I going wrong? Is there any alternate way to create Tasks for a QN doc?
Thanks in advance for your help/thoughts!Hi Krishna,
You can use "RH_STRUC_GET ". In import parameters pass the following values,
ACT_OTYPE = 'O'
ACT_OBJID = <Org Unit Object Id>
ACT_WEGID = O-S-P
ACT_PLVAR = 01
ACT_BEGDA = <Start Date>
ACT_ENDDA = <End Date>
ACT_TDEPTH = 0
ACT_TFLAG = 'X'
ACT_VFLAG = 'X'
AUTHORITY_CHECK = 'X'
You will get all the positions and persons under that org unit in the RESULT_TAB table. You can read this table to read the positions alone.
Thanks,
Prasath N -
Hi experts,
how to update field QMEL-QWRNUM ? I found BAPI_ALM_NOTIF_DATA_MODIFY, but there is no field QWRNUM to change. Thank you in advance.
BR
PaulDear Paul,
Will this BAPI FM help:
BAPI_QUALNOT_MODIFY_DATA
Regards,
Abbas. -
BAPI to update BZMNG(General reference quantity) in QM01
Hi All,
I'm trying to use function module IQS4_MODIFY_NOTIFICATION in a program to update the general reference quantity field in a Quality notification but it doesn't change the data.
The way I have tried :
I have passed value to RIQS5-BZMNG(One of import param of this FM). I have also passed other relevant values which are required in this case. I have also passed QMGRP,QMCOD values to this structure.
then called BAPI_TRANSACTION_COMMIT.
What I see is that Reference qty gets updated but values QMGRP,QMCOD are getting removed(cleared out) when I open the notification and see from QM02.
Any help in this regard is greatly appreciated.
Thanks
HimayatullahHi Playsuji,
Thanks for ur reply.
BAPI_QUALNOT_MODIFY_DATA doesn't have the field RKMNG(general reference quantity) in its import parameter structure.
If you any other idea ,pls share the same.
Best Regards
Himayat
Maybe you are looking for
-
Hi all, Installed WAIK on server 2008 R2 64 bit. I'm setting up some boot images, and am having a real hard time getting drivers to integrate into the driver store in the boot images. What I'm finding is that when adding drivers to the boot image the
-
When I try to activate my FaceTime from my iMac is says," the server encountered an errorprocessing registration. Please try again later." Please help. Any ideas
-
Printing a large poster in pages
I would like to take a pages doc and print to poster size utilizing 8.5" x 11" paper, that I could tape together to post on an easel. Is it possible?
-
WSS without incoming/outgoing signature or encryption
Hi all, I have got a problem with the SOAP receiver adapter on PI 7.1. If have configured the securtiy profile: Web Services Security on the SOAP receiver adapter. On the related receiver agreements I have chosen the Oasis security standard. As reque
-
Why Are My Bounced Audio Projects So Large in Size?
I have been bouncing completed audio projects for many months now in Logic Express 9 and they have always been reasonably sized MP3 files (10 MBs or less). The music I have been bouncing is relatively short in length. The files I have most recently b