I am developing my first custom workflow which will be triggered by the creation of a specific type of FI document based on doc type. I can successfully get the wf to trigger so no problems there.
In the first step of the workflow, I would like to display a form that contains specific one-time vendor info (i.e. name, address, etc) and allow the user to correct this info. I created the form structure called ZCORPREF via SE11 and tied it to a form called ZRFDFORM. However, I cannot get the data from the FI document to populate the form.
I created a method that will use the object-key info from the container to read the BKPF table to obtain the info in the form. Then I used function modules SAP_WAPI_READ_CONTAINER and SAP_WAPI_WRITE_CONTAINER to populate ZCORPREF back into the container but it never gets populated when the form displays.
What am I missing? Again, I am new to workflow so please make sure any answers are described in simple terms as my knowledge is limited. I am on a 4.7 system.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!