‎2014 Feb 17 7:40 AM
Hi Guru,
I have added below logic to get custom field in selection screen of tcode COHVPI under Include IOCTOPSL using Enhancement-Point.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) W_PCMNR FOR FIELD S_PCMNR.
SELECT-OPTIONS: S_PCMNR FOR IOHEADER-ZZPCMNR MODIF ID fau.
SELECTION-SCREEN END OF LINE.
Now I have to populate the variable W_PCMNR with text 'Campain Number' to get the text in selection screen.
Pls guide me where can I write this logic to get text or How to display text. I do not have access key to create Text Element.
‎2014 Feb 17 7:46 AM
Hi Nand
Kindly use the comment command for the same. I checked in same include in one of the enhancement SAP is using the below mentioned syntax. Kindly use the same
SELECTION-SCREEN:
COMMENT 1(20) text-sys FOR FIELD p_syst1 MODIF ID fnr,
POSITION 33.
Nabheet
‎2014 Feb 17 7:46 AM
Hi Nand
Kindly use the comment command for the same. I checked in same include in one of the enhancement SAP is using the below mentioned syntax. Kindly use the same
SELECTION-SCREEN:
COMMENT 1(20) text-sys FOR FIELD p_syst1 MODIF ID fnr,
POSITION 33.
Nabheet
‎2014 Feb 17 8:50 AM
Hi Nabheet,
If I add text-sys it picks the text "Syst. Status" as it is defined by SAP in Text elements,
I need Campain Number as text.
In my case I cannot declare in Text elements as it asks for Access Key.
‎2014 Feb 17 8:55 AM
Do as below dont use text symbol directly provide text
tioned syntax. Kindly use the same SELECTION-SCREEN: COMMENT 1(20) `campaign number` FOR FIELD p_syst1 MODIF ID fnr, POSITION 33.
‎2014 Feb 17 9:12 AM
‎2014 Feb 17 10:48 AM
Problem Solved.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(28) V_CAMP FOR FIELD S_PCMNR.
SELECT-OPTIONS: S_PCMNR FOR IOHEADER-ZZPCMNR.
SELECTION-SCREEN END OF LINE.
Populated V_CAMP in At Selection-Screen output. Created 1 more Enhancement.
V_CAMP = 'Campian Number'.