cancel
Showing results for 
Search instead for 
Did you mean: 

passing page attributes to a BSP page

Sharadha1
Active Contributor
0 Kudos

Hi,

The question might sound stupid but i am very new to BSP.please help me out.

I have a BSP application( Not developed by me but a standard application) which has a page abc.htm, which has the page attribute 'XYZ' (this is automatic page attribute).

I have a bsp iview in the portal which calls the BSP application with the start page as abc.htm. Please tell me how to pass value for the page attribute 'XYZ' because based on the value of the XYZ that is passed from the iview, one of the buttons gets enabled/disabled in the page layout.

Kindly let me know how to pass the value to that Page attribute. is it thru application parameters property of the iview?? i tried it, but it is not working.

Regards,

Sharadha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sharada,

Pass the variable in the header and on the receiving side in the request use the method get_form_fields. This should help you.

Calling page: abt.html?variable=

receving page: call method get_form_fields to capture the variable.

Amandeep

Sharadha1
Active Contributor
0 Kudos

Hi Amandeep,

As i have explained, the bsp application and proper code ar ein place.I just want to know how to pass the value from the iview??

Already I am using the method which you have suggested 'abt.html?variable=value' for testing purpose..I want to know way of passing it from the iview.

Regards,

Sharadha

athavanraja
Active Contributor
0 Kudos

in the BSP iview properties.

in the application parameter property of the iview pass the value like below

variablenmae=variablevalue

variablename = the name with autoattribute checked in your bsp page

variablevalue = whatever value you want to pass

Raja

Former Member
0 Kudos

look at the link below

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/30/1b62799d786445a72ad85acb4fd55b/content.htm">iView Properties 1</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/13/81a66d100011d7b84b00047582c9f7/frameset.htm">iView Properties 2</a>

as said by Raja... do the same...

hope this helps