cancel
Showing results for 
Search instead for 
Did you mean: 

search help for field PRDHA

Former Member
0 Kudos

Hi There,

Has anyone try to use standard search help PRODH for field PRDHA (Product hierarchy) in WD4A?

I definded the input help mode as Automatic in my context.

I am getting a runtime error when I try to access the search help of this input field.

Thanks,

Karthik

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

More than that, the DD_SHLP_SINGLE_STEP can sometimes call a pop-up screen to fill in input params for search help. For example, if you do an input help on table MARA field MATNR in SE16, it will end up calling a pop-up, even if you suppress the hitlist.

Interestingly enough, there is a "webdynpro" option, but the caller of this module doesn't use it. I did a where-used on the function, and nothing uses it other than the one standard search help program.

Depending on what you are doing, you may be able to use:

CALL FUNCTION 'F4IF_DETERMINE_SEARCHHELP'

CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'

(just to get an itab of results, which you can then display how you like

but this only works for simple search helps.

Alternatively, you could copy the standard SAP programs, and make one version of the include LSDSDF05 where the webdynpro is actually used.

Former Member
0 Kudos

Hi Karthik,

Can you post the runtime error that you are getting?

Regards,

Neha

Former Member
0 Kudos

Thanks Neha,

Here is the Error text as requested.

The following error text was processed in the system DEV : Screen output without connection to user.

The termination type was: RABAX_STATE

The ABAP call stack was:

SYSTEM-EXIT of program SAPMSSY0

Function: RV_PRODUKTHIERARCHIE_SHOW of program SAPLV81A

Form: PRESEL of program SAPLV81A

Function: F4IF_SHLP_EXIT_PRODH of program SAPLV81A

Form: CALL_SHLP_EXIT of program SAPLSDSD

Function: DD_SHLP_SINGLE_STEP of program SAPLSDSD

Method: SHLP_LOOP of program CL_WDR_ELEMENTARY_SEARCH_HELP=CP

Method: WDDOINIT of program /1BCWDY/VEO6E82ZL0JBIZA4R5K3==CP

Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/VEO6E82ZL0JBIZA4R5K3==CP

Method: DO_INIT of program CL_WDR_DELEGATING_IF_VIEW=====CP

Please let me know if you need more.

Thanks,

Karthik

Former Member
0 Kudos

Hi Karthikeyan,

Are you using a "write" statement anywhere? This error occurs in web dynpro if a write statement is coded in any of the APIs being called. Check this and comment it out, it should solve your problem.

Regards

Nithya

Former Member
0 Kudos

Hi Nithya,

Thanks for your reply.

Function: F4IF_SHLP_EXIT_PRODH of program SAPLV81A has few write statements as you said.

Is there any other serch help available for this field MARA-PRDHA to be called in WD4A? Please advice.

Thanks & Regards,

Karthik

Former Member
0 Kudos

I am sorry I dont think I can be of much help here!

Regards

Nithya