Вы находитесь на странице: 1из 1
ДокументацияSAP
ДокументацияSAP

ДокументацияSAP

Корреспонденцияспомощьюофисног Implementing Screen Enhan
Implementing Screen Enhan

Implementing Screen Enhan

ForgeneralinformationonhowtoimplementBusinessAdd­Ins,refertothese

Theuserofthescreenenhancementshouldperformthefollowingsteps:

1. CreateascreenoftheSubscreentype.Arrangetherequiredfieldsonth

2. Writetheprogramforthescreenbycreatingeitheramodulepoolorafu

Topinclude:

DATA:exitTYPEREFTOif_ex_badi_screen,

flightTYPEsflight.

TABLESsflview.

AtPBOtime:

MODULEstatus_0100OUTPUT.

IFexitISINITIAL. CALLMETHODcl_exithandler=>get_instance_for_subscreens CHANGING instance =exit EXCEPTIONS OTHERS =6.

 

ENDIF. CALLMETHODexit­>get_data_from_screen IMPORTING flight =flight EXCEPTIONS

reserved=1

OTHERS =2.

SELECTSINGLE*FROMsflview

WHEREcarrid=flight­carridAND

connid=flight­connidAND

fldate=flight­fldate.

ENDMODULE.

AtPAItime:

Ifdatahasbeenchanged,themethodPUT_DATA_TO_SCREENiscalle

MODULEuser_command_0100INPUT.

CALLMETHODexit­>put_data_to_screen EXPORTING flight =flight EXCEPTIONS

reserved=1

 
 

OTHERS =2.

IFsy­subrc<>0.

IFsy­subrc<>0.

Оценить