How to populate a simple form from a workflow container?

pts.
Tags:
ABAP
SAP
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. Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

My guess would be the binding in the WF isn’t right. When you put data into containers using functions, it doesn’t really get there unless the task binding reflects the same data movement.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following