cancel
Showing results for 
Search instead for 
Did you mean: 

Need to update Partner PARNR through EXIT/BADI While creating notification from IW21

former_member199670
Participant

Hello All,

When notification is created using IW21 i have to get the Vendor from the task and update the same in Partner details of Partner Overview tab through Exit or BADI. Please let me know if you have any proper exit/BADI for this scenario.

Thanks

Manimaran K

Accepted Solutions (0)

Answers (2)

Answers (2)

rgore
Advisor
Advisor
0 Kudos

Hi Manimaran,

You can use the EXIT_SAPMIWO0_021, which gets triggered when you add the task in the notification. Information related to task will be available in the parameter I_VIQMSM. To update the partner details, use PM_PARTNER_MAINTAIN function module.

Regards,

Rakshith Gore

former_member199670
Participant
0 Kudos

Hello Rakshith,

EXIT_SAPMIWO0_021 is not getting triggered when i am adding a task list in Audit Planning tab.

My need is when we add a task details in the Audit Planning tab, then the partner (Which is Supplier Tool Audit Tab) has to be populated which will be retrieved from table PLPO by passing Task list type,Group and count. Please let me know if any other BADI/Exit for this.

Thanks

Manimaran K

rgore
Advisor
Advisor
0 Kudos

Hi Manimaran,

Is this related to a specific type of notification in IW21??? as per the question you posted, the partner details needs to be updated based on the task created in IW21.

Thanks & Regards,

Rakshith Gore

former_member199670
Participant
0 Kudos

Hello Rakshith,

Yes this is only for notification type T9.

Once we populate the task list in Audit planning tab then based on the same the partner in supplier tool audit tab supposed to be populated.

Thanks

Manimaran K

raymond_giuseppi
Active Contributor
0 Kudos

Did you look at BAdI like NOTIF_EVENT_SAVE or SMOD enhancement like IWO1009 to add your own code (e.g. calling some FM of group IPAR.)

Regards,
Raymond

former_member199670
Participant
0 Kudos

Hello Raymond,

Thanks for your response.

I had look at that BADI where i could find task details only however there is no changing parameter for partner PARNR.

Moreover both BADI/Exit are getting triggered only upon clicking save button. What happen in my case is once i provided the task details and click save button i am getting message "please enter partner details" and both BADI/Exit not triggering before clearing that error. Please let me know if i am missing anything here.

Thanks

Manimaran K

raymond_giuseppi
Active Contributor

Then you have to analyze the PAI of the dynpro where you input the information required to identify the vendor and look for any enhancement/exit/Badi to add the partner (before SAP check input of the mandatory partners defined in your Customizing)

Regards,
Raymond