‎2013 Dec 23 11:35 AM
Hi experts ,
i have added a z field in iw37n screen takes the definition of a standard field
when i run the program and i choose the field from variant it doesnt fill the field
when i save my field in the variant than run the program it fills the field
Any ideas please
Thanks!!
‎2013 Dec 23 11:47 AM
Hi Asim
Can you please provide the details of where you have added the field and how..? Can you please provide more detail about the issue i did not get you?
Nabheet
‎2013 Dec 23 12:02 PM
hi nabheet ,
iw37n uses the RI_ORDER_OPERATION_LIST program and it displays object_tab ( internal table )
i inserted my z field in that internal table actually its shortly in ci_aufk append structure in aufk table. After this process it automatically comes in iw37n in the variant. Than in INCLUDE i_order_operation_list_f20. end of the FORM selection_f20.
i created my enhacement as follows and took the definition.
ENHANCEMENT 1 ZPM_OPE_LIST. "active version
DATA: GS_OBJECT_TAB LIKE LINE OF OBJECT_TAB.
LOOP AT OBJECT_TAB INTO GS_OBJECT_TAB.
"equnr ile equi ye git. Equı den HERST ve TYPBZ al.
SELECT SINGLE HERST FROM EQUI
INTO GS_OBJECT_TAB-ZPM_HERST WHERE EQUNR = GS_OBJECT_TAB-EQUNR.
SELECT SINGLE TYPBZ FROM EQUI INTO
GS_OBJECT_TAB-ZPM_TYPBZ WHERE EQUNR = GS_OBJECT_TAB-EQUNR.
SELECT SINGLE KTSCH FROM AFVC INTO GS_OBJECT_TAB-KTSCH
WHERE AUFPL = GS_OBJECT_TAB-AUFPL
AND VORNR = GS_OBJECT_TAB-VORNR.
"Standard Anahtar Tanımı Metni
IF GS_OBJECT_TAB-KTSCH IS NOT INITIAL.
SELECT SINGLE TXT FROM T435T INTO
GS_OBJECT_TAB-ZZSTDR_ANHTR_TNM WHERE VLSCH = GS_OBJECT_TAB-KTSCH.
ENDIF.
MODIFY OBJECT_TAB FROM GS_OBJECT_TAB.
CLEAR: GS_OBJECT_TAB.
ENDLOOP.
ENDENHANCEMENT.
‎2013 Dec 23 12:10 PM
Asim thanks for the email I got it what you are trying to achieve. A custom field in output.
You mean to say your field is not displayed in output.. If yes please check in fiedcatalog which is pass to ALV function module has the field..? Seconldy try changing layout sometimes filed is hidden.
If issue is something different please provide more detail with a screen shot
Nabheet
‎2013 Dec 24 8:13 AM
it's not about field not displayed in the question i put pictures as you see in the picture my field is that
"Standard Anahtar Tanımı" in first picture its not saved in variant its empty in 2nd its saved in variant and its filled
‎2013 Dec 24 9:21 AM
Can you please check in debugging about the field catalog what setting are being passed their..?