cancel
Showing results for 
Search instead for 
Did you mean: 

BSP doubt

Former Member
0 Kudos

hi everyone,

i have the basic doubt regarding the PM BSP application.I am using the inputfield in which the date value is stored. i.e from date and the to date.

i exactly want to know where exactly the value for the from date is stored for the below code.Is it stored in any table???knidly reply me...

<htmlb:inputField id="<%=CL_BSP_HAP_DOCUMENT_CS=>C_BSP_INPUT_VALIDITY_FROM%>" disabled="<%=l_disabled%>" showHelp="<%=l_showhelp%>" alignment="LEFT" maxlength="10" type="DATE" size="10" value="<%=APPLICATION->s_parameter-doc_header-validity_from%>

"/>

can u tell me where the vale is actually present??actually it is showing the structure till validity_from further if i want to see the values what should i do??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Satheesh,

Click on the BSP appliction, go to properties tab, there you will find the class name for your application class,i.e APPLICATION whick is referring in you input field value, click on the class and select attributes tab, you will find the structure "s_parameter" , then use where used list to know how they are getting values.

Regards,

Arun

Former Member
0 Kudos

hi,

thanx for the reply...

i just wannt to know where the actual value is stored???how can i change the value for that??

Former Member
0 Kudos

Hi Satheesh,

Do u want to know, from where the default validity period being picked up? It is implemented in a BADI <b> HRHAP00_DOC_DEF_DV </b> .

  • OBJECTIVE SETTING

if sy-datum+4(4) < '0701'.

  • -> take THIS YEAR

move l_set_date(4) to l_date_convert.

move l_date_convert to l_set_date(4).

else.

  • -> take NEXT year

move l_set_date(4) to l_date_convert.

l_date_convert = l_date_convert + 1.

move l_date_convert to l_set_date(4).

endif

If you want to change the default period, u have to create a filter for the BADi and change accordingly.

Rgds,

Jothi.

Answers (0)