wikizhou
4th July 2007, 05:11
Dear All:
who can tell me how to to use function about STPAPI insert data to session (Form type 3)?

I debug the session, but cannot succeed!
the error message is command disabled!

Attached please find the error message!

thanks

bigjack
4th July 2007, 18:29
HI,

The item field timfc010.mitm is one with segmented domain(out of 47 characters first nine characters are for project and remaining for item part),
instead of using the code stpapi.put.field("timfc0110m000","timfc010.item",tisfc001.mitm)

you should pass separate values for project part(segment 1) and item part(segment 2) as below.
stpapi.put.field("timfc0110m000","timfc010.item.segment.1",project)
stpapi.put.field("timfc0110m000","timfc010.item.segment.2",itemcode)

Try this out and let me know if it works for you.

Bye