07-21-2005 1:59 PM
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
08-02-2005 5:37 PM
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
08-02-2005 10:01 AM
I am also facing the same problem. Does any one knos how to do this?
Thanks,
Joshy
08-02-2005 1:58 PM
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
08-02-2005 4:52 PM
08-02-2005 5:28 PM
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
08-02-2005 5:37 PM
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
08-02-2005 6:01 PM