Application Development 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: 

SmartForms - Making Data Available

Former Member
0 Kudos

When running function 'SSF_FIELD_LIST' (SET_PRINT_DATA_TO_READ of RLE_DELNOTE_FORMS) for a smartform, the table LT_FIELDLIST is populated with only four delivery note structures:

IS_DLV_DELNOTE,

IS_DLV_DELNOTE-HD_GEN,

IS_DLV_DELNOTE-HD_GEN-DELIV_NUMB,

IS_DLV_DELNOTE-HD_GEN-GI_DATE.

This function allows you to select which structures you want populated prior to calling the smartform.

<u><b>I would like to use IS_DLV_DELNOTE-IT_GEN.

Does anyone know how to turn its use on automatically, other than by forcing a flag 'X' when calling the above function module?</b></u>

The smartform currently uses IS_DLV_DELNOTE as an INPUT.

Best Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Jim,

I guess you understood me wrongly.

In initialization, you need not to refer the type. You have IS_DLV_DELNOTE in you form import parameters. The goto Global definitions > Initialization. There you type IS_DLV_DELNOTE-IT_GEN in the Import parameters. Activate and check the function module again.

Regards,

Gagan

6 REPLIES 6

0 Kudos

I am also facing the same problem. Does any one knos how to do this?

Thanks,

Joshy

Former Member
0 Kudos

Hi,

Are you using other structures you want, in you form ? You need to pass these structures as parameter to some program lines to get these structures read by the function module. Just try this :

Add the IS_DLV_DELNOTE-IT_GEN to import parameters in initialization. Then activate the form. and try to run that function again. The IS_DLV_DELNOTE-IT_GEN will appear in field list.

Anyways, If you are reading structure IS_DLV_DELNOTE, it will make tha data available for all the nested structures.

Hope this helps.

Regards,

Gagan

Message was edited by: Gagan Bhanot

Former Member
0 Kudos

Hi Jim,

Reward the points if it solves your problem.

Regards,

Gagan

0 Kudos

Hi Gagan,

This is an excellent idea, but when I enter parameter 'IS_DLV_DELNOTE-IT_GEN', type assignment 'TYPE', and reference type 'IS_DLV_DELNOTE-IT_GEN', I receive error message 'Name IS_DLV_DELNOTE-IT_GEN' is invalid.

It does not like the substructure name as in input.

Thanks,

Jim

Former Member
0 Kudos

Hi Jim,

I guess you understood me wrongly.

In initialization, you need not to refer the type. You have IS_DLV_DELNOTE in you form import parameters. The goto Global definitions > Initialization. There you type IS_DLV_DELNOTE-IT_GEN in the Import parameters. Activate and check the function module again.

Regards,

Gagan

0 Kudos

Thank you Gagan your help is very appreciated.