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

EXPORT parameter to SELECTION-SCREEN field

Former Member
0 Likes
641

hi, I have one problem on search help for PARAMETER field in selection-screen.


PARAMETERS:  carrid TYPE sflight-carrid,

     connid TYPE sflight-connid,

    cityfrom TYPE spfli-cityfrom,
 
    cityto   TYPE spfli-cityto.

I find one search help is H_SPFLI on sflight-connid .

I input carrid 'AC' , and then it is used for PARAMETERS connid search help as IMPORT paramter,

but, I cannot get export parameter form the search help to screen field cityfrom and cityto.

Thanks.

1 ACCEPTED SOLUTION
Read only

former_member242255
Active Contributor
0 Likes
535

if you see the H_SPFLI standard search help,

the IMP checkbox for CARRID and CONNID is checked,

but whereas the CITYFROM and CITYTO are not checked due to which you cannot get the values on to your screen directly once you click on the record in the search help...

if you want to get the same,you need to create a custome search help with the required settings..

Hope this should be helpful..

Regards,

Sravan

3 REPLIES 3
Read only

former_member242255
Active Contributor
0 Likes
536

if you see the H_SPFLI standard search help,

the IMP checkbox for CARRID and CONNID is checked,

but whereas the CITYFROM and CITYTO are not checked due to which you cannot get the values on to your screen directly once you click on the record in the search help...

if you want to get the same,you need to create a custome search help with the required settings..

Hope this should be helpful..

Regards,

Sravan

Read only

0 Likes
535

Thanks for your response.

I found description for IMPORT and EXPORT parameters of search help in sap help portal.

http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm

In chapter "Structure of an Elementary Search Help" , it shows how to use the interfaces parameters of search help.

As it described, the EXPORT parameter will be returned to screen field.

In my codes , the search help H_SPFLI has EXPORT parameter for cityfrom and cityto field, How could I change my codes ? Any one could give some suggestions?

Thanks.

Read only

Former Member
0 Likes
535

I find the cause of the problem finally.

Althouth the search help H_SPFLI have set CITYTO and CITYFROM as EXPORT parameter, but in table SFLIGHT, we could see the search help attachment for field CONNID, the search help parameter CITYTO and CITYFORM are not configed for its related Table Name and Field Name.

So ,although in search help H_SPFLI the CITYFROM ,CITYTO field are EXPORT parameters, they will not be copy to screen field.

Related Screenshots:

http://sapjava.javaeye.com/upload/attachment/77339/ffde6090-09b8-31ce-bd0d-dee0b8173ebd.png

http://sapjava.javaeye.com/upload/attachment/77337/a1e886e1-e675-3e15-b250-06d1382afce0.png

Thanks.