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

how does this IMPORT statement works

Former Member
0 Likes
1,143

can any one tell me how does this statement will work..

I am wokring on Solution manager system , where in there is a function module SSF_FIELD_LIST

to which system passes form name.

  import fields to fieldlist
         from database stxfcontr(sf) id l_fullname. 

stxfcontr is a table which contains value of in a diff

Regards,

mayank

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
807

It will import data object stored in memory under named fields to your custom data object fieldlist .

The table which it is stored is name stxfcontr under RELID (memory area) SF .

Cluster key (key of the entry) in that table is behind var l_fullname

Anyhow I think [this link|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/frameset.htm] is more that any explanation. Once you study it, you will understand the above.

Regards

Marcin

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
807

While creating the Smartforms, System store the value in this table using the EXPORT statement by referring to specific ID (which is SF) and the Form Name (Smartform name). Table STXFCONTR has the field CLUSTD which is type of LRAW. This field contains the actual data. Where as the field CLUSTR contains the length of the data stored in the CLUSTD. The length of the field CLUSTD is 2886. So, it the data is more than that than system stores the remaining data as a new record with counter stored in Field SRTF2.

When you use the IMPORT statement system selects the records from this cluster and try to set it to the same format which it has used while EXPORT.

Regards,

Naimesh Patel

Read only

MarcinPciak
Active Contributor
0 Likes
808

It will import data object stored in memory under named fields to your custom data object fieldlist .

The table which it is stored is name stxfcontr under RELID (memory area) SF .

Cluster key (key of the entry) in that table is behind var l_fullname

Anyhow I think [this link|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/frameset.htm] is more that any explanation. Once you study it, you will understand the above.

Regards

Marcin

Read only

0 Likes
807

Hello,

Yes may be it has to do with Memory concept.

When i generated the Smartform again in the Production system i got the values..

Problem Solved..

Thanks Everyone..

Regards,

Mayank

Read only

Former Member
0 Likes
807

Problem Solved !!

Mentioned in my reply..