cancel
Showing results for 
Search instead for 
Did you mean: 

F4 screen does not show up

0 Kudos

Hi everyone,

I do not know.. what i've been doing wrong.. its seems to be quite simply.. i think.

The code below suppose to show a little screen with a calender, but .. i dont know why it have been showing just a blank screen. In SBSPEXT_HTMLB works perfect.

<%@page language="abap" forceEncode="html"%>

<%@extension name="htmlb" prefix="htmlb"%>

<%@extension name="bsp" prefix="bsp" %>

<htmlb:content id = "content"

design = "classicdesign2002design2003" controlRendering="sap"

rtlAutoSwitch = "true" >

<htmlb:page title="Orders" >

<htmlb:documentHead>

</htmlb:documentHead>

<htmlb:documentBody>

<htmlb:form method = "post"

action = "stock.htm"

target = "mainbody" >

<htmlb:inputField id = "id_data>"

value = "<%= sy-datum %>"

showHelp = "X"

type = "date"

-


Any clue?

Thank you in advance,

Alexandre

*Points will be rewards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The Input field Type should be DATE.

Amandeep

0 Kudos

Raj,

Its does not work. I'll looking for some SAPNOTE.

thanks

Alexandre

0 Kudos

Bal,

Yeah, for sure.

Alexndre

Former Member
0 Kudos

I am not sure why it is not working for you. Input field with 'date' type should work. I can take a look, if you send me the code on BSP page.

Thanks,

Raj.

0 Kudos

My problem was solved when I took off the "htmlb:document" Tag and Sat the Bsp application on a transport.

thank you everyone,

Alexandre

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Alexandrde,

I'm a fresher to BSP.Tried your codings.Since you have specified sy_datum in your coding, date shoul be automatically displayed and below this i have specified the codings for which I have got the correct output.

<%@page language="abap"%>

<%@extension name="htmlb" prefix="htmlb"%>

<%@extension name="bsp" prefix="bsp" %>

<htmlb:content id = "content"

design = "classicdesign2002design2003" controlRendering="sap"

rtlAutoSwitch = "true" >

<htmlb:page title = "About BSP ">

<htmlb:form method = "post"

action = "stock.htm"

target = "mainbody">

<htmlb:inputField id = "id_data" />

value = <%= sy-datum %>

</htmlb:form>

</htmlb:page>

</htmlb:content>

All of them were exactly the same as yours but with slight modifications.Try it!

Regards,

SAHRMILA BRINDHA.M

0 Kudos

Brindha,

thanks for answer me, but my problem is regarding the F4 button( matchcode), Its does not show me up any calender(date) in order to choose one. Its show me just a black square.

thanks,

Alexandre

Former Member
0 Kudos

I used the below code on my bsp application and it works. Please try and award points if it helps.

<htmlb:inputField id = "id_data"

type = "date"

size = "10"

showHelp = "true"

value = <%= sy-datum %> />