hprhpr
3rd December 2007, 13:09
Hi All
I Have a problem while doing AFS for tfcmg2114s000

I have done Afs For tfgld1101m000
and through that i am going to tfacr2120s000(credit Note) and through that am invoking tfacr2121s000 and put some data in this session
and invoking other sub session tfcmg2114s000 in this session
there is a OK button which i have to click or i have to Click Save and Exit button.

for that i worte a code:
stpapi.get.field( "tfcmg2114s000", "main.ttyp", x.type)
|*** I am Able to get the Transaction Type Here *****
stpapi.put.field( "tfcmg2114s000", "main.docn", str$(series))

ret = stpapi.save( "tfcmg2114s000", error )
stpapi.end.session("tfcmg2114s000",error)

But I am not Able to get the message which is populated after this session

Thanks In advance.....

mark_h
4th December 2007, 14:22
What message and where? I am not familiar with these session. You can always try stpapi.get.mess.code before the session end statement.