{"id":1578,"date":"2016-12-22T09:49:55","date_gmt":"2016-12-22T08:49:55","guid":{"rendered":"http:\/\/oprsteny.cz\/?p=1578"},"modified":"2016-12-22T09:49:55","modified_gmt":"2016-12-22T08:49:55","slug":"abap-create-new-setget-parameter-id","status":"publish","type":"post","link":"https:\/\/oprsteny.cz\/?p=1578","title":{"rendered":"ABAP &#8211; Create new SET\/GET Parameter ID"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"358\" data-permalink=\"https:\/\/oprsteny.cz\/?attachment_id=358\" data-orig-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/SAP.jpg\" data-orig-size=\"44,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Picasa&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1365690880&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"SAP\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/SAP.jpg\" class=\"alignleft size-full wp-image-358\" src=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/SAP.jpg\" alt=\"\" width=\"44\" height=\"50\" \/>If you need to create your own parameter id which can be bound to a data element or which you can use in your abap commands SET\/GET PARAMETER ID, you can follow the steps described below.<!--more--><\/p>\n<p>One simple way how to create a new SET\/GET parameter ID is to go to Tx SE80, select category <em>Package<\/em> in the listbox, right-click on the package and select Create -&gt; Other (1) -&gt; SET\/GET Parameter ID<\/p>\n<p><a href=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1579\" data-permalink=\"https:\/\/oprsteny.cz\/?attachment_id=1579\" data-orig-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01.png\" data-orig-size=\"746,650\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Create parameter ID in SE80\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01.png\" class=\"size-medium wp-image-1579 alignnone\" src=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01-300x261.png\" alt=\"\" width=\"300\" height=\"261\" srcset=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01-300x261.png 300w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01-344x300.png 344w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_01.png 746w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>What it actually does is adding a new SET\/GET Parameter ID to the table TPARA. If you are not friend of SE80, you can maintain table TPARA directly in Tx SM30.<\/p>\n<p><a href=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1580\" data-permalink=\"https:\/\/oprsteny.cz\/?attachment_id=1580\" data-orig-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02.png\" data-orig-size=\"508,323\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Maintain TPARA in SE30\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02.png\" class=\"size-medium wp-image-1580 alignnone\" src=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02-300x191.png\" alt=\"\" width=\"300\" height=\"191\" srcset=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02-300x191.png 300w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02-472x300.png 472w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_02.png 508w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_03.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1581\" data-permalink=\"https:\/\/oprsteny.cz\/?attachment_id=1581\" data-orig-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_03.png\" data-orig-size=\"351,124\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Edit new parameter ID\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_03.png\" class=\"size-medium wp-image-1581 alignnone\" src=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_03-300x106.png\" alt=\"\" width=\"300\" height=\"106\" srcset=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_03-300x106.png 300w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_03.png 351w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now if you want to assign a default value for this parameter to a user, just go to SU01 \/ SU3, go to tab Parameters and add you freshly created parameter to your list of parameters with a meaningful value (this value is limited to 40 characters)<\/p>\n<p><a href=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1582\" data-permalink=\"https:\/\/oprsteny.cz\/?attachment_id=1582\" data-orig-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04.png\" data-orig-size=\"951,377\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"New Parameter ID in SU3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04.png\" class=\"size-medium wp-image-1582 alignnone\" src=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04-300x119.png\" alt=\"\" width=\"300\" height=\"119\" srcset=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04-300x119.png 300w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04-768x304.png 768w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04-500x198.png 500w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_04.png 951w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This parameter ID can also be<\/p>\n<ul>\n<li>bound to a data element<br \/>\n<a href=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1583\" data-permalink=\"https:\/\/oprsteny.cz\/?attachment_id=1583\" data-orig-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05.png\" data-orig-size=\"622,488\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Parameter ID assigned to a data element\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05.png\" class=\"size-medium wp-image-1583 alignnone\" src=\"http:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05-300x235.png\" alt=\"\" width=\"300\" height=\"235\" srcset=\"https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05-300x235.png 300w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05-382x300.png 382w, https:\/\/oprsteny.cz\/wp-content\/uploads\/NEW_PARAMETER_ID_05.png 622w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>Used on a selection screen (with addition of <em>MEMORY\u00a0ID<\/em>) so the selection screen parameter is(can be) automatically pre-filled with value from your user defaults (Tx SU3) or by value set previously (e.g. in another program) by the following ABAP command.\n<pre lang=\"abap\">SET PARAMETER ID [param_ID_name] FIELD [variable_to_store_param_ID_value]<\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you need to create your own parameter id which can be bound to a data element or which you can use in your abap commands SET\/GET PARAMETER ID, you can follow the steps described below.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"ABAP - Create new SET\/GET Parameter ID","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16,233,9,222],"tags":[494,493],"class_list":["post-1578","post","type-post","status-publish","format-standard","hentry","category-abap","category-customizing","category-development","category-dynpro","tag-parameter-id","tag-tpara"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3nYbe-ps","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/oprsteny.cz\/index.php?rest_route=\/wp\/v2\/posts\/1578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oprsteny.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oprsteny.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oprsteny.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oprsteny.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1578"}],"version-history":[{"count":1,"href":"https:\/\/oprsteny.cz\/index.php?rest_route=\/wp\/v2\/posts\/1578\/revisions"}],"predecessor-version":[{"id":1584,"href":"https:\/\/oprsteny.cz\/index.php?rest_route=\/wp\/v2\/posts\/1578\/revisions\/1584"}],"wp:attachment":[{"href":"https:\/\/oprsteny.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oprsteny.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oprsteny.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}