Skip to Content
0
Former Member
Jan 10, 2007 at 04:51 PM

selection screen validation

17 Views

Hi i am developing a report where in i have 3 blocks for selection criteria..1st block has drop down menu for carrier service(UPS,FEDEX etc) second one has delivery number and third block has 5 tracking number input ..

PARAMETERS:P_XSITD LIKE ZTRK_PAK-XSITD,

P_SHPACT LIKE ZTRK_PAK-SHIPACCT.

SELECTION-SCREEN:END OF BLOCK B1.

SELECTION-SCREEN:BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

PARAMETERS:P_VBELN LIKE ZTRK_PAK-VBELN.

SELECTION-SCREEN:END OF BLOCK B2.

SELECTION-SCREEN:BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.

PARAMETERS:P_TRACN1 LIKE ZTRK_PAK-TRACKN,

P_TRACN2 LIKE ZTRK_PAK-TRACKN,

P_TRACN3 LIKE ZTRK_PAK-TRACKN,

P_TRACN4 LIKE ZTRK_PAK-TRACKN,

P_TRACN5 LIKE ZTRK_PAK-TRACKN.

SELECTION-SCREEN:END OF BLOCK B3.

i need to validate firstly the delivery number..if delievery number is entered validate the tracking number 1.

if tracking number 1 or 2 or 3 or 4 or 5 is entered validate delivery number is not blank.

how can i do it..i am new to ABAP..someone help me please.