2006 Jul 11 3:27 PM
Hi all.
I have a report that call a transaction (K0B1).
I must to don't allow to insert o modify a field(field aufnr in screen 0110).
How do this? I would do the field no input, how?
field exit doesn't work, can I do this with customizing or other? thank you
2006 Jul 11 3:33 PM
Use transaction SHD0 to create a transaction variant.
Regards.
2006 Jul 11 3:34 PM
With Transaction variants you can solve your requirement SHD0 TCode.
Regds
Manohar
2006 Jul 11 3:35 PM
hi fabrizio
if you don't wan to modify a field, in screen painter (se51) on the field aufnr in screen painter attribut you have to put no input.
serge
2006 Jul 11 3:37 PM
I try with SHD0: KOB1 is not a on line variant, i can't create a variant
2006 Jul 11 3:38 PM
Hi,
You can try with Transaction/Screen Variants using the Transaction SHD0(Zero).
in your case Cerate the Screen variant.
Regards
vijay
2006 Jul 11 3:39 PM
Hi serge deslandes, my problem is that the report is a standard, and olny in this case the field will be not modifiable
2006 Jul 11 3:45 PM
Ok, copy report RKAEP000 to ZRKAEP000 and make your changes in selecetion screen.
Inside you can submit to RKAEP000 passing values from your selection screen.
Regards.
2006 Jul 11 4:05 PM
Hi fabrizio,
i use KOB1 in this way:
....
FORM KOB1 USING AUFNR BUDAT_LOW BUDAT_HIGH.
*
DATA: BUDAT_LOW_C(10), BUDAT_HIGH_C(10).
*
WRITE BUDAT_LOW TO BUDAT_LOW_C.
WRITE BUDAT_HIGH TO BUDAT_HIGH_C.
*
REFRESH BDCDATA.
*
PERFORM BDC_DYNPRO USING 'RKAEP000' '0110'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=ONLI'.
PERFORM BDC_FIELD USING 'AUFNR-LOW' AUFNR.
PERFORM BDC_FIELD USING 'AUFNR-HIGH' SPACE.
PERFORM BDC_FIELD USING 'AUFGR' SPACE.
PERFORM BDC_FIELD USING 'KSTAR-LOW' SPACE.
PERFORM BDC_FIELD USING 'KSTAR-HIGH' SPACE.
PERFORM BDC_FIELD USING 'KOAGR' SPACE.
PERFORM BDC_FIELD USING 'R_BUDAT-LOW' BUDAT_LOW_C.
PERFORM BDC_FIELD USING 'R_BUDAT-HIGH' BUDAT_HIGH_C.
PERFORM BDC_FIELD USING 'P_DISVAR' '/TST'.
*
CALL TRANSACTION 'KOB1' USING BDCDATA MODE 'E'.
*
ENDFORM.
....
Regards, Dieter
2006 Jul 11 4:06 PM
Create a variant from KOB1 screen, check protected check boxes for order field and the variant in the variant creation screen.
In SE93: modify tx: KOB1 to start with the variant created in the above step.
Regards
Sridhar