Error ? Message no. W8 074 ??
Michael Kemmler
Michael.Kemmler at HVBSystems.com
Fri May 17 03:16:29 EDT 2002
Hi!=20
Problem, short version
I create standard task with a web transaction, now i won't start a WF =
with
this web task.
Create the WF and start the first task is ok, but the there comes this
information with an error. =20
Element MEHRARBEIT cannot be read with structure YPMSS_MEHRARBEIT_Z
Message no. W8 074
Diagnosis
Element MEHRARBEIT is in the container as a character string.
Structure YPMSS_MEHRARBEIT_Z is for reading element MEHRARBEIT (via =
binding
definition or setting parameters of expression evaluation). But, =
structure
YPMSS_MEHRARBEIT_Z is not purely character string-based (does not =
contain
only fields of the internal types CNDT). Therefore, element MEHRARBEIT
cannot be read with structure YPMSS_MEHRARBEIT_Z.
Problem, long version
I build a task and generate a standard web transaction to start. In =
this web
transaction i change the 150 Dynpro,=20
in the modul init_150 .... the FORM SET_PARAM_0150 from the task-id to =
the
wf-id, to start a WF.=20
PDTASK-OTYPE =3D 'WS'.
PDTASK-OBJID =3D '90200056'.
PDTASK-STEXT =3D
'Mehrarbeitsgenehmigung anlegen'.
all other coding are generated.
The data type i use in the container look like this
Tabelle YPMSS_MEHRARBEIT_Z
DATUM DATS 8
BEGTI TIMS 6
ENDTI TIMS 6
ANZHL_MA DEC 10
ANZHL_GE DEC 10
VERSL CHAR 1
VERSL_GEN CHAR 1
KONTINGENTTYP NUMC 2
BEGTI_GEN TIMS 6
ENDTI_GEN TIMS 6
ANZ_BER_GEN_STD DEC 10
STATUS CHAR 1
If i start the task to start the WF i become this error. The WF start, =
but
in the task rise up an error.
Element MEHRARBEIT cannot be read with structure YPMSS_MEHRARBEIT_Z
Message no. W8 074
Diagnosis
Element MEHRARBEIT is in the container as a character string.
Structure YPMSS_MEHRARBEIT_Z is for reading element MEHRARBEIT (via =
binding
definition or setting parameters of expression evaluation). But, =
structure
YPMSS_MEHRARBEIT_Z is not purely character string-based (does not =
contain
only fields of the internal types CNDT). Therefore, element MEHRARBEIT
cannot be read with structure YPMSS_MEHRARBEIT_Z.
and the WF-Container looks like=20
Mitarbeiter Name Zmqxm, Uvmyymo
MA_Pernr 00816217
MEHRARBEIT
MEHRARBEIT 20020506
MEHRARBEIT 060000
MEHRARBEIT 213000
MEHRARBEIT 4.75000
MEHRARBEIT 0.00000
MEHRARBEIT
MEHRARBEIT
MEHRARBEIT 00
MEHRARBEIT 000000
MEHRARBEIT 000000
MEHRARBEIT 4.75000
MEHRARBEIT
MEHRARBEIT
MEHRARBEIT 20020507
In the generated transaction the WF start/execute with the CALL =
FUNCTION
'SWU_PROCESS_CONTAINER'.
I check also the PERFORM MOVE_DYNPRO_TO_CONT TABLES WI_CONTAINER
USING 'AI'.
and change the wi_container write to =20
SWC_SET_TABLE WI_CONTAINER 'Mehrarbeit' MEHRARBEITSTAB.
the same error.
Now i create a trigger event in the WF and start this event with=20
SWC_SET_TABLE WI_CONTAINER 'Mehrarbeit' MEHRARBEITSTAB.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE =3D 'ZWF_ZEITW'
OBJKEY =3D '0'
EVENT =3D 'start_verbuchen'
* creator =3D creator
START_WITH_DELAY =3D ' '
IMPORTING
EVENT_ID =3D EVENTID
TABLES
EVENT_CONTAINER =3D WI_CONTAINER.
COMMIT WORK .
and it works fine. The WF-Container looks very good.
Datum 09.01.2002
Personalnummer 00510070
MEHRARBEIT 20020107000000000000#########c #1 01063333175200######
MEHRARBEIT 20020108000000000000########## #3 02074444155200######
MEHRARBEIT 20020109000000000000########## #4 01044444121200######
Initiator einer Work USWF-BATCH
Priorit=E4t 5
Workflow E01CLNT200FLOWITEM 000000144238
Now are my questions.=20
Does somebody already had this error and knows what its can be wrong ?=20
do I need to report this to OSS , is this a programming error ?
thanks for your help
> Michael Kemmler
> Appl.Serv. Business Supp. Syst. Munich - SEM6AM=20
>=20
> HVB Systems GmbH
> Member of HVB Group
> Apianstr. 2-6 Haus 3
> D-85774 Unterf=F6hring
>=20
> phone: +49 (89) 378-45677
> fax:: +49 (89) 378- 33 45677
> mailto:michael.kemmler at hvbsystems.com
> http://www.hvbsystems.com
>=20
>=20
More information about the SAP-WUG
mailing list