on 10-18-2007 4:39 PM
I'm trying to start a WF trhough custom program using function module SWW_WI_START_SIMPLE. My problem is that I can't fill the container properly. The container is taking all elements except Business Object element. I have used Macro "swc_create_object" to populate the container.
What I need is to pass a Business Object and Customer number to WF but there seems to be a problem to match the structure SWCONT to the container element "<BusinessObject>".
Any tips.
Regards
Kasi
Dont worry, I resolved it myself. I have added following code to resolve the issue.
mainly set Element length to 90 instead of 255 and move 'o' to container type.
swc_create_object v_yktest7 'YKTEST7' yktest7_key.
Populate first container element - object type
move: 'YKTEST7' to L_WI_CONTAINER-element,
'90' TO L_WI_CONTAINER-ELEMLENGTH,
'o' TO L_WI_CONTAINER-type,
v_yktest7 to L_WI_CONTAINER-value.
append L_WI_CONTAINER.
CLEAR L_WI_CONTAINER.
Thanks for your support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.