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

Transfer tables between workflow container and BSP

Hi experts,

I've a BSP which I call from a workflow. I connected the workflow with the BSP through the use of transaction wf_extsrv. This all works perfect, only I can't transfer internal tables, multiline container elements or strings that are longer than the max. CHAR255. This raises a problem:

In my BSP I've a text box where a user can fill in a rejection reason. I want this filled textbox transferred back and forward bewteen my workflow and my BSP.

Does anyone have a solution to this problem?

Thanks in advance.

Kind regards,

Joost van Poppel

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 20, 2007 at 03:13 PM

    Hi Joost,

    Is it an option to change the textbox into several lines with a length of 255 chars? Then you can transfer the lines to their respective container elements.

    By the way, how is this transferal done? Maybe there is another option.

    Regards,

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Martin,

      Tanks for you reply. I was already thinking this would be the easiest solution, so I applied it like you suggested.

      The transferal is done by connecting the BSP via wf_extsrv through characterstrings. From this transaction I generated a task and connected my wf container to the container of the generated task.

      I suppose there are also other options like Karri suggested. Haven't tried it yet to use SAP_WAPI_WRITE_CONTAINER, but will take it into account the next time I run in to the same situation. So Karri I also want to thank you for answering. It probably will be very useful in the future.

      For now it is just one text box, so it is managable to give the text box back as seperate lines.

      Kind regards,

      Joost van Poppel

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 01:24 PM

    How are you going to achieve this? What happens when you try to do it?

    Have you tried write the stuff into your work item container with function SAP_WAPI_WRITE_CONTAINER?

    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.