Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Set Parameter ID

Former Member
0 Likes
704

I tried to set parameter Id for transaction CU01.

The parameter Id for tht screen is BEZ , i found tht.

I m not getting the output.Can any one help me to solve this problem.

The code which i used is.

Set parameter Id 'BEZ' field 'Dep1'.

call transaction 'CU01'.

Thanks in advance.

Kalpanashri Rajendran.

5 REPLIES 5
Read only

Former Member
0 Likes
655

Hi,

In certain transactions different parameter id's will be set based on certain conditions, check out in this transaction thru debug mode where your value is being set.

Regards,

Raghavendra

Read only

Former Member
0 Likes
655

Hi Kalpanashri,

If you look at the code in the PBO of screen 100 for the include LCUKDO0N , you will find out there is no corresponding get statement for the parameter id 'BEZ' set by you in your code.

This include LCUKDO0N correpsonds to the CU01, CU02 & CU03 transactions.

So if you don't have a get parameter statement, the value set by you won't be reflected in the screen for transaction CU01.

Regards,

Chetan.

PS:Reward points if this helps u.

Read only

0 Likes
655

Yes i used Get parameter Id 'BEZ' field <fieldname> also

but i didnt get the output.

Can any one solve this problem.

Read only

0 Likes
655

Hi Kalpanashri,

I think you didn't understand my soln completely.

The thing is you are setting the parameter id 'BEZ' in your coding . The coding is perfect. Now when the statement 'CALL TRANSCATION 'CU01'. in your program is executed , the PBO of the screen 100 of the program SAPLCUKD is called. If you look at this screen in the PBO event, the have code maintained only for getting values in DISPLAY(CU02 & CHANGE(CU02) modes & not in CREATE(CU01).

So that's te reason you are not getting the output.

Regards,

Chetan.

PS: Reward points if this helps.

Read only

0 Likes
655

in CU02 we can change the dependency but we cant create the dependency there.

The thing is i have to get the dependency name from the user and proceed with dependency creation screen to create a new dependency.