Application Development 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: 

set and get parameters ids

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

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

Max

5 REPLIES 5

Former Member
0 Kudos

Hi

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

Max

0 Kudos

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

0 Kudos

Hi Srini,

try this:

GET PARAMETER ID pid FIELD dobj.

Chris

Former Member
0 Kudos

Hi,

Try this:

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

Regards,

Subramanian

Former Member
0 Kudos

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