2013 Aug 17 7:03 AM
Hello,
I need to pass a custom structure to a smartform, which includes a custom table and few more added fields. Now, when i put the structure in the from interface as importing, what should be the Associated type. Can anybody please help.
Regards,
Anubhab Chirui
2013 Aug 17 8:52 AM
Hi Anubhab,
In SE11 you can create complex data types like nested tables and nested structures too...
you can create a table type and add that also as a field of a strucutre and use it later.
For reference
Check the standard strucuture : LBBIL_INVOICE
How to fill it check in FM LB_BIL_INV_OUTP_READ_PRTDATA
How to use Smartform : LB_BIL_INVOICE
Regards
Hello,
I need to pass a custom structure to a smartform, which includes a custom table and few more added fields. Now, when i put the structure in the from interface as importing, what should be the Associated type. Can anybody please help.
Regards,
Anubhab Chirui
2013 Aug 17 7:20 AM
Hi Chirui,
You may want to create a structure data type for your customized structure in Dictionary Maintenance, then use that structure name in the Smartforms Interface.
Hope it helps. Cheers!
2013 Aug 17 8:52 AM
Hi Anubhab,
In SE11 you can create complex data types like nested tables and nested structures too...
you can create a table type and add that also as a field of a strucutre and use it later.
For reference
Check the standard strucuture : LBBIL_INVOICE
How to fill it check in FM LB_BIL_INV_OUTP_READ_PRTDATA
How to use Smartform : LB_BIL_INVOICE
Regards
2013 Aug 17 8:59 AM
Hi,
for using structure in the interface of smartfrom , you have to create structure in the data dictionary.
if you will create local structure in smart form , interface field will not recognize that structure.
regards,
Priyaranjan
2013 Aug 17 10:38 AM
Thanks a lot for your prompt replies. I created a custom structure in SE11 and that solved the issue.
Regards,
Anubhab