‎2009 Oct 27 6:29 AM
Hi everyone,
once the smartform is executed,a spool number is generated for the smartform which is stored in job_output_info in the importing parameters of the smartform FM. Now,it is a complex structure in the sense,the spool number is stored in SPoolids which is of the table type. So,I dont know how to retrieve the data. I mean when I try to move it says it is not compatible.
Please help on how to declare the complex structure and take data from there.
Regards,
S.
‎2009 Oct 27 6:34 AM
HI ,
need to take offset of field wise from structure and put into internal table corresponding field.
ex...
t_int1-matnr = SPoolids+0(18).
t_int1-kunnr = SPoolids+18(28)
etc
u have to follow like this.
Thanks
shambhu.
‎2009 Oct 27 6:44 AM
Hi
I did not understand the answer. In this structure ssfcrescl, there is an field spoolids whose component type is an table type.
So,in runtime this structure populates data.So,please tell me how do I take the number from spoolids field.
Regards,
S.
‎2009 Oct 27 6:50 AM
Hi ,
U can store the value as like this.
var1 = ssfcrescl - spoolids+0(18).
Thanks
shambhu
‎2009 Oct 27 7:56 AM
Hi
Both the mentioned answers dont work. I want only the spool number.Any other suggestions.
Regards,
S.
‎2009 Oct 27 6:49 AM
Hi S0006628118,
You need spool ID from that Complex Structure or What is else data you need.
Just a guess If you need spool ID try to get like
V_SPOOLID = SY-SPONO.
Regards,
Suneel G
‎2009 Oct 28 8:20 AM
Hi
Could someone please respond on how to tackle this issue??
Regards.
S.