schweizer
19th February 2007, 15:02
Hi folks,
in afs for session tibom1110m000 the procedure is as follow.
stpapi.put.field("tibom1110m000",tibom010.mitm,"l_mitm")
ret = stpapi.change.view("tibom1110m000",o.mess)
while tmp_mitm <> l_mitm
ret = stpapi.browse.view("tibom1110m000" ,"next.view" ,tmp_mitm)
endwhile
stpapi.put.field("tibom1110m000",tibom010.sitm,"z_item")
stpapi.put.field("tibom1110m000","tibom010.qana",str$(5))
stpapi.insert("tibom1110m000",1,mess)
stpapi.end.session("tibom1110m000")
but then debugging tibom1110m000, the field values of tibom010.sitm and qana are empty.
Not even the record with the main item is found and I have to use the stpapi.browse.view() function.
tibom1110m000 the form type is 3.
I,m absolutly at a loss.
Thanks in Advance
Schweizer
in afs for session tibom1110m000 the procedure is as follow.
stpapi.put.field("tibom1110m000",tibom010.mitm,"l_mitm")
ret = stpapi.change.view("tibom1110m000",o.mess)
while tmp_mitm <> l_mitm
ret = stpapi.browse.view("tibom1110m000" ,"next.view" ,tmp_mitm)
endwhile
stpapi.put.field("tibom1110m000",tibom010.sitm,"z_item")
stpapi.put.field("tibom1110m000","tibom010.qana",str$(5))
stpapi.insert("tibom1110m000",1,mess)
stpapi.end.session("tibom1110m000")
but then debugging tibom1110m000, the field values of tibom010.sitm and qana are empty.
Not even the record with the main item is found and I have to use the stpapi.browse.view() function.
tibom1110m000 the form type is 3.
I,m absolutly at a loss.
Thanks in Advance
Schweizer