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 and get parameters ids

Former Member
0 Likes
1,009

HI

Please how to where to use the set and get parameters instead of HOT Code like

parameters: printer type ITCPP-TDDEST obligatory default 'ZEBS'.

Please help me code also

Thank you

srini

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
973

Hi

It's not clear your question, anyway u can use fm GET_PRINT_PARAMETERS and/or SET_PRINT_PARAMETERS.

Max

HI

Please how to where to use the set and get parameters instead of HOT Code like

parameters: printer type ITCPP-TDDEST obligatory default 'ZEBS'.

Please help me code also

Thank you

srini

5 REPLIES 5
Read only

Former Member
0 Likes
974

Hi

It's not clear your question, anyway u can use fm GET_PRINT_PARAMETERS and/or SET_PRINT_PARAMETERS.

Max

Read only

0 Likes
973

yeh

Instead of hot coding like

parameters: printer type ITCPP-TDDEST obligatory default 'ZEBS'.

I used parameters in Selection screen declaration by default ZEBS.But tead asked to me use get and set parameters instead of hot code.Awaiting for ur replay

Thank you

Read only

0 Likes
973

Hi Srini,

try this:

GET PARAMETER ID pid FIELD dobj.

Chris

Read only

Former Member
0 Likes
973

Hi,

Try this:

parameters: printer type ITCPP-TDDEST MEMORY ID pri obligatory .

Regards,

Subramanian

Read only

Former Member
0 Likes
973

Use GET/SET Parameter IDS

Link: [SDN Threads|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=getparameterIDs&cat=sdn_all]

Link: [SAP help|http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm]

Regards,

C