send2srinibas
16th October 2007, 14:18
Hi,
Here i got some problem related to Backflush session.
My requirement is that i want to run Backflush Session(tisfc0220m000) in a program script in the background.For that i used AFS.
In that the problem i'm able to open that session,but im not able open the device page and i'm not able to continue from that.
If i'm using the code like follows
stpapi.put.field("tisfc0220m000","pdno.f",prod.ord1)
stpapi.put.field("tisfc0220m000","pdno.t",prod.ord2)
stpapi.put.field("tisfc0220m000","man.backfl.date","completion.date")
ret = stpapi.find("tisfc0220m000",err.msg)
if ret = 1 then
ret1 = stpapi.update("tisfc0220m000",true,err.msg)
endif
stpapi.form.command("tisfc0220m000",5,"proc.backflush",err.msg)
stpapi.end.session("tisfc0220m000")
then it is showing that the session is opening but that is not reflecting the tables related to that Backflush session(ex: whwmd215 - Inventory by Warehouse).
So,if u know the solution to my problem or if u know the AFS code related to this Please send me as early as possible.It is urgent.
Here i got some problem related to Backflush session.
My requirement is that i want to run Backflush Session(tisfc0220m000) in a program script in the background.For that i used AFS.
In that the problem i'm able to open that session,but im not able open the device page and i'm not able to continue from that.
If i'm using the code like follows
stpapi.put.field("tisfc0220m000","pdno.f",prod.ord1)
stpapi.put.field("tisfc0220m000","pdno.t",prod.ord2)
stpapi.put.field("tisfc0220m000","man.backfl.date","completion.date")
ret = stpapi.find("tisfc0220m000",err.msg)
if ret = 1 then
ret1 = stpapi.update("tisfc0220m000",true,err.msg)
endif
stpapi.form.command("tisfc0220m000",5,"proc.backflush",err.msg)
stpapi.end.session("tisfc0220m000")
then it is showing that the session is opening but that is not reflecting the tables related to that Backflush session(ex: whwmd215 - Inventory by Warehouse).
So,if u know the solution to my problem or if u know the AFS code related to this Please send me as early as possible.It is urgent.