Application Development and Automation 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: 
Read only

make the field not modifiable

Former Member
0 Likes
1,506

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

9 REPLIES 9
Read only

LucianoBentiveg
Active Contributor
0 Likes
1,241

Use transaction SHD0 to create a transaction variant.

Regards.

Read only

Manohar2u
Active Contributor
0 Likes
1,241

With Transaction variants you can solve your requirement SHD0 TCode.

Regds

Manohar

Read only

Former Member
0 Likes
1,241

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

Read only

Former Member
0 Likes
1,241

I try with SHD0: KOB1 is not a on line variant, i can't create a variant

Read only

Former Member
0 Likes
1,241

Hi,

You can try with Transaction/Screen Variants using the Transaction SHD0(Zero).

in your case Cerate the Screen variant.

Regards

vijay

Read only

Former Member
0 Likes
1,241

Hi serge deslandes, my problem is that the report is a standard, and olny in this case the field will be not modifiable

Read only

0 Likes
1,241

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.

Read only

Former Member
0 Likes
1,241

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

Read only

sridhar_k1
Active Contributor
0 Likes
1,241

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