cancel
Showing results for 
Search instead for 
Did you mean: 

one variable value restricts selection option for another variable

Former Member
0 Kudos

Hi

i have an issue regarding Variables. I have two chars material and materialgroup. Materialgroup is the attribute of material. i created two variables in my planning area.first one(material group) is userdefined and second one(material) is userexit variable. and i wrote fm to populate material values related to that materialgroup and it is working fine in se37.and i restricted my level with this variable .But when i am trying to execute my layout it is showing the pop for all materials but not allowing me to restrict values for material.is there any way to solve this. i am using this in webinterface also. In web it is giving dump when i am trying to execute.

Error when processing your request

What has happened?

The URL xxxxxxxxxx was not called due to an error.

Note

The following error text was processed in the system BD3 : The current application triggered a termination with a short dump.

The error occurred on the application server SUN64_BD3_01 and in the work process 1 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Form: CHECK_INITIAL of program SAPLUPCBW

Function: UPC_BW_CHAVL_IN_EX_CONVERT of program SAPLUPCBW

Function: UPC_CHAVL_IN_EX_CONVERT of program SAPLUPC1

Function: API_SEMBPS_VARIABLE_GETDETAIL of program SAPLUPC_API

Method: IF_UPWB_C_SEL_VARVL~API_GET_VARIABLE of program SAPLUPWB_COMPONENT

Method: DISPATCH of program CL_UPWB_BSP_APPL==============CP

Method: INITIALIZATION of program CL_UPWB_BSP_APPL==============CP

Method: ONINITIALIZATION of program CLO244560TEZUAWS38CTTJU0K9JWQCP

Method: %_ONINITIALIZATION of program CL_O244560TEZUAWS38CTTJU0K9JWQCP

Method: DO_REQUEST of program CL_BSP_PAGE===================CP

What can I do?

If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system BD3 in transaction ST22.

If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server SUN64_BD3_01 in transaction SM21.

If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server SUN64_BD3_01 . In some situations, you may also need to analyze the trace files of other work processes.

If you do not yet have a user ID, contact your system administrator.

Error code: ICF-IE-http -c: 175 -u: SMEDARAMETLA -l: E -s: BD3 -i: SUN64_BD3_01 -w: 1 -d: 20061227 -t: 151702 -v: RABAX_STATE -e: MESSAGE_TYPE_X

HTTP 500 - Internal Server Error

Your SAP Internet Communication Framework Team

any suggestions would be appericiated.

Thanks

Suresh M

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Suresh,

Try this approach.

For the char material, create a variable of type attribute and replacement type exit.

Choose material group as the attribute.

You can restrict the values of the materials by passing the value of the Material Group from the Matl Group variable to the above var.

Sunil

Former Member
0 Kudos

Hi Sunil ,

Thanks for ur reply. I am able to populate city values .But i am not able to restrict those to one city. It is not allowing me to restrict city values. Is there any way to solve this.

Thanks

Suresh M

Former Member
0 Kudos

Hi,

1. Are both the variables available in your planning folder web interface?

2.Can you please post the code of the function exit.

You can try debugging the function module from web please put an external break-point on the function.

thanks

Message was edited by:

Anand Jain