tracesasa.blogg.se

Sap pm tables link and flow
Sap pm tables link and flow







After clicking it opens the BRF application but after clicking on CONFIRM on the application nothing happens and it stays on the same screen without taking the action. Is there any other setting I have missed?Ģ) Maintain Subscription Settings SHOW_ACTION_DECISION_AS = LINK so Approve/Reject options of Decision task are shown as in the mail. Verified the message - 071 in class SWN.Įven after all these settings subject is not picked as the task description. Subscription Basic Data has Granularity as One Message Per Notification.General setting has SUBJECT_WF_INDIV = NASWN071. Emails are getting triggered but with below issues.ġ) Subject of the mail shows "New work items in your Workflow inbox" instead of Task description. Lt_container TYPE STANDARD TABLE OF SWR_CONT ,ĭata : INPUT_CONTAINE type table of SWR_CONT ,Īdd the Business Object in the container and tick Import.Ĭreate a task with the following details.Ĭreate an Activity and attach the task to it.Īdd a Process Control to end the workflow.Ĭonfigured the extended notification for the workflows. ĭATA : event_container TYPE TABLE OF swcont. Method IF_EX_MB_DOCUMENT_BADI ~ MB_DOCUMENT_BEFORE_UPDATE. Use the function module SAP_WAPI_CREATE_EVENT to pass values from program to workflow. Modify the program by clicking on Program above:Īdd the parameters in the new method (BAPI) It is a copy of BUS2017, we have added our BAPI and an event. ĬALL TRANSACTION 'ZMIGO' USING gt_bdcdata OPTIONS FROM l_opt. Gs_bdcdata - fnam = 'GODEFAULT_TV-BWART'. Gs_bdcdata - fval = 'GODEFAULT_TV-BWART'. Gs_bdcdata - fval = gs_items - po_number. Gs_bdcdata - fnam = 'GODYNPRO-PO_NUMBER'. Gs_bdcdata - fval = 'GODYNPRO-PO_NUMBER'. READ TABLE gt_items INTO gs_items INDEX 1. L_matdocumentyear TYPE bapi2017_gm_head_02 - doc_year. L_materialdocument TYPE bapi2017_gm_head_02 - mat_doc , Gt_return TYPE STANDARD TABLE OF bapiret2 , *"-ĭATA : gt_items TYPE STANDARD TABLE OF bapi2017_gm_item_show , In the BAPI, use the function module BAPI_GOODSMVT_GETDETAIL to get the purchase order.Ī BDC is also done in the BAPI to open ZMIGO with the purchase order. We will also call the transaction MIGO in the BAPI (For our requirement, it is ZMIGO, but very similar to MIGO, just some different customizing). From there, he can just execute the workflow and he will do the second MIGO.Ĭreate a BAPI in SE37 to get the purchase order (we need it because we will open the second MIGO with the purchase order of the first MIGO). For him to know that the first MIGO has been done, he needs to get it in his SAP Inbox (Workflow). Once MIGO is done, the client wishes to do another MIGO.

Original Discussion thread: Re: How to get values from workflow to programġ. With some help in SCN, we have been able to set up a workflow to meet the requirements. This document explains how to get values from a program (BADI in our case), pass the values from the program to the workflow and then pass the values from the workflow to a program (BAPI in our case).







Sap pm tables link and flow