Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Passing custom structure to smartform

anubhab
Active Participant
0 Likes
2,094

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,400

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,400

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!

Read only

Former Member
0 Likes
1,401

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

Read only

Former Member
0 Likes
1,400

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

Read only

anubhab
Active Participant
0 Likes
1,400

Thanks a lot for your prompt replies. I created a custom structure in SE11 and that solved the issue.

Regards,

Anubhab