Skip to Content
author's profile photo Former Member
Former Member

Container values not being passed from subworkflow to main workflow

Hi Guys,

I have changed an FIPP based workflow to suit my needs. In the subworkflow, there is a step which gets rejection text from the function module CATSXT_SIMPLE_TEXT_EDITOR. I am putting this text in a container RejectText. I export this from this step 'ZRELEASE' to the subworkflow. In the main workflow, I bind this container to the main workflow container in the subworkflow step. When I trouble shoot, I the container is filled only in the ZRELEASE step, but it is not filled in the subworkflow and in the main workflow.

I also have tried saving the text in a Z-table in the ZRELEASE step so that I can extract it in a step in the main workflow, but it doesn't work as well. But I have noticed that it works when I put debug point in the method of the main workflow step which gets the rejection text. The container is filled in correctly . This is weird to me because if it works in debug mode, then it should work in the normal process. Any ideas what is going on?

Regards,

Darlington

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Mar 19, 2012 at 08:57 AM

    Hi,

    Try to refresh the buffer SWU_OBUF

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 19, 2012 at 09:03 AM

    Hello,

    Don't use a ZTable. Can you see the values in the container in the workflow log? Does each side of the binding have the same type?

    regards

    Rick Bakker / hanabi technology

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2012 at 06:44 AM

    Hello,

    I am working on the same requirement & facing same issue but I think I am one step ahead of you.

    Please see the thread-

    http://scn.sap.com/thread/3164287

    I have the rejection reason value (got from the FM-CATSXT_SIMPLE_TEXT_EDITOR) in the main workflow(WS10000051) container element Rej_Reason.To achieve this, after getting the rej reason, I used FM- SAP_WAPI_GET_WORKITEM_DETAIL(passed MainworkItem Instance number) & SAP_WAPI_WRITE_CONTAINER to write to the main workflow.

    I have value of rejection reason value in main workflow but I am unable to use it in the step 000132 Correct where the work item is sent back to the initiator to correct errors(takes user to FB02) after rejection. I am stuck here in this last step of the requirement.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.