on 2014 Oct 30 1:57 PM
Is there a FM or BAPI that can be used to create a task in for an existing quality notification.
I have tried BAPI_QUALNOT_MODIFY_DATA but it can only modify an existing task in a quality notification.
I have also tried BAPI_QUALNOT_CREATE but it can only create a new quality notification and not create a task in an already existing quality notification.
Please kindly provide with a solution.
Hello Nayab,
You can try this one : BAPI_QUALNOT_ADD_DATA
Let me know if it works;
Regards,
Ayoub.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BAP : BAPI_QUALNOT_ADD_DATA is working correctly , thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
With bapi API_QUALNOT_MODIFY_DATA you can perform task creation and modification. Maybe you should talk with an ABAP guy.
Here you have many tables you canb use, for example, you can create notification items NOTIFITEM or tasks NOTIFTASK but you must complete all required data to perform those activities properly.
NOTIFITEM | LIKE | BAPI2078_NOTITEMI | Notification Item for Creation |
NOTIFITEM_X | LIKE | BAPI2078_NOTITEMI_X | Change Indicator for Notification Item |
NOTIFCAUS | LIKE | BAPI2078_NOTCAUSI | Notification Cause for Creation |
NOTIFCAUS_X | LIKE | BAPI2078_NOTCAUSI_X | Change Indicator for Notification Cause |
NOTIFACTV | LIKE | BAPI2078_NOTACTVI | Notification Activities for Creation |
NOTIFACTV_X | LIKE | BAPI2078_NOTACTVI_X | Change Indicator for Activities |
NOTIFTASK | LIKE | BAPI2078_NOTTASKI | Notification Task for Creation |
NOTIFTASK_X | LIKE | BAPI2078_NOTTASKI_X | Change Indicator for Notification Task |
NOTIFPARTNR | LIKE | BAPI2078_NOTPARTNRI | Partner(s) for Creation |
NOTIFPARTNR_X | LIKE | BAPI2078_NOTPARTNRI_X | Change Indicator Partner |
RETURN | LIKE | BAPIRET2 | Return Parameter(s) |
NOTFULLTXT | LIKE | BAPI2078_NOTFULLTXTI | Notification Long Text |
An ABAPer could help you easily, or you should post how you're completing the data to identify why this BAPI is not working for you.
Best regads
Carlos Díaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cannot get BAPI_QUALNOT_ADD_DATA to work when I want to update a notification item task. Has anyone done this?
WA_MANUM = I_WQMSM-MANUM.
WA_MANUM = WA_MANUM + 1.
CONCATENATE 'QA' WA_EMAIL-MRB_NOTIFICATION WA_MANUM INTO WA_NOTIFTASK-REFOBJECTKEY.
WA_NOTIFTASK-TASK_KEY = WA_EMAIL-MRB_FENUM.
WA_NOTIFTASK-TASK_SORT_NO = WA_MANUM.
WA_NOTIFTASK-TASK_TEXT = 'Send RGR to Buyer'.
WA_NOTIFTASK-TASK_CODEGRP = 'QM-MRB'.
WA_NOTIFTASK-TASK_CODE = '0005'.
WA_NOTIFTASK-PARTN_ROLE = 'VU'.
WA_NOTIFTASK-PARTNER = WA_EMAIL-EKTEL.
WA_NOTIFTASK-PLND_START_DATE = i_notifheader-startdate.
WA_NOTIFTASK-PLND_START_TIME = i_notifheader-dessttime.
WA_NOTIFTASK-PLND_END_DATE = i_notifheader-enddate.
WA_NOTIFTASK-PLND_END_TIME = i_notifheader-desendtm.
WA_NOTIFTASK-CARRIED_OUT_BY = SY-UNAME.
WA_NOTIFTASK-ITEM_SORT_NO = WA_MANUM.
APPEND WA_NOTIFTASK TO NOTIFTASK.
User | Count |
---|---|
93 | |
10 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.